Function at 0x41e674
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov eax, dword [0x4f0380]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
call fcn.00403268
mov dword [ebp - 0x10], eax
mov eax, dword [0x4f0380]
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
jbe 0x41e76d
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4f0380]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00404f04
push eax
call fcn.0041a714
push 0
push 0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x58]
mov ecx, 0x40
call fcn.0040da28
lea eax, [ebp - 0x24]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x1c]
mov edx, 0x80100080
call fcn.0041c1bc
test eax, eax
jne 0x41e764
mov eax, dword [0x4f0380]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [0x4f0380]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call fcn.00403268
mov ebx, eax
push 0
lea eax, [ebp - 0x24]
push eax
push ebx
mov eax, dword [0x4f0380]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0041c164
test eax, eax
jne 0x41e755
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0041cd64
mov eax, ebx
call fcn.00403288
mov eax, dword [ebp - 0x1c]
call fcn.0041c0dc
lea eax, [ebp - 0x18]
push eax
call fcn.0041a724
mov edx, dword [ebp - 0x10]
mov eax, edx
mov ebx, dword [eax + 0x3c]
add ebx, edx
push 0x40
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406e0c
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x50]
call fcn.00403268
mov edi, eax
mov edx, dword [ebx + 0x50]
mov eax, edi
call fcn.00406ec0
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00406eb8
movzx esi, word [ebx + 6]
dec esi
test esi, esi
jl 0x41e805
inc esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 0x10c], 0
jbe 0x41e7ff
mov edx, dword [ebx + eax*8 + 0x108]
push edx
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*4]
mov edx, dword [ebx + edx*8 + 0x10c]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebx + eax*8 + 0x104]
add eax, edi
pop edx
pop ecx
call fcn.00406eb8
inc dword [ebp - 0xc]
dec esi
jne 0x41e7c6
mov eax, dword [ebp - 0x10]
call fcn.00403288
mov esi, edi
mov eax, esi
mov ebx, dword [eax + 0x3c]
add ebx, esi
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x41e82f
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebx + 0x34]
add eax, esi
mov edx, esi
call fcn.0041e424
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x41e842
add eax, esi
mov edx, esi
call fcn.0041e494
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x78], 0
je 0x41e85c
mov edx, 0x4d6010
mov eax, edi
call fcn.0041e5a4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x50]
push eax
push edi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406e54
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00406ba4
mov eax, edi
call fcn.00403288
mov eax, dword [0x4f0380]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00404f14
mov ebx, eax
add ebx, ebx
add ebx, 0xa0
mov eax, dword [ebp - 4]
mov eax, dword [eax]