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

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x14]
push ebx
lea edx, [edx + edx*4]
push ebp
mov ebp, dword [esp + 0x20]
push edi
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [eax + ebp]
mov eax, dword [ebx + 0x114]
push edx
movsx edi, cx
mov ecx, dword [ebx + 0xb0]
lea edx, [eax + edi]
imul edx, ecx
sar edx, 3
push edx
movzx edx, word [esi]
add dx, word [esp + 0x34]
mov dword [esp + 0x20], edi
movsx edi, dx
add edi, dword [ebx + 0x110]
mov edx, dword [ebx + 0xac]
imul edi, edx
sar edi, 3
push edi
movsx edi, word [esp + 0x30]
add edi, eax
movsx eax, word [esi]
imul edi, ecx
add eax, dword [ebx + 0x110]
mov ecx, dword [esp + 0x44]
imul eax, edx
sar edi, 3
push edi
sar eax, 3
push eax
mov eax, dword [esp + 0x48]
push ecx
mov edi, 0x99
call fcn.003b4250
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x40]
push edi
lea eax, [edx + ebp*2]
add eax, ebp
movsx ecx, ax
mov eax, dword [ebx + 0x114]
mov edx, dword [ebx + 0x110]
mov dword [esp + 0x38], ecx
mov edi, ecx
mov ecx, dword [ebx + 0xb0]
add edi, eax
imul edi, ecx
sar edi, 3
push edi
movzx edi, word [esi]
add di, word [esp + 0x50]
movsx edi, di
add edi, edx
mov edx, dword [ebx + 0xac]
imul edi, edx
sar edi, 3
push edi
mov edi, dword [esp + 0x44]
add eax, edi
imul eax, ecx
sar eax, 3
push eax
movsx eax, word [esi]
add eax, dword [ebx + 0x110]
mov ecx, dword [esp + 0x68]
imul eax, edx
sar eax, 3
push eax
mov eax, dword [esp + 0x68]
push ecx
mov edi, 0x99
call fcn.003b4250
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x78]
add esp, 0x40
push edi
mov edi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x20]
push edi
lea eax, [edx + ebp*4]
movsx ecx, ax
mov eax, dword [ebx + 0x114]
mov edx, dword [ebx + 0x110]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0xb0]
mov edi, dword [esp + 0x1c]
add edi, eax
imul edi, ecx
sar edi, 3
push edi
movzx edi, word [esi]
add di, word [esp + 0x34]
movsx edi, di
add edi, edx
mov edx, dword [ebx + 0xac]
imul edi, edx
sar edi, 3
push edi
mov edi, dword [esp + 0x20]
add eax, edi
imul eax, ecx
mov ecx, dword [esp + 0x44]
sar eax, 3
push eax
movsx eax, word [esi]
add eax, dword [ebx + 0x110]
mov edi, 0x99
imul eax, edx
sar eax, 3
push eax
mov eax, dword [esp + 0x48]
push ecx
call fcn.003b4250
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x40]
push edi
lea edx, [ebp + ebp*2]
lea ecx, [eax + edx*2]
mov eax, dword [ebx + 0x114]
movsx edx, cx
mov ecx, dword [ebx + 0xb0]
mov dword [esp + 0x38], edx
mov edi, edx
mov dx, word [esi]
add edi, eax
imul edi, ecx
sar edi, 3
push edi
mov edi, dword [esp + 0x54]
add edx, edi
movsx edi, dx
add edi, dword [ebx + 0x110]
mov edx, dword [ebx + 0xac]
imul edi, edx
sar edi, 3
push edi
mov edi, dword [esp + 0x44]
add eax, edi
imul eax, ecx
sar eax, 3
mov ecx, dword [esp + 0x54]
push eax
mov ax, word [esi]
mov edi, 0x99
lea eax, [eax + ecx*4]
movsx ecx, ax
add ecx, dword [ebx + 0x110]
mov eax, dword [esp + 0x64]
imul ecx, edx
mov edx, dword [esp + 0x68]
sar ecx, 3
push ecx
push edx
call fcn.003b4250
mov edi, dword [esp + 0x78]
mov eax, dword [ebx + 0x114]
mov ecx, dword [ebx + 0xb0]
add esp, 0x40
push edi
mov edi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x20]
push edi
lea edi, [ebp*8]
sub edi, ebp
add edi, dword [esp + 0x28]
mov edx, dword [ebx + 0x110]
movsx edi, di
add edi, eax
imul edi, ecx
sar edi, 3
push edi
movzx edi, word [esi]
add di, word [esp + 0x34]
movsx ebp, di
mov edi, dword [ebx + 0xac]
add ebp, edx
imul ebp, edi
sar ebp, 3
push ebp
mov ebp, dword [esp + 0x20]
add eax, ebp
imul eax, ecx
mov ecx, dword [esp + 0x44]
sar eax, 3
push eax
movsx eax, word [esi]
add eax, edx
imul eax, edi
sar eax, 3
push eax
mov eax, dword [esp + 0x48]
push ecx
mov edi, 0x99
call fcn.003b4250
mov edx, dword [esp + 0x48]
add esp, 0x20
add dword [esi], edx
pop edi
pop ebp
pop ebx
add esp, 8
ret