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

Disassembly:
mov ecx, dword [0x85d738]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x42091c
sub esp, 0x8c
mov eax, dword [0x85d738]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x41ff62
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x41ff62
cmp dword [ecx], eax
jne 0x420905
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
movzx edx, byte [esp + 0x94]
test dl, dl
jne 0x41ff7d
mov dword [eax], 0
mov dword [esp + 0x24], ecx
test byte [ecx], al
lea eax, [ecx + 0x3f]
mov dword [esp + 0x68], eax
mov edx, dword [0x83d6d0]
mov dword [esp + 0x1c], edx
nop
mov dword [esp], eax
call fcn.00402d10
cmp byte [esp + 4], 1
jne 0x4208ef
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x34], ecx
jne 0x4208ef
mov dword [esp + 0x48], ecx
movzx ebx, byte [0x841cc4]
test bl, bl
je 0x41ffdd
mov eax, dword [edx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.0044a260
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x10]
lea ecx, [edx + 0x50]
mov dword [esp + 0x64], ecx
lea ebx, [0x83d6e8]
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.00402ef0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x44], ecx
movzx edx, byte [eax + 0x3e]
mov byte [esp + 0x16], dl
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ecx
jmp 0x420034
mov eax, ebp
mov ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x420114
test ebx, ebx
je 0x4208ea
movzx esi, word [ebp + 4]
mov edi, eax
mov eax, esi
xor edx, edx
div ebx
mov dword [esp + 0x28], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x3c], ecx
test byte [ecx], al
shr edx, 3
mov dword [esp + 0x2c], edx
movzx ecx, byte [edx + ecx]
mov byte [esp + 0x19], cl
mov edx, dword [esp + 0x28]
and edx, 7
mov ecx, edx
mov edi, 1
shl edi, cl
lea edx, [eax + esi]
nop
movzx esi, byte [esp + 0x19]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x4200de
cmp byte [ebp + 6], 3
je 0x4200af
nop
mov dword [esp + 0x6c], ebp
mov edx, dword [ebp]
mov dword [esp + 0x70], edx
jmp 0x4200d5
mov eax, dword [ebp]
nop
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
mov byte [ebp + 9], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004241f0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
jmp 0x420029
lea edx, [eax + ebx]
jmp 0x420867
or esi, edi
nop
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
xchg esi, eax
mov byte [edi + ebp], al
xchg esi, eax
mov eax, 1
jmp 0x420103
xor eax, eax
jmp 0x420103
xor eax, eax
mov dword [esp + 0x38], edx
mov byte [esp + 0x17], al
mov ebp, dword [esp + 0x24]
jmp 0x420886
test ecx, ecx
je 0x420134
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x420134
mov dword [esp], eax
call fcn.00423ba0
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x20]
mov ebp, dword [0x85dab0]
test ebp, ebp
jne 0x420148
mov ebp, dword [0x85da64]
test ebp, ebp
je 0x420187
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov dword [esp + 0x74], ebp
mov byte [esp + 0x78], 1
mov dword [esp + 0x7c], 0
mov ebp, dword [eax + 0x28]
test byte [ebp], al
nop
mov dword [esp + 0x80], ebp
mov byte [esp + 0x84], 1
mov dword [esp + 0x88], 0
xor ecx, ecx
jmp 0x42079b
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jbe 0x4201e1
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov esi, ecx
shr esi, 3
movzx ebp, byte [esi + ebp]
mov edi, dword [eax + 0x28]
test byte [edi], al
movzx edi, byte [esi + edi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and ecx, 7
xchg edi, eax
shr al, cl
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x4201d9
mov dword [esp + 0x30], esi
mov dword [esp], eax
call fcn.00420b70
mov eax, dword [esp + 0x24]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
lea ecx, [esi + 1]
jmp 0x420740
mov dword [esp], eax
call fcn.00410480
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
movzx edx, word [ecx + 0x3c]
mov ebx, edx
sub edx, eax
cmp ax, bx
ja 0x420729
mov dword [esp + 0x40], eax
mov word [esp + 0x1a], dx
mov word [ecx + 0x3c], ax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x5c], 0
movzx ebx, byte [0x841cc4]
test bl, bl
je 0x420246
mov ebx, dword [0x85d738]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x58]
movzx ebp, dx
imul ebp, dword [ecx + 0x44]
add dword [ebx + 0x91c], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00424410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x420275
mov dword [esp], ecx
call fcn.004309f0
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040f770
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00402d10
cmp byte [esp + 4], 1
jne 0x420713
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x420713
mov edx, dword [esp + 0x1c]
lea ebx, [edx + 1]
cmp ecx, ebx
je 0x4206fd
lea ebx, [edx + 3]
cmp ecx, ebx
je 0x4206fd
lea ecx, [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00402fa0
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax + 0x41]
test cl, cl
je 0x4203b4
movzx edx, byte [esp + 0x94]
test dl, dl
jne 0x4206e7
mov edx, dword [esp + 0x40]
test dx, dx
jbe 0x42034d
movzx edx, byte [esp + 0x16]
movzx edx, dl
cmp edx, 0x88
jae 0x4206db
shl edx, 7
lea ecx, [0x83d770]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x1c]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429f40
mov byte [esp + 0x98], 0
add esp, 0x8c
ret
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [0x83d6e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402e30
nop
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00403040
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x420ad0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.004515f0
mov byte [esp + 0x98], 0
add esp, 0x8c
ret
movzx edx, byte [esp + 0x16]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x420555
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x4203de
movzx edx, byte [esp + 0x94]
test dl, dl
jmp 0x420476
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x861000]
mov dword [esp], ecx
call fcn.0042a6a0
mov eax, dword [esp + 4]
test byte [eax], al
movzx ecx, byte [esp + 0x18]
movsx ecx, cl
cmp ecx, 0x44
jae 0x4206cf
lea eax, [eax + ecx*8 + 0x278]
mov dword [esp], eax
mov dword [esp + 8], 0
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp + 0x48], eax
mov dword [esp + 4], eax
call fcn.00402ef0
lea eax, [0x861000]
mov dword [esp], eax
call fcn.0042a760
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x48]
mul ecx
lea ecx, [0x85df90]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00402ef0
movzx eax, byte [esp + 0x94]
test al, al
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x16]
jne 0x42069c
mov edx, dword [esp + 0x40]
test dx, dx
je 0x420509
movzx edx, dx
cmp dword [eax + 0x1c], edx
jne 0x4204cd
movzx edx, bl
cmp edx, 0x88
jae 0x4206c3
shl edx, 7
lea ecx, [0x83d770]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x1c]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429f40
jmp 0x42069c
movzx edx, bl
cmp edx, 0x88
jae 0x4206b7
shl edx, 7
lea ecx, [0x83d770]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x1c]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429f40
jmp 0x42069c
nop
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x420a00]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x83d620]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.004515f0
mov byte [esp + 0x98], 1
add esp, 0x8c
ret
movzx edx, byte [esp + 0x94]
test dl, dl
jne 0x42069c
movzx edx, word [esp + 0x1a]
test dx, dx
je 0x420669
mov ecx, dword [0x85da6c]
test ecx, ecx
jle 0x420599
mov dword [eax + 0x48], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004126b0
jmp 0x4205d6
nop
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x420930]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x83d620]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.004515f0
lea eax, [0x861000]
mov dword [esp], eax
call fcn.0042a6a0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
test byte [eax], al
lea ecx, [eax + 0x270]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00402ef0
mov eax, dword [esp + 0x60]
add eax, 0x268
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00402ef0
lea eax, [0x861000]
mov dword [esp], eax
call fcn.0042a760
nop
lea eax, [0x85df90]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00402ef0
mov byte [esp + 0x98], 1
add esp, 0x8c
ret
movzx edx, bl
cmp edx, 0x88
jae 0x4206ab
shl edx, 7
lea ecx, [0x83d770]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x1c]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429f40
mov byte [esp + 0x98], 0
add esp, 0x8c
ret
mov eax, edx
mov ecx, 0x88
call fcn.00452b60
mov eax, edx
mov ecx, 0x88
call fcn.00452b60
mov eax, edx
mov ecx, 0x88
call fcn.00452b60
mov eax, ecx
mov ecx, 0x44
call fcn.00452b60
mov eax, edx
mov ecx, 0x88
call fcn.00452b60
lea eax, [0x7c44bb]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.00430110
lea eax, [0x7bf507]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00430110
lea eax, [0x7c3ebd]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00430110
lea eax, [0x7c2d60]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00430110
inc ecx
mov ebp, dword [eax + 0x1c]
add ebp, 7
shr ebp, 3
cmp ecx, ebp
jae 0x4201e1
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
movzx ebp, byte [ecx + ebp]
mov esi, dword [eax + 0x28]
test byte [esi], al
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x42073f
mov dword [esp + 0x34], ecx
mov dword [esp], eax
call fcn.00420b70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x20]
jmp 0x42073f
inc dword [esp + 0x88]
inc ecx
cmp dword [eax + 0x1c], ecx
jbe 0x420187
mov ebp, dword [esp + 0x74]
movzx esi, byte [esp + 0x78]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x4207fb
mov ebp, dword [esp + 0x88]
cmp dword [eax + 0x18], ebp
ja 0x4207e4
mov ebp, dword [esp + 0x80]
movzx esi, byte [esp + 0x84]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x4207fb
mov ebp, dword [eax + 0x44]
imul ebp, ecx
mov esi, dword [0x85da64]
add ebp, dword [eax + 0xc]
test esi, esi
je 0x4207fb
xor esi, esi
jmp 0x42085e
movzx ebp, byte [esp + 0x78]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x420813
inc dword [esp + 0x74]
mov byte [esp + 0x78], 1
jmp 0x42081b
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x78], al
xchg ebp, eax
inc dword [esp + 0x7c]
movzx ebp, byte [esp + 0x84]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x420843
inc dword [esp + 0x80]
mov byte [esp + 0x84], 1
jmp 0x420793
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x84], al
xchg ebp, eax
jmp 0x420793
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x420853
jmp 0x4207fb
mov ebp, dword [ebp]
test ebp, ebp
je 0x420101
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x4200fd
cmp byte [ebp + 6], 1
jne 0x420864
jmp 0x4200e6
mov esi, dword [esp + 0x70]
test esi, esi
je 0x420029
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x420029
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp byte [esi + 6], 1
je 0x4208ba
test al, al
je 0x4208ba
nop
mov dword [esp + 0x6c], esi
mov esi, dword [esi]
mov dword [esp + 0x70], esi
jmp 0x420886
mov eax, dword [esi]
nop
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call fcn.004241f0
movzx eax, byte [esp + 0x17]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
jmp 0x420886
call fcn.0042ed70
lea eax, [0x7c1daf]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00430110
lea eax, [0x7c2137]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00430110
nop
call fcn.004516e0
jmp fcn.0041ff20