Function at 0x557274
Capabilities:
Enumerate pe sections

Disassembly:
test dword [0x7eeab0], 0xffffff80
jne 0x55729c
test dword [0x7eeab0], 0xffffffff
jne 0x55729c
call fcn.006a7fbc
jmp fcn.00557274
push edi
push esi
push ebp
push ebx
mov ebx, ecx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movsx edx, word [ebx + 0x3d]
cmp eax, edx
jle 0x55732e
mov ebp, dword [esp + 0x18]
shl ebp, 2
mov ecx, ebp
call fcn.004dc218
mov esi, eax
mov ecx, ebp
call fcn.004dc218
mov ebp, eax
movsx eax, word [ebx + 0x3d]
shl eax, 2
push eax
push dword [ebx + 0x97]
push esi
call fcn.006a8180
movsx eax, word [ebx + 0x3d]
shl eax, 2
push eax
push dword [ebx + 0x9b]
push ebp
call fcn.006a8180
add esp, 0x18
mov ecx, dword [ebx + 0x97]
call fcn.004db958
mov ecx, dword [ebx + 0x9b]
call fcn.004db958
mov dword [ebx + 0x97], esi
mov dword [ebx + 0x9b], ebp
mov eax, dword [esp + 0x18]
mov word [ebx + 0x3d], ax
push ebx
push 0x558af4
mov ecx, dword [ebx + 0x39]
call fcn.004f00dc
cmp dword [ebx + 0x39], 0
je 0x5573db
test edi, edi
je 0x55737b
mov edx, dword [ebx]
movzx eax, word [edi + 0xc]
push eax
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
je 0x557374
mov edx, dword [edi + 0x10]
cmp edx, 1
jle 0x55735a
cmp dword [eax + 0x2d], 0
je 0x557374
movzx ebp, word [edi + 0xe]
push dword [ebx + 0x5f]
push ebx
push edx
push ebp
mov ecx, eax
call fcn.005030d8
cmp eax, 1
je 0x5574c5
mov edi, dword [edi + 4]
test edi, edi
jne 0x55733c
mov eax, dword [ebx + 0xf]
test eax, eax
je 0x55739b
movzx eax, byte [eax + 0xa]
and eax, 0x3f
cmp eax, 0xd
je 0x5575aa
cmp eax, 0x13
je 0x5575aa
mov eax, dword [ebx + 0x29]
movzx ecx, word [eax + 6]
call fcn.005419d0
mov ebp, eax
test ebp, ebp
je 0x5573db
movzx edx, word [ebp]
movzx eax, word [0x7bd0ac]
cmp edx, eax
je 0x5573d4
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x5573d4
mov edx, dword [eax + 0x25]
cmp edx, 1
jle 0x557545
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5573ad
movzx eax, byte [ebx + 0xb3]
test al, 0x20
je 0x5573f8
mov ecx, dword [ebx + 0x5f]
call fcn.005a7538
mov ecx, dword [ebx + 0x5f]
call fcn.005a75b4
jmp 0x557402
push 1
mov ecx, dword [ebx + 0x5f]
call fcn.005a750c
mov esi, eax
test esi, esi
jne 0x557473
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x557467
push 1
push str._LINEERROR_ID__d__
push 0
mov eax, dword [esp + 0x28]
push eax
call fcn.005258d0
add esp, 0x10
mov ecx, dword [ebx + 0x5f]
call fcn.00505578
test eax, eax
je 0x55743c
mov ecx, dword [ebx + 0x5f]
call fcn.00505578
jmp 0x557441
mov eax, 0x6d2524
push eax
push str.Could_not_find_Company__s
push 0
mov eax, dword [esp + 0x28]
push eax
call fcn.005258d0
push str.__LINEERROR_
push 1
mov eax, dword [esp + 0x34]
push eax
call fcn.005258d0
add esp, 0x1c
mov eax, 1
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov ecx, dword [ebx + 0x63]
call fcn.005a72ec
mov ebp, eax
mov ecx, dword [ebx + 0x67]
call fcn.005a7168
push 0
push eax
push ebp
push esi
mov ecx, ebx
call fcn.004f7bc4
push 1
mov ecx, dword [ebx + 0x6f]
call fcn.005a74b4
mov byte [ebx + 0x16], al
push 1
mov ecx, dword [ebx + 0x73]
call fcn.005a7488
mov byte [ebx + 0x15], al
mov ecx, dword [ebx + 0x31]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 1
je 0x557557
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x557539
push 1
push str._LINEERROR_ID__d__
push 0
mov eax, dword [esp + 0x28]
push eax
call fcn.005258d0
add esp, 0x10
movzx edx, word [edi + 0xc]
lea eax, [edx*8]
mov ecx, dword [eax + edx*4 + 0x701828]
movzx edx, word [edi + 0xe]
test edx, edx
jne 0x557504
mov eax, 0x6d2524
jmp 0x557512
lea eax, [edx*8]
mov eax, dword [eax + edx*4 + 0x701828]
push eax
push ecx
push str.Could_not_set__s_to__s
push 0
mov eax, dword [esp + 0x2c]
push eax
call fcn.005258d0
push str.__LINEERROR_
push 1
mov eax, dword [esp + 0x38]
push eax
call fcn.005258d0
add esp, 0x20
mov eax, 1
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
movzx edx, word [ebp + 2]
push ebx
push edx
mov ecx, eax
call fcn.00507180
jmp 0x5573d4
mov eax, dword [ebx + 0x31]
movsx edx, word [eax + 0x13]
shl edx, 4
mov ebp, dword [0x7e457c]
push dword [edx + ebp]
mov ecx, ebx
call fcn.004f7b94
movsx eax, word [ebx + 0x13]
shl eax, 4
mov edx, dword [0x7e457c]
mov esi, dword [eax + edx]
mov ecx, dword [ebx + 0x63]
call fcn.005a72ec
mov ebp, eax
mov ecx, dword [ebx + 0x67]
call fcn.005a7168
mov edx, dword [ebx + 0x9b]
push dword [edx]
push eax
push ebp
push esi
mov ecx, ebx
call fcn.004f7bc4
jmp 0x5574bc
mov eax, dword [ebx + 0x29]
movzx ecx, word [eax + 4]
call fcn.005419d0
mov ebp, eax
test ebp, ebp
je 0x55739b
movzx edx, word [ebp]
movzx eax, word [0x7bd0ac]
cmp edx, eax
je 0x5575e3
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x5575e3
mov edx, dword [eax + 0x25]
cmp edx, 1
jle 0x5575ef
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x5575c0
jmp 0x55739b
movzx edx, word [ebp + 2]
push ebx
push edx
mov ecx, eax
call fcn.00507180
jmp 0x5575e3