Function at 0x41c77d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b4
mov dword [ebp - 0x894], ecx
mov byte [ebp - 0x10], 1
mov eax, dword [ebp - 0x894]
cmp dword [eax + 0x38], 0
je 0x41cb06
mov ecx, dword [ebp - 0x894]
cmp dword [ecx + 0x38], 0xffffffff
je 0x41cb06
mov dword [ebp - 0x814], 0
mov edx, dword [ebp - 0x814]
xor eax, eax
mov ecx, dword [ebp - 0x894]
add ecx, 0x40
mov dword [ebp - 0x89c], edx
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x8a0], ecx
mov edx, dword [ebp - 0x8a0]
mov eax, dword [ebp - 0x898]
cmp eax, dword [edx + 4]
jg 0x41cb01
jl 0x41c81d
mov ecx, dword [ebp - 0x8a0]
mov edx, dword [ebp - 0x89c]
cmp edx, dword [ecx]
jae 0x41cb01
mov eax, dword [ebp - 0x894]
mov ecx, dword [eax + 0x38]
add ecx, dword [ebp - 0x814]
mov dword [ebp - 0x818], ecx
mov edx, dword [ebp - 0x818]
xor eax, eax
mov ax, word [edx + 4]
mov ecx, dword [ebp - 0x814]
add ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x894]
add eax, 0x40
mov dword [ebp - 0x8a8], ecx
mov dword [ebp - 0x8a4], edx
mov dword [ebp - 0x8ac], eax
mov ecx, dword [ebp - 0x8ac]
mov edx, dword [ebp - 0x8a4]
cmp edx, dword [ecx + 4]
jl 0x41c88b
jg 0x41c886
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [ebp - 0x8a8]
cmp ecx, dword [eax]
jbe 0x41c88b
jmp 0x41cb01
mov edx, dword [ebp - 0x818]
cmp dword [edx], 0x80
jbe 0x41c89e
jmp 0x41cb01
mov eax, dword [ebp - 0x818]
cmp dword [eax], 0x80
jne 0x41cacc
mov ecx, dword [ebp - 0x818]
add ecx, 8
mov dword [ebp - 0x8b0], ecx
mov edx, dword [ebp - 0x8b0]
mov eax, dword [ebp - 0x8b0]
mov ecx, dword [edx]
or ecx, dword [eax + 4]
test ecx, ecx
jne 0x41cacc
push 0
lea edx, [ebp - 0x828]
push edx
mov eax, dword [ebp - 0x818]
xor ecx, ecx
mov cl, byte [eax + 6]
push ecx
mov edx, dword [ebp - 0x818]
add edx, 0x1a
push edx
push 0x80
mov ecx, dword [ebp - 0x894]
call fcn.0041a29f
and eax, 0xff
test eax, eax
jne 0x41c919
mov byte [ebp - 0x10], 0
jmp 0x41cb01
mov byte [ebp - 0x810], 0
mov byte [ebp - 0x820], 1
mov dword [ebp - 0x81c], 0
mov eax, dword [ebp - 0x818]
xor ecx, ecx
mov cl, byte [eax + 6]
test ecx, ecx
je 0x41ca33
mov edx, dword [ebp - 0x818]
xor eax, eax
mov al, byte [edx + 6]
add eax, 2
cmp eax, 0x800
jl 0x41c9c1
cmp dword [ebp + 0x10], 0
je 0x41c9b8
push 0xef97
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0046eb4f
add esp, 8
mov dword [ebp - 0x8b4], eax
mov edx, dword [ebp - 0x8b4]
mov dword [ebp - 0x8b8], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x8b8]
call fcn.00447470
push eax
push 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.00471efe
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88c]
call fcn.004d37cb
mov byte [ebp - 0x820], 0
jmp 0x41ca33
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
test ecx, ecx
jne 0x41c9d7
mov byte [ebp - 0x820], 0
jmp 0x41ca33
mov edx, dword [ebp - 0x818]
add edx, 0x1a
mov dword [ebp - 0x81c], edx
push 0x7fd
lea eax, [ebp - 0x810]
push eax
mov ecx, dword [ebp - 0x818]
xor edx, edx
mov dl, byte [ecx + 6]
push edx
mov eax, dword [ebp - 0x81c]
push eax
call fcn.004522f1
add esp, 0x10
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x41ca25
mov byte [ebp - 0x10], 0
jmp 0x41cb01
mov ecx, dword [ebp - 0x82c]
mov byte [ebp + ecx - 0x810], 0
mov edx, dword [ebp - 0x820]
and edx, 0xff
test edx, edx
je 0x41cacc
lea ecx, [ebp - 0x84c]
call fcn.00420dd0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x84c]
call fcn.004d3954
mov ecx, dword [ebp - 0x828]
mov dword [ebp - 0x844], ecx
mov edx, dword [ebp - 0x824]
mov dword [ebp - 0x840], edx
mov dword [ebp - 0x83c], 0
mov eax, dword [ebp - 0x818]
add eax, 0x1a
mov dword [ebp - 0x838], eax
mov ecx, dword [ebp - 0x818]
mov dl, byte [ecx + 6]
mov byte [ebp - 0x834], dl
lea eax, [ebp - 0x84c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00420fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84c]
call fcn.00420df0
mov ecx, dword [ebp - 0x818]
xor edx, edx
mov dx, word [ecx + 4]
test edx, edx
jne 0x41cae2
mov byte [ebp - 0x10], 0
jmp 0x41cb01
mov eax, dword [ebp - 0x818]
xor ecx, ecx
mov cx, word [eax + 4]
mov edx, dword [ebp - 0x814]
add edx, ecx
mov dword [ebp - 0x814], edx
jmp 0x41c7cf
jmp 0x41cdd2
mov eax, dword [ebp - 0x894]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x850], ecx
cmp dword [ebp - 0x850], 0
je 0x41cdd2
mov edx, dword [ebp - 0x894]
mov eax, dword [ebp - 0x850]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0x854], eax
mov ecx, dword [ebp - 0x894]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x854]
cmp eax, dword [edx + 0x18]
ja 0x41cb5f
mov ecx, dword [ebp - 0x854]
add ecx, 0x10
mov edx, dword [ebp - 0x894]
cmp ecx, dword [edx + 0xc]
jbe 0x41cb6e
mov dword [ebp - 0x850], 0
jmp 0x41cdd2
mov eax, dword [ebp - 0x850]
xor ecx, ecx
mov cx, word [eax + 4]
test ecx, ecx
je 0x41cb89
mov edx, dword [ebp - 0x850]
cmp dword [edx], 0xffffffff
jne 0x41cb98
mov dword [ebp - 0x850], 0
jmp 0x41cdd2
mov eax, dword [ebp - 0x850]
cmp dword [eax], 0x80
jne 0x41cd99
push 0
lea ecx, [ebp - 0x864]
push ecx
mov edx, dword [ebp - 0x850]
push edx
mov ecx, dword [ebp - 0x894]
call fcn.0041a51f
and eax, 0xff
test eax, eax
jne 0x41cbd7
mov byte [ebp - 0x10], 0
jmp 0x41cdd2
mov byte [ebp - 0x810], 0
mov byte [ebp - 0x85c], 1
mov dword [ebp - 0x858], 0
mov eax, dword [ebp - 0x850]
xor ecx, ecx
mov cl, byte [eax + 9]
test ecx, ecx
je 0x41cd10
mov edx, dword [ebp - 0x850]
xor eax, eax
mov ax, word [edx + 0xa]
test eax, eax
je 0x41cd10
mov ecx, dword [ebp - 0x850]
xor edx, edx
mov dl, byte [ecx + 9]
add edx, 2
cmp edx, 0x800
jl 0x41cc94
cmp dword [ebp + 0x10], 0
je 0x41cc8b
push 0xef97
lea eax, [ebp - 0x890]
push eax
call fcn.0046eb4f
add esp, 8
mov dword [ebp - 0x8bc], eax
mov ecx, dword [ebp - 0x8bc]
mov dword [ebp - 0x8c0], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x8c0]
call fcn.00447470
push eax
push 1
mov edx, dword [ebp + 0x10]
push edx
call fcn.00471efe
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x890]
call fcn.004d37cb
mov byte [ebp - 0x85c], 0
jmp 0x41cd10
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
jne 0x41cca9
mov byte [ebp - 0x85c], 0
jmp 0x41cd10
mov ecx, dword [ebp - 0x850]
xor edx, edx
mov dx, word [ecx + 0xa]
mov eax, dword [ebp - 0x850]
add eax, edx
mov dword [ebp - 0x858], eax
push 0x7fd
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp - 0x850]
xor eax, eax
mov al, byte [edx + 9]
push eax
mov ecx, dword [ebp - 0x858]
push ecx
call fcn.004522f1
add esp, 0x10
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0
jne 0x41cd02
mov byte [ebp - 0x10], 0
jmp 0x41cdd2
mov edx, dword [ebp - 0x868]
mov byte [ebp + edx - 0x810], 0
mov eax, dword [ebp - 0x85c]
and eax, 0xff
test eax, eax
je 0x41cd99
lea ecx, [ebp - 0x888]
call fcn.00420dd0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x888]
call fcn.004d3954
mov edx, dword [ebp - 0x864]
mov dword [ebp - 0x880], edx
mov eax, dword [ebp - 0x860]
mov dword [ebp - 0x87c], eax
mov ecx, dword [ebp - 0x850]
mov dword [ebp - 0x878], ecx
mov dword [ebp - 0x874], 0
mov byte [ebp - 0x870], 0
lea edx, [ebp - 0x888]
push edx
mov ecx, dword [ebp + 8]
call fcn.00420fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.00420df0
mov eax, dword [ebp - 0x850]
cmp dword [eax], 0x80
jbe 0x41cdb3
mov dword [ebp - 0x850], 0
jmp 0x41cdd2
mov ecx, dword [ebp - 0x850]
xor edx, edx
mov dx, word [ecx + 4]
mov eax, dword [ebp - 0x850]
add eax, edx
mov dword [ebp - 0x850], eax
jmp 0x41cb15
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc