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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x422658
sub esp, 0x7c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x421bef
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x421bef
cmp dword [ecx], eax
jne 0x422641
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
movzx edx, byte [esp + 0x84]
test dl, dl
jne 0x421c0a
mov dword [eax], 0
mov dword [esp + 0x28], ecx
test byte [ecx], al
mov eax, dword [0x5452c0]
mov dword [esp + 0x20], eax
lea edx, [ecx + 0x3b]
mov dword [esp + 0x58], edx
mov dword [esp], edx
call fcn.00401f20
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x422638
mov ecx, dword [esp + 0x20]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x30], edx
jne 0x42258a
mov dword [esp + 0x50], edx
movzx eax, byte [0x549868]
test al, al
je 0x421c70
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.00451fd0
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x10]
lea ecx, [0x5452d8]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.004020e0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x3a]
mov byte [esp + 0x14], cl
mov edx, dword [eax + 0x40]
mov dword [esp + 0x24], edx
mov ebx, dword [eax + 0x4c]
mov dword [esp + 0x4c], ebx
lea ebp, [eax + 0x4c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebx
jmp 0x421cc3
mov edx, dword [esp + 0x24]
mov eax, edi
movzx ecx, byte [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x60]
test ebp, ebp
je 0x421d97
movzx esi, word [ebp + 4]
test edx, edx
je 0x422585
mov edi, eax
mov eax, esi
mov ebx, edx
xor edx, edx
div ebx
mov dword [esp + 0x30], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
add esi, eax
mov dword [esp + 0x2c], esi
nop
nop
shr edx, 3
mov esi, dword [esp + 0x30]
and esi, 7
mov ecx, esi
mov ebx, 1
shl ebx, cl
nop
add edx, dword [edi + 0x2c]
movzx esi, byte [edx]
xchg esi, eax
test bl, al
xchg esi, eax
je 0x421d60
cmp byte [ebp + 6], 3
je 0x421d2d
nop
mov dword [esp + 0x5c], ebp
mov edx, dword [ebp]
mov dword [esp + 0x60], edx
jmp 0x421cb4
nop
mov eax, dword [ebp]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov byte [ebp + 9], 1
mov eax, dword [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004262d0
mov edi, dword [esp + 0x28]
jmp 0x421cb4
mov ecx, edi
mov edi, dword [esp + 0x24]
add edi, eax
jmp 0x422500
nop
or esi, ebx
xchg esi, ebx
mov byte [eax], bl
xchg esi, ebx
mov eax, 1
jmp 0x421d83
xor eax, eax
jmp 0x421d83
xor eax, eax
mov dword [esp + 0x40], edi
mov byte [esp + 0x15], al
jmp 0x422521
mov edi, ecx
jmp 0x421cb4
test ebx, ebx
je 0x421db7
mov ebx, dword [eax + 0x4c]
test ebx, ebx
jne 0x421db7
mov dword [esp], eax
call fcn.00425c70
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebx, dword [0x565548]
test ebx, ebx
jne 0x421dcb
mov ebx, dword [0x565504]
test ebx, ebx
je 0x421dfa
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0
xor ebx, ebx
jmp 0x422414
mov ebx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jbe 0x421e53
mov ebp, dword [eax + 0x2c]
mov esi, ebx
shr ebx, 3
movzx ebp, byte [ebx + ebp]
mov edi, dword [eax + 0x28]
movzx edi, byte [ebx + edi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and esi, 7
mov ebp, ecx
mov ecx, esi
xchg edi, eax
shr al, cl
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x421e4b
mov dword [esp + 0x34], ebx
mov dword [esp], eax
call fcn.00422670
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
movzx ebp, byte [esp + 0x14]
lea ecx, [ebx + 1]
jmp 0x4223c5
mov dword [esp], eax
call fcn.0040f130
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx + 0x38]
mov ebx, edx
sub edx, eax
mov word [esp + 0x18], dx
cmp ax, bx
ja 0x4222e0
mov word [ecx + 0x38], ax
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x50], 0
movzx ebx, byte [0x549868]
test bl, bl
je 0x421eba
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x58]
movzx ebp, dx
imul ebp, dword [ecx + 0x40]
add dword [ebx + 0x918], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.004264a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040df40
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401f20
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x4222d7
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x30]
mov ebx, dword [esp + 0x50]
cmp edx, ebx
jne 0x422229
mov eax, dword [esp + 0x20]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x422213
lea ebx, [eax + 3]
cmp edx, ebx
je 0x422213
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402180
movzx eax, byte [esp + 0x14]
mov ecx, eax
shr al, 1
test al, al
je 0x4220b9
movzx edx, word [esp + 0x18]
test dx, dx
ja 0x421f6a
movzx edx, byte [esp + 0x84]
test dl, dl
jmp 0x422002
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x28]
mov byte [eax + 0x3c], 1
lea ecx, [0x566c60]
mov dword [esp], ecx
call fcn.0042d930
mov eax, dword [esp + 4]
test byte [eax], al
movzx ecx, byte [esp + 0x16]
movsx ecx, cl
cmp ecx, 0x44
jae 0x422207
lea eax, [eax + ecx*8 + 0x278]
mov dword [esp], eax
mov dword [esp + 8], 0
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x50], eax
mov dword [esp + 4], eax
call fcn.004020e0
lea eax, [0x566c60]
mov dword [esp], eax
call fcn.0042da30
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x40]
mov eax, dword [esp + 0x50]
mul ecx
lea ecx, [0x565c08]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.004020e0
movzx eax, byte [esp + 0x84]
test al, al
movzx ecx, byte [esp + 0x14]
jne 0x4221dd
mov edx, dword [esp + 0x48]
test dx, dx
je 0x422097
movzx edx, dx
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x1c], edx
jne 0x42205c
movzx eax, cl
cmp eax, 0x88
jae 0x4221fd
shl eax, 7
lea ecx, [0x54535c]
lea eax, [eax + ecx + 0x34]
mov ecx, dword [esp + 0x20]
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.0042d120
jmp 0x4221dd
movzx eax, cl
cmp eax, 0x88
jae 0x4221f3
shl eax, 7
lea ecx, [0x54535c]
lea eax, [ecx + eax + 4]
mov ecx, dword [esp + 0x20]
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.0042d120
jmp 0x4221dd
lea eax, [0x545220]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004253a0
mov byte [esp + 0x88], 1
add esp, 0x7c
ret
movzx edx, byte [esp + 0x84]
test dl, dl
jne 0x4221dd
movzx edx, word [esp + 0x18]
test dx, dx
je 0x4221a7
mov eax, dword [0x565508]
test eax, eax
jle 0x422101
mov eax, dword [esp + 0x28]
mov dword [eax + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00411d60
jmp 0x422117
lea eax, [0x545220]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004253a0
lea eax, [0x566c60]
mov dword [esp], eax
call fcn.0042d930
mov eax, dword [esp + 4]
mov dword [esp + 0x54], 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.004020e0
mov eax, dword [esp + 0x54]
add eax, 0x268
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004020e0
lea eax, [0x566c60]
mov dword [esp], eax
call fcn.0042da30
nop
lea eax, [0x565c08]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004020e0
mov byte [esp + 0x88], 1
add esp, 0x7c
ret
movzx eax, cl
cmp eax, 0x88
jae 0x4221e9
shl eax, 7
lea ecx, [0x54535c]
lea eax, [eax + ecx + 0x34]
mov ecx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0042d120
mov byte [esp + 0x88], 0
add esp, 0x7c
ret
mov ecx, 0x88
call fcn.0045cd50
mov ecx, 0x88
call fcn.0045cd50
mov ecx, 0x88
call fcn.0045cd50
mov eax, ecx
mov ecx, 0x44
call fcn.0045cd50
lea eax, [0x4ab547]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.00434140
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x50], eax
call fcn.00435ad0
lea eax, [0x4abd58]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004363b0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4a9a91]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004363b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4aae59]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004363b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436050
call fcn.00435cf0
call fcn.00435b40
lea eax, [0x4b0173]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00434140
mov ecx, dword [esp + 0x28]
jmp 0x422229
mov word [esp + 0x1a], bx
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], eax
call fcn.00435ad0
lea eax, [0x4ab1e9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004363b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4a952f]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004363b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
movzx eax, ax
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4ac370]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.004363b0
mov dword [esp + 4], 0
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4a953f]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004363b0
mov dword [esp + 4], 0
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp], eax
call fcn.00436050
call fcn.00435cf0
call fcn.00435b40
lea eax, [0x4af369]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00434140
inc ecx
mov ebx, dword [eax + 0x1c]
add ebx, 7
shr ebx, 3
cmp ecx, ebx
jae 0x421e53
mov ebx, dword [eax + 0x2c]
movzx ebx, byte [ecx + ebx]
mov esi, dword [eax + 0x28]
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg esi, eax
test bl, al
xchg esi, eax
je 0x4223c4
mov dword [esp + 0x38], ecx
mov dword [esp], eax
call fcn.00422670
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x14]
jmp 0x4223c4
inc dword [esp + 0x78]
inc ebx
cmp dword [eax + 0x1c], ebx
jbe 0x421dfa
mov ebp, dword [esp + 0x64]
movzx esi, byte [esp + 0x68]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x42249e
mov ebp, dword [esp + 0x78]
cmp dword [eax + 0x18], ebp
ja 0x422454
mov ebp, dword [esp + 0x70]
movzx esi, byte [esp + 0x74]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x42249e
mov ebp, dword [eax + 0x40]
imul ebp, ebx
add ebp, dword [eax + 0xc]
mov esi, dword [0x565548]
test esi, esi
je 0x422490
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0042c650
mov eax, dword [esp + 0x28]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov esi, dword [0x565504]
test esi, esi
je 0x42249e
xor esi, esi
jmp 0x4224f5
nop
movzx ebp, byte [esp + 0x68]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x4224b6
inc dword [esp + 0x64]
mov byte [esp + 0x68], 1
jmp 0x4224be
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x68], al
xchg ebp, eax
inc dword [esp + 0x6c]
nop
movzx ebp, byte [esp + 0x74]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x4224dd
inc dword [esp + 0x70]
mov byte [esp + 0x74], 1
jmp 0x42240f
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x74], al
xchg ebp, eax
jmp 0x42240f
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, edx
jb 0x4224ea
jmp 0x42249e
mov ebp, dword [ebp]
mov edx, eax
test ebp, ebp
je 0x421d81
mov eax, edx
movzx edx, word [ebp + 4]
cmp edx, edi
jae 0x421d7d
cmp byte [ebp + 6], 1
jne 0x4224fb
jmp 0x421d6d
mov edx, dword [esp + 0x60]
test edx, edx
je 0x421d90
movzx ebx, word [edx + 4]
cmp ebx, edi
jae 0x421d90
mov ebp, dword [ecx + 0xc]
add ebx, ebp
cmp byte [edx + 6], 1
je 0x422555
test al, al
je 0x422555
nop
mov dword [esp + 0x5c], edx
mov edx, dword [edx]
mov dword [esp + 0x60], edx
jmp 0x422521
nop
mov eax, dword [edx]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004262d0
movzx eax, byte [esp + 0x15]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
jmp 0x422521
call fcn.00432760
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x50], eax
call fcn.00435ad0
lea eax, [0x4abd58]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004363b0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4a9a91]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004363b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00436050
lea eax, [0x4aae59]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004363b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436050
call fcn.00435cf0
call fcn.00435b40
lea eax, [0x4ae080]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00434140
mov ebx, dword [esp + 0x28]
jmp 0x42258a
lea eax, [0x4ae4e9]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00434140
nop
call fcn.0045b8c0
jmp fcn.00421bb0