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

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x422b71
sub esp, 0xa0
mov eax, dword [0x549820]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x421f22
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x421f22
cmp dword [ecx], eax
jne 0x422b5a
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x421f3d
mov dword [eax], 0
mov dword [esp + 0x28], ecx
test byte [ecx], al
lea eax, [ecx + 0x3f]
mov dword [esp + 0x7c], eax
mov edx, dword [0x5297b0]
mov dword [esp + 0x20], edx
nop
mov dword [esp], eax
call fcn.00402850
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422b51
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x34], edx
jne 0x422aa0
mov dword [esp + 0x5c], edx
movzx eax, byte [0x52dda4]
test al, al
je 0x421fa0
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.004520f0
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0x78], ecx
lea edx, [0x5297c8]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.00402a30
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x58], ecx
movzx edx, byte [eax + 0x3e]
mov byte [esp + 0x16], dl
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
jmp 0x421ffd
mov eax, ebp
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x4220ec
test ebx, ebx
je 0x422a9b
movzx esi, word [ebp + 4]
mov edi, eax
mov eax, esi
xor edx, edx
div ebx
mov dword [esp + 0x2c], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x44], ecx
test byte [ecx], al
shr edx, 3
mov dword [esp + 0x30], edx
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x19], cl
mov edx, dword [esp + 0x2c]
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 0x4220b6
cmp byte [ebp + 6], 3
je 0x422081
nop
mov dword [esp + 0x80], ebp
mov edx, dword [ebp]
mov dword [esp + 0x84], edx
jmp 0x4220ad
mov eax, dword [ebp]
nop
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
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.004268c0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x421ff2
lea edx, [eax + ebx]
jmp 0x422a09
or esi, edi
nop
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
xchg esi, eax
mov byte [edi + ebp], al
xchg esi, eax
mov eax, 1
jmp 0x4220db
xor eax, eax
jmp 0x4220db
xor eax, eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x17], al
mov ebp, dword [esp + 0x28]
jmp 0x422a28
test ecx, ecx
je 0x42210c
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x42210c
mov dword [esp], eax
call fcn.00426270
mov eax, dword [esp + 0x28]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov ebp, dword [0x549b70]
test ebp, ebp
jne 0x422120
mov ebp, dword [0x549b24]
test ebp, ebp
je 0x422168
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov dword [esp + 0x88], ebp
mov byte [esp + 0x8c], 1
mov dword [esp + 0x90], 0
mov ebp, dword [eax + 0x28]
test byte [ebp], al
nop
mov dword [esp + 0x94], ebp
mov byte [esp + 0x98], 1
mov dword [esp + 0x9c], 0
xor ecx, ecx
jmp 0x4228f5
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jbe 0x4221c3
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov esi, ecx
shr esi, 3
movzx ebp, byte [ebp + esi]
mov edi, dword [eax + 0x28]
test byte [edi], al
movzx edi, byte [edi + esi]
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 0x4221bb
mov dword [esp + 0x34], esi
mov dword [esp], eax
call fcn.00422dc0
mov eax, dword [esp + 0x28]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
lea ecx, [esi + 1]
jmp 0x42289a
mov dword [esp], eax
call fcn.00410130
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx + 0x3c]
mov ebx, edx
sub edx, eax
cmp ax, bx
ja 0x4227b0
mov dword [esp + 0x54], eax
mov word [esp + 0x1a], dx
mov word [ecx + 0x3c], ax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x5c], 0
movzx ebx, byte [0x52dda4]
test bl, bl
je 0x422228
mov ebx, dword [0x549820]
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.00426ae0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x422257
mov dword [esp], ecx
call fcn.00434c90
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040f140
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00402850
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x4227a7
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x34]
mov ebx, dword [esp + 0x5c]
cmp edx, ebx
jne 0x4226f6
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x4226e0
lea ebx, [eax + 3]
cmp edx, ebx
je 0x4226e0
lea edx, [ecx + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402ae0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x41]
test cl, cl
je 0x422399
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x4226ca
mov edx, dword [esp + 0x54]
test dx, dx
jbe 0x422332
movzx edx, byte [esp + 0x16]
movzx edx, dl
cmp edx, 0x88
jae 0x4226be
shl edx, 7
lea ecx, [0x529850]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x20]
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.0042d5c0
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [0x5297c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402970
nop
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00402b80
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x422d20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.0045c940
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
movzx edx, byte [esp + 0x16]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x42253a
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x4223c3
movzx edx, byte [esp + 0xa8]
test dl, dl
jmp 0x42245b
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x54d0c0]
mov dword [esp], ecx
call fcn.0042de70
movzx eax, byte [esp + 0x18]
movsx eax, al
cmp eax, 0x44
jae 0x4226b4
mov ecx, dword [esp + 4]
test byte [ecx], al
lea eax, [ecx + eax*8 + 0x278]
mov dword [esp], eax
mov dword [esp + 8], 0
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp + 0x5c], eax
mov dword [esp + 4], eax
call fcn.00402a30
lea eax, [0x54d0c0]
mov dword [esp], eax
call fcn.0042df60
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x5c]
mul ecx
lea ecx, [0x54a050]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00402a30
movzx eax, byte [esp + 0xa8]
test al, al
mov eax, dword [esp + 0x28]
movzx ebx, byte [esp + 0x16]
jne 0x422681
mov edx, dword [esp + 0x54]
test dx, dx
je 0x4224ee
movzx edx, dx
cmp dword [eax + 0x1c], edx
jne 0x4224b2
movzx edx, bl
cmp edx, 0x88
jae 0x4226a8
shl edx, 7
lea ecx, [0x529850]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x20]
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.0042d5c0
jmp 0x422681
movzx edx, bl
cmp edx, 0x88
jae 0x42269c
shl edx, 7
lea ecx, [0x529850]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x20]
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.0042d5c0
jmp 0x422681
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422c50]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x529700]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c940
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x422681
movzx edx, word [esp + 0x1a]
test dx, dx
je 0x42264e
mov ecx, dword [0x549b2c]
test ecx, ecx
jle 0x42257e
mov dword [eax + 0x48], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00412460
jmp 0x4225bb
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422b80]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x529700]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c940
lea eax, [0x54d0c0]
mov dword [esp], eax
call fcn.0042de70
mov eax, dword [esp + 4]
mov dword [esp + 0x74], 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.00402a30
mov eax, dword [esp + 0x74]
add eax, 0x268
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402a30
lea eax, [0x54d0c0]
mov dword [esp], eax
call fcn.0042df60
nop
lea eax, [0x54a050]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402a30
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, bl
cmp edx, 0x88
jae 0x422690
shl edx, 7
lea ecx, [0x529850]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x20]
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.0042d5c0
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov eax, edx
mov ecx, 0x88
call fcn.0045de90
mov eax, edx
mov ecx, 0x88
call fcn.0045de90
mov eax, edx
mov ecx, 0x88
call fcn.0045de90
mov ecx, 0x44
call fcn.0045de90
mov eax, edx
mov ecx, 0x88
call fcn.0045de90
lea eax, [0x4a32be]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.004340e0
lea eax, [0x49e58b]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004340e0
movzx eax, al
mov dword [esp + 0x5c], eax
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x50], ecx
call fcn.00435990
lea eax, [0x49ec58]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49cf0d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49e156]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00435ef0
call fcn.00435ba0
call fcn.004359f0
lea eax, [0x4a2bcd]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.004340e0
mov ecx, dword [esp + 0x28]
jmp 0x4226f6
movzx edx, dx
mov dword [esp + 0x5c], edx
movzx ebx, bx
mov dword [esp + 0x50], ebx
movzx eax, ax
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x48], ecx
call fcn.00435990
lea eax, [0x49e166]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49cb4f]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49f347]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49cb57]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00435ef0
call fcn.00435ba0
call fcn.004359f0
lea eax, [0x4a18c0]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004340e0
inc ecx
mov ebp, dword [eax + 0x1c]
add ebp, 7
shr ebp, 3
cmp ecx, ebp
jae 0x4221c3
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 ebp, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg ebp, eax
je 0x422899
mov dword [esp + 0x38], ecx
mov dword [esp], eax
call fcn.00422dc0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
jmp 0x422899
inc dword [esp + 0x9c]
inc ecx
cmp dword [eax + 0x1c], ecx
jbe 0x422168
mov ebp, dword [esp + 0x88]
movzx esi, byte [esp + 0x8c]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x42298e
mov ebp, dword [esp + 0x9c]
cmp dword [eax + 0x18], ebp
ja 0x422944
mov ebp, dword [esp + 0x94]
movzx esi, byte [esp + 0x98]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x42298e
mov ebp, dword [eax + 0x44]
imul ebp, ecx
mov esi, dword [0x549b70]
add ebp, dword [eax + 0xc]
test esi, esi
je 0x422980
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0042caa0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov esi, dword [0x549b24]
test esi, esi
je 0x42298e
xor esi, esi
jmp 0x422a00
movzx ebp, byte [esp + 0x8c]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x4229af
inc dword [esp + 0x88]
mov byte [esp + 0x8c], 1
jmp 0x4229ba
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x8c], al
xchg ebp, eax
inc dword [esp + 0x90]
movzx ebp, byte [esp + 0x98]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x4229e5
inc dword [esp + 0x94]
mov byte [esp + 0x98], 1
jmp 0x4228ed
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x98], al
xchg ebp, eax
jmp 0x4228ed
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x4229f5
jmp 0x42298e
mov ebp, dword [ebp]
test ebp, ebp
je 0x4220d9
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x4220d5
cmp byte [ebp + 6], 1
jne 0x422a06
jmp 0x4220be
mov esi, dword [esp + 0x84]
test esi, esi
je 0x421ff2
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x421ff2
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp byte [esi + 6], 1
je 0x422a65
test al, al
je 0x422a65
nop
mov dword [esp + 0x80], esi
mov esi, dword [esi]
mov dword [esp + 0x84], esi
jmp 0x422a28
mov eax, dword [esi]
nop
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x80]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call fcn.004268c0
movzx eax, byte [esp + 0x17]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x422a28
call fcn.00432960
movzx eax, al
mov dword [esp + 0x5c], eax
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x50], ecx
call fcn.00435990
lea eax, [0x49ec58]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49cf0d]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49e156]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00435ef0
call fcn.00435ba0
call fcn.004359f0
lea eax, [0x4a085d]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004340e0
mov ebx, dword [esp + 0x28]
jmp 0x422aa0
lea eax, [0x4a0bf9]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004340e0
nop
call fcn.0045ca30
jmp fcn.00421ee0