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

Disassembly:
mov eax, 0x8c
call fcn.00609610
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x78]
mov edi, edx
call fcn.004e71a0
lea ecx, [esp + 0x88]
call fcn.004e71a0
call fcn.005109a0
mov edx, esi
mov ecx, edi
mov ebx, eax
call fcn.004ea380
test eax, eax
jne 0x41f802
mov ecx, ebx
call fcn.00510990
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x8c
ret 0x1c
push ebp
mov ecx, eax
call fcn.00402e60
mov ebp, eax
lea eax, [esp + 0x50]
push eax
mov edx, esi
mov ecx, ebp
call fcn.00418a20
mov eax, dword [esp + 0xb8]
test eax, eax
mov ecx, dword [esp + 0xa0]
je 0x41f844
push 5
call fcn.004f6120
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx]
push ebp
call fcn.0050db70
jmp 0x41f85a
push 4
call fcn.004f6120
mov edx, dword [esp + 0xa0]
mov ecx, dword [edx]
push ebp
call fcn.0050c800
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0xa8]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [eax + eax*2]
push 0x3a
lea ecx, [ecx*4 + 0x676b60]
call fcn.00510f40
cmp word [esp + 0x18], 0
je 0x41fa3c
mov ax, word [esp + 0x10]
test ax, ax
je 0x41fa3c
lea edx, [esp + 0x14]
push edx
movzx eax, ax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [eax + eax*2]
push 0x3a
lea ecx, [ecx*4 + 0x676b60]
call fcn.00510f40
mov eax, dword [esp + 0x1c]
test ax, ax
je 0x41fa3c
cmp word [esp + 0x14], 0
je 0x41fa3c
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push edx
push esi
push ecx
push edi
push 1
push eax
mov ecx, ebx
call fcn.00512700
cmp eax, 1
je 0x41fa3c
mov eax, dword [ebx + 0x38]
push eax
mov ecx, ebp
call fcn.00408fb0
test eax, eax
mov dword [esp + 0x24], eax
je 0x41fa3c
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x14]
push edx
push esi
push eax
push edi
push 0xa
push ecx
mov ecx, ebx
call fcn.00512700
cmp eax, 1
je 0x41fa3c
mov edx, dword [ebx + 0x38]
mov ecx, dword [edx]
mov edx, dword [esp + 0xa8]
xor eax, eax
cmp ecx, 2
mov ecx, dword [esp + 0xac]
push ecx
sete al
push esi
push edx
push edi
push 1
mov ecx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00512700
cmp eax, 1
je 0x41fa3c
mov esi, dword [esp + 0xb0]
test esi, esi
mov eax, dword [ebx + 0x38]
mov ecx, ebp
push eax
je 0x41f985
call fcn.00408920
jmp 0x41f98a
call fcn.00408b00
test eax, eax
je 0x41fa3c
mov edi, dword [eax + 0x38]
test edi, edi
je 0x41fa3c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], edx
je 0x41fa1b
lea ecx, [esp + 0x28]
push ecx
push 0x41f780
mov ecx, ebp
call fcn.00409cd0
mov ecx, ebx
call fcn.00510990
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x1c
mov eax, esi
lea esi, [esp + 0x28]
call fcn.0041f6f0
mov ecx, ebx
call fcn.00510990
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x8c
ret 0x1c
mov ecx, ebx
call fcn.00510990
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x8c
ret 0x1c