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

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
not eax
sub esp, 0x4c
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], 0
mov ecx, dword [ebx + 0xd8]
mov dword [esp + 0x38], ebx
cmp ecx, 1
mov dword [esp + 0x3c], ecx
sbb ecx, ecx
neg esi
shl esi, 4
and ecx, 0xfffffffe
add esi, dword [esp + 0x64]
add ecx, 4
shl eax, 4
imul eax, ecx
imul esi, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
mov dword [ebx], esi
mov esi, edx
not edx
shl esi, 4
sub edi, esi
mov esi, dword [esp + 0x70]
imul edi, ecx
shl edx, 4
imul ecx, edx
add esi, 0x124
mov dword [esp + 0x2c], edi
mov dword [ebx + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], eax
test edi, edi
mov edi, dword [esp + 0x60]
cmove esi, dword [esp + 0x70]
sub ecx, dword [esp + 0x60]
mov dword [ebx + 0x150], esi
mov dword [esp + 0x24], ecx
mov ecx, ebx
mov eax, dword [esp + 0x20]
imul eax, dword [esi]
mov ebx, dword [esp + 0x24]
mov edx, eax
sar edx, 0x1f
idiv edi
mov dword [ecx + 0x110], eax
imul ebx, dword [esi]
mov edx, ebx
mov eax, ebx
sar edx, 0x1f
idiv edi
mov ebx, eax
mov dword [ecx + 0x130], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esi + 4]
mov edx, eax
sar edx, 0x1f
idiv edi
mov dword [ecx + 0x114], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esi + 4]
mov edx, eax
sar edx, 0x1f
idiv edi
xor edx, edx
cmp dword [esp + 0x2c], eax
setl dl
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x18], edx
mov dword [ecx + 0x134], eax
setg dl
cmp dword [esp + 0x28], ebx
mov ebp, edx
setl bl
or ebp, ebx
and ebp, 0xff
or dword [esp + 0x18], ebp
cmp dword [esp + 0x34], eax
setg al
movzx eax, al
or eax, dword [esp + 0x18]
jne 0xb75071
mov eax, dword [esp + 0x70]
cmp dword [eax + 0xec], 2
jne 0xb75090
add dword [esp + 0x1c], 1
add esi, 8
add ecx, 8
cmp dword [esp + 0x1c], 4
jne 0xb74ec4
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0xdc], ecx
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00b74a10
mov eax, dword [ebx + 0x158]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x14], eax
jge 0xb74fd0
cmp eax, dword [ebx + 0x18]
jle 0xb74fd0
cmp eax, dword [ebx + 0x1c]
jle 0xb74fd0
cmp eax, dword [ebx + 0x20]
jg 0xb75100
nop
mov esi, dword [ebx + 0xe0]
test esi, esi
jne 0xb75058
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
cmp dword [ebx + 0x1c], edx
cmovge edx, dword [ebx + 0x1c]
cmp edx, eax
cmovl edx, eax
mov eax, dword [ebx + 0x14]
cmp edx, eax
cmovge eax, edx
shl eax, 2
mov ecx, dword [ebx + 0x24]
mov edi, dword [ebx + 0x110]
mov edx, dword [ebx + 0x28]
mov esi, dword [ebx + 0x114]
add edi, ecx
mov dword [ebx + 0x2c], edi
add esi, edx
test ecx, ecx
mov dword [ebx + 0x30], esi
je 0xb75040
mov ecx, dword [ebx + 0x150]
sub edi, dword [ecx]
test edx, edx
mov dword [ebx + 0x34], edi
jne 0xb7504d
mov esi, dword [ebx + 0x134]
mov edx, dword [ebx + 0x10]
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x38], esi
mov dword [ecx], edx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 0x130]
test edx, edx
mov dword [ebx + 0x34], edi
je 0xb75026
mov edx, dword [ebx + 0x150]
sub esi, dword [edx + 4]
jmp 0xb7502c
imul edx, dword [ebx + 0x158], 0x16
mov eax, 0x100000
cmp dword [ebx + 0x90], edx
jge 0xb74ff7
jmp 0xb74fda
mov ebx, dword [esp + 0x38]
mov eax, 0x100000
mov ecx, dword [esp + 0x74]
mov dword [ecx], 0x100000
mov dword [ebx + 0x10], 0x100000
jmp 0xb75038
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 0x110]
mov edx, dword [ebx + 0x114]
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x12c], edx
mov dword [ebx + 0x120], eax
mov dword [ebx + 0x124], edx
mov dword [ebx + 0x118], eax
mov eax, dword [ebx + 0x130]
mov dword [ebx + 0x11c], edx
mov edx, dword [ebx + 0x134]
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x140], eax
mov dword [ebx + 0x144], edx
mov dword [ebx + 0x138], eax
mov dword [ebx + 0x13c], edx
jmp 0xb74f82
mov eax, dword [esp + 0x6c]
mov edx, ebx
call fcn.00b72880
mov esi, dword [esp + 0x6c]
cmp dword [esi + 0xec], 4
jne 0xb74fd0
mov eax, dword [ebx + 0x10]
jmp 0xb75038