Function at 0x40fa8c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov esi, dword [esp + 0x5c]
xor edi, edi
inc edi
mov eax, dword [esi + 0x3c]
mov eax, dword [esi + eax + 0x80]
mov dword [esp + 0x2c], eax
lea eax, [esi + 2]
mov dword [esp + 0x40], eax
mov eax, 0xa0b6ac64
cmp eax, 0x14a844fc
jle 0x40faf5
cmp eax, 0x45633697
jg 0x40fb3a
cmp eax, 0x1ffc0550
jle 0x40fba4
cmp eax, 0x1ffc0551
je 0x40fcb0
cmp eax, 0x286c115b
je 0x40fcd3
cmp eax, 0x42e38bf6
jne 0x40fab4
mov ebx, dword [esp + 0x34]
mov eax, 0xed857edd
jmp 0x40fab4
cmp eax, 0xb6b151f1
jle 0x40fb6b
cmp eax, 0xcefcb187
jle 0x40fbd2
cmp eax, 0xcefcb188
je 0x40fce1
cmp eax, 0xd9d42e6f
je 0x40fcef
cmp eax, 0xed857edd
jne 0x40fab4
mov ecx, dword [esp + 0x34]
mov eax, 0xcb3be424
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
jmp 0x40fab4
cmp eax, 0x66e580d0
jle 0x40fc21
cmp eax, 0x66e580d1
je 0x40fd06
cmp eax, 0x6bf83ba0
je 0x40fd14
cmp eax, 0x7dedc9a2
jne 0x40fab4
jmp 0x40fe60
cmp eax, 0xa4dd97a1
jg 0x40fc86
cmp eax, 0xa0b6ac64
je 0x40fd41
cmp eax, 0xa0e0700a
jne 0x40fab4
mov ebp, dword [esp]
mov ecx, dword [esp + 0x20]
mov eax, 0x64035cd6
add ebp, 0x14
mov dword [esp + 0x18], ecx
jmp 0x40fab4
cmp eax, 0x14a844fd
je 0x40fd60
cmp eax, 0x16faa594
jne 0x40fab4
mov ebp, dword [esp + 0x2c]
mov eax, 0x64035cd6
mov dword [esp + 0x18], 0
add ebp, esi
jmp 0x40fab4
cmp eax, 0xb6b151f2
je 0x40fdf9
cmp eax, 0xcb3be424
jne 0x40fab4
mov eax, dword [esp + 0x28]
mov ecx, 0xa0e0700a
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, 0xd9d42e6f
cmp dword [esp + 8], 0
mov edx, dword [esp + 0x10]
cmove eax, ecx
mov dword [esp + 0x20], edx
jmp 0x40fab4
cmp eax, 0x45633698
je 0x40fe09
cmp eax, 0x64035cd6
jne 0x40fab4
mov eax, dword [esp + 0x18]
mov dword [esp], ebp
mov edx, 0xa4dd97a2
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
xor eax, eax
cmp dword [esp + 0x30], eax
sete cl
cmp dword [esp + 0x10], eax
sete al
xor al, cl
xor cl, al
test al, al
mov eax, 0xa87dd0e8
cmovne eax, edx
mov edx, dword [esp + 0x10]
test cl, cl
mov ecx, 0xa87dd0e8
cmove eax, ecx
mov dword [esp + 0x1c], edx
jmp 0x40fab4
cmp eax, 0xa4dd97a2
je 0x40fe35
cmp eax, 0xa87dd0e8
jne 0x40fab4
cmp dword [esp + 0x1c], 0
mov eax, 0x7dedc9a2
mov ecx, 0x66e580d1
jmp 0x40fd50
mov ecx, dword [esp + 0x3c]
mov eax, 4
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov eax, 0xcb3be424
mov dword [esp + 0x28], ecx
jmp 0x40fab4
mov eax, 0xa87dd0e8
mov dword [esp + 0x1c], edi
jmp 0x40fab4
mov eax, 0xa0e0700a
mov dword [esp + 0x20], edi
jmp 0x40fab4
cmp dword [esp + 8], 0
mov eax, 0x6bf83ba0
mov ecx, 0x14a844fd
cmovs eax, ecx
jmp 0x40fab4
mov eax, 0x7dedc9a2
mov dword [esp + 0xc], edi
jmp 0x40fab4
mov eax, dword [esp + 8]
add eax, dword [esp + 0x40]
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x14]
test eax, eax
mov edx, 0xcefcb188
mov dword [ecx], eax
mov eax, 0x1ffc0551
cmove eax, edx
jmp 0x40fab4
cmp dword [esp + 0x2c], 0
mov eax, 0x16faa594
mov ecx, 0x7dedc9a2
cmove eax, ecx
mov dword [esp + 0xc], 0
jmp 0x40fab4
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx + eax + 0x78]
mov ecx, dword [edx + eax + 0x1c]
mov edi, dword [esp + 8]
mov dword [esp + 0x44], ebp
mov ebp, ebx
xor ebx, ebx
dec ebx
mov esi, edi
xor esi, ebx
mov ebx, 0x6f43e8b1
and esi, 0x90bc174e
and edi, ebx
or edi, esi
mov esi, edi
xor edi, 0x80a00244
xor esi, ebx
and edi, 0xa2e36275
mov ebx, esi
and esi, 0xffff0000
and ebx, 0x5d1c9d8a
or ebx, edi
xor ebx, 0x5d1c6275
or esi, ebx
xor ebx, ebx
mov edi, esi
dec ebx
xor edi, ebx
mov ebx, 0x3238b560
and edi, 0xdc74a9f
and esi, ebx
or esi, edi
xor edi, edi
add ecx, eax
xor esi, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x44]
inc edi
sub esi, dword [edx + eax + 0x10]
add eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
mov dword [ecx], eax
mov eax, 0x1ffc0551
jmp 0x40fab4
mov ebx, dword [esp + 0x38]
mov eax, 0xed857edd
add ebx, esi
jmp 0x40fab4
mov eax, dword [esp]
mov ecx, 0x42e38bf6
mov eax, dword [eax + 0x10]
add eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, 0xb6b151f2
cmp dword [esp + 0x38], 0
cmove eax, ecx
jmp 0x40fab4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 4], eax
mov eax, 0x45633698
mov ecx, 0x286c115b
cmp dword [esp + 4], 0
cmove eax, ecx
jmp 0x40fab4
mov eax, dword [esp + 0xc]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret