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

Disassembly:
mov ecx, dword [0x500244]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 0xc]
jbe 0x422351
sub esp, 0x84
mov eax, dword [0x500244]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x80], eax
test eax, eax
je 0x421d48
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x10
jae 0x421d40
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
lea ebp, [eax + 0x34]
test edx, edx
sete dl
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x421cd6
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x88]
test byte [eax], al
lea ecx, [eax + 8]
mov dword [esp + 0x7c], ecx
nop
mov dword [esp], eax
call fcn.00408a70
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.004264e0
lea edi, [esp + 0x58]
lea esi, [esp + 4]
call fcn.0046332e
mov edi, dword [esp + 0x74]
lea esi, [esp + 0x58]
call fcn.0046332e
nop
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00408c90
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00425de0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x421d38
mov edx, dword [0x500244]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
test edx, edx
je 0x421d2b
mov ebx, dword [edx + 0x708]
test ebx, ebx
je 0x421d2b
lea ebp, [ebx - 1]
cmp ebp, 0x80
jae 0x422344
mov ebx, dword [edx + ebx*4 + 0x708]
mov dword [edx + 0x708], ebp
jmp 0x421d2d
xor ebx, ebx
test ebx, ebx
je 0x421d3a
xor edx, edx
jmp 0x421e75
xor ebx, ebx
mov edx, eax
mov ebp, ecx
jmp 0x421d4e
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x421d4e
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x88]
test byte [eax], al
nop
mov dword [esp], eax
call fcn.00408a70
mov eax, dword [esp + 0x50]
test eax, eax
je 0x421d7f
xor edx, edx
mov ecx, dword [esp + 0x38]
jmp 0x421e29
mov eax, dword [esp + 0x88]
lea ecx, [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.00425300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x421db0
xor edx, edx
jmp 0x421e29
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
call fcn.004225f0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 8]
test al, al
jne 0x421dfa
nop
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00408c90
mov dword [esp + 0x94], 0
add esp, 0x84
ret
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00425300
mov eax, dword [esp + 8]
test eax, eax
je 0x42232e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x421e50
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00421b30
mov ebx, dword [esp + 4]
mov dword [esp + 0x54], ebx
nop
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00408c90
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], edx
lea ebp, [0x500a88]
mov dword [esp], ebp
call fcn.004670f0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
nop
lea edx, [0x5004a4]
mov dword [esp], edx
call fcn.00466f60
movzx eax, byte [esp + 4]
test al, al
je 0x421ec1
xor eax, eax
xor ebx, ebx
jmp 0x421f08
nop
lea eax, [0x500bb8]
mov dword [esp], eax
call fcn.00467250
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x30]
cmp ebx, ecx
sete cl
setb bl
mov ebp, dword [esp + 0x24]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ecx, esi
or ebx, ecx
test bl, bl
je 0x421f06
sub eax, ebp
jmp 0x421f08
xor eax, eax
mov byte [esp + 0x1b], bl
mov dword [esp + 0x4c], eax
lea ecx, [0x5003a0]
mov dword [esp], ecx
call fcn.00467250
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
cmp eax, 0xffffffff
setne dl
cmp ecx, 0xffffffff
setne bl
or ebx, edx
test bl, bl
je 0x421fcf
mov edx, dword [esp + 0x48]
test edx, edx
ja 0x421f56
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x4c]
jmp 0x421fdc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
call fcn.0041b5d0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x48]
add eax, edx
adc ecx, 0
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
sete cl
setb bl
mov ebp, dword [esp + 0x20]
cmp eax, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
and ecx, esi
or ebx, ecx
test bl, bl
je 0x421fc0
sub eax, ebp
cmp eax, edx
jb 0x421f9c
mov eax, edx
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jae 0x421faf
mov ecx, dword [esp + 0x80]
test ecx, ecx
jmp 0x421fdc
mov edx, dword [esp + 0x80]
test edx, edx
mov ecx, edx
mov eax, dword [esp + 0x4c]
jmp 0x421fdc
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x4c]
jmp 0x421fdc
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x4c]
je 0x4220d6
test eax, eax
jbe 0x4220d6
mov dword [esp + 0x4c], eax
lea eax, [ecx + 0x958]
mov dword [esp + 0x78], eax
nop
call fcn.00463970
mov eax, dword [esp]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov byte [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00414510
mov eax, dword [esp + 0x88]
test byte [eax], al
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x1a], cl
lea edx, [eax + 8]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
lea edx, [0x47c3a4]
mov dword [esp + 8], edx
movzx edx, byte [esp + 0x1b]
mov byte [esp + 0xc], dl
call fcn.0041c170
mov eax, dword [esp + 0x10]
nop
lea ecx, [0x4e823c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004670d0
nop
call fcn.00463970
mov eax, dword [esp]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0x1a]
test dl, dl
je 0x4220b4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov byte [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004146d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x5003b0]
mov dword [esp], edx
mov edx, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
sbb ecx, eax
mov dword [esp + 8], ecx
call fcn.00467110
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x90]
mov byte [esp + 8], cl
movzx edx, byte [esp + 0x91]
mov byte [esp + 9], dl
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x10], ebx
call fcn.00422360
mov eax, dword [esp + 0x8c]
shl eax, 0xd
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x422170
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040f410
lea eax, [0x500b98]
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 4], eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call fcn.0042ab80
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
lea edx, [0x500ba0]
mov dword [esp], edx
sub eax, ecx
xor ebx, ebx
sub ebx, eax
mov dword [esp + 4], ebx
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
call fcn.0042ab80
movzx eax, byte [esp + 0x90]
test al, al
jne 0x4221be
lea eax, [0x500b90]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0042ab80
lea eax, [0x501a00]
mov dword [esp], eax
call fcn.0042aca0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
test byte [eax], al
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.00467110
mov eax, dword [esp + 0x70]
lea ecx, [eax + 8]
mov dword [esp], ecx
xor ecx, ecx
mov edx, dword [esp + 0x38]
sub ecx, edx
mov dword [esp + 4], ecx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
call fcn.00467110
movzx eax, byte [esp + 0x90]
cmp al, 1
ja 0x422268
test al, al
jne 0x422247
mov eax, dword [esp + 0x70]
add eax, 0x10
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00467110
jmp 0x4222b2
mov eax, dword [esp + 0x70]
add eax, 0x18
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00467110
jmp 0x4222b2
cmp al, 2
je 0x422293
cmp al, 3
jne 0x4222b2
mov eax, dword [esp + 0x70]
add eax, 0x20
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00467110
jmp 0x4222b2
mov eax, dword [esp + 0x70]
add eax, 0x28
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00467110
lea eax, [0x501a00]
mov dword [esp], eax
call fcn.0042ad90
movzx eax, byte [0x4e2871]
test al, al
je 0x42231c
movzx eax, byte [0x4e2870]
test al, al
jne 0x4222dc
xor ecx, ecx
xor eax, eax
jmp 0x4222e8
call fcn.00453e70
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x42231c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
call fcn.0044dd90
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00453ee0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
add esp, 0x84
ret
lea eax, [0x47aac2]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0045dce0
mov eax, ebp
mov ecx, pe_nt_image_headers32
call fcn.00462cf0
nop
call fcn.0045ece0
jmp fcn.00421c10