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

Disassembly:
push 0xffffffffffffffff
push 0x66d188
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x705e7c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x80]
test ebp, ebp
je 0x427086
mov edi, dword [esp + 0x78]
cmp ebp, edi
je 0x427096
call fcn.006121a6
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ecx, esi
sub ecx, dword [esp + 0x7c]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x427138
test edi, edi
jne 0x4270ca
call fcn.006121a6
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4270ce
mov eax, dword [edi]
jmp 0x4270d0
xor eax, eax
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [eax + 0x10]
jb 0x4270e2
call fcn.006121a6
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
test edi, edi
jne 0x4270f7
call fcn.006121a6
mov edi, dword [esp + 0x78]
test edi, edi
je 0x4270fb
mov edi, dword [edi]
jmp 0x4270fd
xor edi, edi
mov edx, dword [esp + 0x7c]
cmp edx, dword [edi + 0x10]
jb 0x42710b
call fcn.006121a6
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
add esi, 0x14
push esi
mov esi, dword [esp + 0x74]
push ecx
push esi
mov ecx, ebx
call edx
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
test ebp, ebp
je 0x427140
cmp ebp, edi
je 0x42714c
call fcn.006121a6
mov esi, dword [esp + 0x84]
sub esi, dword [esp + 0x7c]
mov eax, 0x66666667
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x42726c
push 1
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x80]
call fcn.00426cd0
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x427190
call fcn.006121a6
mov eax, dword [esi]
test eax, eax
je 0x427194
mov eax, dword [eax]
jmp 0x427196
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x10]
jb 0x4271a3
call fcn.006121a6
mov ebp, dword [esi + 4]
push 1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x80]
call fcn.00426cd0
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x4271cc
call fcn.006121a6
mov eax, dword [esi]
test eax, eax
je 0x4271d0
mov eax, dword [eax]
jmp 0x4271d2
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jb 0x4271df
call fcn.006121a6
mov eax, dword [esp + 0x78]
mov esi, dword [esi + 4]
test eax, eax
jne 0x4271f7
call fcn.006121a6
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4271fb
mov ecx, dword [eax]
jmp 0x4271fd
xor ecx, ecx
mov edx, dword [esp + 0x7c]
cmp edx, dword [ecx + 0x10]
jb 0x42720f
call fcn.006121a6
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
test eax, eax
jne 0x427224
call fcn.006121a6
mov eax, dword [esp + 0x78]
test eax, eax
je 0x427228
mov eax, dword [eax]
jmp 0x42722a
xor eax, eax
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [eax + 0x10]
jb 0x427238
call fcn.006121a6
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x70]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
add ebp, 0x14
push ebp
push esi
add edi, 0x14
push edi
push eax
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
lea ecx, [esp + 0x24]
call fcn.0040f570
lea ecx, [esp + 0x38]
mov dword [esp + 0x68], 0
call fcn.0040f570
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov esi, eax
mov dword [esp + 0x1c], esi
test eax, eax
jne 0x427311
call fcn.006121a6
mov eax, dword [esp + 0x80]
xor ecx, ecx
cmp ebx, dword [ecx + 0xc]
ja 0x4272c2
call fcn.006121a6
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push ecx
push eax
mov eax, dword [esp + 0x80]
push edx
push eax
sub ebx, 0x28
call fcn.004279b0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
push eax
push ecx
call fcn.00427a00
mov ebp, dword [esp + 0x98]
add esp, 0x20
jmp 0x427319
mov ecx, dword [eax]
jmp 0x4272b1
mov esi, dword [esp + 0x1c]
test ebp, ebp
jne 0x42732a
call fcn.006121a6
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x42732f
mov ebp, dword [ebp]
jmp 0x427331
xor ebp, ebp
mov edx, dword [esp + 0x7c]
cmp edx, dword [ebp + 0x10]
jb 0x42733f
call fcn.006121a6
mov eax, dword [esp + 0x7c]
cmp dword [eax + 0x24], 1
je 0x4273e7
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 0
jne 0x4273e7
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x427371
lea ecx, [ecx + eax*4 - 4]
cmp dword [ecx], 0
jne 0x4273e3
dec eax
sub ecx, 4
test eax, eax
jne 0x427364
test esi, esi
jne 0x427640
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x42738a
call fcn.006121a6
test esi, esi
jne 0x427647
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4273a3
call fcn.006121a6
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebx + 0x14]
push eax
push ebx
mov ebx, dword [esp + 0x78]
push ebx
call edx
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x42764e
call fcn.0063ce73
jmp 0x427653
test eax, eax
je 0x427371
test esi, esi
jne 0x427422
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4273fc
call fcn.006121a6
lea edi, [ebx + 0x14]
push edi
lea ecx, [esp + 0x3c]
call fcn.0040fa70
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x42741e
call fcn.006121a6
mov eax, dword [esp + 0x78]
test eax, eax
je 0x427426
mov eax, dword [eax]
jmp 0x427428
mov eax, dword [esi]
jmp 0x4273f2
xor eax, eax
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [eax + 0x10]
jb 0x427436
call fcn.006121a6
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x7c]
test ebp, ebp
jne 0x42748c
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x427453
call fcn.006121a6
add esi, 0x14
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x40]
mov edx, edi
call fcn.004121f0
add esp, 8
call fcn.00415420
mov edx, eax
mov eax, 1
cmp dword [esp + 0x34], eax
je 0x427491
cmp dword [edx + 0x10], eax
je 0x4274fe
lea eax, [esp + 0x24]
call fcn.004129d0
jmp 0x4274a1
mov eax, dword [ebp]
jmp 0x427449
cmp dword [edx + 0x10], eax
jne 0x4274fe
lea eax, [esp + 0x24]
call fcn.004129d0
neg eax
test eax, eax
jne 0x4274fe
test ebp, ebp
jne 0x4274d3
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4274ba
call fcn.006121a6
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4274cf
call fcn.006121a6
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4274d8
mov eax, dword [eax]
jmp 0x4274da
mov eax, dword [ebp]
jmp 0x4274b0
xor eax, eax
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [eax + 0x10]
jb 0x4274e8
call fcn.006121a6
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov eax, dword [esp + 0x7c]
mov edx, dword [edx + 0x20]
push ebx
push eax
call edx
jmp 0x4275a0
test ebp, ebp
jne 0x42754b
call fcn.006121a6
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x427513
call fcn.006121a6
mov edi, dword [esp + 0x74]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call eax
mov esi, eax
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x427547
call fcn.006121a6
mov eax, dword [esp + 0x78]
test eax, eax
je 0x427550
mov eax, dword [eax]
jmp 0x427552
mov eax, dword [ebp]
jmp 0x427509
xor eax, eax
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [eax + 0x10]
jb 0x427560
call fcn.006121a6
mov edx, dword [edi]
mov eax, dword [esp + 0x7c]
mov edx, dword [edx + 0x20]
push esi
push eax
mov ecx, edi
call edx
mov byte [esp + 0x68], 1
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 eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x427598
call fcn.0063ce73
jmp 0x42759d
call fcn.0061669e
add esp, 4
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
push eax
push ecx
call fcn.00427a60
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x14], ebp
test eax, eax
je 0x4275ee
cmp eax, ebp
je 0x4275f7
call fcn.006121a6
mov ebp, dword [esp + 0x78]
mov ecx, edi
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jle 0x427315
sub esp, 0x28
mov ecx, esp
mov dword [esp + 0x3c], esp
add edi, 0xffffffd8
push ecx
mov ecx, edi
call fcn.00426db0
push edi
mov ecx, edi
call fcn.00428410
mov ebp, dword [esp + 0xa4]
add esp, 0x2c
jmp 0x427315
mov eax, dword [esi]
jmp 0x427380
mov eax, dword [esi]
jmp 0x427399
call fcn.0061669e
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
xor eax, eax
mov edx, ecx
mov esi, edi
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x42767a
call fcn.0063ce73
jmp 0x42767f
call fcn.0061669e
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret