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

Disassembly:
mov ecx, dword [0x544900]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x422db5
sub esp, 0xa0
mov eax, dword [0x544900]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x422162
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x422162
cmp dword [ecx], eax
jne 0x422d9e
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x42217d
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 [0x524890]
mov dword [esp + 0x20], edx
nop
mov dword [esp], eax
call fcn.00402850
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x422d95
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x34], edx
jne 0x422ce4
mov dword [esp + 0x5c], edx
movzx eax, byte [0x528e84]
test al, al
je 0x4221e0
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.00452110
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0x78], ecx
lea edx, [0x5248a8]
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 0x42223d
mov eax, ebp
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x16]
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x42232c
test ebx, ebx
je 0x422cdf
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 0x4222f6
cmp byte [ebp + 6], 3
je 0x4222c1
nop
mov dword [esp + 0x80], ebp
mov edx, dword [ebp]
mov dword [esp + 0x84], edx
jmp 0x4222ed
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.00426b00
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x422232
lea edx, [eax + ebx]
jmp 0x422c4d
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 0x42231b
xor eax, eax
jmp 0x42231b
xor eax, eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x17], al
mov ebp, dword [esp + 0x28]
jmp 0x422c6c
test ecx, ecx
je 0x42234c
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x42234c
mov dword [esp], eax
call fcn.004264b0
mov eax, dword [esp + 0x28]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
mov ebp, dword [0x544c54]
test ebp, ebp
jne 0x422360
mov ebp, dword [0x544c04]
test ebp, ebp
je 0x4223a8
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 0x422b39
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jbe 0x422403
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 0x4223fb
mov dword [esp + 0x34], esi
mov dword [esp], eax
call fcn.00423000
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 0x422ade
mov dword [esp], eax
call fcn.00410370
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 0x4229f4
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 [0x528e84]
test bl, bl
je 0x422468
mov ebx, dword [0x544900]
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.00426d20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x422497
mov dword [esp], ecx
call fcn.00434ed0
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040f380
nop
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00402850
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x4229eb
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x34]
mov ebx, dword [esp + 0x5c]
cmp edx, ebx
jne 0x42293a
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x422924
lea ebx, [eax + 3]
cmp edx, ebx
je 0x422924
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 0x4225d9
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x42290e
mov edx, dword [esp + 0x54]
test dx, dx
jbe 0x422572
movzx edx, byte [esp + 0x16]
movzx edx, dl
cmp edx, 0x88
jae 0x422902
shl edx, 7
lea ecx, [0x524930]
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.0042d800
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [0x5248a0]
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, [0x422f60]
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.0045c9a0
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
movzx edx, byte [esp + 0x16]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x42277a
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x422603
movzx edx, byte [esp + 0xa8]
test dl, dl
jmp 0x42269b
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x5481c0]
mov dword [esp], ecx
call fcn.0042e0b0
movzx eax, byte [esp + 0x18]
movsx eax, al
cmp eax, 0x44
jae 0x4228f8
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, [0x5481c0]
mov dword [esp], eax
call fcn.0042e1a0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x5c]
mul ecx
lea ecx, [0x545150]
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 0x4227c7
mov edx, dword [esp + 0x54]
test dx, dx
je 0x42272e
movzx edx, dx
cmp dword [eax + 0x1c], edx
jne 0x4226f2
movzx edx, bl
cmp edx, 0x88
jae 0x4228ec
shl edx, 7
lea ecx, [0x524930]
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.0042d800
jmp 0x4227c7
movzx edx, bl
cmp edx, 0x88
jae 0x4228e0
shl edx, 7
lea ecx, [0x524930]
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.0042d800
jmp 0x4227c7
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x422e90]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5247e0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c9a0
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
movzx edx, byte [esp + 0xa8]
test dl, dl
jne 0x4227c7
movzx edx, word [esp + 0x1a]
test dx, dx
jne 0x4227d6
movzx edx, bl
cmp edx, 0x88
jae 0x4228d4
shl edx, 7
lea ecx, [0x524930]
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.0042d800
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
lea eax, [0x5481c0]
mov dword [esp], eax
call fcn.0042e0b0
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, [0x5481c0]
mov dword [esp], eax
call fcn.0042e1a0
nop
lea eax, [0x545150]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00402a30
mov eax, dword [0x544c10]
test eax, eax
jle 0x422884
mov eax, dword [esp + 0x28]
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.004126a0
jmp 0x4228c5
nop
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x422dc0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
lea eax, [0x5247e0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c9a0
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
mov eax, edx
mov ecx, 0x88
call fcn.0045def0
mov eax, edx
mov ecx, 0x88
call fcn.0045def0
mov eax, edx
mov ecx, 0x88
call fcn.0045def0
mov ecx, 0x44
call fcn.0045def0
mov eax, edx
mov ecx, 0x88
call fcn.0045def0
lea eax, [0x4a02f2]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.00434320
lea eax, [0x49b5a1]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00434320
movzx eax, al
mov dword [esp + 0x5c], eax
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x50], ecx
call fcn.00435bd0
lea eax, [0x49bc6e]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x499f06]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x49b16c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436130
call fcn.00435de0
call fcn.00435c30
lea eax, [0x49fc01]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00434320
mov ecx, dword [esp + 0x28]
jmp 0x42293a
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.00435bd0
lea eax, [0x49b17c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x499b64]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x49c35d]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x499b6c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436130
call fcn.00435de0
call fcn.00435c30
lea eax, [0x49e8f4]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00434320
inc ecx
mov ebp, dword [eax + 0x1c]
add ebp, 7
shr ebp, 3
cmp ecx, ebp
jae 0x422403
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 0x422add
mov dword [esp + 0x38], ecx
mov dword [esp], eax
call fcn.00423000
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x24]
jmp 0x422add
inc dword [esp + 0x9c]
inc ecx
cmp dword [eax + 0x1c], ecx
jbe 0x4223a8
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 0x422bd2
mov ebp, dword [esp + 0x9c]
cmp dword [eax + 0x18], ebp
ja 0x422b88
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 0x422bd2
mov ebp, dword [eax + 0x44]
imul ebp, ecx
mov esi, dword [0x544c54]
add ebp, dword [eax + 0xc]
test esi, esi
je 0x422bc4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0042cce0
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 [0x544c04]
test esi, esi
je 0x422bd2
xor esi, esi
jmp 0x422c44
movzx ebp, byte [esp + 0x8c]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x422bf3
inc dword [esp + 0x88]
mov byte [esp + 0x8c], 1
jmp 0x422bfe
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 0x422c29
inc dword [esp + 0x94]
mov byte [esp + 0x98], 1
jmp 0x422b31
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x98], al
xchg ebp, eax
jmp 0x422b31
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x422c39
jmp 0x422bd2
mov ebp, dword [ebp]
test ebp, ebp
je 0x422319
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x422315
cmp byte [ebp + 6], 1
jne 0x422c4a
jmp 0x4222fe
mov esi, dword [esp + 0x84]
test esi, esi
je 0x422232
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x422232
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp byte [esi + 6], 1
je 0x422ca9
test al, al
je 0x422ca9
nop
mov dword [esp + 0x80], esi
mov esi, dword [esi]
mov dword [esp + 0x84], esi
jmp 0x422c6c
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.00426b00
movzx eax, byte [esp + 0x17]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
jmp 0x422c6c
call fcn.00432ba0
movzx eax, al
mov dword [esp + 0x5c], eax
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x50], ecx
call fcn.00435bd0
lea eax, [0x49bc6e]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x499f06]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436130
lea eax, [0x49b16c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436450
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436130
call fcn.00435de0
call fcn.00435c30
lea eax, [0x49d873]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00434320
mov ebx, dword [esp + 0x28]
jmp 0x422ce4
lea eax, [0x49dc0f]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00434320
nop
call fcn.0045ca90
jmp fcn.00422120