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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc8]
cmp eax, dword [ecx + 8]
jbe 0x422587
sub esp, 0x148
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x421acd
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x421acd
cmp dword [ecx], eax
jne 0x422570
mov eax, dword [esp + 0x14c]
test byte [eax], al
mov ecx, dword [0xa8492c]
mov dword [esp + 0x24], ecx
lea edx, [eax + 0x3b]
mov dword [esp + 0x74], edx
mov dword [esp], edx
call fcn.00401e90
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422209
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x14c]
cmp dword [ebx + 0x30], edx
jne 0x42247b
mov dword [esp + 0x44], edx
movzx eax, byte [0xa8b188]
test al, al
jne 0x4221e6
mov eax, dword [ebx + 0x10]
lea ecx, [0xa84978]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00401fd0
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x14c]
movzx edx, byte [ecx + 0x3a]
mov byte [esp + 0x16], dl
mov ebx, dword [ecx + 0x40]
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x64], eax
lea ebp, [ecx + 0x4c]
mov esi, dword [ecx + 0x4c]
mov dword [esp + 0x60], esi
mov edi, esi
jmp 0x421b8c
mov eax, dword [esp + 0x64]
mov ecx, ebp
mov edi, dword [esp + 0x60]
mov ebp, esi
mov esi, edx
movzx edx, byte [esp + 0x16]
test esi, esi
je 0x421cac
movzx edx, word [esi + 4]
test ebx, ebx
je 0x422476
mov dword [esp + 0x5c], 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 + 0x14c]
add edx, dword [ebp + 0x2c]
mov ecx, edx
movzx edx, byte [edx]
xchg edi, eax
test dl, al
xchg edi, eax
je 0x421be2
mov edx, dword [esi]
jmp 0x421b79
add ebx, eax
mov eax, esi
jmp 0x421bf1
mov esi, dword [esi]
mov ebp, dword [esp + 0x14c]
test esi, esi
je 0x421ca5
movzx ebp, word [esi + 4]
cmp ebx, ebp
jbe 0x421c9e
cmp byte [esi + 6], 1
jne 0x421be8
nop
or edx, edi
mov byte [ecx], dl
mov ecx, 1
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x17], cl
mov edx, dword [esp + 0x14c]
mov ebp, dword [esp + 0x5c]
jmp 0x421c30
mov esi, eax
mov eax, ebp
mov ebp, esi
test eax, eax
je 0x421c8a
movzx esi, word [eax + 4]
cmp ebx, esi
jbe 0x421c8a
mov edi, dword [edx + 0xc]
add esi, edi
cmp byte [eax + 6], 1
je 0x421c4f
test cl, cl
je 0x421c4f
mov ebp, dword [eax]
jmp 0x421c2a
mov dword [esp + 0x70], ebp
mov ecx, dword [eax]
mov dword [esp + 0x6c], 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.00425fe0
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
jmp 0x421c2a
mov ebx, dword [esp + 0x28]
mov edx, eax
mov esi, ebp
mov ebp, dword [esp + 0x14c]
jmp 0x421b79
xor ecx, ecx
jmp 0x421c15
xor ecx, ecx
jmp 0x421c15
test edi, edi
je 0x421cbb
mov ebp, dword [ecx + 0x4c]
test ebp, ebp
je 0x4221c5
mov ebp, dword [0xa936c0]
test ebp, ebp
je 0x4221b2
mov ebp, dword [ecx + 0x2c]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x7c], 1
mov dword [esp + 0x80], 0
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x84], ebp
mov byte [esp + 0x88], 1
mov dword [esp + 0x8c], 0
xor ebp, ebp
jmp 0x421d09
inc dword [esp + 0x8c]
inc ebp
cmp dword [ecx + 0x1c], ebp
jbe 0x421e2a
mov esi, dword [esp + 0x78]
movzx edi, byte [esp + 0x7c]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
je 0x421d7d
nop
movzx esi, byte [esp + 0x7c]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x421d73
inc dword [esp + 0x78]
mov byte [esp + 0x7c], 1
inc dword [esp + 0x80]
nop
movzx esi, byte [esp + 0x88]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x421d66
inc dword [esp + 0x84]
mov byte [esp + 0x88], 1
jmp 0x421d01
shl esi, 1
xchg esi, eax
mov byte [esp + 0x88], al
xchg esi, eax
jmp 0x421d01
shl esi, 1
xchg esi, eax
mov byte [esp + 0x7c], al
xchg esi, eax
jmp 0x421d3e
mov esi, dword [ecx + 0x18]
cmp dword [esp + 0x8c], esi
jae 0x421e05
mov dword [esp + 0x38], ebp
mov esi, dword [ecx + 0x40]
imul esi, ebp
add esi, dword [ecx + 0xc]
mov edi, dword [0xa936c0]
test edi, edi
jne 0x421dd7
mov edi, dword [0xa936c8]
test edi, edi
je 0x421d28
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00422b80
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14c]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
jmp 0x421d28
mov dword [esp + 0x20], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0042b940
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14c]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
jmp 0x421da0
mov esi, dword [esp + 0x84]
movzx edi, byte [esp + 0x88]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
jne 0x421d89
jmp 0x421d28
mov ebp, dword [ecx + 0x18]
cmp dword [ecx + 0x1c], ebp
jbe 0x4221ab
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 0x422186
lea ecx, [ebp + 1]
jmp 0x421e6d
inc ecx
mov ebx, dword [esi + 0x1c]
add ebx, 7
shr ebx, 3
cmp ebx, ecx
jbe 0x421eb6
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 al, bl
xchg ebp, eax
je 0x421e6c
mov dword [esp + 0x30], ecx
mov dword [esp], esi
call fcn.004225a0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x16]
mov esi, dword [esp + 0x14c]
jmp 0x421e6c
mov dword [esp], esi
call fcn.00412c10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14c]
movzx edx, word [ecx + 0x38]
mov ebx, edx
sub edx, eax
cmp ax, bx
ja 0x422352
mov dword [esp + 0x40], eax
mov word [esp + 0x18], dx
mov word [ecx + 0x38], ax
mov dword [ecx + 0x18], 0
movzx ebx, byte [0xa8b188]
test bl, bl
je 0x421f19
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.004261a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14c]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004116f0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00401e90
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422200
mov ecx, dword [esp + 0x14c]
mov edx, dword [ecx + 0x30]
mov ebx, dword [esp + 0x44]
cmp ebx, edx
jne 0x422257
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x422241
lea ebx, [eax + 3]
cmp edx, ebx
je 0x422241
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402070
movzx eax, byte [esp + 0x16]
mov ecx, eax
shr al, 1
test al, al
je 0x4220be
movzx edx, word [esp + 0x18]
test dx, dx
jbe 0x4220b2
mov ebx, dword [esp + 0x14c]
mov byte [ebx + 0x3c], 1
mov ebp, dword [esp + 0x64]
test byte [ebp], al
movsx eax, al
cmp eax, 0x43
jae 0x422237
movzx edx, dx
add dword [ebp + eax*4 + 0x24c], edx
movzx edx, byte [esp + 0x150]
test dl, dl
je 0x422003
mov byte [esp + 0x154], 0
add esp, 0x148
ret
mov edx, dword [esp + 0x40]
test dx, dx
je 0x422091
movzx edx, dx
cmp dword [ebx + 0x1c], edx
jne 0x422053
movzx eax, cl
cmp eax, 0x86
jae 0x42222d
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [0xa84c30]
lea eax, [eax + ecx + 0x48]
mov ecx, dword [esp + 0x24]
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.0042c520
jmp 0x421ff4
movzx eax, cl
cmp eax, 0x86
jae 0x422223
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [0xa84c30]
lea eax, [ecx + eax + 0x18]
mov ecx, dword [esp + 0x24]
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.0042c520
jmp 0x421ff4
lea eax, [0xa848a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004250e0
mov byte [esp + 0x154], 1
add esp, 0x148
ret
mov ebx, dword [esp + 0x14c]
jmp 0x421fe8
movzx edx, byte [esp + 0x150]
test dl, dl
jne 0x421ff4
movzx edx, word [esp + 0x18]
test dx, dx
je 0x422141
mov eax, dword [0xa936cc]
test eax, eax
jle 0x422126
mov eax, dword [esp + 0x14c]
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.004151e0
mov eax, dword [esp + 0x64]
inc dword [eax + 0x248]
mov ecx, dword [esp + 0x28]
add dword [eax + 0x244], ecx
mov byte [esp + 0x154], 1
add esp, 0x148
ret
lea eax, [0xa848a0]
mov dword [esp], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 4], eax
call fcn.004250e0
jmp 0x422103
movzx eax, cl
cmp eax, 0x86
jae 0x422219
lea eax, [eax + eax*2]
shl eax, 6
lea ecx, [0xa84c30]
lea eax, [eax + ecx + 0x48]
mov ecx, dword [esp + 0x24]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 4], eax
call fcn.0042c520
jmp 0x421ff4
mov dword [esp + 0x2c], ebp
mov dword [esp], esi
call fcn.004225a0
mov eax, dword [esp + 0x64]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14c]
jmp 0x421e67
mov esi, ecx
jmp 0x421eb6
mov ebp, dword [0xa936c8]
test ebp, ebp
jne 0x421cc9
jmp 0x421e2a
mov dword [esp], ecx
call fcn.00425960
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14c]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x28]
jmp 0x421cbb
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.0044f830
mov ebx, dword [esp + 0x14c]
jmp 0x421b27
mov ecx, dword [esp + 0x14c]
jmp 0x422257
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14c]
jmp 0x42247b
mov ecx, 0x86
call fcn.0045fd60
mov ecx, 0x86
call fcn.0045fd60
mov ecx, 0x86
call fcn.0045fd60
mov ecx, 0x43
call fcn.0045fd60
lea eax, [0x7cb95f]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004333f0
lea edi, [esp + 0x90]
mov edx, eax
xor eax, eax
call fcn.0045ff82
lea ecx, [0x7739a0]
mov dword [esp + 0x90], ecx
lea ebx, [0x834de8]
mov dword [esp + 0x94], ebx
lea ebx, [0x7736e0]
mov dword [esp + 0x98], ebx
movzx edx, dl
lea ebx, [0x9e25c0]
lea edx, [ebx + edx*8]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
lea edx, [0x834df0]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x14c]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x4c], edx
lea edx, [0x773b20]
mov dword [esp + 0xa8], edx
lea ebx, [esp + 0x4c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ecx
lea ebx, [0x834e00]
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x48], ebx
mov dword [esp + 0xb8], edx
lea edx, [esp + 0x48]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
lea ecx, [0x834e08]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], 7
mov dword [esp + 8], 7
call fcn.00408350
lea ecx, [0x7d5fee]
mov dword [esp], ecx
mov dword [esp + 4], 0x27
call fcn.004333f0
lea edi, [esp + 0x100]
mov ebx, eax
xor eax, eax
call fcn.0045ff7e
lea ecx, [0x7739a0]
mov dword [esp + 0x100], ecx
lea ebp, [0x834dc0]
mov dword [esp + 0x104], ebp
mov ebp, dword [esp + 0x14c]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x50], esi
lea esi, [0x773be0]
mov dword [esp + 0x108], esi
lea esi, [esp + 0x50]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], ecx
lea esi, [0x834dc8]
mov dword [esp + 0x114], esi
mov word [esp + 0x1e], bx
lea ebx, [0x773ae0]
mov dword [esp + 0x118], ebx
lea esi, [esp + 0x1e]
mov dword [esp + 0x11c], esi
mov dword [esp + 0x120], ecx
lea esi, [0x834dd0]
mov dword [esp + 0x124], esi
movzx ebp, word [ebp + 0x38]
mov word [esp + 0x1c], bp
mov dword [esp + 0x128], ebx
lea ebp, [esp + 0x1c]
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x130], ecx
lea ebp, [0x834dd8]
mov dword [esp + 0x134], ebp
mov word [esp + 0x1a], dx
mov dword [esp + 0x138], ebx
lea edx, [esp + 0x1a]
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], ecx
lea ecx, [0x834de0]
mov dword [esp + 0x144], ecx
lea ecx, [esp + 0x100]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov dword [esp + 8], 9
call fcn.00408350
lea ecx, [0x7d3218]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
call fcn.004333f0
call fcn.00431900
lea edi, [esp + 0xc8]
mov edx, eax
xor eax, eax
call fcn.0045ff82
lea ecx, [0x7739a0]
mov dword [esp + 0xc8], ecx
lea ebp, [0x834d90]
mov dword [esp + 0xcc], ebp
lea ebp, [0x7736e0]
mov dword [esp + 0xd0], ebp
movzx edx, dl
lea ebp, [0x9e25c0]
lea edx, [ebp + edx*8]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], ecx
lea edx, [0x834da8]
mov dword [esp + 0xdc], edx
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x58], edx
lea edx, [0x773b20]
mov dword [esp + 0xe0], edx
lea ebx, [esp + 0x58]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ecx
lea ebx, [0x834db0]
mov dword [esp + 0xec], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], ebx
mov dword [esp + 0xf0], edx
lea edx, [esp + 0x54]
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], ecx
lea ecx, [0x834db8]
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
mov dword [esp + 4], 7
mov dword [esp + 8], 7
call fcn.00408350
lea ecx, [0x7d0854]
mov dword [esp], ecx
mov dword [esp + 4], 0x1b
call fcn.004333f0
lea eax, [0x7d106f]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004333f0
nop
call fcn.0045e790
jmp fcn.00421a80