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

Disassembly:
push 0xffffffffffffffff
push 0x66c041
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
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 0x422b03
lea eax, [ecx + esi*4 - 4]
cmp dword [eax], 0
jne 0x422b69
dec esi
sub eax, 4
test esi, esi
jne 0x422af6
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 0x422b2d
lea eax, [ecx + esi*4 - 4]
mov edi, edi
cmp dword [eax], 0
jne 0x422b80
dec esi
sub eax, 4
test esi, esi
jne 0x422b20
xor eax, eax
mov dword [esp + 0x38], eax
cmp eax, edi
lea eax, [esp + 0x3c]
jb 0x422b3f
lea eax, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
test eax, eax
jne 0x422b95
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.0040f650
mov eax, esi
jmp 0x4233d8
test esi, esi
je 0x422b03
lea eax, [ecx + esi*4 - 4]
call fcn.00415380
dec esi
mov edi, eax
shl esi, 5
add edi, esi
jmp 0x422b05
test esi, esi
je 0x422b2d
lea eax, [ecx + esi*4 - 4]
call fcn.00415380
dec esi
shl esi, 5
add eax, esi
jmp 0x422b2f
cmp eax, 0x2e
ja 0x422ba1
mov esi, 1
jmp 0x422baf
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.004251a0
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 0x422c01
call fcn.006121a6
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x90]
push edi
add ecx, 0x14
call fcn.0040fa70
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 0x422c37
call fcn.006121a6
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.0040fa70
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 0x422ca4
cmp eax, 3
ja 0x422c7d
call fcn.006121a6
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.0040fa70
jmp 0x423130
cmp eax, 2
ja 0x422cae
call fcn.006121a6
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.0040fa70
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 0x422ced
call fcn.006121a6
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.0040fa70
mov edi, 3
cmp ebx, edi
jbe 0x422de4
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 0x422d55
call fcn.006121a6
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 0x422d85
call fcn.006121a6
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 0x422db1
call fcn.006121a6
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.0040fa70
add dword [esp + 0x18], 0x28
add edi, 2
cmp edi, ebx
jb 0x422d26
mov dword [esp + 0x18], 1
cmp ebx, 1
jbe 0x422efc
mov ecx, dword [esp + 0x3c]
add ecx, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x14
jmp 0x422e10
mov edx, dword [esp + 0x18]
lea esi, [edx + ebx]
cmp esi, dword [esp + 0x1c]
jae 0x422edc
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 0x422e40
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 0x422e70
call fcn.006121a6
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 0x422e9a
call fcn.006121a6
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.0040fa70
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 0x422e40
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 0x422e10
lea eax, [ebx + ebx*2]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jae 0x423019
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 0x422f6e
call fcn.006121a6
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 0x422fa3
call fcn.006121a6
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 0x422fcf
call fcn.006121a6
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.0040fa70
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 0x422f40
cmp ebx, dword [esp + 0x1c]
jae 0x423130
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 0x423105
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 0x4230a6
call fcn.006121a6
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 0x4230ce
call fcn.006121a6
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.0040fa70
add dword [esp + 0x34], 2
add ebx, 2
add edi, 0x28
cmp ebx, dword [esp + 0x3c]
jb 0x423076
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 0x423050
lea ecx, [esp + 0x4c]
call fcn.0040f570
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 0x423336
mov edi, eax
jmp 0x423177
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 0x42318e
xor al, al
jmp 0x42319d
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 0x4231ba
xor al, al
jmp 0x4231cb
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 0x4231eb
mov eax, dword [esp + 0x20]
lea ecx, [edx + edx]
cmp ecx, eax
jae 0x4231eb
lea ecx, [ebx + ebx]
cmp ecx, eax
jb 0x423329
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub esi, eax
xor edi, edi
mov dword [esp + 0x3c], eax
jmp 0x423200
test edx, edx
jne 0x423208
test ebx, ebx
je 0x42321a
test dl, 1
jne 0x42321a
test bl, 1
jne 0x42321a
shr edx, 1
shr ebx, 1
dec esi
inc edi
jmp 0x423200
cmp byte [esp + 0x98], 0
mov dword [esp + 0x90], edx
je 0x423273
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 0x423255
call fcn.006121a6
mov edx, dword [esp + 0x6c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
push eax
lea ecx, [esp + 0x50]
call fcn.0040fa70
mov byte [esp + 0x98], 0
jmp 0x4232f1
test esi, esi
je 0x4232a5
jmp 0x423280
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.0040fa70
test esi, esi
jne 0x423280
mov edx, dword [esp + 0x90]
test edx, edx
jne 0x4232ad
test ebx, ebx
je 0x4232f1
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 0x4232d7
call fcn.006121a6
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 0x42331e
jmp 0x423300
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.0040fa70
cmp edi, ebx
jne 0x423300
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x90], ebx
sub edi, 1
mov dword [esp + 0x1c], edi
jns 0x423170
mov ebp, dword [esp + 0x8c]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.0040f650
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 0x423375
call fcn.0063ce73
jmp 0x42337a
call fcn.0061669e
add esp, 4
mov dword [esp + 0x84], 3
mov esi, dword [esp + 0x6c]
xor ebx, ebx
cmp esi, ebx
je 0x4233bd
mov edi, dword [esp + 0x70]
cmp esi, edi
je 0x4233b4
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 0x4233a0
mov esi, dword [esp + 0x6c]
push esi
call fcn.00611358
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.00611358
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