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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41e568
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
push edi
push 0x40
push ebx
xor esi, esi
call fcn.00407e60
add esp, 8
test eax, eax
jne 0x407a74
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 0x3c]
add eax, 0xf8
push eax
push ebx
call fcn.00407e60
add esp, 8
test eax, eax
jne 0x407aa1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov ebx, dword [edi + 0x3c]
add ebx, edi
cmp dword [ebx], 0x4550
je 0x407ac3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
cmp word [ebx + 4], 0x14c
je 0x407ae0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov edx, dword [ebx + 0x38]
test dl, 1
je 0x407afd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
xor ecx, ecx
xor eax, eax
mov cx, word [ebx + 0x14]
mov ax, word [ebx + 6]
test eax, eax
lea ecx, [ecx + ebx + 0x18]
jbe 0x407b31
lea edi, [ecx + 0xc]
mov ebp, eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x407b23
mov eax, dword [edi]
add eax, edx
jmp 0x407b25
add eax, dword [edi]
cmp eax, esi
jbe 0x407b2b
mov esi, eax
add edi, 0x28
dec ebp
jne 0x407b16
push 0
mov ecx, 0x4299d8
call fcn.0040b360
mov ecx, eax
call fcn.0040b0c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea edx, [esp + 0x14]
mov ebp, eax
push edx
call fcn.00406030
add esp, 4
mov ecx, eax
mov dword [esp + 0x60], 0
call fcn.0040b0c0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x14]
mov edi, eax
mov dword [esp + 0x60], 0xffffffff
call fcn.0040b010
lea eax, [esp + 0x34]
push eax
call edi
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0x50]
push ecx
push edx
call fcn.00407e40
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.00407e40
add esp, 0x10
cmp edi, eax
je 0x407bc2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov ecx, dword [esp + 0x84]
mov edx, dword [ebx + 0x34]
push ecx
push 4
push 0x3000
push edi
push edx
call dword [esp + 0x84]
mov esi, eax
add esp, 0x14
test esi, esi
mov dword [esp + 0x10], esi
jne 0x407c24
mov eax, dword [esp + 0x84]
push eax
push 4
push 0x3000
push edi
push esi
call dword [esp + 0x84]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x407c20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
call fcn.00406770
add esp, 4
mov ecx, eax
mov dword [esp + 0x60], 1
call fcn.0040b0c0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x14]
mov edi, eax
mov dword [esp + 0x60], 0xffffffff
call fcn.0040b010
lea edx, [esp + 0x24]
push edx
call fcn.00406c60
add esp, 4
mov ecx, eax
mov dword [esp + 0x60], 2
call fcn.0040b0c0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x24]
mov ebp, eax
mov dword [esp + 0x60], 0xffffffff
call fcn.0040b010
push 0x40
push 8
call ebp
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x407ccf
mov eax, dword [esp + 0x84]
push eax
push 0x8000
push ebp
push esi
call dword [esp + 0x84]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [ebp + 4], esi
mov cx, word [ebx + 0x16]
mov edi, dword [esp + 0x84]
mov dword [ebp + 0x1c], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dword [ebp + 0x28], edx
shr ecx, 0xd
and ecx, 1
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x34], edi
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x3c], ecx
mov edx, dword [ebx + 0x54]
push edx
push eax
call fcn.00407e60
add esp, 8
test eax, eax
je 0x407def
mov ecx, dword [ebx + 0x54]
push edi
push 4
push 0x1000
push ecx
push esi
call dword [esp + 0x84]
mov ecx, dword [ebx + 0x54]
mov esi, dword [esp + 0x7c]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebp], eax
mov dword [eax + 0x34], esi
mov eax, dword [esp + 0x88]
push eax
push ecx
call fcn.00407e70
add esp, 0x24
test eax, eax
je 0x407def
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ebx + 0x34]
sub eax, ecx
je 0x407da3
push eax
push ebp
call fcn.004082e0
add esp, 8
mov dword [ebp + 0x18], eax
jmp 0x407daa
mov dword [ebp + 0x18], 1
push ebp
call fcn.004083a0
add esp, 4
test eax, eax
je 0x407def
push ebp
call fcn.00407f90
add esp, 4
test eax, eax
je 0x407def
push ebp
call fcn.00408290
add esp, 4
test eax, eax
je 0x407def
mov edx, dword [ebp]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x407e1d
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x407e16
push 0
push 1
add eax, esi
push esi
call eax
test eax, eax
jne 0x407e0d
push ebp
call fcn.00408660
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov dword [ebp + 0x10], 1
jmp 0x407e24
add eax, esi
mov dword [ebp + 0x38], eax
jmp 0x407e24
mov dword [ebp + 0x38], 0
mov ecx, dword [esp + 0x58]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret