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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x68f500]
xor eax, esp
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xec]
push ebp
push esi
mov esi, dword [esp + 0xf0]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], ecx
mov ebp, dword [esi]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], ebp
movzx eax, word [ebp + 0x122]
mov byte [esp + 0x2b], 0
cmp ecx, eax
jbe 0x4d07f9
mov word [ebp + 0x122], cx
test byte [esi + 0x10], 1
mov dword [esi + 0x14], ebx
je 0x4d0814
mov dword [esp + 0x2c], 0x10000
mov dword [esp + 0x3c], 0x10000
jmp 0x4d0828
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x80]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4d08a5
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
push ebx
push dword [ecx + 4]
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13ee
mov eax, dword [esp + 0x80]
xorps xmm0, xmm0
push eax
push dword [esp + 0x80]
mov dword [esi + 0x1c], eax
xor edi, edi
lea eax, [esp + 0x8c]
mov byte [esp + 0x33], 1
push eax
mov dword [esp + 0x20], edi
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
call fcn.004b92e0
lea eax, [esp + 0x90]
mov dword [esi + 0x18], eax
jmp 0x4d08be
lea eax, [esp + 0x34]
push eax
push ebx
push ebp
call fcn.004c57b0
mov ecx, dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x1c], ecx
mov edx, dword [esi + 0x1c]
add esp, 0xc
test edx, edx
je 0x4d092c
mov ecx, dword [ebp + 0x2dc]
test ecx, ecx
jne 0x4d08ea
mov eax, dword [ebp + 0x80]
cmp dword [eax + 0x34], ecx
jne 0x4d08ea
mov dword [esp + 0x10], 8
jmp 0x4d13c8
push edx
lea eax, [ecx + edi]
push eax
mov eax, dword [ebp + 0x208]
push ebx
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
mov eax, dword [ebp + 0x210]
push esi
call eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20c]
push esi
call eax
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x4d13c8
cmp dword [esi + 0x1c], 0
je 0x4d0939
cmp word [esi + 0x20], 0
jne 0x4d0955
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov ebx, dword [esi + 0x18]
mov eax, dword [esi]
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
call fcn.004b9310
lea edx, [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x34]
push edx
lea edx, [esp + 0x4c]
push edx
mov ecx, dword [eax + 0x21c]
push dword [esp + 0x24]
push 0
mov ecx, dword [ecx + 0xa0]
push eax
call ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esi + 0x30]
push dword [esp + 0x3c]
push dword [esp + 0x58]
call fcn.004c9900
push edi
push ebx
call fcn.004b99b0
add esp, 0x34
test eax, eax
jne 0x4d0a16
movsx eax, word [esp + 0x44]
movzx ecx, word [esp + 0x38]
mov dword [esi + 0x34], eax
movsx eax, word [esp + 0x40]
mov dword [esi + 0xac], eax
movzx eax, word [esp + 0x34]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x38], ecx
mov eax, dword [eax + 0x80]
cmp dword [eax + 0x34], 0
jne 0x4d0a14
cmp byte [esi + 0x40], 0
jne 0x4d0a14
mov byte [esi + 0x40], 1
mov dword [esi + 0x3c], ecx
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
cmp byte [esp + 0x100], al
jne 0x4d13c8
cmp dword [esi + 0x1c], eax
je 0x4d118b
cmp word [esi + 0x20], ax
je 0x4d118b
mov ebx, dword [esp + 0x18]
push ebx
push esi
call fcn.004d2130
push esi
call fcn.004d2890
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
sub eax, 0xa
push eax
mov eax, dword [ebp + 0x2dc]
add ecx, 0xa
add eax, ecx
push eax
mov eax, dword [ebp + 0x208]
push ebx
push esi
call eax
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
movzx eax, word [esi + 0x20]
test ax, ax
jle 0x4d0ad3
mov eax, dword [ebp + 0x214]
push esi
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d0b3a
mov eax, dword [ebp + 0x20c]
push esi
call eax
push esi
call fcn.004cb210
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
push dword [esp + 0x5c]
call fcn.004b59f0
add esp, 4
jmp 0x4d13c8
jns 0x4d0b3a
mov eax, dword [ebp + 0x64]
lea edi, [esi + 0xcc]
mov dword [esp + 0x18], eax
or eax, 0xffffffff
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x60]
test edi, edi
je 0x4d0b03
mov edi, dword [edi]
test edi, edi
je 0x4d0b03
test eax, eax
je 0x4d0b05
mov edi, dword [edi + 4]
dec eax
test edi, edi
jne 0x4d0af7
xor edi, edi
mov eax, edi
test edi, edi
je 0x4d0b1e
nop dword [eax + eax]
mov dword [eax + 8], 0xffffffff
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d0b10
lea eax, [esi + 0xcc]
push ebx
push eax
call fcn.004b60b0
add esp, 8
test eax, eax
je 0x4d0b4b
mov dword [esp + 0x10], 0x15
mov eax, dword [ebp + 0x20c]
push esi
call eax
add esp, 4
jmp 0x4d13c8
test edi, edi
je 0x4d0b54
mov dword [edi + 8], ebx
jmp 0x4d0b81
lea eax, [esp + 0x10]
push eax
push 0xc
push dword [esp + 0x20]
call fcn.004bb3d0
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x4d0b3a
push eax
mov dword [eax + 8], ebx
lea eax, [esi + 0xcc]
push eax
call fcn.004b6020
add esp, 8
mov ebx, dword [esp + 0x5c]
push esi
movsx eax, word [ebx + 0x16]
mov dword [esp + 0x48], eax
movsx eax, word [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x218]
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d0b3a
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20c]
push esi
call eax
add esp, 4
test dword [ebp + 4], 0x7fff0000
jne 0x4d0bd5
test dword [ebp + 8], 0x8000
je 0x4d0e19
movzx edi, word [ebx + 0x54]
lea ecx, [esp + 0x10]
xor eax, eax
mov dword [esp + 0x30], edi
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], eax
movsx eax, di
push 0
mov dword [esp + 0x1c], eax
add eax, 4
push eax
push 0
push 8
push dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
call fcn.004bb420
add esp, 0x18
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x10], 0
jne 0x4d0dc7
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x1c]
push 0
push 1
push dword [esp + 0x2c]
call fcn.004bb420
add esp, 0x18
mov dword [esp + 0x50], eax
cmp dword [esp + 0x10], 0
jne 0x4d0dc7
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x1c]
push 0
push 2
push dword [esp + 0x2c]
call fcn.004bb420
add esp, 0x18
mov dword [esp + 0x54], eax
cmp dword [esp + 0x10], 0
jne 0x4d0dc7
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x3c]
push 0
push 8
push dword [esp + 0x2c]
call fcn.004bb420
add esp, 0x18
mov dword [esp + 0x38], eax
cmp dword [esp + 0x10], 0
jne 0x4d0dc7
mov eax, dword [ebx + 0x58]
xor ecx, ecx
mov word [esp + 0x4a], di
mov word [esp + 0x48], di
xor edi, edi
mov dword [esp + 0x14], edi
cmp cx, word [esp + 0x30]
jge 0x4d0d10
mov ebp, dword [esp + 0x30]
lea ebx, [eax + 0xc]
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esp + 0x4c]
lea edx, [edx + 1]
mov ecx, dword [ebx - 4]
lea ebx, [ebx + 0x20]
mov dword [eax + edx*8 - 8], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebx - 0x20]
mov dword [eax + edx*8 - 4], ecx
mov eax, dword [esp + 0x50]
mov byte [edx + eax - 1], 1
mov eax, dword [esp + 0x54]
mov word [eax + edx*2 - 2], di
inc edi
cmp di, bp
jl 0x4d0cd0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
movsx edi, di
push dword [esp + 0x38]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x50]
mov dword [eax + edi*8 + 8], ecx
mov dword [eax + edi*8 + 0xc], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xb4]
add eax, 2
mov edx, dword [esi + 0xb8]
movsx edi, ax
mov eax, dword [esp + 0x50]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xc0]
mov dword [eax + edi*8 + 8], ecx
mov dword [eax + edi*8 + 0xc], edx
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.004ce3c0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d0dc7
mov eax, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ebx + 0x58]
cmp dx, ax
jge 0x4d0dc7
add ecx, 8
movzx edi, ax
nop dword [eax]
test byte [ecx - 4], 2
je 0x4d0dbc
mov eax, dword [esp + 0x4c]
movsx eax, word [edx + eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x4c]
movsx eax, word [edx + eax + 4]
mov dword [ecx + 4], eax
add edx, 8
add ecx, 0x20
sub edi, 1
jne 0x4d0da0
push dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
push edi
call fcn.004bb3b0
push dword [esp + 0x58]
mov dword [esp + 0x58], 0
push edi
call fcn.004bb3b0
push dword [esp + 0x64]
mov dword [esp + 0x64], 0
push edi
call fcn.004bb3b0
push dword [esp + 0x50]
mov dword [esp + 0x70], 0
push edi
call fcn.004bb3b0
add esp, 0x20
cmp dword [esp + 0x10], 0
jne 0x4d13c8
test byte [esi + 0x10], 1
jne 0x4d0f73
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc0], eax
test dword [esi + 0x10], 0x400
push ebx
je 0x4d0f94
call fcn.004b59f0
mov eax, dword [esi + 8]
add esp, 4
mov dword [eax + 0x48], 0x636f6d70
jmp 0x4d13c8
mov eax, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x7c], eax
call fcn.004b59f0
add esp, 4
mov dword [esp + 0x14], edi
cmp dword [esp + 0x34], edi
jbe 0x4d1115
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
inc edx
shl ecx, 5
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x68], eax
movsx eax, word [ebx + 0x16]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x34]
push 0
push edx
push dword [ecx + eax]
push esi
call fcn.004d07a0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
mov edi, dword [ebx + 0x34]
mov eax, 0x200
mov ecx, dword [esp + 0x18]
add edi, ecx
test word [edi + 4], ax
jne 0x4d10c8
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0xb0], eax
movsx eax, word [ebx + 0x16]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
cmp eax, edx
je 0x4d10f7
push edx
push dword [esp + 0x48]
push edi
push esi
call fcn.004cae10
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 0x20
mov edx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x34]
jb 0x4d0fe4
test byte [esi + 0x10], 2
mov eax, dword [esp + 0x74]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xa4], eax
jne 0x4d1166
test edi, edi
je 0x4d1166
mov eax, 0x100
test word [edi + 4], ax
je 0x4d1166
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x40], eax
jbe 0x4d1166
push dword [esp + 0x24]
push eax
push esi
call fcn.004cb040
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
cmp dword [ebx + 0x30], 0
je 0x4d13c8
mov eax, dword [ebx + 0x34]
mov ecx, 0x400
test word [eax + 4], cx
je 0x4d13c8
or dword [ebx + 0x24], 0x40
jmp 0x4d13c8
push dword [esp + 0x18]
push esi
call fcn.004d2130
push esi
call fcn.004d2890
add esp, 0xc
test dword [ebp + 4], 0x7fff0000
jne 0x4d11b4
test dword [ebp + 8], 0x8000
je 0x4d1266
mov eax, dword [esi + 0x44]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x48]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0x50]
push eax
mov dword [esp + 0xbc], ecx
lea eax, [esp + 0x4c]
mov ecx, dword [esi + 0xb8]
push eax
mov dword [esp + 0xc8], ecx
mov ecx, dword [esi + 0xc0]
push esi
movups xmmword [esp + 0xd8], xmm0
mov dword [esp + 0xd4], ecx
movups xmmword [esp + 0xe8], xmm0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.004ce3c0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d13c8
test byte [esi + 0x10], 1
jne 0x4d13c0
mov eax, dword [esi + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc0], eax
mov dword [esp + 0x10], 0
cmp byte [esp + 0x2b], 0
je 0x4d13ea
mov eax, dword [ebp + 0x80]
lea edx, [esp + 0x7c]
push edx
mov eax, dword [eax + 0x34]
mov ecx, dword [eax]
push dword [eax + 4]
mov eax, dword [ecx + 4]
call eax
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ab3d6
add esp, 0xe0
ret