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

Disassembly:
push 0xffffffffffffffff
push 0x619e91
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ac9e8]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x48], 0
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test esi, esi
je 0x4212f3
lea eax, [ecx + esi*4 - 4]
cmp dword [eax], 0
jne 0x421359
dec esi
sub eax, 4
test esi, esi
jne 0x4212e6
xor edi, edi
mov eax, dword [esp + 0x94]
mov esi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], edi
test esi, esi
je 0x42131d
lea eax, [ecx + esi*4 - 4]
mov edi, edi
cmp dword [eax], 0
jne 0x421370
dec esi
sub eax, 4
test esi, esi
jne 0x421310
xor eax, eax
mov dword [esp + 0x38], eax
cmp eax, edi
lea eax, [esp + 0x3c]
jb 0x42132f
lea eax, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
test eax, eax
jne 0x421385
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov esi, dword [esp + 0x8c]
push eax
mov ecx, esi
call fcn.0040ea40
mov eax, esi
jmp 0x421bc8
test esi, esi
je 0x4212f3
lea eax, [ecx + esi*4 - 4]
call fcn.00414680
dec esi
mov edi, eax
shl esi, 5
add edi, esi
jmp 0x4212f5
test esi, esi
je 0x42131d
lea eax, [ecx + esi*4 - 4]
call fcn.00414680
dec esi
shl esi, 5
add eax, esi
jmp 0x42131f
cmp eax, 0x2e
ja 0x421391
mov esi, 1
jmp 0x42139f
mov ecx, 0x104
cmp ecx, eax
sbb esi, esi
neg esi
add esi, 2
mov ecx, esi
mov ebx, 1
shl ebx, cl
lea edx, [esp + 0x60]
mov dword [esp + 0x38], esi
mov eax, ebx
shl eax, cl
mov dword [esp + 0x20], ebx
push eax
push edx
mov dword [esp + 0x24], eax
call fcn.00423990
mov dword [esp + 0x84], 1
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x4213f1
call fcn.005c5aaf
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x90]
push edi
add ecx, 0x14
call fcn.0040ee60
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x421427
call fcn.005c5aaf
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x6c]
lea eax, [ebx + ebx*4]
add eax, eax
add eax, eax
push edx
add ecx, eax
mov dword [esp + 0x40], eax
call fcn.0040ee60
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, 1
jne 0x421494
cmp eax, 3
ja 0x42146d
call fcn.005c5aaf
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
mov esi, dword [esp + 0x6c]
mov edx, dword [edx + 0xc]
push eax
push edi
mov ecx, ebp
add esi, 0x3c
call edx
push eax
mov ecx, esi
call fcn.0040ee60
jmp 0x421920
cmp eax, 2
ja 0x42149e
call fcn.005c5aaf
mov edx, dword [ebp]
mov esi, dword [esp + 0x6c]
mov eax, dword [edx + 0x18]
push edi
mov ecx, ebp
add esi, 0x28
call eax
push eax
mov ecx, esi
call fcn.0040ee60
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
lea esi, [ebx + ebx]
add ecx, edx
cmp esi, ecx
jb 0x4214dd
call fcn.005c5aaf
mov eax, dword [esp + 0x6c]
lea edx, [esi + esi*4]
lea esi, [eax + edx*4]
mov edx, dword [ebp]
mov eax, dword [esp + 0x98]
mov edx, dword [edx + 0x18]
push eax
mov ecx, ebp
call edx
push eax
mov ecx, esi
call fcn.0040ee60
mov edi, 3
cmp ebx, edi
jbe 0x4215d4
mov dword [esp + 0x18], 0x3c
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, esi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x421545
call fcn.005c5aaf
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
lea edx, [ecx + 0x28]
mov dword [esp + 0x34], edx
mov edx, esi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [edi - 2]
cmp edx, eax
jb 0x421575
call fcn.005c5aaf
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx - 0x28]
sub esi, ecx
mov dword [esp + 0x30], edx
mov eax, 0x66666667
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4215a1
call fcn.005c5aaf
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
lea esi, [edx + ecx]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
mov ecx, ebp
call eax
push eax
mov ecx, esi
call fcn.0040ee60
add dword [esp + 0x18], 0x28
add edi, 2
cmp edi, ebx
jb 0x421516
mov dword [esp + 0x18], 1
cmp ebx, 1
jbe 0x4216ec
mov ecx, dword [esp + 0x3c]
add ecx, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x14
jmp 0x421600
mov edx, dword [esp + 0x18]
lea esi, [edx + ebx]
cmp esi, dword [esp + 0x1c]
jae 0x4216cc
mov eax, dword [esp + 0x30]
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
jmp 0x421630
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, edi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x421660
call fcn.005c5aaf
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
add edx, ecx
sub edi, ecx
mov dword [esp + 0x40], edx
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x42168a
call fcn.005c5aaf
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x40]
push ecx
push edx
mov ecx, ebp
call eax
push eax
mov ecx, edi
call fcn.0040ee60
mov eax, dword [esp + 0x3c]
add dword [esp + 0x24], ebx
add dword [esp + 0x28], eax
add dword [esp + 0x2c], eax
add esi, ebx
cmp esi, dword [esp + 0x1c]
jb 0x421630
mov eax, dword [esp + 0x18]
mov ecx, 0x28
add dword [esp + 0x30], ecx
add dword [esp + 0x34], ecx
add eax, 2
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x421600
lea eax, [ebx + ebx*2]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jae 0x421809
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x34], ecx
lea esi, [ebx + ebx]
sub eax, esi
mov dword [esp + 0x98], eax
lea ecx, [ebx + ebx*4]
add ecx, ecx
lea eax, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add eax, eax
add eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea esp, [esp]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, edi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x42175e
call fcn.005c5aaf
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
lea edx, [esi + esi*4]
lea eax, [ecx + edx*4]
mov dword [esp + 0x40], eax
mov edx, edi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x98], eax
jb 0x421793
call fcn.005c5aaf
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
add edx, ecx
sub edi, ecx
mov dword [esp + 0x3c], edx
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x4217bf
call fcn.005c5aaf
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, ebp
call eax
push eax
mov ecx, edi
call fcn.0040ee60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x98], esi
add dword [esp + 0x34], ecx
add dword [esp + 0x30], ecx
add eax, esi
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x421730
cmp ebx, dword [esp + 0x1c]
jae 0x421920
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 2]
mov dword [esp + 0x98], eax
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [esp + 0x30], eax
lea eax, [ecx + ecx]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [esp + 0x2c], eax
lea ebx, [ebx]
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 0x20]
lea eax, [ecx + ebx - 2]
mov dword [esp + 0x3c], eax
cmp ebx, eax
jae 0x4218f5
mov edi, dword [esp + 0x30]
mov edx, ebx
dec edx
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, esi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x34], eax
jb 0x421896
call fcn.005c5aaf
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
lea edx, [edi + ecx - 0x14]
sub esi, ecx
mov dword [esp + 0x40], edx
mov eax, 0x66666667
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4218be
call fcn.005c5aaf
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
mov edx, dword [edx + 0xc]
lea esi, [edi + ecx]
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, ebp
call edx
push eax
mov ecx, esi
call fcn.0040ee60
add dword [esp + 0x34], 2
add ebx, 2
add edi, 0x28
cmp ebx, dword [esp + 0x3c]
jb 0x421866
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x98]
add ecx, ecx
add eax, ecx
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x30], ecx
mov dword [esp + 0x98], eax
add eax, 0xfffffffe
cmp eax, dword [esp + 0x1c]
jb 0x421840
lea ecx, [esp + 0x4c]
call fcn.0040e960
mov eax, dword [esp + 0x44]
lea ecx, [eax - 1]
xor edx, edx
xor ebx, ebx
add eax, 0xffffffff
mov byte [esp + 0x84], 2
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x98], 1
mov dword [esp + 0x1c], eax
js 0x421b26
mov edi, eax
jmp 0x421967
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 8]
mov esi, edi
shr esi, 5
cmp esi, eax
jb 0x42197e
xor al, al
jmp 0x42198d
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov ecx, edi
and ecx, 0x1f
shr eax, cl
and al, 1
mov ecx, dword [esp + 0x9c]
movzx eax, al
lea edx, [eax + edx*2]
mov dword [esp + 0x90], edx
cmp esi, dword [ecx + 8]
jb 0x4219aa
xor al, al
jmp 0x4219bb
mov eax, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov ecx, edi
and ecx, 0x1f
shr eax, cl
and al, 1
movzx ecx, al
lea ebx, [ecx + ebx*2]
test edi, edi
je 0x4219db
mov eax, dword [esp + 0x20]
lea ecx, [edx + edx]
cmp ecx, eax
jae 0x4219db
lea ecx, [ebx + ebx]
cmp ecx, eax
jb 0x421b19
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub esi, eax
xor edi, edi
mov dword [esp + 0x3c], eax
jmp 0x4219f0
test edx, edx
jne 0x4219f8
test ebx, ebx
je 0x421a0a
test dl, 1
jne 0x421a0a
test bl, 1
jne 0x421a0a
shr edx, 1
shr ebx, 1
dec esi
inc edi
jmp 0x4219f0
cmp byte [esp + 0x98], 0
mov dword [esp + 0x90], edx
je 0x421a63
mov ecx, dword [esp + 0x38]
shl ebx, cl
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x66666667
add ebx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x421a45
call fcn.005c5aaf
mov edx, dword [esp + 0x6c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ee60
mov byte [esp + 0x98], 0
jmp 0x421ae1
test esi, esi
je 0x421a95
jmp 0x421a70
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
dec esi
call edx
push eax
lea ecx, [esp + 0x50]
call fcn.0040ee60
test esi, esi
jne 0x421a70
mov edx, dword [esp + 0x90]
test edx, edx
jne 0x421a9d
test ebx, ebx
je 0x421ae1
mov ecx, dword [esp + 0x38]
shl ebx, cl
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov eax, 0x66666667
add ebx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x421ac7
call fcn.005c5aaf
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call edx
xor ebx, ebx
cmp edi, ebx
je 0x421b0e
jmp 0x421af0
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
dec edi
call edx
push eax
lea ecx, [esp + 0x50]
call fcn.0040ee60
cmp edi, ebx
jne 0x421af0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x90], ebx
sub edi, 1
mov dword [esp + 0x1c], edi
jns 0x421960
mov ebp, dword [esp + 0x8c]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.0040ea40
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
mov dword [esp + 0x48], 1
push esi
cmp ecx, 0x10
jb 0x421b65
call fcn.005ebc82
jmp 0x421b6a
call fcn.005c8c7b
add esp, 4
mov dword [esp + 0x84], 3
mov esi, dword [esp + 0x6c]
xor ebx, ebx
cmp esi, ebx
je 0x421bad
mov edi, dword [esp + 0x70]
cmp esi, edi
je 0x421ba4
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
add esi, 0x14
cmp esi, edi
jne 0x421b90
mov esi, dword [esp + 0x6c]
push esi
call fcn.005c5896
add esp, 4
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.005c5896
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x14