Function at 0x539fe0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov ecx, 0x5cc470
mov dword [esp + 0x18], ebx
call fcn.004e3430
mov edi, 1
cmp eax, edi
je 0x53a578
mov al, byte [0x5cc4b8]
mov ebp, dword [esp + 0x30]
test al, 8
jne 0x53a021
mov eax, dword [ebp + 0x27]
cmp dword [eax + 0x80], 2
je 0x53a578
mov cl, byte [ebp + 0x87]
and cl, 1
cmp cl, 1
jne 0x53a063
mov edx, dword [ebx + 0x1c]
test byte [edx + 0x48], 4
jne 0x53a057
mov eax, dword [ebp + 0x57]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004dbf50
mov edx, dword [ebp + 0x53]
mov dword [ebx + 0x6d], edx
jmp 0x53a096
mov edx, dword [ebp + 0x53]
mov esi, dword [esp + 0x3c]
mov dword [ebx + 0x6d], edx
jmp 0x53a096
mov eax, dword [ebx + 0x1c]
test byte [eax + 0x48], 4
jne 0x53a089
mov ecx, dword [ebp + 0x33]
mov edx, dword [ecx + 0x33]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x71]
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push edx
call fcn.004dbf50
mov eax, dword [ebx + 0x59]
mov esi, dword [esp + 0x3c]
mov ecx, dword [eax + 0x71]
mov dword [ebx + 0x6d], ecx
mov dl, byte [ebp + 0x87]
and dl, 1
cmp dl, 1
jne 0x53a19a
test byte [ebp + 0x88], 0x20
je 0x53a346
cmp dword [esp + 0x40], edi
jne 0x53a26b
mov eax, dword [ebp + 0x37]
mov esi, dword [eax]
test esi, esi
je 0x53a196
mov dword [esp + 0x10], 0xffffffff
mov ebp, 0xffffffe6
mov dword [esp + 0x40], 0x1a
mov cl, byte [esi + 0x87]
and cl, 0x20
cmp cl, 0x20
je 0x53a181
movsx ecx, word [esi + 0x69]
movsx eax, word [esi + 0x65]
sub eax, ecx
test eax, eax
mov dword [esp + 0x14], eax
jle 0x53a181
mov eax, dword [esp + 0x40]
mov ecx, edi
test ebp, ebp
jle 0x53a115
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov edx, dword [esp + 0x3c]
movsx edx, word [edx + 0xe]
cmp ecx, edx
jg 0x53a130
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
lea eax, [edx + eax - 0x1a]
test eax, eax
jne 0x53a14f
movsx eax, word [esi + 0x6d]
movsx ecx, word [esi + 0x6b]
mov edx, dword [esp + 0x14]
push eax
movsx eax, word [esi + 0x69]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
push edx
push edi
call fcn.004fc9f0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
push ecx
push 1
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
push esi
mov ecx, ebx
call fcn.00539fe0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
inc edi
add edx, 0x1a
dec ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], ecx
sub ebp, 0x1a
mov ecx, esi
call fcn.004a8c30
mov esi, eax
test esi, esi
jne 0x53a0e1
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp + 0x4b]
test eax, eax
je 0x53a4e4
mov cl, byte [0x5cc4b8]
and cl, 8
cmp cl, 8
je 0x53a1c3
mov edx, dword [ebp + 0x27]
cmp dword [edx + 0x84], 2
je 0x53a4e4
mov edx, dword [ebp + 0x27]
lea eax, [esp + 0x40]
push eax
xor eax, eax
mov ax, word [edx + 0x16]
lea ecx, [esp + 0x40]
push ecx
push 0x3a
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x56bdb0]
call fcn.004d4f10
cmp word [esp + 0x40], 0
je 0x53a21e
call fcn.004d4520
mov ecx, dword [esp + 0x40]
push 0
push ebp
push ebp
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
call fcn.004d4ca0
mov ecx, dword [esp + 0x30]
mov edi, eax
call fcn.004d4570
cmp edi, 1
jne 0x53a4e4
mov edx, dword [ebp + 0x33]
mov eax, dword [edx + 0x33]
test byte [eax + 0x11b], 0x40
jne 0x53a398
mov al, byte [ebp + 0x87]
and al, 1
cmp al, 1
jne 0x53a578
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebp + 0x4b]
mov dl, byte [ecx + 0x48]
mov ecx, dword [esp + 0x34]
shr edx, 2
and edx, 1
push edx
push esi
push eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004dd350
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18
mov ecx, dword [ebp + 0x37]
or edi, 0xffffffff
mov esi, dword [ecx + 4]
test esi, esi
je 0x53a196
mov dword [esp + 0x14], 1
mov ebp, 0x1a
mov dword [esp + 0x10], 0xffffffe6
mov dl, byte [esi + 0x87]
and dl, 0x20
cmp dl, 0x20
je 0x53a330
movsx eax, word [esi + 0x69]
movsx edx, word [esi + 0x65]
sub edx, eax
test edx, edx
jle 0x53a330
mov eax, dword [esp + 0x10]
mov ecx, edi
test ebp, ebp
jle 0x53a2c1
mov ecx, dword [esp + 0x14]
mov eax, ebp
mov ebx, dword [esp + 0x3c]
movsx ebx, word [ebx + 0xe]
cmp ecx, ebx
jg 0x53a2dc
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax - 0x1a]
test eax, eax
jne 0x53a2f7
movsx eax, word [esi + 0x6d]
movsx ecx, word [esi + 0x6b]
push eax
movsx eax, word [esi + 0x69]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
push edx
push edi
call fcn.004fc9f0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
push esi
mov ecx, ebx
call fcn.00539fe0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec edi
sub edx, 0x1a
inc ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
add ebp, 0x1a
mov ecx, esi
call fcn.004a8c00
mov esi, eax
test esi, esi
jne 0x53a291
jmp 0x53a192
mov eax, dword [ebx + 0x1c]
test byte [eax + 0x48], 4
jne 0x53a35b
mov ecx, dword [ebx + 0x6d]
push ecx
mov ecx, dword [eax]
push ebx
call fcn.004da750
mov edx, dword [ebx + 0x1c]
test byte [edx + 0x48], 4
je 0x53a37c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.005402f0
jmp 0x53a19a
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push 0
push 0
push esi
push edx
push eax
push ebp
mov ecx, ebx
call fcn.0053c190
jmp 0x53a19a
mov edx, dword [eax + 0xbf]
mov al, byte [ebp + 0x87]
and al, 1
or edi, 0xffffffff
cmp al, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edx
jne 0x53a3d5
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebp + 0x4b]
mov dl, byte [ecx + 0x48]
mov ecx, dword [esp + 0x34]
shr edx, 2
and edx, 1
push edx
push esi
push eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004dd1c0
mov ecx, dword [ebp + 0x4b]
movzx ax, byte [ecx + 2]
test ax, ax
je 0x53a3f4
test al, 4
je 0x53a3eb
movsx edi, word [esi]
jmp 0x53a3f4
movsx edx, word [esi + 4]
movsx edi, word [esi]
sub edi, edx
movzx ax, byte [ecx + 3]
test ax, ax
je 0x53a416
test al, 4
je 0x53a408
movsx eax, word [esi + 2]
jmp 0x53a412
movsx eax, word [esi + 6]
movsx ecx, word [esi + 2]
add eax, ecx
mov dword [esp + 0x30], eax
cmp edi, 0xffffffff
je 0x53a479
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
test eax, eax
je 0x53a443
lea edx, [edi - 1]
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jl 0x53a436
lea ebx, [edi + 1]
cmp ecx, ebx
jle 0x53a43f
mov eax, dword [eax + 4]
test eax, eax
jne 0x53a428
jmp 0x53a443
test eax, eax
jne 0x53a479
push 0
push 0x18
mov ecx, 0x566cc8
call fcn.004a6ac0
test eax, eax
je 0x53a46d
mov ecx, dword [ebp + 0x4b]
mov dword [eax], 0x55a91c
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 1
jmp 0x53a46f
xor eax, eax
mov ecx, dword [esp + 0x44]
push eax
call fcn.004a6c60
mov edx, dword [esp + 0x30]
cmp edx, 0xffffffff
je 0x53a4e4
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
test eax, eax
je 0x53a4aa
dec edx
mov ecx, dword [eax + 0x10]
cmp ecx, edx
jl 0x53a49d
mov edi, dword [esp + 0x30]
inc edi
cmp ecx, edi
jle 0x53a4a6
mov eax, dword [eax + 4]
test eax, eax
jne 0x53a48d
jmp 0x53a4aa
test eax, eax
jne 0x53a4e4
push 0
push 0x18
mov ecx, 0x566cc8
call fcn.004a6ac0
test eax, eax
je 0x53a4d8
mov ecx, dword [ebp + 0x4b]
mov dword [eax], 0x55a91c
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
jmp 0x53a4da
xor eax, eax
mov ecx, dword [esp + 0x44]
push eax
call fcn.004a6c60
mov edx, dword [ebp + 0x27]
cmp dword [edx + 0x7c], 2
jne 0x53a578
mov eax, dword [ebp + 0x33]
mov ecx, dword [eax + 0x33]
mov dl, byte [ecx + 0x11b]
and dl, 0x40
cmp dl, 0x40
jne 0x53a578
mov ax, word [esi]
mov cx, word [esi + 6]
sub ax, word [esi + 4]
add cx, word [esi + 2]
push 1
push 0x1c
movsx ebx, ax
mov eax, dword [esp + 0x40]
movsx esi, cx
mov dx, word [eax + 0x22]
mov cx, word [eax + 0x1e]
add dx, word [eax + 0x1c]
sub cx, word [eax + 0x24]
movsx edi, dx
movsx edx, cx
mov ecx, 0x566d88
mov dword [esp + 0x30], edx
call fcn.004a6ac0
test eax, eax
je 0x53a564
lea ecx, [eax + 0xc]
mov edx, dword [esp + 0x28]
mov dword [eax], 0x55b618
mov dword [ecx], ebx
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
jmp 0x53a566
xor eax, eax
push eax
mov eax, dword [ebp + 0x33]
mov ecx, dword [eax + 0x33]
mov ecx, dword [ecx + 0xc3]
call fcn.004a6c60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18