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

Disassembly:
push 0xffffffffffffffff
push 0x100ea260
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1012fdf0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012fdf0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
call fcn.10002440
push eax
mov dword [esp + 0x68], 0
call fcn.100648e0
mov edi, dword [esp + 0x34]
add esp, 4
mov ebp, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x64], 0xffffffff
test edi, edi
je 0x1006540f
push 0
lea ecx, [esp + 0x18]
call fcn.10057fcc
mov eax, dword [edi + 4]
test eax, eax
jbe 0x100653ed
cmp eax, 0xffffffff
jae 0x100653ed
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.10057ff5
test esi, esi
je 0x1006540f
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.10064200
mov al, byte [ebx]
mov ecx, 1
mov dword [esp + 0x64], ecx
cmp al, 0x2b
je 0x10065451
cmp al, 0x2d
je 0x10065451
cmp al, 0x30
jne 0x10065447
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x1006543d
cmp al, 0x58
jne 0x10065447
mov dword [esp + 0x14], 2
jmp 0x10065455
mov dword [esp + 0x14], 0
jmp 0x10065455
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov eax, edx
cmp ecx, 0x10
jae 0x10065468
lea eax, [esp + 0x40]
cmp byte [eax], 0x7f
je 0x100654eb
mov eax, edx
cmp ecx, 0x10
jae 0x10065478
lea eax, [esp + 0x40]
cmp byte [eax], 0
jle 0x100654eb
cmp ecx, 0x10
jb 0x10065488
mov dword [esp + 0x20], edx
jmp 0x10065490
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
mov al, byte [edx]
mov ebp, dword [esp + 0x88]
mov esi, ebp
cmp al, 0x7f
je 0x100654f2
test al, al
jle 0x100654f2
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x100654f2
sub esi, eax
mov edx, ebp
sub edx, esi
lea eax, [edx + 1]
push eax
lea edi, [ebx + esi]
push edi
push eax
lea eax, [ebx + esi + 1]
push eax
call fcn.100b26a0
mov eax, dword [esp + 0x30]
add esp, 0x10
mov byte [edi], 0
inc ebp
cmp byte [eax + 1], 0
jle 0x100654e3
inc eax
mov dword [esp + 0x20], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x100654a3
jmp 0x100654f2
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x10065505
cmp esi, ebp
jbe 0x10065505
sub esi, ebp
jmp 0x10065507
xor esi, esi
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x80]
and eax, 0x1c0
cmp eax, 0x40
je 0x100655aa
cmp eax, 0x100
je 0x10065546
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.10063e30
add esp, 0x18
jmp 0x1006559b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.10063ee0
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
push esi
mov dword [esp + 0x94], edx
mov edx, dword [eax]
add ebx, ecx
sub ebp, ecx
mov ecx, dword [eax + 4]
push edi
push ecx
mov ecx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.10063e30
add esp, 0x30
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
movzx eax, ax
push eax
push ebp
push ebx
mov ebx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.10063fc0
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x98], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push esi
push ebx
mov dword [esp + 0xac], eax
mov dword [edx + 0x18], 0
call fcn.10063e30
add esp, 0x34
cmp dword [esp + 0x54], 0x10
jb 0x10065618
mov eax, dword [esp + 0x40]
push eax
call fcn.100b3111
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100b2691
add esp, 0x54
ret