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

Disassembly:
push 0xffffffffffffffff
push 0x65cca8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d35d0]
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 0x618158
mov edx, dword [ebx + 0x54]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x6180c3
cmp eax, edi
jge 0x6180c3
mov esi, edi
sub esi, eax
mov dword [esp + 0x78], esi
mov esi, edx
sub esi, dword [esp + 0x78]
cmp esi, edx
jge 0x618158
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 0x61809c
mov eax, ebx
inc dword [eax + 4]
test dword [esp + 0x78], 0x8000000
je 0x6180b3
add dword [ecx + 4], 0xffffffff
jne 0x6180b3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x618068
mov ebx, dword [esp + 0x20]
jmp 0x618150
cmp byte [ebx + 0x21], 0
je 0x6180cd
cmp eax, edi
jge 0x6180e2
push str.wrong_number_of_parameters
push ebp
call fcn.0061d180
add esp, 8
xor al, al
jmp 0x6182fd
sub eax, edi
test eax, eax
jle 0x618158
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.00612e30
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 [0x6d2ed4]
mov dword [eax + 4], edx
mov edi, dword [0x6d2ed0]
mov dword [eax], edi
test edi, 0x8000000
je 0x61812f
inc dword [edx + 4]
test dword [esp + 0x20], 0x8000000
je 0x618146
add dword [ecx + 4], 0xffffffff
jne 0x618146
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
add esi, 8
sub dword [esp + 0x78], 1
jne 0x6180f5
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], 0x8010000
jne 0x6181b7
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 0x618196
mov eax, esi
inc dword [eax + 4]
test dword [esp + 0x78], 0x8000000
je 0x6181b7
mov eax, dword [esp + 0x20]
add dword [eax + 4], 0xffffffff
jne 0x6181b7
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 0x61824f
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 0x61822c
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.00611b20
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 0x618255
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 0x6182d2
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.00612d70
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 0x6182fb
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0xc]
je 0x6182fb
push 0
push 0x63
mov ecx, ebp
call fcn.00616eb0
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