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

Disassembly:
push 0xffffffffffffffff
push 0x66bb58
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6ee104]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x70]
mov ebx, dword [eax + 0x24]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x7c]
mov edi, dword [ebx + 0x3c]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x618178
mov edx, dword [ebx + 0x54]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x6180e3
cmp eax, edi
jge 0x6180e3
mov esi, edi
sub esi, eax
mov dword [esp + 0x78], esi
mov esi, edx
sub esi, dword [esp + 0x78]
cmp esi, edx
jge 0x618178
lea edi, [eax + ecx]
add edi, edi
add edi, edi
mov ecx, edx
sub ecx, esi
add edi, edi
add ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x34]
mov ecx, dword [eax + edi]
mov ebx, dword [edx + esi*8 + 4]
add eax, edi
lea edx, [edx + esi*8]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], ebx
mov edx, dword [edx]
add edi, 8
mov dword [eax], edx
test edx, 0x8000000
je 0x6180bc
mov eax, ebx
inc dword [eax + 4]
test dword [esp + 0x78], 0x8000000
je 0x6180d3
add dword [ecx + 4], 0xffffffff
jne 0x6180d3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x618088
mov ebx, dword [esp + 0x20]
jmp 0x618170
cmp byte [ebx + 0x21], 0
je 0x6180ed
cmp eax, edi
jge 0x618102
push str.wrong_number_of_parameters
push ebp
call fcn.0061d1a0
add esp, 8
xor al, al
jmp 0x61831d
sub eax, edi
test eax, eax
jle 0x618178
lea esi, [edi + ecx]
add esi, esi
add esi, esi
add esi, esi
mov dword [esp + 0x78], eax
mov ecx, dword [ebp + 0x18]
add ecx, esi
push ecx
lea ecx, [ebp + 0x24]
call fcn.00612e20
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + esi]
mov ecx, dword [eax + esi + 4]
add eax, esi
mov dword [esp + 0x20], edx
mov edx, dword [0x6eda44]
mov dword [eax + 4], edx
mov edi, dword [0x6eda40]
mov dword [eax], edi
test edi, 0x8000000
je 0x61814f
inc dword [edx + 4]
test dword [esp + 0x20], 0x8000000
je 0x618166
add dword [ecx + 4], 0xffffffff
jne 0x618166
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
add esi, 8
sub dword [esp + 0x78], 1
jne 0x618115
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], 0x8010000
jne 0x6181d7
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x78], esi
mov esi, dword [eax + 4]
add edx, 0xc
mov dword [esp + 0x20], esi
mov esi, dword [edx + 4]
mov dword [eax + 4], esi
mov edx, dword [edx]
mov dword [eax], edx
test edx, 0x8000000
je 0x6181b6
mov eax, esi
inc dword [eax + 4]
test dword [esp + 0x78], 0x8000000
je 0x6181d7
mov eax, dword [esp + 0x20]
add dword [eax + 4], 0xffffffff
jne 0x6181d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x7c]
cmp byte [esp + 0x80], 0
jne 0x61826f
xor eax, eax
mov word [esp + 0x5e], ax
mov eax, dword [ebp + 0x34]
sub ecx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x30]
sub ecx, eax
mov eax, dword [ebp + 0x68]
xor edx, edx
mov word [esp + 0x5c], dx
mov dword [esp + 0x3c], 0x1000001
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], edx
cmp dword [ebp + 0x64], eax
jne 0x61824c
lea esi, [eax + eax]
imul eax, eax, 0x34
mov edx, esi
imul edx, edx, 0x34
push edx
push eax
mov eax, dword [ebp + 0x60]
push eax
call fcn.00611b00
add esp, 0xc
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x68], esi
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x60]
imul ecx, ecx, 0x34
lea edi, [ecx + edx]
mov dword [ebp + 0x78], edi
mov ecx, 0xd
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebp + 0x64]
mov edi, dword [esp + 0x14]
jmp 0x618275
mov eax, dword [ebp + 0x78]
inc dword [eax + 0x28]
mov ecx, dword [ebp + 0x78]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
sub eax, edi
mov word [ecx + 0x30], ax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x78]
sub ax, word [ecx + 0x30]
mov word [ecx + 0x32], ax
mov edx, dword [ebp + 0x78]
mov eax, dword [esp + 0x70]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x78]
mov dword [ecx + 8], 0x8000100
mov edx, dword [ebp + 0x78]
mov eax, dword [ebx + 0x38]
mov dword [edx + 4], eax
mov edx, dword [ebp + 0x78]
lea ecx, [ebx + 0x60]
mov dword [edx], ecx
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x1c]
add eax, eax
lea edx, [eax + esi]
cmp edx, ecx
jbe 0x6182f2
xor edx, edx
mov dword [esp + 0x24], 0x1000001
mov dword [esp + 0x28], edx
mov dword [esp + 0x68], edx
lea edx, [esp + 0x24]
add eax, ecx
push edx
push eax
lea ecx, [ebp + 0x18]
call fcn.00612d60
mov dword [esp + 0x68], 0xffffffff
cmp dword [ebp + 0x50], 0x1000001
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], eax
je 0x61831b
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0xc]
je 0x61831b
push 0
push 0x63
mov ecx, ebp
call fcn.00616ed0
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14