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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64022960
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6402c09c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x6402c09c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
call dword [0x64024058]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x24], eax
call fcn.6400e680
call eax
xor edi, edi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
mov ecx, dword [ebp + 0x10]
mov eax, 0x8d3dcb09
mul ecx
mov esi, edx
shr esi, 8
lea eax, [esi + 1]
cmp eax, edi
mov dword [esp + 0x80], edi
mov byte [esp + 0x13], 1
je 0x6400a434
mov edx, 0x1d0
sub edx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x14]
add eax, edx
cmp eax, ecx
jb 0x6400a486
mov eax, esi
imul eax, eax, 0x1d0
mov ebx, ecx
sub ebx, eax
test ebx, ebx
je 0x6400a41c
or ecx, 0xffffffff
cmp dword [ebp + 0x18], ecx
je 0x6400a3c0
call dword [0x64024058]
sub eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp eax, ecx
ja 0x6400a490
sub ecx, eax
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x24]
test edi, edi
setne al
cmp edi, esi
push eax
mov eax, dword [ebp + 8]
push ecx
setb cl
push ecx
mov ecx, dword [esp + 0x38]
push edi
push ebx
push edx
push eax
push ecx
lea edx, [esp + 0x43]
lea ecx, [esp + 0x84]
call fcn.6400a620
test al, al
je 0x6400a4ab
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
add dword [esp + 0x14], 0x1d0
add edi, 1
lea eax, [esi + 1]
cmp edi, eax
jne 0x6400a383
xor edi, edi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x58]
push ecx
or eax, 0xffffffff
call fcn.640019d0
cmp byte [esp + 0x13], 0
je 0x6400a5db
mov dword [esp + 0x14], 0xfffffffe
lea esp, [esp]
mov esi, 0xf
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
mov ebx, dword [ebp + 0x18]
cmp ebx, 0xffffffff
mov byte [esp + 0x80], 1
jne 0x6400a4c6
or ecx, ebx
jmp 0x6400a4dc
mov ebx, 0x1d0
jmp 0x6400a3a1
cmp dword [esp + 0x6c], 0x10
jb 0x6400a4a4
mov edx, dword [esp + 0x58]
push edx
call fcn.64011d22
add esp, 4
xor al, al
jmp 0x6400a5f1
cmp dword [esp + 0x6c], 0x10
jb 0x6400a4a4
mov eax, dword [esp + 0x58]
push eax
call fcn.64011d22
add esp, 4
xor al, al
jmp 0x6400a5f1
call dword [0x64024058]
sub eax, dword [esp + 0x20]
cmp eax, ebx
ja 0x6400a56b
mov ecx, ebx
sub ecx, eax
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
push 1
push ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x68]
push edi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push eax
push edi
push edi
push ecx
push edx
lea edx, [esp + 0x43]
lea ecx, [esp + 0x58]
call fcn.6400a620
test al, al
je 0x6400a599
cmp dword [esp + 0x3c], edi
je 0x6400a5c7
mov esi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x2c]
push eax
or eax, 0xffffffff
call fcn.640019d0
mov byte [esp + 0x80], 0
cmp dword [esp + 0x40], 0x10
jb 0x6400a559
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.64011d22
add esp, 4
sub dword [esp + 0x14], 1
cmp byte [esp + 0x13], 0
jne 0x6400a460
jmp 0x6400a5db
mov ebx, 0x10
cmp dword [esp + 0x40], ebx
jb 0x6400a583
mov edx, dword [esp + 0x2c]
push edx
call fcn.64011d22
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
jmp 0x6400a4b0
mov ebx, 0x10
cmp dword [esp + 0x40], ebx
jb 0x6400a5b1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.64011d22
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
jmp 0x6400a495
cmp dword [esp + 0x40], 0x10
jb 0x6400a5db
mov eax, dword [esp + 0x2c]
push eax
call fcn.64011d22
add esp, 4
cmp dword [esp + 0x6c], 0x10
jb 0x6400a5ef
mov ecx, dword [esp + 0x58]
push ecx
call fcn.64011d22
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.6401257c
mov esp, ebp
pop ebp
ret 0x14