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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov edx, dword [ebx + 0x8886c]
mov ecx, dword [ebx + 0x88868]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x2c]
push esi
mov esi, dword [ebx + 0xcc]
sub edx, esi
dec edx
neg edx
sbb edx, edx
mov eax, dword [0x303328c0]
inc edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
test esi, esi
sete cl
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xf0]
push edi
mov dword [esp + 8], eax
mov edi, esi
and edi, 3
lea edx, [ecx + edx*2]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x6880c]
mov dword [esp + 0xc], edx
xor edx, edx
mov dl, byte [ebx + 0x11c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edi
and edx, 1
lea eax, [edx + eax*2]
lea edx, [edi + eax*4]
imul edx, edx, 0x1b0
lea eax, [edx + ebx + 0x66d0c]
mov dword [esp + 0x14], eax
cmp dword [ebx], 0
je 0x3024776f
mov edi, dword [ebx + 0xd0]
mov edx, dword [ebx + 0x40]
mov eax, edi
imul edi, dword [esp + 0x2c]
imul eax, ecx
lea ecx, [edx + 2]
add eax, esi
shl edi, cl
xor ecx, ecx
shl eax, 4
cmp edx, 3
sete cl
mov edx, esi
add ecx, 3
jmp 0x302477b4
mov edx, dword [ebx + 0xd0]
mov eax, dword [ebx + 0x88874]
mov edi, dword [ebx + 0x88878]
imul eax, esi
mov dword [esp + 0x24], edx
imul edx, ecx
imul edi, esi
mov ecx, dword [ebx + 0x40]
add eax, edx
xor edx, edx
shl eax, 4
cmp ecx, 3
sete dl
add edx, 3
mov ecx, edx
mov edx, dword [esp + 0x24]
imul edx, dword [esp + 0x2c]
shl edi, cl
mov ecx, dword [ebx + 0x40]
add ecx, 2
shl edx, cl
shl esi, 4
mov dword [ebx + 0xf8], esi
mov ecx, dword [ebx + 0xd0]
shl ecx, 4
mov dword [ebx + 0xfc], ecx
add edi, edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xf4], 0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov esi, 2
je 0x3024787f
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x30247845
mov ecx, dword [ebp + 8]
test byte [ecx + 0xc], 0x80
je 0x30247819
add eax, edx
mov dword [esp + 0x30], eax
add edi, dword [esp + 0x2c]
mov dword [ebx + 0xf4], esi
jmp 0x30247841
mov ecx, edx
shl ecx, 4
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x40]
xor ecx, ecx
cmp eax, 1
mov eax, dword [esp + 0x2c]
setg cl
add ecx, 3
shl eax, cl
add edi, eax
add dword [ebx + 0xfc], 0x10
mov dword [esp + 0x34], edi
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xc]
test al, al
jns 0x3024787f
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax]
add edx, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0xfc]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xc]
lea eax, [edx + edx]
sar ecx, 1
mov dword [esp + 0xc], eax
mov dword [ebx + 0xfc], ecx
add dword [ebx + 0xf4], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test cl, 7
je 0x30247f68
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x14]
xor eax, eax
test esi, esi
setne al
dec eax
and eax, edx
test esi, esi
je 0x302478c2
test cl, cl
jns 0x302478c2
test dword [edi - 0x14], 0x978
je 0x302478c2
mov eax, dword [esp + 0x10]
imul eax, eax, 0x1b0
lea eax, [eax + ebx + 0x673cc]
test eax, eax
je 0x30247b6f
mov edx, dword [ebx + 0x88854]
imul edx, dword [ebx + 0xcc]
mov esi, dword [ebx + 0x88858]
mov dword [esp + 0x1c], esi
mov esi, dword [ebx + 0x88834]
add esi, edx
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x74]
test edx, edx
mov edx, dword [eax + 0x84]
je 0x3024794b
mov di, word [ebx + 0x8883c]
mov word [edx], di
mov edx, dword [eax + 0x80]
movq mm0, qword [esi + 8]
movq mm1, qword [esi]
mov edi, dword [esp + 0x1c]
movq qword [edx], mm1
movq qword [edx + 8], mm0
movq mm0, qword [esi + 0x18]
movq mm1, qword [esi + 0x10]
movq qword [edx + 0x10], mm1
movq qword [edx + 0x18], mm0
mov edx, dword [eax + 0x80]
movq mm0, qword [esi + edi + 0x28]
movq mm1, qword [esi + edi + 0x20]
add esi, 0x20
add edx, 0x20
movq qword [edx], mm1
movq qword [edx + 8], mm0
jmp 0x30247987
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov cl, byte [ebx + 0x8883c]
mov byte [edx], cl
mov edx, dword [eax + 0x80]
movq mm0, qword [esi + 8]
movq mm1, qword [esi]
mov ecx, dword [esp + 0x24]
movq qword [edx], mm1
movq qword [edx + 8], mm0
mov edx, dword [eax + 0x80]
movq mm0, qword [esi + edi + 0x10]
add esi, 0x10
add edx, 0x10
movq qword [edx], mm0
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x30247a1b
mov edx, dword [ebx + 0x78]
test edx, edx
mov edx, dword [eax + 0x114]
je 0x302479e4
mov di, word [ebx + 0x88840]
mov word [edx], di
mov edx, dword [eax + 0x110]
movq mm0, qword [esi + 8]
movq mm1, qword [esi]
movq qword [edx], mm1
movq qword [edx + 8], mm0
mov edx, dword [eax + 0x1a4]
mov di, word [ebx + 0x88844]
mov word [edx], di
mov edx, dword [eax + 0x1a0]
movq mm0, qword [esi + 0x18]
movq mm1, qword [esi + 0x10]
movq qword [edx], mm1
movq qword [edx + 8], mm0
jmp 0x30247a1b
mov dword [esp + 0x24], ecx
mov cl, byte [ebx + 0x88840]
mov byte [edx], cl
mov edx, dword [eax + 0x110]
movq mm0, qword [esi]
movq qword [edx], mm0
mov edx, dword [eax + 0x1a4]
mov cl, byte [ebx + 0x88844]
mov byte [edx], cl
mov edx, dword [eax + 0x1a0]
movq mm0, qword [esi + 8]
mov ecx, dword [esp + 0x24]
movq qword [edx], mm0
test cl, cl
jns 0x30247b6f
mov esi, dword [ebx + 0x88838]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x74]
mov edi, dword [ebx + 0x6880c]
add esi, edx
test ecx, ecx
mov ecx, dword [eax + 0x84]
je 0x30247a99
mov dx, word [ebx + 0x88848]
sub ecx, edi
mov word [ecx], dx
mov ecx, dword [eax + 0x80]
movq mm0, qword [esi + 8]
movq mm1, qword [esi]
mov edx, dword [esp + 0x1c]
sub ecx, edi
movq qword [ecx], mm1
movq qword [ecx + 8], mm0
movq mm0, qword [esi + 0x18]
movq mm1, qword [esi + 0x10]
movq qword [ecx + 0x10], mm1
movq qword [ecx + 0x18], mm0
mov ecx, dword [eax + 0x80]
movq mm0, qword [esi + edx + 0x28]
movq mm1, qword [esi + edx + 0x20]
add esi, 0x20
sub ecx, edi
add ecx, 0x20
movq qword [ecx], mm1
movq qword [ecx + 8], mm0
jmp 0x30247ad3
mov dl, byte [ebx + 0x88848]
sub ecx, edi
mov byte [ecx], dl
mov ecx, dword [eax + 0x80]
movq mm0, qword [esi + 8]
movq mm1, qword [esi]
mov edx, dword [esp + 0x1c]
sub ecx, edi
movq qword [ecx], mm1
movq qword [ecx + 8], mm0
mov ecx, dword [eax + 0x80]
movq mm0, qword [esi + edx + 0x10]
add esi, 0x10
sub ecx, edi
add ecx, 0x10
movq qword [ecx], mm0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x30247b6f
mov ecx, dword [ebx + 0x78]
test ecx, ecx
mov ecx, dword [eax + 0x114]
je 0x30247b38
mov dx, word [ebx + 0x8884c]
sub ecx, edi
mov word [ecx], dx
mov ecx, dword [eax + 0x110]
movq mm0, qword [esi + 8]
movq mm1, qword [esi]
sub ecx, edi
movq qword [ecx], mm1
movq qword [ecx + 8], mm0
mov ecx, dword [eax + 0x1a4]
mov dx, word [ebx + 0x88850]
sub ecx, edi
mov word [ecx], dx
mov eax, dword [eax + 0x1a0]
movq mm0, qword [esi + 0x18]
movq mm1, qword [esi + 0x10]
sub eax, edi
movq qword [eax], mm1
movq qword [eax + 8], mm0
jmp 0x30247b6f
mov dl, byte [ebx + 0x8884c]
sub ecx, edi
mov byte [ecx], dl
mov ecx, dword [eax + 0x110]
movq mm0, qword [esi]
sub ecx, edi
movq qword [ecx], mm0
mov ecx, dword [eax + 0x1a4]
mov dl, byte [ebx + 0x88850]
sub ecx, edi
mov byte [ecx], dl
mov eax, dword [eax + 0x1a0]
movq mm0, qword [esi + 8]
sub eax, edi
movq qword [eax], mm0
mov eax, dword [ebp + 8]
test byte [eax + 0xc], 4
je 0x30247e20
mov eax, dword [ebx + 0x74]
mov edi, dword [esp + 0xc]
xor edx, edx
xor esi, esi
test eax, eax
je 0x30247bd4
jmp 0x30247b90
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x3f6d4]
movq mm0, qword [ecx + edx + 8]
movq mm1, qword [ecx + edx]
add ecx, edx
add eax, esi
movq qword [eax], mm1
movq qword [eax + 8], mm0
movq mm0, qword [ecx + 0x18]
movq mm1, qword [ecx + 0x10]
add edx, 0x20
add esi, edi
cmp edx, 0x200
movq qword [eax + 0x10], mm1
movq qword [eax + 0x18], mm0
jl 0x30247b90
mov ecx, 0x80
jmp 0x30247c06
mov ecx, dword [ebx + 0x3f6d4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
movq mm0, qword [ecx + edx + 8]
movq mm1, qword [ecx + edx]
add ecx, edx
add eax, esi
add edx, 0x10
add esi, edi
cmp edx, 0x100
movq qword [eax], mm1
movq qword [eax + 8], mm0
jl 0x30247bd4
mov ecx, 0x40
mov edi, dword [ebx + 0x3f6d4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x30248387
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
add edx, 0x90
jmp 0x30247c37
xor esi, esi
mov eax, dword [ebx + 0x40]
cmp eax, 1
mov edi, dword [esp + 0xc]
mov ecx, 8
jne 0x30247ce4
cmp dword [ebx + 0x78], esi
jne 0x30247c94
mov dword [esp + 8], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
lea ecx, [ecx]
mov ecx, dword [esp + 8]
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [ebx + 0x3f6d8]
movq mm0, qword [ecx + esi]
add ecx, esi
mov ecx, dword [esp + 8]
movq qword [eax], mm0
mov eax, dword [esp + 0x10]
add ecx, edi
add esi, 8
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x30247c60
jmp 0x30247dcf
mov dword [esp + 8], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov eax, dword [edx]
add eax, dword [esp + 8]
mov ecx, dword [ebx + 0x3f6d8]
movq mm0, qword [ecx + esi + 8]
movq mm1, qword [ecx + esi]
add ecx, esi
mov ecx, dword [esp + 8]
movq qword [eax], mm1
movq qword [eax + 8], mm0
mov eax, dword [esp + 0x10]
add ecx, edi
add esi, 0x10
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x30247ca0
mov esi, dword [esp + 0x18]
mov ecx, 0x20
jmp 0x30247dd8
cmp eax, 2
jne 0x30247d91
cmp dword [ebx + 0x78], esi
jne 0x30247d3f
mov dword [esp + 8], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0x10
mov ecx, dword [esp + 8]
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [ebx + 0x3f6d8]
movq mm0, qword [ecx + esi]
add ecx, esi
mov ecx, dword [esp + 8]
movq qword [eax], mm0
mov eax, dword [esp + 0x10]
add ecx, edi
add esi, 8
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x30247d02
mov esi, dword [esp + 0x18]
mov ecx, 0x20
jmp 0x30247dd8
mov dword [esp + 8], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], 0x10
nop
mov eax, dword [edx]
add eax, dword [esp + 8]
mov ecx, dword [ebx + 0x3f6d8]
movq mm0, qword [ecx + esi + 8]
movq mm1, qword [ecx + esi]
add ecx, esi
mov ecx, dword [esp + 8]
movq qword [eax], mm1
movq qword [eax + 8], mm0
mov eax, dword [esp + 0x10]
add ecx, edi
add esi, 0x10
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x30247d50
mov esi, dword [esp + 0x20]
mov ecx, 0x40
jmp 0x30247dd8
mov dword [esp + 8], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
lea ecx, [ecx]
mov ecx, dword [esp + 8]
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [ebx + 0x3f6d8]
movq mm0, qword [ecx + esi]
add ecx, esi
mov ecx, dword [esp + 8]
movq qword [eax], mm0
mov eax, dword [esp + 0x10]
add ecx, edi
add esi, 8
dec eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jne 0x30247da0
mov esi, dword [esp + 0x1c]
mov ecx, 0x10
mov edi, dword [ebx + 0x3f6d8]
xor eax, eax
add edi, esi
mov esi, dword [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, 0x80
add ecx, 0x100
add esi, 0x40
add edx, 0x90
cmp eax, 0x100
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
jl 0x30247c35
jmp 0x30248387
mov eax, dword [ebx + 0xe8]
test eax, eax
mov dword [esp + 0x18], 0x5744
mov dword [esp + 0x1c], 0xfac8
mov esi, 0xffcc
mov edi, 0xfafa
je 0x30247e5c
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
mov cl, 7
je 0x30247e52
test byte [eax + 0xc], cl
je 0x30247e5e
mov dword [esp + 0x18], 0x5764
jmp 0x30247e5e
mov cl, 7
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x30247e82
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x30247e74
test byte [eax + 0xc], cl
je 0x30247e82
or dword [esp + 0x18], 0x13
mov esi, 0xffff
mov dword [esp + 0x1c], edi
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x30247eaa
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x30247e98
test byte [eax + 0xc], cl
je 0x30247eaa
mov eax, dword [esp + 0x1c]
or eax, 0x504
mov edi, 0xffff
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x30247ec5
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x30247ec0
test byte [eax + 0xc], cl
je 0x30247ec5
or dword [esp + 0x1c], 1
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x30247eeb
cmp eax, 3
jge 0x30247eeb
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push esi
push edi
push ecx
push edx
push eax
push ebx
call dword [ebx + 0x8888c]
add esp, 0x18
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
test al, 1
je 0x30247f49
test eax, 0x1000000
jne 0x30247f20
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 8]
push esi
push edi
push eax
push ecx
push edx
push ebx
call dword [ebx + 0x88880]
add esp, 0x1c
jmp 0x30248387
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ecx
push ebx
call dword [ebx + 0x88884]
add esp, 0x20
jmp 0x30248387
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ecx
push ebx
call dword [ebx + 0x88888]
add esp, 0x18
jmp 0x30248387
test cl, 8
je 0x30247fa0
mov eax, dword [esp + 0xc]
mov esi, ecx
and ecx, 0x1000
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [ebx + 0x888dc]
push edx
push eax
push ecx
and esi, 0x4000
push 0x10
xor eax, eax
mov ecx, ebx
call fcn.30247620
add esp, 0x14
jmp 0x302481b5
test cl, 0x10
je 0x30248005
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov esi, ecx
and ecx, 0x1000
push ecx
lea edi, [ebx + 0x888f4]
push edi
push edx
push eax
and esi, 0x4000
push 8
xor eax, eax
mov ecx, ebx
call fcn.30247620
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x20]
mov esi, eax
and eax, 0x2000
push eax
mov eax, dword [esp + 0x2c]
push edi
push edx
push eax
and esi, 0x8000
push 8
mov eax, 8
mov ecx, ebx
call fcn.30247620
add esp, 0x28
jmp 0x302481b5
test cl, 0x20
je 0x3024806a
mov edx, dword [esp + 0x14]
mov esi, ecx
and ecx, 0x1000
push ecx
mov ecx, dword [esp + 0x10]
lea edi, [ebx + 0x8890c]
push edi
push ecx
push edx
and esi, 0x4000
push 0x10
xor eax, eax
mov ecx, ebx
call fcn.30247620
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, eax
and eax, 0x2000
push eax
push edi
push ecx
push edx
and esi, 0x8000
push 0x10
mov eax, 4
mov ecx, ebx
call fcn.30247620
add esp, 0x28
jmp 0x302481b5
lea eax, [ebx + 0xd8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ecx, dword [esp + 0x20]
movsx eax, word [ecx]
mov edi, eax
mov esi, eax
and edi, 0x1000
and esi, 0x4000
test al, 8
je 0x302480c2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push edi
lea edx, [ebx + 0x88924]
push edx
push eax
mov eax, dword [esp + 0x24]
push ecx
push 8
mov ecx, ebx
call fcn.30247620
add esp, 0x14
jmp 0x30248196
test al, 0x10
je 0x3024810f
mov edx, dword [esp + 0xc]
push edi
lea eax, [ebx + 0x8893c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x28]
push 4
mov ecx, ebx
call fcn.30247620
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push edi
lea eax, [ebx + 0x8893c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
add eax, 2
push 4
mov ecx, ebx
call fcn.30247620
add esp, 0x28
jmp 0x30248196
test al, 0x20
je 0x30248157
mov ecx, dword [esp + 0x14]
push edi
lea eax, [ebx + 0x88954]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push ecx
push 8
mov ecx, ebx
call fcn.30247620
mov edx, dword [esp + 0x20]
push edi
lea eax, [ebx + 0x88954]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x3c]
inc eax
push 8
mov ecx, ebx
call fcn.30247620
add esp, 0x28
jmp 0x30248196
mov dword [esp + 8], 0
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push edi
lea eax, [ebx + 0x8896c]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
add eax, ecx
push 4
mov ecx, ebx
call fcn.30247620
mov eax, dword [esp + 0x1c]
add esp, 0x14
inc eax
cmp eax, 4
mov dword [esp + 8], eax
jl 0x30248160
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
add eax, 4
add esi, 2
cmp eax, 0x10
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jl 0x30248080
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
test eax, 0xffff
je 0x3024827d
test dword [ecx + 0xc], 0x1000000
jne 0x30248230
mov eax, dword [ecx + 4]
shr eax, 1
and eax, 0xffff
mov dword [esp + 0x10], eax
je 0x3024827d
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x302481f0
cmp esi, 0x200
jge 0x3024827d
test al, 1
je 0x3024821e
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 0x3f6d4]
mov ecx, dword [edi]
push edx
add eax, esi
push eax
push ecx
call dword [ebx + 0x88890]
mov eax, dword [esp + 0x1c]
add esp, 0xc
sar eax, 1
add esi, 0x20
add edi, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x302481f0
jmp 0x3024827d
and eax, 0xf
mov dword [esp + 0x10], eax
je 0x3024827d
mov edi, dword [esp + 0x14]
xor esi, esi
nop
cmp esi, 0x200
jge 0x3024827d
test al, 1
je 0x3024826a
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 0x3f6d4]
mov ecx, dword [edi]
push edx
add eax, esi
push eax
push ecx
call dword [ebx + 0x88894]
mov eax, dword [esp + 0x1c]
add esp, 0xc
sar eax, 1
add esi, 0x80
add edi, 0x20
test eax, eax
mov dword [esp + 0x10], eax
jne 0x30248240
mov edx, dword [esp + 0x14]
xor ecx, ecx
xor eax, eax
add edx, 0x90
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 8]
mov esi, 0x20000
shl esi, cl
test dword [edx + 4], esi
je 0x302482ce
mov edx, dword [ebx + 0x3f6d8]
mov ecx, dword [esp + 0xc]
push ecx
add edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push ecx
call dword [ebx + 0x888a0]
add esp, 0xc
jmp 0x30248342
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x20]
shr eax, cl
mov edi, 0
and eax, 0xffff
mov dword [esp + 0x10], eax
je 0x30248342
xor esi, esi
lea esp, [esp]
cmp esi, 0x80
jge 0x30248342
test al, 1
je 0x30248333
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
mov edx, dword [ebx + 0x3f6d8]
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x18]
shl ecx, 5
add ecx, edx
mov edx, dword [esp + 0x20]
push ecx
add edx, esi
mov ecx, dword [edx + eax + 0x90]
push ecx
call dword [ebx + 0x8889c]
mov eax, dword [esp + 0x1c]
add esp, 0xc
sar eax, 4
inc edi
add esi, 0x20
test eax, eax
mov dword [esp + 0x10], eax
jne 0x302482f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add edx, 0x10
mov dword [esp + 0x20], edx
mov edx, 0x90
add eax, 0x80
inc ecx
add edi, edx
add esi, edx
cmp eax, 0x100
mov dword [esp + 8], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
jl 0x3024829f
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x3024839c
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x30248599
mov edx, dword [ebx + 0x88854]
imul edx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0x88834]
mov ecx, dword [ebx + 0x74]
mov esi, dword [esp + 0x14]
add eax, edx
test ecx, ecx
je 0x302483ef
movzx ecx, word [eax + 0x1e]
mov dword [ebx + 0x8883c], ecx
mov ecx, dword [esi + 0x88]
movq mm0, qword [ecx + 8]
movq mm1, qword [ecx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
movq mm0, qword [ecx + 0x18]
movq mm1, qword [ecx + 0x10]
movq qword [eax + 0x10], mm1
movq qword [eax + 0x18], mm0
add eax, 0x20
jmp 0x30248410
movzx ecx, byte [eax + 0xf]
mov dword [ebx + 0x8883c], ecx
mov ecx, dword [esi + 0x88]
movq mm0, qword [ecx + 8]
movq mm1, qword [ecx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
add eax, 0x10
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x30248492
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x30248463
movzx ecx, word [eax + 0xe]
mov dword [ebx + 0x88840], ecx
mov ecx, dword [esi + 0x118]
movq mm0, qword [ecx + 8]
movq mm1, qword [ecx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
movzx ecx, word [eax + 0x1e]
add eax, 0x10
mov dword [ebx + 0x88844], ecx
mov ecx, dword [esi + 0x1a8]
movq mm0, qword [ecx + 8]
movq mm1, qword [ecx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
jmp 0x30248492
movzx ecx, byte [eax + 7]
mov dword [ebx + 0x88840], ecx
mov ecx, dword [esi + 0x118]
movq mm0, qword [ecx]
movq qword [eax], mm0
movzx ecx, byte [eax + 0xf]
add eax, 8
mov dword [ebx + 0x88844], ecx
mov ecx, dword [esi + 0x1a8]
movq mm0, qword [ecx]
movq qword [eax], mm0
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x3024859d
mov eax, dword [ebx + 0x88838]
mov ecx, dword [ebx + 0x6880c]
add eax, edx
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x302484ea
movzx edx, word [eax + 0x1e]
mov dword [ebx + 0x88848], edx
mov edx, dword [esi + 0x88]
sub edx, ecx
movq mm0, qword [edx + 8]
movq mm1, qword [edx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
movq mm0, qword [edx + 0x18]
movq mm1, qword [edx + 0x10]
movq qword [eax + 0x10], mm1
movq qword [eax + 0x18], mm0
add eax, 0x20
jmp 0x3024850d
movzx edx, byte [eax + 0xf]
mov dword [ebx + 0x88848], edx
mov edx, dword [esi + 0x88]
sub edx, ecx
movq mm0, qword [edx + 8]
movq mm1, qword [edx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
add eax, 0x10
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x3024859d
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x30248564
movzx edx, word [eax + 0xe]
mov dword [ebx + 0x8884c], edx
mov edx, dword [esi + 0x118]
sub edx, ecx
movq mm0, qword [edx + 8]
movq mm1, qword [edx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
movzx edx, word [eax + 0x1e]
add eax, 0x10
mov dword [ebx + 0x88850], edx
mov edx, dword [esi + 0x1a8]
sub edx, ecx
movq mm0, qword [edx + 8]
movq mm1, qword [edx]
movq qword [eax], mm1
movq qword [eax + 8], mm0
jmp 0x3024859d
movzx edx, byte [eax + 7]
mov dword [ebx + 0x8884c], edx
mov edx, dword [esi + 0x118]
sub edx, ecx
movq mm0, qword [edx]
movq qword [eax], mm0
movzx edx, byte [eax + 0xf]
add eax, 8
mov dword [ebx + 0x88850], edx
mov edx, dword [esi + 0x1a8]
sub edx, ecx
movq mm0, qword [edx]
movq qword [eax], mm0
jmp 0x3024859d
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x88984]
test eax, eax
jne 0x30248624
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi]
mov edx, dword [ebx + 0x8885c]
push edi
push eax
mov eax, dword [esp + 0x40]
push ecx
add edx, dword [esp + 0x3c]
push edx
call dword [ebx + eax*4 + 0x888a4]
mov eax, dword [ebx + 0x40]
add esp, 0x10
test eax, eax
je 0x30248642
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x120]
mov eax, dword [esi + 0x90]
push edi
push ecx
mov ecx, dword [ebx + 0x88864]
push edx
mov edx, dword [ebx + 0x88860]
push eax
mov eax, dword [esp + 0x44]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x48]
push ecx
push edx
call dword [ebx + eax*4 + 0x888b4]
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x3c]
call fcn.3028e0e3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x34]
push edx
push eax
push esi
push ecx
mov ecx, ebx
call fcn.3023dfe0
add esp, 0x14
mov ecx, dword [esp + 0x3c]
mov eax, 1
call fcn.3028e0e3
pop edi
pop esi
mov esp, ebp
pop ebp
ret