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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
mov eax, dword [ebp + 0x34]
test eax, eax
push ebx
push esi
push edi
jle 0x65ff4d
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea edx, [ecx + ecx]
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0xa4], edx
lea edx, [ecx*4]
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0xbc], edx
mov edx, dword [ebp + 0x28]
lea ecx, [edx + ecx*4]
add ebx, ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb8], eax
lea ebx, [ebx]
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x30259ff0]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
xor eax, eax
lea ecx, [ecx]
mov dx, word [ecx - 2]
mov word [esp + eax + 0x40], dx
mov dx, word [ecx]
mov word [esp + eax + 0x80], dx
mov dx, word [ecx + 2]
mov word [esp + eax + 0x60], dx
mov dx, word [ecx + 4]
mov word [esp + eax + 0x20], dx
mov edx, dword [esp + 0xa4]
add eax, 2
add ecx, edx
cmp eax, 0x20
jl 0x65f780
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
mov dword [ebp + 8], eax
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0065f1b0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x6c]
push edx
call fcn.0065f1b0
add esp, 0x20
xor eax, eax
jmp 0x65f810
mov ecx, dword [ebp + 8]
mov dx, word [esp + eax + 0x40]
mov word [ecx - 2], dx
mov dx, word [esp + eax + 0x80]
mov word [ecx], dx
mov dx, word [esp + eax + 0x60]
mov word [ecx + 2], dx
mov dx, word [esp + eax + 0x20]
mov word [ecx + 4], dx
add ecx, dword [esp + 0xa4]
add eax, 2
cmp eax, 0x20
mov dword [ebp + 8], ecx
jl 0x65f810
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx*4 + 0x30259ff0]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
xor eax, eax
lea esp, [esp]
mov cx, word [edx - 2]
mov word [esp + eax + 0x40], cx
mov cx, word [edx]
mov word [esp + eax + 0x80], cx
mov cx, word [edx + 2]
mov word [esp + eax + 0x60], cx
mov cx, word [edx + 4]
mov word [esp + eax + 0x20], cx
mov ecx, dword [esp + 0xa4]
add eax, 2
add edx, ecx
cmp eax, 0x20
jl 0x65f870
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0065f1b0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0065f1b0
add esp, 0x20
xor eax, eax
jmp 0x65f900
mov ecx, dword [ebp + 0xc]
mov dx, word [esp + eax + 0x40]
mov word [ecx - 2], dx
mov dx, word [esp + eax + 0x80]
mov word [ecx], dx
mov dx, word [esp + eax + 0x60]
mov word [ecx + 2], dx
mov dx, word [esp + eax + 0x20]
mov word [ecx + 4], dx
add ecx, dword [esp + 0xa4]
add eax, 2
cmp eax, 0x20
mov dword [ebp + 0xc], ecx
jl 0x65f900
mov dx, word [esi + 2]
mov cx, word [esi]
lea eax, [esi - 2]
mov dword [esp + 0xac], eax
mov ax, word [eax]
mov word [esp + 0x40], ax
lea eax, [esi + 2]
mov dword [esp + 0xa8], eax
lea eax, [esi + 4]
mov word [esp + 0x80], cx
mov cx, word [esi + ebx - 2]
mov dword [esp + 0xb4], eax
mov ax, word [eax]
mov dword [esp + 0x1c], esi
add esi, ebx
mov word [esp + 0x60], dx
mov dx, word [esi]
mov word [esp + 0x20], ax
mov ax, word [esi + 2]
mov word [esp + 0x42], cx
mov cx, word [esi + 4]
mov word [esp + 0x82], dx
mov dx, word [esi + ebx - 2]
mov dword [esp + 0xb0], esi
add esi, ebx
mov word [esp + 0x62], ax
mov ax, word [esi]
mov word [esp + 0x22], cx
mov cx, word [esi + 2]
mov word [esp + 0x44], dx
mov dx, word [esi + 4]
add esi, ebx
mov word [esp + 0x84], ax
mov ax, word [esi - 2]
mov word [esp + 0x64], cx
mov cx, word [esi]
mov word [esp + 0x24], dx
mov dx, word [esi + 2]
mov word [esp + 0x46], ax
mov ax, word [esi + 4]
add esi, ebx
mov word [esp + 0x86], cx
mov cx, word [esi - 2]
mov word [esp + 0x66], dx
mov dx, word [esi]
mov word [esp + 0x26], ax
mov ax, word [esi + 2]
mov word [esp + 0x48], cx
mov cx, word [esi + 4]
add esi, ebx
mov word [esp + 0x88], dx
mov dx, word [esi - 2]
mov word [esp + 0x68], ax
mov ax, word [esi]
mov word [esp + 0x28], cx
mov cx, word [esi + 2]
mov word [esp + 0x4a], dx
mov dx, word [esi + 4]
add esi, ebx
mov word [esp + 0x8a], ax
mov ax, word [esi - 2]
mov word [esp + 0x6a], cx
mov cx, word [esi]
mov word [esp + 0x2a], dx
mov dx, word [esi + 2]
mov word [esp + 0x4c], ax
mov ax, word [esi + 4]
add esi, ebx
mov word [esp + 0x8c], cx
mov cx, word [esi - 2]
mov word [esp + 0x6c], dx
mov dx, word [esi]
mov word [esp + 0x2c], ax
mov ax, word [esi + 2]
mov word [esp + 0x4e], cx
mov cx, word [esi + 4]
mov word [esp + 0x8e], dx
lea edx, [esp + 0x20]
mov word [esp + 0x6e], ax
mov word [esp + 0x2e], cx
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x4c]
push edx
call fcn.0065f1b0
mov ecx, dword [esp + 0xbc]
mov ax, word [esp + 0x50]
mov dx, word [esp + 0x90]
mov esi, dword [esp + 0xc0]
mov word [ecx], ax
mov eax, dword [esp + 0x2c]
mov cx, word [esp + 0x70]
mov word [eax], dx
mov edx, dword [esp + 0xb8]
mov ax, word [esp + 0x30]
mov word [edx], cx
mov ecx, dword [esp + 0xc4]
mov dx, word [esp + 0x52]
mov word [ecx], ax
mov ax, word [esp + 0x92]
mov cx, word [esp + 0x72]
mov word [esi - 2], dx
mov dx, word [esp + 0x32]
mov word [esi], ax
mov ax, word [esp + 0x54]
mov word [esi + 2], cx
mov cx, word [esp + 0x94]
mov word [esi + 4], dx
mov dx, word [esp + 0x74]
mov word [esi + ebx - 2], ax
mov ax, word [esp + 0x34]
mov word [esi + ebx], cx
mov cx, word [esp + 0x56]
mov word [esi + ebx + 2], dx
mov dx, word [esp + 0x96]
mov word [esi + ebx + 4], ax
mov ax, word [esp + 0x76]
add esi, ebx
mov word [esi + ebx - 2], cx
mov cx, word [esp + 0x36]
add esi, ebx
mov word [esi], dx
mov dx, word [esp + 0x58]
mov word [esi + 2], ax
mov ax, word [esp + 0x98]
mov word [esi + 4], cx
mov cx, word [esp + 0x78]
mov word [esi + ebx - 2], dx
mov dx, word [esp + 0x38]
add esi, ebx
mov word [esi], ax
mov ax, word [esp + 0x5a]
mov word [esi + 2], cx
mov cx, word [esp + 0x9a]
mov word [esi + 4], dx
mov dx, word [esp + 0x7a]
add esi, ebx
mov word [esi - 2], ax
mov ax, word [esp + 0x3a]
mov word [esi], cx
mov cx, word [esp + 0x5c]
mov word [esi + 2], dx
mov dx, word [esp + 0x9c]
mov word [esi + 4], ax
mov ax, word [esp + 0x7c]
add esi, ebx
mov word [esi - 2], cx
mov cx, word [esp + 0x3c]
mov word [esi], dx
mov dx, word [esp + 0x5e]
mov word [esi + 2], ax
mov ax, word [esp + 0x9e]
mov word [esi + 4], cx
mov cx, word [esp + 0x7e]
add esi, ebx
mov word [esi - 2], dx
mov word [esi], ax
mov word [esi + 2], cx
mov dx, word [esp + 0x3e]
mov word [esi + 4], dx
mov dx, word [edi + 2]
mov cx, word [edi]
lea eax, [edi - 2]
mov dword [esp + 0xc0], eax
mov ax, word [eax]
mov word [esp + 0x50], ax
lea eax, [edi + 2]
mov dword [esp + 0xc4], eax
lea eax, [edi + 4]
mov word [esp + 0x90], cx
mov cx, word [edi + ebx - 2]
mov dword [esp + 0xb8], eax
mov ax, word [eax]
mov dword [esp + 0x2c], edi
add edi, ebx
mov word [esp + 0x70], dx
mov dx, word [edi]
mov word [esp + 0x30], ax
mov ax, word [edi + 2]
mov word [esp + 0x52], cx
mov cx, word [edi + 4]
mov dword [esp + 0xbc], edi
add edi, ebx
mov word [esp + 0x92], dx
mov dx, word [edi - 2]
mov word [esp + 0x72], ax
mov ax, word [edi]
mov word [esp + 0x32], cx
mov cx, word [edi + 2]
mov word [esp + 0x54], dx
mov dx, word [edi + 4]
add edi, ebx
mov word [esp + 0x94], ax
mov ax, word [edi - 2]
mov word [esp + 0x74], cx
mov cx, word [edi]
mov word [esp + 0x34], dx
mov dx, word [edi + 2]
mov word [esp + 0x56], ax
mov ax, word [edi + 4]
add edi, ebx
mov word [esp + 0x96], cx
mov cx, word [edi - 2]
mov word [esp + 0x76], dx
mov dx, word [edi]
mov word [esp + 0x36], ax
mov ax, word [edi + 2]
mov word [esp + 0x58], cx
mov cx, word [edi + 4]
add edi, ebx
mov word [esp + 0x98], dx
mov dx, word [edi - 2]
mov word [esp + 0x78], ax
mov ax, word [edi]
mov word [esp + 0x38], cx
mov cx, word [edi + 2]
mov word [esp + 0x5a], dx
mov dx, word [edi + 4]
add edi, ebx
mov word [esp + 0x9a], ax
mov ax, word [edi - 2]
mov word [esp + 0x7a], cx
mov cx, word [edi]
mov word [esp + 0x3a], dx
mov dx, word [edi + 2]
mov word [esp + 0x5c], ax
mov ax, word [edi + 4]
add esi, ebx
add edi, ebx
mov word [esp + 0x9c], cx
mov cx, word [edi - 2]
mov word [esp + 0x7c], dx
mov dx, word [edi]
mov word [esp + 0x3c], ax
mov ax, word [edi + 2]
mov word [esp + 0x5e], cx
mov cx, word [edi + 4]
mov word [esp + 0x9e], dx
mov word [esp + 0x7e], ax
lea edx, [esp + 0x30]
push edx
mov word [esp + 0x42], cx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x5c]
push edx
call fcn.0065f1b0
mov ecx, dword [esp + 0xd0]
mov ax, word [esp + 0x60]
mov dx, word [esp + 0xa0]
mov edi, dword [esp + 0xcc]
mov word [ecx], ax
mov eax, dword [esp + 0x3c]
mov cx, word [esp + 0x80]
mov word [eax], dx
mov edx, dword [esp + 0xd4]
mov ax, word [esp + 0x40]
mov word [edx], cx
mov ecx, dword [esp + 0xc8]
mov dx, word [esp + 0x62]
mov word [ecx], ax
mov ax, word [esp + 0xa2]
mov cx, word [esp + 0x82]
mov word [edi - 2], dx
mov dx, word [esp + 0x42]
mov word [edi], ax
mov ax, word [esp + 0x64]
mov word [edi + 2], cx
mov cx, word [esp + 0xa4]
mov word [edi + 4], dx
mov dx, word [esp + 0x84]
mov word [edi + ebx - 2], ax
mov ax, word [esp + 0x44]
mov word [edi + ebx], cx
mov cx, word [esp + 0x66]
mov word [edi + ebx + 2], dx
mov dx, word [esp + 0xa6]
add edi, ebx
mov word [edi + 4], ax
mov ax, word [esp + 0x86]
mov word [edi + ebx - 2], cx
mov cx, word [esp + 0x46]
add edi, ebx
mov word [edi], dx
mov dx, word [esp + 0x68]
mov word [edi + 2], ax
mov ax, word [esp + 0xa8]
mov word [edi + 4], cx
mov cx, word [esp + 0x88]
mov word [edi + ebx - 2], dx
mov dx, word [esp + 0x48]
add edi, ebx
mov word [edi], ax
mov ax, word [esp + 0x6a]
mov word [edi + 2], cx
mov cx, word [esp + 0xaa]
mov word [edi + 4], dx
mov dx, word [esp + 0x8a]
add edi, ebx
mov word [edi - 2], ax
mov ax, word [esp + 0x4a]
mov word [edi], cx
mov cx, word [esp + 0x6c]
mov word [edi + 2], dx
mov dx, word [esp + 0xac]
mov word [edi + 4], ax
mov ax, word [esp + 0x8c]
add edi, ebx
mov word [edi - 2], cx
mov cx, word [esp + 0x4c]
mov word [edi], dx
mov dx, word [esp + 0x6e]
add esp, 0x20
mov word [edi + 2], ax
mov word [edi + 4], cx
add edi, ebx
mov word [edi - 2], dx
mov ax, word [esp + 0x8e]
mov cx, word [esp + 0x6e]
mov dx, word [esp + 0x2e]
mov word [edi], ax
mov eax, dword [esp + 0xbc]
mov word [edi + 2], cx
mov ecx, dword [esp + 0xa0]
add ecx, eax
mov eax, dword [esp + 0xb8]
mov word [edi + 4], dx
add edi, ebx
dec eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb8], eax
jne 0x65f760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret