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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x421bbb
sub esp, 0x8c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x420ff6
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x420ff6
cmp dword [ecx], eax
jne 0x421ba4
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
movzx edx, byte [esp + 0x94]
test dl, dl
jne 0x421011
mov dword [eax], 0
mov dword [esp + 0x2c], ecx
test byte [ecx], al
mov eax, dword [0x52cb2c]
mov dword [esp + 0x24], eax
lea edx, [ecx + 0x3b]
mov dword [esp + 0x68], edx
mov dword [esp], edx
call fcn.00422ea0
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x421b9b
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x30], edx
jne 0x421aed
mov dword [esp + 0x58], edx
movzx eax, byte [0x5310c8]
test al, al
je 0x421077
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.00452330
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x10]
lea ecx, [0x52cb50]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.00402420
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + 0x3a]
mov byte [esp + 0x19], cl
mov edx, dword [eax + 0x40]
mov dword [esp + 0x28], edx
mov ebx, dword [eax + 0x4c]
mov dword [esp + 0x54], ebx
mov dword [esp], eax
call fcn.00425e50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00425e80
movzx eax, byte [esp + 4]
test al, al
je 0x42120e
mov eax, dword [esp + 0x70]
movzx eax, word [eax + 4]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x421ae8
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00422ee0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
xor edx, edx
div ecx
mov edx, eax
imul eax, ecx
add eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004104f0
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
movzx ecx, byte [esp + 0xc]
mov byte [esp + 0x1b], cl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov dword [esp], eax
mov byte [esp + 4], cl
mov dword [esp + 8], edx
call fcn.00410580
movzx eax, byte [esp + 0xc]
test al, al
je 0x4211aa
mov eax, dword [esp + 0x70]
cmp byte [eax + 6], 3
jne 0x421199
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00425ef0
mov eax, dword [esp + 4]
mov byte [eax + 9], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00425f20
jmp 0x4210c6
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00425eb0
jmp 0x4210c6
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00422ee0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x70]
jmp 0x421a2f
mov eax, dword [esp + 0x64]
mov dword [esp], eax
movzx eax, byte [esp + 0x1b]
mov byte [esp + 4], al
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.004105f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov edx, 1
jmp 0x421205
xor edx, edx
jmp 0x421205
xor edx, edx
mov byte [esp + 0x1a], dl
jmp 0x421a4e
mov eax, dword [esp + 0x54]
test eax, eax
je 0x42122f
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x421233
mov dword [esp], eax
call fcn.00425820
mov eax, dword [esp + 0x2c]
jmp 0x421233
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x54cd40]
test ecx, ecx
jne 0x421247
mov ecx, dword [0x54cd04]
test ecx, ecx
je 0x4212a5
mov dword [esp], eax
call fcn.00410540
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov byte [esp + 0x78], cl
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00410170
mov eax, dword [esp + 8]
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov byte [esp + 0x84], cl
mov dword [esp + 0x88], edx
xor eax, eax
jmp 0x421931
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jbe 0x421324
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x2c]
mov dword [esp], edx
shr ecx, 3
mov dword [esp + 0x4c], ecx
mov dword [esp + 4], ecx
call fcn.00426030
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x28]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
call fcn.00426030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
movzx ecx, byte [ecx]
movzx eax, byte [eax]
not eax
and ecx, eax
mov eax, dword [esp + 0x50]
and eax, 7
mov edx, ecx
mov ecx, eax
shr dl, cl
mov eax, 0xffffffff
test al, dl
je 0x42131a
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00421bd0
mov eax, dword [esp + 0x4c]
inc eax
jmp 0x42188f
mov dword [esp], eax
call fcn.00411820
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx + 0x38]
mov ebx, edx
sub edx, eax
mov word [esp + 0x1c], dx
cmp ax, bx
ja 0x4217a4
mov word [ecx + 0x38], ax
mov dword [ecx + 0x18], 0
movzx ebx, byte [0x5310c8]
test bl, bl
je 0x42139b
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x54]
mov dword [esp], eax
call fcn.00444e50
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x1c]
movzx edx, cx
mov ebx, dword [esp + 0x2c]
imul edx, dword [ebx + 0x40]
add dword [eax + 0xb48], edx
mov ecx, ebx
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00426170
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004101b0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00422ea0
movzx eax, byte [esp + 4]
mov byte [esp + 0x18], al
cmp al, 1
jne 0x42179b
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x30]
mov ebx, dword [esp + 0x58]
cmp edx, ebx
jne 0x4216ed
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x4216d7
lea ebx, [eax + 3]
cmp edx, ebx
je 0x4216d7
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004024c0
movzx eax, byte [esp + 0x19]
mov byte [esp], al
call fcn.004230f0
movzx eax, byte [esp + 4]
test al, al
je 0x421595
movzx edx, word [esp + 0x1c]
test dx, dx
ja 0x421451
movzx edx, byte [esp + 0x94]
test dl, dl
jmp 0x4214c3
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x3c], 1
lea ecx, [0x54fb90]
mov dword [esp], ecx
call fcn.0042da80
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
movzx ecx, byte [esp + 0x19]
mov byte [esp], cl
call fcn.004230f0
mov eax, dword [esp + 0x60]
test byte [eax], al
movsx ecx, byte [esp + 4]
cmp ecx, 0x44
jae 0x4216cb
lea eax, [eax + ecx*4 + 0x154]
mov dword [esp], eax
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp + 4], eax
call fcn.00402380
lea eax, [0x54fb90]
mov dword [esp], eax
call fcn.0042dba0
movzx eax, byte [esp + 0x94]
test al, al
jne 0x42169e
mov edx, dword [esp + 0x48]
test dx, dx
je 0x421570
movzx edx, dx
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x1c], edx
jne 0x421529
movzx edx, byte [esp + 0x19]
movzx eax, dl
cmp eax, 0x88
jae 0x4216c1
shl eax, 7
lea ecx, [0x52cbdc]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00413fa0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042cf60
jmp 0x42169e
movzx edx, byte [esp + 0x19]
movzx eax, dl
cmp eax, 0x88
jae 0x4216b7
shl eax, 7
lea ecx, [0x52cbdc]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00413f10
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042cf60
jmp 0x42169e
lea eax, [0x52caa0]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00424e00
mov byte [esp + 0x98], 1
add esp, 0x8c
ret
movzx edx, byte [esp + 0x94]
test dl, dl
jne 0x42169e
movzx edx, word [esp + 0x1c]
test dx, dx
je 0x421660
mov eax, dword [0x54cd08]
test eax, eax
jle 0x4215e6
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x44], 0
mov dword [esp], eax
call fcn.00422ee0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00414e60
jmp 0x4215fc
lea eax, [0x52caa0]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00424e00
lea eax, [0x54fb90]
mov dword [esp], eax
call fcn.0042da80
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
test byte [eax], al
lea ecx, [eax + 0x150]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00402380
mov eax, dword [esp + 0x5c]
add eax, 0x14c
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00402380
lea eax, [0x54fb90]
mov dword [esp], eax
call fcn.0042dba0
mov byte [esp + 0x98], 1
add esp, 0x8c
ret
movzx edx, byte [esp + 0x19]
movzx eax, dl
cmp eax, 0x88
jae 0x4216ad
shl eax, 7
lea ecx, [0x52cbdc]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00413fa0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042cf60
mov byte [esp + 0x98], 0
add esp, 0x8c
ret
mov ecx, 0x88
call fcn.0045d960
mov ecx, 0x88
call fcn.0045d960
mov ecx, 0x88
call fcn.0045d960
mov eax, ecx
mov ecx, 0x44
call fcn.0045d960
lea eax, [0x4b33cc]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00434a60
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x58], eax
call fcn.004360d0
lea eax, [0x4b3ba4]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004369a0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x18]
movzx eax, al
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b1a1c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004369a0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b2cbf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004369a0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00436640
call fcn.004362e0
call fcn.00436130
lea eax, [0x4b7dc9]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00434a60
mov ecx, dword [esp + 0x2c]
jmp 0x4216ed
mov word [esp + 0x1e], bx
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x50], eax
call fcn.004360d0
lea eax, [0x4b307f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004369a0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b14cc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004369a0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
movzx eax, ax
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b4194]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.004369a0
mov dword [esp + 4], 0
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b14dc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004369a0
mov dword [esp + 4], 0
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
call fcn.00436640
call fcn.004362e0
call fcn.00436130
lea eax, [0x4b7050]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00434a60
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], 8
call fcn.0044cac0
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jbe 0x421908
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00426030
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x28]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.00426030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
movzx ecx, byte [ecx]
movzx eax, byte [eax]
not eax
test al, cl
je 0x421888
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00421bd0
jmp 0x421888
mov eax, dword [esp + 0x2c]
jmp 0x421324
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.00410620
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.00410620
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x1c], eax
jbe 0x421a26
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
movzx ecx, byte [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp], eax
mov byte [esp + 4], cl
mov dword [esp + 8], edx
call fcn.00410580
movzx eax, byte [esp + 0xc]
test al, al
je 0x421970
mov ecx, dword [esp + 0x2c]
xor eax, eax
jmp 0x4219af
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x18], eax
jbe 0x421987
mov eax, 1
jmp 0x4219af
mov ecx, dword [esp + 0x80]
movzx edx, byte [esp + 0x84]
mov dword [esp], ecx
mov byte [esp + 4], dl
mov dword [esp + 8], eax
call fcn.00410580
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x2c]
test al, al
je 0x421911
mov dword [esp], ecx
call fcn.00422ee0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x40]
mov edx, dword [esp + 0x3c]
imul ecx, edx
add ecx, dword [esp + 4]
mov ebx, dword [0x54cd40]
test ebx, ebx
je 0x4219fb
mov dword [esp + 0x20], ecx
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0042bce0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [0x54cd04]
test ebx, ebx
je 0x421911
mov dword [esp], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00422090
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
jmp 0x421911
mov eax, ecx
jmp 0x4212a5
mov edx, dword [edx]
test edx, edx
je 0x421203
movzx ebx, word [edx + 4]
cmp ebx, ecx
jae 0x4211ff
cmp byte [edx + 6], 1
jne 0x421a2d
jmp 0x4211d3
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00425e80
movzx eax, byte [esp + 4]
test al, al
je 0x4210c6
mov eax, dword [esp + 0x70]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x40]
cmp ecx, edx
jae 0x4210c6
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00422ee0
mov eax, dword [esp + 0x44]
movzx ecx, word [eax + 4]
add ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
cmp byte [eax + 6], 1
je 0x421aaa
movzx edx, byte [esp + 0x1a]
test dl, dl
jne 0x421ad7
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00425ef0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00425f20
jmp 0x421a4e
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.00425eb0
jmp 0x421a4e
call fcn.00432990
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x58], eax
call fcn.004360d0
lea eax, [0x4b3ba4]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004369a0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b1a1c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004369a0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00436640
lea eax, [0x4b2cbf]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004369a0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00436640
call fcn.004362e0
call fcn.00436130
lea eax, [0x4b5e02]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00434a60
mov ebx, dword [esp + 0x2c]
jmp 0x421aed
lea eax, [0x4b626b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00434a60
nop
call fcn.0045c4a0
jmp fcn.00420fb0