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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x1c], edx
push ecx
pop edi
mov dword [esp + 0x2c], eax
push 0x28
push eax
mov dword [esp + 0x28], eax
push eax
pop esi
mov byte [edi + 0x320], al
lea eax, [esp + 0x38]
push eax
call fcn.00436e90
mov ebp, dword [esp + 0x6c]
add esp, 0xc
movzx eax, byte [edi + 0x320]
mov dword [esp + 0x28], 0xfffb
mov ecx, dword [ebp]
push ecx
pop ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
push 1
pop edx
sub eax, esi
je 0x41f186
sub eax, edx
je 0x41f465
sub eax, edx
je 0x41f5e8
sub eax, edx
je 0x41f17e
sub eax, edx
je 0x41f857
sub eax, edx
je 0x41f8ec
mov esi, 0xfffffed3
jmp 0x41f8ef
xor ebx, ebx
inc ebx
jmp 0x41f652
movzx edx, word [edi + 0x310]
mov eax, 0x8000
mov ebp, dword [esp + 0x64]
cmp dx, ax
jb 0x41f206
push ecx
pop eax
sub eax, ebx
inc eax
cmp eax, ebp
jbe 0x41f1ae
mov esi, 0xfffffeb8
jmp 0x41f8ef
mov eax, dword [esp + 0x1c]
mov al, byte [ecx + eax]
inc ecx
mov byte [esp + 0x14], al
movzx eax, al
mov dword [esp + 0x24], eax
sub eax, ebx
add eax, ecx
mov dword [esp + 0x3c], ecx
cmp eax, ebp
ja 0x41f1a4
and dl, 0x30
cmp dl, 0x10
jne 0x41f1e6
cmp byte [esp + 0x14], 0
je 0x41f1e6
mov esi, 0xfffffe5c
jmp 0x41f8ef
add ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
push 0x48
pop ecx
call fcn.00432ec4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x41f206
push 0xffffffffffffff83
pop esi
jmp 0x41f8ef
push 0x48
pop ecx
call fcn.00432ec4
mov dword [esp + 0x30], eax
test eax, eax
je 0x41f1fe
push 0x48
push 0
push eax
call fcn.00436e90
mov ebx, dword [esp + 0x48]
add esp, 0xc
push ebx
pop eax
sub eax, dword [esp + 0x40]
add eax, 3
cmp eax, ebp
ja 0x41f1a4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
lea ecx, [ebx + ecx]
call fcn.0041d6a7
mov ecx, dword [esp + 0x24]
add ebx, 3
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ecx
cmp ecx, 0x481e
ja 0x41f1a4
mov edx, dword [esp + 0x40]
push ecx
pop eax
sub eax, edx
add eax, ebx
cmp eax, ebp
jne 0x41f1a4
mov ebp, dword [esp + 0x44]
test ecx, ecx
je 0x41f3db
movzx eax, byte [edi + 0x216]
cmp ebp, eax
jge 0x41f3d1
cmp ebp, 9
jge 0x41f3d1
push ebx
pop eax
sub eax, edx
add eax, 3
cmp eax, dword [esp + 0x64]
ja 0x41f1a4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
lea ecx, [ebx + ecx]
call fcn.0041d6a7
mov ecx, dword [esp + 0x24]
add ebx, 3
push ecx
pop eax
mov dword [esp + 0x3c], ebx
sub eax, dword [esp + 0x40]
add eax, ebx
cmp eax, dword [esp + 0x64]
ja 0x41f1a4
mov eax, dword [esp + 0x30]
push 0xfffffffffffffffd
mov dword [eax + ebp*8 + 4], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
add edx, ebp
mov dword [eax + ecx*8], edx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x28]
pop eax
sub eax, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x3c], ebx
mov eax, 0x8000
mov dword [esp + 0x18], ecx
cmp word [edi + 0x310], ax
jb 0x41f3bb
push ebx
pop eax
sub eax, dword [esp + 0x40]
add eax, 2
cmp eax, dword [esp + 0x64]
ja 0x41f1a4
lea ecx, [ebx + ebp]
lea edx, [esp + 0x14]
call fcn.0041d6c1
movzx esi, word [esp + 0x14]
add ebx, 2
push esi
pop eax
mov dword [esp + 0x3c], ebx
sub eax, dword [esp + 0x40]
add eax, ebx
cmp eax, dword [esp + 0x64]
ja 0x41f1a4
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
push 0xfffffffffffffffe
mov dword [ecx + eax*8 + 4], esi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add edx, ebp
mov eax, dword [esp + 0x48]
mov dword [ecx + eax*8], edx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
add dword [esp + 0x40], esi
pop eax
sub eax, esi
add dword [esp + 0x18], eax
movzx eax, word [edx + ecx*8 + 4]
mov edx, dword [edx + ecx*8]
push edi
pop ecx
push 0
push 0xb
push eax
call fcn.00423ea9
push eax
pop esi
add esp, 0xc
test esi, esi
js 0x41f8ef
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x44]
inc ebp
mov dword [esp + 0x44], ebp
test ecx, ecx
je 0x41f3db
mov edx, dword [esp + 0x40]
jmp 0x41f281
mov esi, 0xfffffe90
jmp 0x41f8ef
and dword [esp + 0x4c], 0
mov dword [esp + 0x48], ebp
test ebp, ebp
jne 0x41f42f
mov eax, 0x2000
test word [edi + 0x314], ax
jne 0x41f418
mov eax, 0x100
test word [edi + 0x310], ax
je 0x41f42f
movzx eax, word [edi + 0x220]
push eax
call fcn.0041d707
add esp, 4
test eax, eax
je 0x41f42f
test byte [edi + 0x310], 0x30
jne 0x41f42f
mov esi, 0xfffffea7
push edi
pop ecx
push esi
pop edx
call fcn.0041edda
mov eax, dword [esp + 0x28]
mov ebx, 0x370
and word [esp + 0x56], ax
push ebx
pop ecx
call fcn.00432ec4
mov dword [esp + 0x38], eax
test eax, eax
je 0x41f1fe
push ebx
push 0
push eax
call fcn.00436e90
xor edx, edx
add esp, 0xc
inc edx
mov byte [edi + 0x320], dl
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x41f5d5
jmp 0x41f5cd
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
movzx eax, word [edi + 0x310]
shr eax, 7
not eax
and eax, edx
lea edx, [esp + 0x38]
push eax
push ecx
push edi
pop ecx
call fcn.0041efe9
add esp, 0x10
test eax, eax
jne 0x41f4b6
lea edx, [esp + 0x30]
push edi
pop ecx
call fcn.0041f0c2
lea ecx, [esp + 0x30]
push edi
pop edx
push ecx
mov ecx, dword [edi]
push eax
mov ecx, dword [ecx + 0x50]
call fcn.0041ee39
pop ecx
pop ecx
mov cx, word [edi + 0x310]
push eax
pop esi
mov eax, 0x80
and cx, ax
je 0x41f4f6
cmp esi, 0xfffffe96
je 0x41f4ed
cmp esi, 0xfffffe97
jne 0x41f4f6
and dword [edi + 0x1f8], 0
xor esi, esi
test esi, esi
jne 0x41f58b
mov eax, dword [esp + 0x38]
test byte [eax + 0x36c], 0x10
je 0x41f5af
test cx, cx
jne 0x41f5af
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x4c]
cmp dword [esp + 0x20], esi
jne 0x41f5af
push dword [edi + 0x84]
mov edx, dword [ebx + ebp*8 + 4]
lea ecx, [esp + 0x20]
and dword [esp + 0x20], esi
push 5
call fcn.0042b26e
push eax
pop esi
pop ecx
pop ecx
test esi, esi
js 0x41f8ef
push dword [ebx + ebp*8 + 4]
mov eax, dword [esp + 0x20]
push dword [ebx + ebp*8]
push dword [eax]
call fcn.00436910
mov ecx, dword [edi]
lea edx, [esp + 0x28]
add esp, 0xc
mov ecx, dword [ecx + 0x50]
push 0
push 2
call fcn.00421318
pop ecx
pop ecx
xor ecx, ecx
push eax
pop esi
xor eax, eax
inc ecx
cmp esi, ecx
cmove esi, eax
test esi, esi
je 0x41f5af
lea eax, [ecx + 0x7f]
test byte [edi + 0x310], al
jne 0x41f59c
push esi
pop edx
push edi
pop ecx
call fcn.0041edda
cmp dword [esp + 0x50], 0
mov dword [edi + 0x1f8], esi
jne 0x41f5af
mov dword [esp + 0x50], esi
xor esi, esi
mov ecx, dword [esp + 0x38]
call fcn.00428e42
mov eax, dword [esp + 0x28]
xor edx, edx
and word [esp + 0x56], ax
mov eax, dword [esp + 0x48]
dec eax
inc edx
mov dword [esp + 0x48], eax
cmp eax, edx
jg 0x41f476
test esi, esi
jne 0x41f8ef
mov ebp, dword [esp + 0x60]
mov byte [edi + 0x320], 2
xor ebx, ebx
inc ebx
cmp dword [esp + 0x48], 0
jle 0x41f63d
and dword [esp + 0x4c], 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
movzx eax, word [edi + 0x310]
lea edx, [esp + 0x38]
shr eax, 7
not eax
and eax, ebx
push eax
push ecx
push edi
pop ecx
call fcn.0041efe9
push eax
pop esi
add esp, 0x10
test esi, esi
jne 0x41f6e9
test byte [esp + 0x56], 2
je 0x41f6da
mov esi, dword [esp + 0x50]
or word [esp + 0x56], bx
test byte [esp + 0x56], bl
je 0x41f64b
test esi, esi
jne 0x41f8ef
mov byte [edi + 0x320], 3
cmp dword [esp + 0x48], 0
jle 0x41f83f
mov ecx, dword [esp + 0x38]
mov edx, 0x80
cmp byte [ecx + 0x36c], dl
jb 0x41f6b6
cmp byte [edi + 0x22f], bl
jne 0x41f691
mov al, byte [edi + 0x310]
and al, 0x30
cmp al, 0x10
jne 0x41f691
test byte [ecx + 0x31a], 0x20
mov eax, 0xfffffe7f
cmove esi, eax
mov al, byte [edi + 0x230]
cmp al, bl
je 0x41f6a8
cmp al, 3
jne 0x41f6b6
cmp byte [edi + 0x233], 0
jne 0x41f6b6
test byte [ecx + 0x31a], dl
mov eax, 0xfffffe81
cmove esi, eax
test byte [ecx + 0x36d], bl
je 0x41f733
mov al, byte [edi + 0x310]
and al, 0x30
cmp al, 0x10
jne 0x41f724
test byte [ecx + 0x31c], 3
jne 0x41f733
mov esi, 0xfffffe7e
jmp 0x41f733
mov eax, 0xfffe
and word [esp + 0x56], ax
jmp 0x41f63d
cmp esi, 0xffffff74
je 0x41f638
cmp esi, 0xffffff7c
je 0x41f638
cmp dword [edi + 0x80], 0
je 0x41f638
mov eax, dword [esp + 0x56]
shr eax, 1
xor eax, dword [esp + 0x56]
and eax, ebx
xor word [esp + 0x56], ax
jmp 0x41f63d
test byte [ecx + 0x31c], 5
mov eax, 0xfffffe7e
cmove esi, eax
test byte [esp + 0x56], bl
je 0x41f744
mov dword [edi + 0x1f8], esi
jmp 0x41f8ef
mov eax, 0x2000
or word [edi + 0x312], ax
test byte [edi + 0x310], dl
jne 0x41f79b
mov eax, dword [edi + 0x100]
test eax, eax
je 0x41f79b
cmp dword [ecx + 0x24], 0
je 0x41f780
push ecx
push eax
pop edx
call fcn.0041ed84
pop ecx
mov ecx, dword [esp + 0x38]
cmp eax, ebx
je 0x41f79b
mov esi, 0xfffffebe
jmp 0x41f79b
mov edx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
push eax
call fcn.0041ecd2
pop ecx
mov ecx, 0xfffffebe
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 0x1c], 0x206
jne 0x41f83f
and dword [esp + 0x60], 0
lea ebx, [edi + 0x384]
cmp dword [ebx], 0
jne 0x41f7c5
push ebx
push 0x25
pop edx
push edi
pop ecx
call fcn.0041e31e
jmp 0x41f7de
cmp byte [edi + 0x38a], 0
je 0x41f7e7
push dword [ebx]
push edi
pop ecx
call fcn.0041e3a7
mov byte [edi + 0x38a], 0
pop ecx
test eax, eax
jne 0x41f808
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
mov ecx, dword [ecx]
lea edx, [esp + 0x64]
push dword [ebx]
call fcn.0042b602
pop ecx
pop ecx
test eax, eax
jne 0x41f808
xor ecx, ecx
inc ecx
mov byte [edi + 0x38a], cl
jmp 0x41f80d
mov esi, 0xfffffeaa
test esi, esi
jne 0x41f83f
cmp byte [edi + 0x38a], 0
je 0x41f83f
mov eax, 0x80
test byte [edi + 0x310], al
jne 0x41f83f
mov ecx, dword [ebx]
call fcn.0042efe2
movsx ecx, word [edi + 0x32a]
mov edx, 0xfffffe66
cmp eax, ecx
cmovl esi, edx
xor eax, eax
inc eax
test byte [esp + 0x56], al
je 0x41f850
test esi, esi
jne 0x41f8ef
mov byte [edi + 0x320], 4
cmp dword [esp + 0x50], 0
je 0x41f865
test esi, esi
cmove esi, dword [esp + 0x50]
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push eax
push esi
push edi
pop edx
mov ecx, dword [ecx + 0x50]
call fcn.0041ee39
pop ecx
push eax
pop esi
movzx eax, word [edi + 0x310]
pop ecx
push eax
pop ecx
and ecx, 0x80
je 0x41f8a5
cmp esi, 0xfffffe96
je 0x41f89c
cmp esi, 0xfffffe97
jne 0x41f8a5
and dword [edi + 0x1f8], 0
xor esi, esi
test esi, esi
je 0x41f8bf
test cx, cx
jne 0x41f8b7
push esi
pop edx
push edi
pop ecx
call fcn.0041edda
mov dword [edi + 0x1f8], esi
jmp 0x41f8cc
and al, 0x30
cmp al, 0x10
jne 0x41f8cc
mov byte [edi + 0x319], 5
push edi
pop ecx
call fcn.0041d720
mov ecx, dword [esp + 0x3c]
test eax, eax
je 0x41f8e5
add ecx, dword [edi + 0x308]
mov dword [esp + 0x3c], ecx
mov byte [edi + 0x320], 5
mov dword [ebp], ecx
lea edx, [esp + 0x30]
call fcn.0041ef9b
push edi
pop ecx
call fcn.0041e3c6
pop edi
push esi
pop eax
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret