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

Disassembly:
mov ecx, dword [0x543760]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x422b62
sub esp, 0xa0
mov eax, dword [0x543760]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x421f12
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x421f12
cmp dword [ecx], eax
jne 0x422b4b
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x421f2d
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 [0x5236f0]
mov dword [esp + 0x20], edx
nop
mov dword [esp], eax
call fcn.00402860
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422b42
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x34], edx
jne 0x422a91
mov dword [esp + 0x5c], edx
movzx eax, byte [0x527ce4]
test al, al
je 0x421f90
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.00451f50
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0x78], ecx
lea edx, [0x523708]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.00402a40
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 0x421fed
mov eax, ebp
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x4220dc
test ebx, ebx
je 0x422a8c
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 [edx + ecx]
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 0x4220a6
cmp byte [ebp + 6], 3
je 0x422071
nop
mov dword [esp + 0x80], ebp
mov edx, dword [ebp]
mov dword [esp + 0x84], edx
jmp 0x42209d
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.004268e0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x421fe2
lea edx, [eax + ebx]
jmp 0x4229fa
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 0x4220cb
xor eax, eax
jmp 0x4220cb
xor eax, eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x17], al
mov ebp, dword [esp + 0x28]
jmp 0x422a19
test ecx, ecx
je 0x4220fc
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x4220fc
mov dword [esp], eax
call fcn.00426290
mov eax, dword [esp + 0x28]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov ebp, dword [0x543ab0]
test ebp, ebp
jne 0x422110
mov ebp, dword [0x543a64]
test ebp, ebp
je 0x422158
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 0x4228e6
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jbe 0x4221b2
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 0x4221aa
mov dword [esp + 0x34], esi
mov dword [esp], eax
call fcn.00422db0
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 0x42288b
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 0x4227a1
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 [0x527ce4]
test bl, bl
je 0x422217
mov ebx, dword [0x543760]
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.00426b00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x422246
mov dword [esp], ecx
call fcn.00434c90
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040f150
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00402860
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422798
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x34]
mov ebx, dword [esp + 0x5c]
cmp edx, ebx
jne 0x4226e7
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x4226d1
lea ebx, [eax + 3]
cmp edx, ebx
je 0x4226d1
lea edx, [ecx + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402af0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x41]
test cl, cl
je 0x422388
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x4226bb
mov edx, dword [esp + 0x54]
test dx, dx
jbe 0x422321
movzx edx, byte [esp + 0x16]
movzx edx, dl
cmp edx, 0x88
jae 0x4226af
shl edx, 7
lea ecx, [0x523790]
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, [0x523700]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402980
nop
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00402b90
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x422d10]
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.0045c750
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
movzx edx, byte [esp + 0x16]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x422529
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x4223b2
movzx edx, byte [esp + 0xa8]
test dl, dl
jmp 0x42244a
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x547000]
mov dword [esp], ecx
call fcn.0042de70
mov eax, dword [esp + 4]
test byte [eax], al
movzx ecx, byte [esp + 0x18]
movsx ecx, cl
cmp ecx, 0x44
jae 0x4226a3
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 + 0x5c], eax
mov dword [esp + 4], eax
call fcn.00402a40
lea eax, [0x547000]
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, [0x543f90]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.00402a40
movzx eax, byte [esp + 0xa8]
test al, al
mov eax, dword [esp + 0x28]
movzx ebx, byte [esp + 0x16]
jne 0x422670
mov edx, dword [esp + 0x54]
test dx, dx
je 0x4224dd
movzx edx, dx
cmp dword [eax + 0x1c], edx
jne 0x4224a1
movzx edx, bl
cmp edx, 0x88
jae 0x422697
shl edx, 7
lea ecx, [0x523790]
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 0x422670
movzx edx, bl
cmp edx, 0x88
jae 0x42268b
shl edx, 7
lea ecx, [0x523790]
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 0x422670
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422c40]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x523640]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c750
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x422670
movzx edx, word [esp + 0x1a]
test dx, dx
je 0x42263d
mov ecx, dword [0x543a6c]
test ecx, ecx
jle 0x42256d
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 0x4225aa
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422b70]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x523640]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c750
lea eax, [0x547000]
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.00402a40
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.00402a40
lea eax, [0x547000]
mov dword [esp], eax
call fcn.0042df60
nop
lea eax, [0x543f90]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402a40
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, bl
cmp edx, 0x88
jae 0x42267f
shl edx, 7
lea ecx, [0x523790]
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.0045dca0
mov eax, edx
mov ecx, 0x88
call fcn.0045dca0
mov eax, edx
mov ecx, 0x88
call fcn.0045dca0
mov eax, ecx
mov ecx, 0x44
call fcn.0045dca0
mov eax, edx
mov ecx, 0x88
call fcn.0045dca0
lea eax, [0x4a033e]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.004340e0
lea eax, [0x49b604]
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, [0x49bcf4]
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, [0x499fc4]
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, [0x49b1cf]
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, [0x49fc4d]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.004340e0
mov ecx, dword [esp + 0x28]
jmp 0x4226e7
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, [0x49b1df]
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, [0x499c2c]
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, [0x49c3cf]
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, [0x499c34]
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, [0x49e940]
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 0x4221b2
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 0x42288a
mov dword [esp + 0x38], ecx
mov dword [esp], eax
call fcn.00422db0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
jmp 0x42288a
inc dword [esp + 0x9c]
inc ecx
cmp dword [eax + 0x1c], ecx
jbe 0x422158
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 0x42297f
mov ebp, dword [esp + 0x9c]
cmp dword [eax + 0x18], ebp
ja 0x422935
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 0x42297f
mov ebp, dword [eax + 0x44]
imul ebp, ecx
mov esi, dword [0x543ab0]
add ebp, dword [eax + 0xc]
test esi, esi
je 0x422971
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 [0x543a64]
test esi, esi
je 0x42297f
xor esi, esi
jmp 0x4229f1
movzx ebp, byte [esp + 0x8c]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x4229a0
inc dword [esp + 0x88]
mov byte [esp + 0x8c], 1
jmp 0x4229ab
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 0x4229d6
inc dword [esp + 0x94]
mov byte [esp + 0x98], 1
jmp 0x4228de
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x98], al
xchg ebp, eax
jmp 0x4228de
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x4229e6
jmp 0x42297f
mov ebp, dword [ebp]
test ebp, ebp
je 0x4220c9
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x4220c5
cmp byte [ebp + 6], 1
jne 0x4229f7
jmp 0x4220ae
mov esi, dword [esp + 0x84]
test esi, esi
je 0x421fe2
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x421fe2
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp byte [esi + 6], 1
je 0x422a56
test al, al
je 0x422a56
nop
mov dword [esp + 0x80], esi
mov esi, dword [esi]
mov dword [esp + 0x84], esi
jmp 0x422a19
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.004268e0
movzx eax, byte [esp + 0x17]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x422a19
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, [0x49bcf4]
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, [0x499fc4]
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, [0x49b1cf]
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, [0x49d8fb]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004340e0
mov ebx, dword [esp + 0x28]
jmp 0x422a91
lea eax, [0x49dc97]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004340e0
nop
call fcn.0045c840
jmp fcn.00421ed0