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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x52a90c], ebp
call fcn.0048e7b0
movsx eax, word [0x532ae2]
mov ecx, dword [0x533994]
add eax, 0xb
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*8]
call fcn.00477900
call fcn.00477230
mov eax, dword [0x7538b9]
mov ecx, dword [esp + 0xb0]
push ecx
push 2
mov edx, dword [eax]
push eax
call dword [edx + 0x60]
mov edi, dword [esp + 0xa4]
mov ax, word [edi + 0xa]
cmp ax, bp
je 0x47c9d8
mov esi, dword [0x7538bd]
mov ecx, dword [0x7537e8]
push ebp
push esi
mov esi, dword [edi + 0x1e]
mov edx, dword [ecx]
movsx eax, ax
push ebp
push esi
push eax
push ebp
push 0x401
push ecx
call dword [edx + 0x14]
push eax
call fcn.0048f8a0
add esp, 4
mov eax, dword [0x7537e8]
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, dword [eax]
push 0x10
push eax
call dword [ecx + 0xc]
mov eax, dword [0x753c20]
mov ecx, dword [0x753bac]
mov edx, dword [0x754034]
mov dword [0x52a908], eax
mov eax, dword [0x753c64]
mov dword [0x52a900], ecx
mov ecx, dword [0x753bfc]
mov dword [0x52a904], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xac]
mov dword [0x52a21c], edx
mov edx, dword [0x753c00]
mov dword [0x753bfc], eax
mov dword [0x753c00], ecx
mov ax, word [edi + 0xa]
cmp ax, bp
mov dword [esp + 0x18], edx
je 0x47ca93
mov edx, dword [0x753854]
mov ecx, dword [esp + 0x10]
push edx
push ecx
movsx edx, ax
push edx
call fcn.00470250
mov eax, dword [edi + 0x1a]
add esp, 0xc
cmp eax, ebp
je 0x47ca81
movsx ecx, word [edi + 0xa]
mov eax, dword [esp + 0x10]
push edi
push eax
push ecx
call fcn.0047b9f0
add esp, 0xc
jmp 0x47ca93
movsx eax, word [edi + 0xa]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.0047b900
add esp, 8
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov dword [0x753bfc], ecx
mov dword [0x753c00], edx
cmp word [edi + 0xe], bp
mov esi, dword [edi + 0x10]
mov dword [esp + 0x18], ebp
jle 0x47d152
mov ax, word [esi + 8]
mov byte [esp + 0x17], 0
and eax, 0x7fff
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov eax, dword [0x533990]
lea ebp, [eax + edx*2]
xor eax, eax
mov dword [esp + 0x44], ebp
mov ax, word [ebp]
mov dword [esp + 0x48], eax
mov al, byte [esi + 0xa]
test al, 1
je 0x47caef
mov word [ebp], 2
mov ax, word [esi + 0xa]
test al, 2
je 0x47cd59
movsx ecx, word [esi]
sar eax, 2
and eax, 0x1f
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x22]
push 0x753af8
mov byte [esp + 0x1b], 1
lea edx, [eax + ecx*4]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x6c], ecx
movsx ecx, word [esi + 2]
mov edx, dword [edx + 8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x70], edx
lea edx, [eax + ecx*4]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
movsx ecx, word [esi + 4]
mov edx, dword [edx + 8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x28], edx
lea edx, [eax + ecx*4]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
movsx ecx, word [esi + 6]
mov edx, dword [edx + 8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x40], edx
lea edx, [eax + ecx*4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x68]
mov ecx, dword [edx + 4]
push eax
mov dword [esp + 0x34], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x38], edx
call fcn.0048ea90
lea ecx, [esp + 0x24]
push 0x753af8
push ecx
call fcn.0048ea90
lea edx, [esp + 0x44]
push 0x753af8
push edx
call fcn.0048ea90
lea eax, [esp + 0x40]
push 0x753af8
push eax
call fcn.0048ea90
fld dword [esp + 0x84]
fmul dword [0x4a7320]
add esp, 0x20
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul dword [0x4a7320]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fmul dword [0x4a7320]
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fmul dword [0x4a7320]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [0x4a7320]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x4a7320]
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fmul dword [0x4a7320]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [0x4a7320]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [0x4a7320]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [0x4a7320]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [0x4a7320]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul dword [0x4a7320]
fstp dword [esp + 0x30]
fld dword [esp + 0x64]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fld dword [esp + 0x68]
fadd dword [ebx + 0xc]
fadd dword [0x4a7320]
fld dword [esp + 0x1c]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fstp dword [esp + 0x70]
fld dword [esp + 0x20]
fadd dword [ebx + 0xc]
mov eax, dword [esp + 0x70]
fadd dword [0x4a7320]
fstp dword [esp + 0x74]
fld dword [esp + 0x34]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fstp dword [esp + 0x54]
fld dword [esp + 0x38]
fadd dword [ebx + 0xc]
fadd dword [0x4a7320]
fstp dword [esp + 0x50]
fld dword [esp + 0x28]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fadd dword [ebx + 0xc]
mov word [esp + 0x78], 2
mov cx, word [ebp + 4]
mov word [esp + 0x7c], cx
mov dx, word [ebx]
fadd dword [0x4a7320]
mov ecx, dword [esp + 0x74]
mov word [esp + 0x7a], dx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x86], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8a], ecx
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x8e], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x92], eax
fxch st(1)
fstp dword [esp + 0x7e]
mov dword [esp + 0x96], ecx
mov dword [esp + 0x9a], edx
fstp dword [esp + 0x82]
cmp dword [0x4ab7b8], 0xff000000
je 0x47cd6b
mov word [ebp], 3
mov ax, word [esi + 6]
mov cx, word [esi + 4]
mov dx, word [esi + 2]
push 0
push ebp
push eax
mov ax, word [esi]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call dword [0x5339a4]
mov al, byte [esp + 0x33]
add esp, 0x1c
test al, al
je 0x47d12f
movsx edx, word [esi]
mov eax, dword [esp + 0x10]
shl edx, 5
mov ecx, dword [edx + eax + 0x10]
lea edi, [edx + eax]
movsx edx, word [esi + 2]
shl edx, 5
mov dword [esp + 0x40], ecx
lea ecx, [edx + eax]
mov edx, dword [edx + eax + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], ecx
movsx edx, word [esi + 4]
shl edx, 5
add edx, eax
mov ecx, dword [esp + 0x58]
mov ebp, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x60], edx
movsx ebp, word [esi + 6]
shl ebp, 5
mov dl, byte [edi + 0x12]
add eax, ebp
and edx, 0xff
mov ebp, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x5c], eax
lea eax, [ecx*8]
xor ecx, ecx
imul edx, eax
mov cl, byte [edi + 0x11]
mov dword [esp + 0x54], ebp
imul ecx, eax
mov ebp, dword [edi + 0x14]
sar edx, 8
mov dword [esp + 0x74], ebp
mov ebp, dword [edi + 0x10]
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi + 0x10], edx
mov ecx, dword [esp + 0x10]
movsx edx, word [esi + 2]
shl edx, 5
lea edi, [edx + ecx + 0x10]
xor ecx, ecx
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
and edx, 0xff
imul ecx, eax
imul edx, eax
mov ebp, dword [edi]
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ecx, dword [esp + 0x10]
movsx edx, word [esi + 4]
shl edx, 5
mov ebp, dword [edx + ecx + 0x10]
lea edi, [edx + ecx + 0x10]
mov dl, byte [edx + ecx + 0x12]
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 1]
imul edx, eax
imul ecx, eax
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ecx, dword [esp + 0x10]
movsx edx, word [esi + 6]
shl edx, 5
lea edi, [edx + ecx + 0x10]
xor ecx, ecx
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
and edx, 0xff
imul ecx, eax
imul edx, eax
mov ebp, dword [edi]
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ecx, dword [esp + 0x10]
movsx edx, word [esi]
shl edx, 5
lea edi, [edx + ecx + 0x14]
xor ecx, ecx
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
and edx, 0xff
imul ecx, eax
imul edx, eax
mov ebp, dword [edi]
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ecx, dword [esp + 0x10]
movsx edx, word [esi + 2]
shl edx, 5
lea edi, [edx + ecx + 0x14]
xor ecx, ecx
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
and edx, 0xff
imul ecx, eax
imul edx, eax
mov ebp, dword [edi]
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ebp, 0xff000000
and ecx, 0xff
push 0
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ecx, dword [esp + 0x14]
movsx edx, word [esi + 4]
shl edx, 5
lea edi, [edx + ecx + 0x14]
xor ecx, ecx
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
and edx, 0xff
imul ecx, eax
imul edx, eax
mov ebp, dword [edi]
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ecx, dword [esp + 0x14]
movsx edx, word [esi + 6]
shl edx, 5
lea edi, [edx + ecx + 0x14]
xor ecx, ecx
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
and edx, 0xff
imul ecx, eax
imul edx, eax
mov ebp, dword [edi]
sar edx, 8
shl edx, 8
sar ecx, 8
or edx, ecx
mov ecx, ebp
and ecx, 0xff
and ebp, 0xff000000
imul ecx, eax
shl edx, 8
sar ecx, 8
or edx, ecx
or edx, ebp
mov dword [edi], edx
mov ax, word [esi + 6]
mov cx, word [esi + 4]
lea edx, [esp + 0x7c]
push edx
mov dx, word [esi + 2]
push eax
mov ax, word [esi]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call dword [0x5339a4]
movsx edx, word [esi]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
shl edx, 5
add esp, 0x1c
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 2]
mov ecx, dword [esp + 0x4c]
shl edx, 5
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 4]
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
shl edx, 5
mov edi, dword [esp + 0xa4]
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 6]
mov ecx, dword [esp + 0x54]
shl edx, 5
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi]
mov ecx, dword [esp + 0x74]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 2]
mov ecx, dword [esp + 0x70]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 4]
mov ecx, dword [esp + 0x60]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 6]
mov ecx, dword [esp + 0x5c]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov dx, word [esp + 0x48]
mov eax, dword [esp + 0x18]
mov word [ebp], dx
inc eax
movsx ecx, word [edi + 0xe]
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47cab8
xor ebp, ebp
cmp word [edi + 0x14], bp
mov esi, dword [edi + 0x16]
mov dword [esp + 0x18], ebp
jle 0x47d680
mov ax, word [esi + 6]
mov ecx, dword [0x533990]
and eax, 0x7fff
mov byte [esp + 0x17], 0
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
lea ebp, [ecx + eax*2]
xor eax, eax
mov dword [esp + 0x50], ebp
mov ax, word [ebp]
mov dword [esp + 0x54], eax
mov al, byte [esi + 8]
test al, 1
je 0x47d19b
mov word [ebp], 2
mov ax, word [esi + 8]
test al, 2
je 0x47d371
movsx ecx, word [esi]
sar eax, 2
and eax, 0x1f
lea edx, [ecx + ecx*2]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x22]
push 0x753af8
lea ecx, [eax + edx*4]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], ecx
movsx ecx, word [esi + 2]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*4]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x40], ecx
movsx ecx, word [esi + 4]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*4]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
call fcn.0048ea90
lea edx, [esp + 0x3c]
push 0x753af8
push edx
call fcn.0048ea90
lea eax, [esp + 0x2c]
push 0x753af8
push eax
call fcn.0048ea90
fld dword [esp + 0x40]
fmul dword [0x4a7320]
add esp, 0x18
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [0x4a7320]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul dword [0x4a7320]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul dword [0x4a7320]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [0x4a7320]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [0x4a7320]
fstp dword [esp + 0x3c]
fld dword [esp + 0x1c]
fmul dword [0x4a7320]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [0x4a7320]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x4a7320]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fld dword [esp + 0x2c]
fadd dword [ebx + 0xc]
fadd dword [0x4a7320]
fld dword [esp + 0x34]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fstp dword [esp + 0x48]
fld dword [esp + 0x38]
fadd dword [ebx + 0xc]
mov eax, dword [esp + 0x48]
mov byte [esp + 0x17], 1
fadd dword [0x4a7320]
fstp dword [esp + 0x44]
fld dword [esp + 0x1c]
fadd dword [ebx + 8]
fadd dword [0x4a7320]
fstp dword [esp + 0x5c]
fld dword [esp + 0x20]
fadd dword [ebx + 0xc]
mov word [esp + 0x78], 2
mov cx, word [ebp + 4]
mov word [esp + 0x7c], cx
mov dx, word [ebx]
fadd dword [0x4a7320]
mov ecx, dword [esp + 0x44]
mov word [esp + 0x7a], dx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x86], eax
mov dword [esp + 0x8a], ecx
mov dword [esp + 0x8e], edx
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
fxch st(1)
fstp dword [esp + 0x7e]
mov dword [esp + 0x92], eax
fstp dword [esp + 0x82]
cmp dword [0x4ab7b8], 0xff000000
je 0x47d383
mov word [ebp], 3
mov cx, word [esi + 4]
mov dx, word [esi + 2]
mov ax, word [esi]
push 0
push ebp
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [0x53399c]
mov al, byte [esp + 0x2f]
add esp, 0x18
test al, al
je 0x47d65f
movsx edx, word [esi]
mov eax, dword [esp + 0x10]
shl edx, 5
mov ecx, dword [edx + eax + 0x10]
lea edi, [edx + eax]
movsx edx, word [esi + 2]
shl edx, 5
mov dword [esp + 0x48], ecx
mov ebp, dword [edi + 0x10]
lea ecx, [edx + eax]
mov edx, dword [edx + eax + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
movsx edx, word [esi + 4]
shl edx, 5
add eax, edx
mov cl, byte [edi + 0x12]
and ecx, 0xff
mov edx, dword [eax + 0x10]
mov dword [esp + 0x5c], edx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
shl eax, 3
xor edx, edx
imul ecx, eax
mov dl, byte [edi + 0x11]
imul edx, eax
sar ecx, 8
shl ecx, 8
sar edx, 8
or ecx, edx
mov edx, ebp
and edx, 0xff
and ebp, 0xff000000
imul edx, eax
shl ecx, 8
sar edx, 8
or ecx, edx
or ecx, ebp
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x10]
movsx ecx, word [esi + 2]
shl ecx, 5
lea edi, [ecx + edx + 0x10]
xor edx, edx
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
and ecx, 0xff
imul edx, eax
imul ecx, eax
mov ebp, dword [edi]
sar ecx, 8
shl ecx, 8
sar edx, 8
or ecx, edx
mov edx, ebp
and edx, 0xff
and ebp, 0xff000000
imul edx, eax
shl ecx, 8
sar edx, 8
or ecx, edx
or ecx, ebp
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
movsx ecx, word [esi + 4]
shl ecx, 5
lea edi, [ecx + edx + 0x10]
xor edx, edx
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
and ecx, 0xff
mov ebp, dword [edi]
imul ecx, eax
sar ecx, 8
shl ecx, 8
imul edx, eax
sar edx, 8
or ecx, edx
mov edx, ebp
and edx, 0xff
and ebp, 0xff000000
imul edx, eax
shl ecx, 8
sar edx, 8
or ecx, edx
or ecx, ebp
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
movsx ecx, word [esi]
shl ecx, 5
lea edi, [ecx + edx + 0x14]
xor edx, edx
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
and ecx, 0xff
imul edx, eax
imul ecx, eax
mov ebp, dword [edi]
sar ecx, 8
shl ecx, 8
sar edx, 8
or ecx, edx
mov edx, ebp
and edx, 0xff
and ebp, 0xff000000
imul edx, eax
shl ecx, 8
sar edx, 8
or ecx, edx
or ecx, ebp
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
movsx ecx, word [esi + 2]
shl ecx, 5
lea edi, [ecx + edx + 0x14]
xor edx, edx
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
and ecx, 0xff
imul edx, eax
imul ecx, eax
mov ebp, dword [edi]
sar ecx, 8
shl ecx, 8
sar edx, 8
or ecx, edx
mov edx, ebp
and edx, 0xff
and ebp, 0xff000000
imul edx, eax
shl ecx, 8
sar edx, 8
or ecx, edx
or ecx, ebp
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
movsx ecx, word [esi + 4]
shl ecx, 5
lea edi, [ecx + edx + 0x14]
xor edx, edx
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
and ecx, 0xff
imul edx, eax
imul ecx, eax
mov ebp, dword [edi]
sar ecx, 8
shl ecx, 8
sar edx, 8
or ecx, edx
mov edx, ebp
and edx, 0xff
imul edx, eax
shl ecx, 8
sar edx, 8
or ecx, edx
and ebp, 0xff000000
or ecx, ebp
lea eax, [esp + 0x78]
mov dword [edi], ecx
mov cx, word [esi + 4]
mov dx, word [esi + 2]
push 0
push eax
mov ax, word [esi]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [0x53399c]
movsx edx, word [esi]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
shl edx, 5
mov edi, dword [esp + 0xbc]
mov ebp, dword [esp + 0x68]
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x28]
movsx edx, word [esi + 2]
mov ecx, dword [esp + 0x5c]
add esp, 0x18
shl edx, 5
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 4]
mov ecx, dword [esp + 0x5c]
shl edx, 5
mov dword [edx + eax + 0x10], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi]
mov ecx, dword [esp + 0x60]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 2]
mov ecx, dword [esp + 0x40]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov eax, dword [esp + 0x10]
movsx edx, word [esi + 4]
mov ecx, dword [esp + 0x4c]
shl edx, 5
mov dword [edx + eax + 0x14], ecx
mov dx, word [esp + 0x54]
mov eax, dword [esp + 0x18]
mov word [ebp], dx
inc eax
movsx ecx, word [edi + 0x14]
add esi, 0xa
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47d163
mov eax, dword [0x7537e8]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret