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

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [edx + edx*4]
push esi
push edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push edx
mov esi, ecx
lea ecx, [eax + ebp]
mov eax, dword [ebx + 0x114]
movsx edi, cx
mov ecx, dword [ebx + 0xb0]
lea edx, [eax + edi]
imul edx, ecx
push 0xffffffffffffffff
sar edx, 3
push edx
movzx edx, word [esi]
add dx, word [esp + 0x34]
mov dword [esp + 0x24], 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
lea eax, [edx + ebp*2]
mov dx, word [esi]
add eax, ebp
movsx ecx, ax
mov eax, dword [ebx + 0x114]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0xb0]
mov edi, dword [esp + 0x38]
add edi, eax
imul edi, ecx
sar edi, 3
push 0xffffffffffffffff
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 + 0x48]
add eax, edi
imul eax, ecx
mov ecx, dword [esp + 0x54]
sar eax, 3
push eax
mov ax, word [esi]
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
mov edi, 0x99
call fcn.003b4250
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x78]
lea ecx, [eax + ebp*4]
mov eax, dword [ebx + 0x114]
add esp, 0x40
push edi
mov edi, dword [esp + 0x38]
push edi
movsx edx, cx
mov ecx, dword [ebx + 0xb0]
mov dword [esp + 0x1c], edx
mov edi, edx
mov dx, word [esi]
add edi, eax
imul edi, ecx
sar edi, 3
push 0xffffffffffffffff
push edi
mov edi, dword [esp + 0x34]
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 + 0x24]
add eax, edi
imul eax, ecx
mov ecx, dword [esp + 0x34]
sar eax, 3
push eax
mov ax, word [esi]
mov edi, 0x99
add eax, ecx
mov ecx, dword [esp + 0x48]
movsx eax, ax
add eax, dword [ebx + 0x110]
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
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 0xffffffffffffffff
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 + 0x48]
add eax, edi
imul eax, ecx
mov ecx, dword [esp + 0x54]
sar eax, 3
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 edx, dword [ebx + 0x110]
lea edi, [ebp*8]
sub edi, ebp
add edi, dword [esp + 0x24]
push 0xffffffffffffffff
movsx edi, di
add edi, eax
imul edi, ecx
sar edi, 3
push edi
mov di, 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 + 0x24]
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 edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
add dword [esi], eax
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x50]
push ebp
push edx
push eax
mov eax, ebx
call fcn.003b4d90
add esp, 0x40
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret