Function at 0x4055b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.00407140
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
and dl, 0xf
movzx eax, dl
shl eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [0x42f5cc]
and ecx, 1
je 0x405608
push str.ip_reass
push 0x428a7c
mov edx, dword [0x42f5c8]
push edx
call fcn.00414be4
add esp, 0xc
mov eax, dword [0x42f5c8]
push eax
call fcn.00414b88
add esp, 4
mov ecx, dword [0x42f5cc]
and ecx, 1
je 0x40565b
mov edx, dword [0x42f5c8]
push edx
push 0x20
call fcn.00415811
add esp, 8
mov eax, dword [ebp + 8]
push eax
push str.ip___lx
mov ecx, dword [0x42f5c8]
push ecx
call fcn.00414be4
add esp, 0xc
mov edx, dword [0x42f5c8]
push edx
push 0xa
call fcn.00415811
add esp, 8
mov eax, dword [0x42f5c8]
push eax
call fcn.00414b88
add esp, 4
mov ecx, dword [0x42f5cc]
and ecx, 1
je 0x4056ae
mov edx, dword [0x42f5c8]
push edx
push 0x20
call fcn.00415811
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push str.fp___lx
mov ecx, dword [0x42f5c8]
push ecx
call fcn.00414be4
add esp, 0xc
mov edx, dword [0x42f5c8]
push edx
push 0xa
call fcn.00415811
add esp, 8
mov eax, dword [0x42f5c8]
push eax
call fcn.00414b88
add esp, 4
mov ecx, dword [0x42f5cc]
and ecx, 1
je 0x405701
mov edx, dword [0x42f5c8]
push edx
push 0x20
call fcn.00415811
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
push 0x428a9c
mov ecx, dword [0x42f5c8]
push ecx
call fcn.00414be4
add esp, 0xc
mov edx, dword [0x42f5c8]
push edx
push 0xa
call fcn.00415811
add esp, 8
mov eax, dword [0x42f5c8]
push eax
call fcn.00414b88
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], edx
cmp dword [ebp + 0xc], 0
jne 0x4057b6
call fcn.00406c70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x405741
jmp 0x405abe
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [ebp + 0xc], edx
push 0x42f2b4
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407340
add esp, 8
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 8], 0x3c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 9]
mov byte [edx + 9], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov word [edx + 0xa], cx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x405931
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
jmp 0x4057ca
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
je 0x4057e8
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 6]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp ecx, eax
jle 0x4057e6
jmp 0x4057e8
jmp 0x4057c1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp + 0xc]
je 0x40586c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
movzx edx, word [ecx + 6]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
movzx eax, word [ecx + 2]
add edx, eax
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 6]
sub edx, eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jle 0x40586c
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 2]
cmp dword [ebp - 4], edx
jl 0x405831
jmp 0x405abe
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00407140
add esp, 4
push eax
call fcn.00407060
add esp, 8
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov word [ecx + 6], ax
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov word [ecx + 2], ax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
je 0x405931
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
add ecx, eax
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 6]
cmp ecx, eax
jle 0x405931
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 6]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
add edx, ecx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 6]
sub edx, ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 2]
cmp dword [ebp - 4], eax
jge 0x4058fc
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 2]
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov word [eax + 2], dx
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov word [eax + 6], dx
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00407140
add esp, 4
push eax
call fcn.00407060
add esp, 8
jmp 0x405931
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
push eax
call fcn.00407140
add esp, 4
push eax
call fcn.00406de0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00405c10
add esp, 4
jmp 0x40586c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405b50
add esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
jmp 0x40595f
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
je 0x405989
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 6]
cmp eax, dword [ebp - 8]
je 0x40597a
xor eax, eax
jmp 0x405adb
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 2]
add edx, dword [ebp - 8]
mov dword [ebp - 8], edx
jmp 0x405956
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
and edx, 1
je 0x40599f
xor eax, eax
jmp 0x405adb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00407140
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
je 0x4059f2
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407140
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00406ef0
add esp, 8
jmp 0x4059c0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
and edx, 1
je 0x405a20
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
add eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 8]
mov word [ecx + 2], dx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 1]
and ecx, 0xfffffffe
mov edx, dword [ebp + 8]
mov byte [edx + 1], cl
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00407380
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00407140
add esp, 4
push eax
call fcn.00406de0
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.00407140
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov cl, byte [eax]
and cl, 0xf
movzx edx, cl
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
lea edx, [ecx + edx*4]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
and dl, 0xf
movzx eax, dl
shl eax, 2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
jmp 0x405adb
mov ecx, dword [0x42f2f4]
add ecx, 1
mov dword [0x42f2f4], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00406de0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret