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

Disassembly:
push 0xffffffffffffffff
push 0x6401d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005717b1
push eax
mov dword [esp + 0x50], 0
call fcn.00610b40
mov ebx, dword [esp + 0x1c]
add esp, 4
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], 0xffffffff
test ebx, ebx
je 0x61155e
push 0
lea ecx, [esp + 0x14]
call fcn.005da214
mov eax, dword [ebx + 4]
test eax, eax
je 0x61153e
cmp eax, 0xffffffff
jae 0x61153e
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
lea ecx, [esp + 0x10]
not edi
call fcn.005da23c
and edi, ebx
je 0x61155e
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00610570
mov ebx, dword [esp + 0x6c]
mov al, byte [ebx]
mov dword [esp + 0x4c], 1
cmp al, 0x2b
je 0x6115a3
cmp al, 0x2d
je 0x6115a3
cmp al, 0x30
jne 0x611599
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x61158f
cmp al, 0x58
jne 0x611599
mov dword [esp + 0x10], 2
jmp 0x6115ab
mov dword [esp + 0x10], 0
jmp 0x6115ab
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, edx
cmp ecx, 0x10
jae 0x6115be
lea eax, [esp + 0x28]
cmp byte [eax], 0x7f
je 0x611651
mov eax, edx
cmp ecx, 0x10
jae 0x6115d2
lea eax, [esp + 0x28]
cmp byte [eax], 0
jle 0x611651
cmp ecx, 0x10
jae 0x6115e0
lea edx, [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov eax, edx
mov al, byte [eax]
mov dword [esp + 0x6c], edx
mov esi, ebp
cmp al, 0x7f
je 0x611636
test al, al
jle 0x611636
mov ecx, esi
sub ecx, dword [esp + 0x10]
movsx eax, al
cmp eax, ecx
jae 0x611636
sub esi, eax
mov eax, ebp
sub eax, esi
inc eax
push eax
lea edi, [esi + ebx]
push edi
push eax
lea eax, [esi + ebx + 1]
push eax
call fcn.005dcaaf
mov eax, dword [esp + 0x7c]
add esp, 0x10
mov byte [edi], 0
inc ebp
cmp byte [eax + 1], 0
jle 0x611630
inc eax
mov dword [esp + 0x6c], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x6115f2
mov esi, dword [esp + 0x64]
cmp dword [esi + 0x24], 0
mov edi, dword [esi + 0x20]
jl 0x611657
jg 0x611649
test edi, edi
je 0x611657
cmp edi, ebp
jbe 0x611657
sub edi, ebp
jmp 0x611659
mov ebp, dword [esp + 0x70]
jmp 0x61163a
xor edi, edi
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x54]
and eax, 0x1c0
cmp eax, 0x40
je 0x6116fa
mov edx, dword [esp + 0x60]
cmp eax, 0x100
mov eax, dword [esp + 0x5c]
je 0x6116a2
mov ecx, dword [esp + 0x68]
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.006101f0
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 4]
add esp, 0x18
mov dword [esp + 0x60], eax
jmp 0x6116f8
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.00610260
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
mov edx, dword [eax]
add ebx, ecx
sub ebp, ecx
mov ecx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
push esi
call fcn.006101f0
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 4]
add esp, 0x30
mov dword [esp + 0x60], edx
xor edi, edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x6c]
push eax
push ebp
push ebx
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.006102d0
mov ecx, dword [eax]
mov edx, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x24], ebx
mov edx, dword [esp + 0x88]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0x94], eax
call fcn.006101f0
add esp, 0x34
cmp dword [esp + 0x3c], 0x10
jb 0x611771
mov eax, dword [esp + 0x28]
push eax
call fcn.005db86c
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret