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

Disassembly:
push 0xffffffffffffffff
push 0x66f058
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f2fc4]
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 0x61b798
mov edx, dword [ebx + 0x54]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x61b703
cmp eax, edi
jge 0x61b703
mov esi, edi
sub esi, eax
mov dword [esp + 0x78], esi
mov esi, edx
sub esi, dword [esp + 0x78]
cmp esi, edx
jge 0x61b798
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 0x61b6dc
mov eax, ebx
inc dword [eax + 4]
test dword [esp + 0x78], 0x8000000
je 0x61b6f3
add dword [ecx + 4], 0xffffffff
jne 0x61b6f3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x61b6a8
mov ebx, dword [esp + 0x20]
jmp 0x61b790
cmp byte [ebx + 0x21], 0
je 0x61b70d
cmp eax, edi
jge 0x61b722
push str.wrong_number_of_parameters
push ebp
call fcn.006207c0
add esp, 8
xor al, al
jmp 0x61b93d
sub eax, edi
test eax, eax
jle 0x61b798
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.00616440
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 [0x6f2904]
mov dword [eax + 4], edx
mov edi, dword [0x6f2900]
mov dword [eax], edi
test edi, 0x8000000
je 0x61b76f
inc dword [edx + 4]
test dword [esp + 0x20], 0x8000000
je 0x61b786
add dword [ecx + 4], 0xffffffff
jne 0x61b786
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
add esi, 8
sub dword [esp + 0x78], 1
jne 0x61b735
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], 0x8010000
jne 0x61b7f7
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 0x61b7d6
mov eax, esi
inc dword [eax + 4]
test dword [esp + 0x78], 0x8000000
je 0x61b7f7
mov eax, dword [esp + 0x20]
add dword [eax + 4], 0xffffffff
jne 0x61b7f7
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 0x61b88f
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 0x61b86c
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.00615110
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 0x61b895
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 0x61b912
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.00616380
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 0x61b93b
mov ecx, dword [ebp + 0x78]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0xc]
je 0x61b93b
push 0
push 0x63
mov ecx, ebp
call fcn.0061a4f0
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