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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41fc89
sub esp, 0x7c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x41f2d3
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x41f2d3
cmp dword [ecx], eax
jne 0x41fc72
mov eax, dword [esp + 0x80]
test byte [eax], al
mov ecx, dword [0x786eec]
mov dword [esp + 0x20], ecx
lea edx, [eax + 0x3b]
mov dword [esp + 0x60], edx
mov dword [esp], edx
call fcn.00401f00
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x41f9e3
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x80]
cmp dword [ebx + 0x30], edx
jne 0x41fbc4
mov dword [esp + 0x50], edx
movzx eax, byte [0x78d748]
test al, al
jne 0x41f9c0
mov eax, dword [ebx + 0x10]
lea ecx, [0x786f38]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00402040
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x80]
movzx edx, byte [ecx + 0x3a]
mov byte [esp + 0x15], dl
mov ebx, dword [ecx + 0x40]
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x40], eax
lea ebp, [ecx + 0x4c]
mov esi, dword [ecx + 0x4c]
mov dword [esp + 0x24], esi
mov edi, esi
jmp 0x41f396
mov eax, dword [esp + 0x40]
mov ecx, ebp
mov edi, dword [esp + 0x24]
mov ebp, esi
mov esi, edx
movzx edx, byte [esp + 0x15]
test esi, esi
je 0x41f4b6
movzx edx, word [esi + 4]
test ebx, ebx
je 0x41fbbf
mov dword [esp + 0x54], ebp
mov eax, edx
xor edx, edx
div ebx
mov dword [esp + 0x34], eax
mov edx, eax
imul eax, ebx
nop
nop
shr edx, 3
mov ebp, dword [esp + 0x34]
and ebp, 7
mov ecx, ebp
mov edi, 1
shl edi, cl
nop
mov ebp, dword [esp + 0x80]
add edx, dword [ebp + 0x2c]
mov ecx, edx
movzx edx, byte [edx]
xchg edi, eax
test al, dl
xchg edi, eax
je 0x41f3ec
mov edx, dword [esi]
jmp 0x41f383
add ebx, eax
mov eax, esi
jmp 0x41f3fb
mov esi, dword [esi]
mov ebp, dword [esp + 0x80]
test esi, esi
je 0x41f4af
movzx ebp, word [esi + 4]
cmp ebx, ebp
jbe 0x41f4a8
cmp byte [esi + 6], 1
jne 0x41f3f2
nop
or edx, edi
mov byte [ecx], dl
mov ecx, 1
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x16], cl
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x54]
jmp 0x41f43a
mov esi, eax
mov eax, ebp
mov ebp, esi
test eax, eax
je 0x41f494
movzx esi, word [eax + 4]
cmp ebx, esi
jbe 0x41f494
mov edi, dword [edx + 0xc]
add esi, edi
cmp byte [eax + 6], 1
je 0x41f459
test cl, cl
je 0x41f459
mov ebp, dword [eax]
jmp 0x41f434
mov dword [esp + 0x5c], ebp
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov dword [ebp], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00423540
movzx ecx, byte [esp + 0x16]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
jmp 0x41f434
mov ebx, dword [esp + 0x28]
mov edx, eax
mov esi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x41f383
xor ecx, ecx
jmp 0x41f41f
xor ecx, ecx
jmp 0x41f41f
test edi, edi
je 0x41f4c5
mov ebp, dword [ecx + 0x4c]
test ebp, ebp
je 0x41f99f
mov ebp, dword [0x795c20]
test ebp, ebp
je 0x41f98c
mov ebp, dword [ecx + 0x2c]
mov dword [esp + 0x64], ebp
mov byte [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x70], ebp
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0
xor ebp, ebp
jmp 0x41f504
inc dword [esp + 0x78]
inc ebp
cmp dword [ecx + 0x1c], ebp
jbe 0x41f609
mov esi, dword [esp + 0x64]
movzx edi, byte [esp + 0x68]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
je 0x41f569
nop
movzx esi, byte [esp + 0x68]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41f55f
inc dword [esp + 0x64]
mov byte [esp + 0x68], 1
inc dword [esp + 0x6c]
nop
movzx esi, byte [esp + 0x74]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x41f555
inc dword [esp + 0x70]
mov byte [esp + 0x74], 1
jmp 0x41f4ff
shl esi, 1
xchg esi, eax
mov byte [esp + 0x74], al
xchg esi, eax
jmp 0x41f4ff
shl esi, 1
xchg esi, eax
mov byte [esp + 0x68], al
xchg esi, eax
jmp 0x41f539
mov esi, dword [ecx + 0x18]
cmp dword [esp + 0x78], esi
jae 0x41f5ea
mov dword [esp + 0x38], ebp
mov esi, dword [ecx + 0x40]
imul esi, ebp
add esi, dword [ecx + 0xc]
mov edi, dword [0x795c20]
test edi, edi
jne 0x41f5bc
mov edi, dword [0x795c28]
test edi, edi
je 0x41f523
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00420150
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
movzx edx, byte [esp + 0x15]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
jmp 0x41f523
mov dword [esp + 0x1c], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.004289a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
movzx edx, byte [esp + 0x15]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
jmp 0x41f589
mov esi, dword [esp + 0x70]
movzx edi, byte [esp + 0x74]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
jne 0x41f572
jmp 0x41f523
mov ebp, dword [ecx + 0x18]
cmp dword [ecx + 0x1c], ebp
jbe 0x41f985
mov esi, dword [ecx + 0x2c]
mov edi, ebp
shr ebp, 3
movzx esi, byte [ebp + esi]
mov ebx, dword [ecx + 0x28]
movzx ebx, byte [ebp + ebx]
not ebx
and ebx, esi
and edi, 7
mov esi, ecx
mov ecx, edi
shr bl, cl
mov edi, 0xffffffff
xchg edi, eax
test al, bl
xchg edi, eax
jne 0x41f960
lea ecx, [ebp + 1]
jmp 0x41f64c
inc ecx
mov ebx, dword [esi + 0x1c]
add ebx, 7
shr ebx, 3
cmp ebx, ecx
jbe 0x41f695
mov ebx, dword [esi + 0x2c]
movzx ebx, byte [ecx + ebx]
mov ebp, dword [esi + 0x28]
movzx ebp, byte [ecx + ebp]
xchg ebp, ebx
not ebx
xchg ebp, ebx
xchg ebp, eax
test bl, al
xchg ebp, eax
je 0x41f64b
mov dword [esp + 0x30], ecx
mov dword [esp], esi
call fcn.0041fca0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x15]
mov esi, dword [esp + 0x80]
jmp 0x41f64b
mov dword [esp], esi
call fcn.00411260
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x80]
movzx edx, word [ecx + 0x38]
mov ebx, edx
sub edx, eax
mov word [esp + 0x18], dx
cmp ax, bx
ja 0x41fadb
mov word [ecx + 0x38], ax
mov dword [ecx + 0x18], 0
movzx ebx, byte [0x78d748]
test bl, bl
je 0x41f6f8
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x54]
movzx ebp, dx
imul ebp, dword [ecx + 0x40]
add dword [ebx + 0xb48], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00423700
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040fed0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00401f00
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x41f9da
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x30]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jne 0x41fa2d
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x41fa17
lea ebx, [eax + 3]
cmp edx, ebx
je 0x41fa17
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004020e0
movzx eax, byte [esp + 0x15]
mov ecx, eax
shr al, 1
test al, al
je 0x41f89b
movzx edx, word [esp + 0x18]
test dx, dx
jbe 0x41f88f
mov ebx, dword [esp + 0x80]
mov byte [ebx + 0x3c], 1
mov ebp, dword [esp + 0x40]
test byte [ebp], al
movsx eax, al
cmp eax, 0x43
jae 0x41fa0d
movzx edx, dx
add dword [ebp + eax*4 + 0x24c], edx
movzx edx, byte [esp + 0x84]
test dl, dl
je 0x41f7e3
mov byte [esp + 0x88], 0
add esp, 0x7c
ret
mov edx, dword [esp + 0x48]
test dx, dx
je 0x41f871
movzx edx, dx
cmp dword [ebx + 0x1c], edx
jne 0x41f833
movzx eax, cl
cmp eax, 0x86
jae 0x41fa03
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [0x7871f0]
lea eax, [eax + ecx + 0x48]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004294c0
jmp 0x41f7d7
movzx eax, cl
cmp eax, 0x86
jae 0x41f9f9
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [0x7871f0]
lea eax, [ecx + eax + 0x18]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004294c0
jmp 0x41f7d7
lea eax, [0x786e60]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00422690
mov byte [esp + 0x88], 1
add esp, 0x7c
ret
mov ebx, dword [esp + 0x80]
jmp 0x41f7cb
movzx edx, byte [esp + 0x84]
test dl, dl
jne 0x41f7d7
movzx edx, word [esp + 0x18]
test dx, dx
je 0x41f91b
mov eax, dword [0x795c2c]
test eax, eax
jle 0x41f900
mov eax, dword [esp + 0x80]
mov dword [eax + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004136a0
mov eax, dword [esp + 0x40]
inc dword [eax + 0x248]
mov ecx, dword [esp + 0x28]
add dword [eax + 0x244], ecx
mov byte [esp + 0x88], 1
add esp, 0x7c
ret
lea eax, [0x786e60]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00422690
jmp 0x41f8e0
movzx eax, cl
cmp eax, 0x86
jae 0x41f9ef
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [0x7871f0]
lea eax, [eax + ecx + 0x48]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.004294c0
jmp 0x41f7d7
mov dword [esp + 0x2c], ebp
mov dword [esp], esi
call fcn.0041fca0
mov eax, dword [esp + 0x40]
movzx edx, byte [esp + 0x15]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x80]
jmp 0x41f646
mov esi, ecx
jmp 0x41f695
mov ebp, dword [0x795c28]
test ebp, ebp
jne 0x41f4d3
jmp 0x41f609
mov dword [esp], ecx
call fcn.00422ec0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
movzx edx, byte [esp + 0x15]
mov ebx, dword [esp + 0x28]
jmp 0x41f4c5
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.0044b720
mov ebx, dword [esp + 0x80]
jmp 0x41f331
mov ecx, dword [esp + 0x80]
jmp 0x41fa2d
mov ebx, dword [esp + 0x80]
jmp 0x41fbc4
mov ecx, 0x86
call fcn.0045a170
mov ecx, 0x86
call fcn.0045a170
mov ecx, 0x86
call fcn.0045a170
mov ecx, 0x43
call fcn.0045a170
lea eax, [0x57f262]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430080
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x50], eax
call fcn.00431790
lea eax, [0x58058c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00432030
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x57aec8]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432030
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x57df62]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00432030
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
call fcn.004319b0
call fcn.00431800
lea eax, [0x587741]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00430080
mov word [esp + 0x1a], bx
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], eax
call fcn.00431790
lea eax, [0x57e832]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00432030
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x579ab6]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00432030
mov eax, dword [esp + 0x48]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x580f33]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00432030
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x579ac6]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00432030
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
call fcn.004319b0
call fcn.00431800
lea eax, [0x585c34]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00430080
call fcn.0042e710
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x50], eax
call fcn.00431790
lea eax, [0x58058c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00432030
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x57aec8]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432030
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x57df62]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00432030
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
call fcn.004319b0
call fcn.00431800
lea eax, [0x583dde]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00430080
lea eax, [0x5843b2]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00430080
nop
call fcn.00458ba0
jmp fcn.0041f290