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

Disassembly:
call fcn.00421db4
lea ecx, [ebx + 0x34]
push edi
mov dword [esp + 0x24], ecx
call fcn.0041c904
push ebx
mov ecx, ebp
call fcn.0041cde4
cmp eax, esi
mov dword [esp + 0x4c], eax
je 0x41fd6e
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x14], esi
call fcn.0041d444
cmp eax, esi
mov dword [esp + 0x28], esi
jle 0x41f955
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x28]
push esi
push ecx
push esi
push 0xffffffffffffffff
push eax
push esi
push edx
mov ecx, edi
call fcn.0041c974
push eax
call fcn.0042d5d4
add esp, 0x18
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x54]
call fcn.0040f6f4
mov esi, 0x537c24
lea ecx, [esp + 0x7c]
mov dword [esp + 0x54], esi
call fcn.0040f6f4
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], esi
call fcn.0040f6f4
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call fcn.0040f6f4
mov esi, dword [ebx + 0x18]
mov ebx, esi
mov dword [esp + 0x30], esi
test esi, esi
mov dword [esp + 0x1c], ebx
jle 0x41fc5d
mov edi, ebx
mov ecx, dword [esp + 0x14]
sub edi, esi
push 0
neg edi
sbb edi, edi
and edi, ebx
push edi
call fcn.0041c974
mov ebp, eax
test ebp, ebp
je 0x41fc5d
mov ecx, dword [esp + 0x14]
push edi
call fcn.0041d054
cmp eax, 1
jne 0x41f9d8
dec ebx
mov dword [esp + 0x1c], ebx
jmp 0x41fc55
mov eax, dword [ebp]
push 0
push eax
push 0x3ea
call fcn.00421db4
mov ebx, eax
test ebx, ebx
je 0x41fd7d
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x41fd7d
push 1
call eax
test eax, eax
mov dword [esp + 0x24], eax
je 0x41fd7d
lea esi, [ebp + 0x18]
push esi
call fcn.00459f84
add esi, eax
push esi
call fcn.00459f84
add esp, 8
lea ecx, [esp + 0x90]
add esi, eax
push ecx
push ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x50], esi
mov ecx, ebp
add esi, 4
call fcn.0041d074
push edi
mov ecx, ebp
mov dword [esp + 0xac], eax
call fcn.0041c9c4
mov edx, dword [ebx + 0x14]
lea ecx, [esp + 0x68]
shr edx, 8
and edx, 1
mov dword [esp + 0xb0], eax
push edx
call fcn.0040f9f4
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0xc]
add esi, 0x18
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], eax
mov ecx, dword [esi]
mov dword [esp + 0xa0], edx
xor ebp, ebp
mov edx, dword [esi + ecx*4 + 4]
lea eax, [esi + ecx*4 + 4]
lea esi, [eax + edx + 4]
push esi
call fcn.00459f84
movsb byte es:[edi], byte [esi]
add eax, dword [eax]
mov ecx, dword [ebx + 0x14]
lea esi, [esi + eax + 4]
add esp, 4
mov eax, dword [esi]
test ch, 0x80
mov dword [esp + 0x98], eax
je 0x41facb
push ebp
lea ecx, [esp + 0x38]
call fcn.0040f9c4
invalid
invalid
jmp 0x41fb02
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x41fae7
test edi, edi
jne 0x41fae7
push 1
lea ecx, [esp + 0x38]
call fcn.0040f9c4
jmp 0x41fb02
and al, 1
lea ecx, [esp + 0x34]
push eax
call fcn.0040f9c4
test byte [esp + 0x98], 2
je 0x41fb02
mov ebp, 0x8000000
test byte [esp + 0x98], 4
je 0x41fb12
or ebp, 0x10000
test edi, edi
jne 0x41fbc3
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xac]
push edi
mov ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0xb8]
mov dword [0x562734], eax
mov eax, dword [esp + 0xa8]
push edi
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xa8]
mov edi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa0]
push 0
mov ebx, dword [esp + 0x30]
push 0
push edi
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc8]
push 0
push ebx
push ecx
push ebp
push edx
push eax
call dword [esp + 0x5c]
add ebx, 0xa
mov esi, eax
mov dword [esp + 0x2c], ebx
test esi, esi
je 0x41fd0e
mov ecx, dword [esp + 0x48]
push edi
mov dword [ecx], esi
lea ecx, [esp + 0x58]
call fcn.0040f9f4
push esi
lea ecx, [esp + 0x80]
call fcn.0040f9f4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
dec eax
mov dword [esp + 0x1c], eax
mov ebx, eax
test ebx, ebx
jg 0x41f99f
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x5c]
and eax, esi
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41fd1d
push eax
call dword [0x46d5c8]
mov eax, dword [esp + 0x10]
test eax, eax
invalid
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd4
ret 0x14