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

Disassembly:
sub esp, 8
mov eax, dword [0x785d34]
push ebx
mov dword [esp + 4], eax
mov eax, dword [0x4ba7f0]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x4659f5
mov cx, word [edi + 0x24]
mov eax, dword [esp + 0x24]
add cx, word [edi + 0x28]
shl ecx, 1
add word [0x788a60], cx
mov dx, word [edi + 0x26]
add dx, word [edi + 0x2a]
add word [0x788a60], dx
test eax, eax
je 0x4659f5
mov ax, word [edi + 0x24]
add ax, word [edi + 0x28]
shl eax, 1
add word [0x788a60], ax
mov cx, word [edi + 0x26]
add cx, word [edi + 0x2a]
add word [0x788a60], cx
movsx eax, word [edi + 0x24]
mov ebx, dword [edi + 0x2c]
mov ebp, dword [edi + 0x30]
test eax, eax
mov dword [esp + 0x14], ebx
je 0x46609a
mov ecx, dword [0x6b94c4]
mov dword [esp + 0x14], eax
test byte [ebp], 2
jne 0x465a53
mov esi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
fld dword [esi + 0x24]
fsub dword [eax + 0x24]
fld dword [edx + 0x28]
fsub dword [eax + 0x28]
fmulp st(1)
fld dword [edx + 0x24]
fsub dword [eax + 0x24]
fld dword [esi + 0x28]
fsub dword [eax + 0x28]
fmulp st(1)
fsubp st(1)
fcomp dword [0x4b0004]
fnstsw ax
test ah, 0x41
je 0x465fbc
test byte [ebp], 4
je 0x465aca
cmp ecx, 0x578
jge 0x465fbc
movsx edx, word [0x788a8c]
lea eax, [ecx + ecx*4]
shl eax, 3
sub eax, ecx
shl eax, 2
mov dword [eax + 0x618264], edx
mov dword [eax + 0x61825c], 4
movsx edx, word [ebp + 2]
mov dword [eax + 0x618260], edx
mov dword [eax + 0x618258], 0xc
mov dx, word [ebp]
and edx, 0x100
shr edx, 8
mov dword [eax + 0x618268], edx
inc ecx
mov dword [eax + 0x61826c], 0
lea eax, [eax + 0x618274]
mov dword [0x6b94c4], ecx
jmp 0x465bd6
mov dx, word [ebp + 2]
movsx eax, dx
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*8]
lea eax, [eax + ecx*4]
mov ecx, dword [0x788a84]
lea esi, [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 0x324]
sub eax, esi
sub eax, 0x328
sar eax, 5
cmp ax, 0xc3
jle 0x465b71
cmp word [0x4b6d9c], dx
je 0x465b64
cmp dx, 0xffff
mov word [0x4b6d9c], dx
jne 0x465b2d
mov eax, dword [0x74c7b0]
push 0
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x98]
inc dword [0x74c678]
jmp 0x465b64
movsx eax, dx
mov ecx, dword [0x74c7b0]
lea edx, [eax + eax*4]
mov edi, dword [ecx]
lea eax, [eax + edx*8]
mov edx, dword [0x847288]
mov eax, dword [edx + eax*4 + 0x94]
push eax
push 0
push ecx
call dword [edi + 0x98]
mov eax, dword [0x74c678]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [0x74c678], eax
push 0
push esi
call fcn.00421d40
add esp, 8
xor eax, eax
mov ecx, dword [esi + 0x320]
lea edx, [eax + 1]
mov word [ecx], ax
mov ecx, dword [esi + 0x320]
mov word [ecx + 2], dx
mov edx, dword [esi + 0x320]
lea ecx, [eax + 2]
mov word [edx + 4], cx
mov edx, dword [esi + 0x320]
mov word [edx + 6], ax
mov edx, dword [esi + 0x320]
add eax, 3
mov word [edx + 8], cx
mov ecx, dword [esi + 0x320]
mov word [ecx + 0xa], ax
mov eax, dword [esi + 0x320]
add eax, 0xc
mov dword [esi + 0x320], eax
mov eax, dword [esi + 0x324]
lea edx, [eax + 0x80]
mov dword [esi + 0x324], edx
mov ecx, dword [ebp + 0x34]
mov edx, eax
add ecx, 0x24
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x38]
add edx, 0x24
lea ecx, [eax + 0x20]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x3c]
add ecx, 0x24
lea edx, [eax + 0x40]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x40]
add edx, 0x24
lea ecx, [eax + 0x60]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x78], ecx
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x7c], edx
cmp word [0x788a8c], 0
je 0x465caf
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x54], edx
mov ecx, dword [ebp + 0x40]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x74], edx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x465eb0
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [ebx + 2]
add ecx, dword [edx + 0x44]
cmp ecx, 0xff
jle 0x465cd4
mov byte [eax + 0x12], 0xff
jmp 0x465ce1
test ecx, ecx
jge 0x465cde
mov byte [eax + 0x12], 0
jmp 0x465ce1
mov byte [eax + 0x12], cl
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [ebx + 1]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x465cfa
mov byte [eax + 0x11], 0xff
jmp 0x465d07
test ecx, ecx
jge 0x465d04
mov byte [eax + 0x11], 0
jmp 0x465d07
mov byte [eax + 0x11], cl
mov ecx, dword [ebp + 0x34]
xor edx, edx
mov dl, byte [ebx]
mov ecx, dword [ecx + 0x4c]
add ecx, edx
cmp ecx, 0xff
jle 0x465d21
mov byte [eax + 0x10], 0xff
jmp 0x465d2e
test ecx, ecx
jge 0x465d2b
mov byte [eax + 0x10], 0
jmp 0x465d2e
mov byte [eax + 0x10], cl
mov cl, byte [ebx + 3]
mov byte [eax + 0x13], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 6]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x465d4f
mov byte [eax + 0x32], 0xff
jmp 0x465d5c
test ecx, ecx
jge 0x465d59
mov byte [eax + 0x32], 0
jmp 0x465d5c
mov byte [eax + 0x32], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 5]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x465d75
mov byte [eax + 0x31], 0xff
jmp 0x465d82
test ecx, ecx
jge 0x465d7f
mov byte [eax + 0x31], 0
jmp 0x465d82
mov byte [eax + 0x31], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 4]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x465d9b
mov byte [eax + 0x30], 0xff
jmp 0x465da8
test ecx, ecx
jge 0x465da5
mov byte [eax + 0x30], 0
jmp 0x465da8
mov byte [eax + 0x30], cl
mov cl, byte [ebx + 7]
mov byte [eax + 0x33], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 0xa]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x465dc9
mov byte [eax + 0x52], 0xff
jmp 0x465dd6
test ecx, ecx
jge 0x465dd3
mov byte [eax + 0x52], 0
jmp 0x465dd6
mov byte [eax + 0x52], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 9]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x465def
mov byte [eax + 0x51], 0xff
jmp 0x465dfc
test ecx, ecx
jge 0x465df9
mov byte [eax + 0x51], 0
jmp 0x465dfc
mov byte [eax + 0x51], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 8]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x465e15
mov byte [eax + 0x50], 0xff
jmp 0x465e22
test ecx, ecx
jge 0x465e1f
mov byte [eax + 0x50], 0
jmp 0x465e22
mov byte [eax + 0x50], cl
mov cl, byte [ebx + 0xb]
mov byte [eax + 0x53], cl
mov edx, dword [ebp + 0x40]
xor ecx, ecx
mov cl, byte [ebx + 0xe]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x465e43
mov byte [eax + 0x72], 0xff
jmp 0x465e50
test ecx, ecx
jge 0x465e4d
mov byte [eax + 0x72], 0
jmp 0x465e50
mov byte [eax + 0x72], cl
mov edx, dword [ebp + 0x40]
xor ecx, ecx
mov cl, byte [ebx + 0xd]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x465e69
mov byte [eax + 0x71], 0xff
jmp 0x465e76
test ecx, ecx
jge 0x465e73
mov byte [eax + 0x71], 0
jmp 0x465e76
mov byte [eax + 0x71], cl
mov edx, dword [ebp + 0x40]
xor ecx, ecx
mov cl, byte [ebx + 0xc]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x465e95
mov byte [eax + 0x70], 0xff
mov cl, byte [ebx + 0xf]
mov byte [eax + 0x73], cl
jmp 0x465ec7
test ecx, ecx
jge 0x465ea5
mov byte [eax + 0x70], 0
mov cl, byte [ebx + 0xf]
mov byte [eax + 0x73], cl
jmp 0x465ec7
mov byte [eax + 0x70], cl
mov cl, byte [ebx + 0xf]
mov byte [eax + 0x73], cl
jmp 0x465ec7
mov edx, dword [ebx]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 0x30], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 0x50], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0x70], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x465fb6
mov dx, word [ebp]
and edx, 0x400
test dx, dx
jne 0x465fb6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x3e84]
sub eax, ecx
sub eax, 0x3e88
sar eax, 5
cmp ax, 0xf9c
jg 0x465fb6
mov edx, ecx
mov ecx, dword [edx + 0x3e80]
mov word [ecx], ax
mov esi, dword [edx + 0x3e80]
lea ecx, [eax + 1]
mov word [esi + 2], cx
mov esi, dword [edx + 0x3e80]
lea ecx, [eax + 2]
mov word [esi + 4], cx
mov esi, dword [edx + 0x3e80]
mov word [esi + 6], ax
mov esi, dword [edx + 0x3e80]
add eax, 3
mov word [esi + 8], cx
mov ecx, dword [edx + 0x3e80]
mov word [ecx + 0xa], ax
mov eax, dword [edx + 0x3e84]
mov esi, dword [edx + 0x3e80]
mov edi, eax
add esi, 0xc
lea ecx, [eax + 0x80]
mov dword [edx + 0x3e80], esi
mov dword [edx + 0x3e84], ecx
mov esi, dword [ebp + 0x34]
mov ecx, 8
add esi, 0x24
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x38]
lea edi, [eax + 0x20]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
lea edi, [eax + 0x40]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x40]
lea edi, [eax + 0x60]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x6b94c4]
mov edi, dword [esp + 0x1c]
jmp 0x465fbc
mov ecx, dword [0x6b94c4]
mov eax, dword [esp + 0x14]
add ebx, 0x10
add ebp, 0x44
dec eax
mov dword [esp + 0x14], eax
jne 0x465a15
mov dword [esp + 0x14], ebx
movsx eax, word [edi + 0x26]
test eax, eax
je 0x46649d
mov dword [esp + 0x14], eax
test byte [ebp], 2
jne 0x466023
mov edx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
fld dword [edx + 0x28]
fsub dword [eax + 0x28]
fld dword [esi + 0x24]
fsub dword [eax + 0x24]
fmulp st(1)
fld dword [esi + 0x28]
fsub dword [eax + 0x28]
fld dword [edx + 0x24]
fsub dword [eax + 0x24]
fmulp st(1)
fsubp st(1)
fcomp dword [0x4b0004]
fnstsw ax
test ah, 0x41
je 0x466484
test byte [ebp], 4
je 0x4660a5
cmp ecx, 0x578
jge 0x466484
movsx edx, word [0x788a8c]
lea eax, [ecx + ecx*4]
shl eax, 3
sub eax, ecx
shl eax, 2
mov dword [eax + 0x618264], edx
mov dword [eax + 0x61825c], 3
movsx edx, word [ebp + 2]
mov dword [eax + 0x618260], edx
mov dword [eax + 0x618258], 0xc
mov dx, word [ebp]
and edx, 0x100
shr edx, 8
mov dword [eax + 0x618268], edx
inc ecx
mov dword [eax + 0x61826c], 0
lea eax, [eax + 0x618274]
mov dword [0x6b94c4], ecx
jmp 0x46618d
mov ecx, dword [0x6b94c4]
jmp 0x465fd5
mov dx, word [ebp + 2]
movsx eax, dx
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*8]
lea eax, [eax + ecx*4]
mov ecx, dword [0x788a84]
lea esi, [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 0x324]
sub eax, esi
sub eax, 0x328
sar eax, 5
cmp ax, 0xc3
jle 0x46614c
cmp word [0x4b6d9c], dx
je 0x46613f
cmp dx, 0xffff
mov word [0x4b6d9c], dx
jne 0x466108
mov eax, dword [0x74c7b0]
push 0
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x98]
inc dword [0x74c678]
jmp 0x46613f
movsx eax, dx
mov ecx, dword [0x74c7b0]
lea edx, [eax + eax*4]
mov edi, dword [ecx]
lea eax, [eax + edx*8]
mov edx, dword [0x847288]
mov eax, dword [edx + eax*4 + 0x94]
push eax
push 0
push ecx
call dword [edi + 0x98]
mov eax, dword [0x74c678]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [0x74c678], eax
push 0
push esi
call fcn.00421d40
add esp, 8
xor eax, eax
mov ecx, dword [esi + 0x320]
lea edx, [eax + 1]
mov word [ecx], ax
mov ecx, dword [esi + 0x320]
add eax, 2
mov word [ecx + 2], dx
mov edx, dword [esi + 0x320]
mov word [edx + 4], ax
mov eax, dword [esi + 0x320]
add eax, 6
mov dword [esi + 0x320], eax
mov eax, dword [esi + 0x324]
lea ecx, [eax + 0x60]
mov dword [esi + 0x324], ecx
mov edx, dword [ebp + 0x34]
mov ecx, eax
add edx, 0x24
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x38]
add ecx, 0x24
lea edx, [eax + 0x20]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x3c]
add edx, 0x24
lea ecx, [eax + 0x40]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x5c], edx
cmp word [0x788a8c], 0
je 0x466232
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x54], edx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4663b9
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [ebx + 2]
add ecx, dword [edx + 0x44]
cmp ecx, 0xff
jle 0x466257
mov byte [eax + 0x12], 0xff
jmp 0x466264
test ecx, ecx
jge 0x466261
mov byte [eax + 0x12], 0
jmp 0x466264
mov byte [eax + 0x12], cl
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [ebx + 1]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x46627d
mov byte [eax + 0x11], 0xff
jmp 0x46628a
test ecx, ecx
jge 0x466287
mov byte [eax + 0x11], 0
jmp 0x46628a
mov byte [eax + 0x11], cl
mov ecx, dword [ebp + 0x34]
xor edx, edx
mov dl, byte [ebx]
mov ecx, dword [ecx + 0x4c]
add ecx, edx
cmp ecx, 0xff
jle 0x4662a4
mov byte [eax + 0x10], 0xff
jmp 0x4662b1
test ecx, ecx
jge 0x4662ae
mov byte [eax + 0x10], 0
jmp 0x4662b1
mov byte [eax + 0x10], cl
mov cl, byte [ebx + 3]
mov byte [eax + 0x13], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 6]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x4662d2
mov byte [eax + 0x32], 0xff
jmp 0x4662df
test ecx, ecx
jge 0x4662dc
mov byte [eax + 0x32], 0
jmp 0x4662df
mov byte [eax + 0x32], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 5]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x4662f8
mov byte [eax + 0x31], 0xff
jmp 0x466305
test ecx, ecx
jge 0x466302
mov byte [eax + 0x31], 0
jmp 0x466305
mov byte [eax + 0x31], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 4]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x46631e
mov byte [eax + 0x30], 0xff
jmp 0x46632b
test ecx, ecx
jge 0x466328
mov byte [eax + 0x30], 0
jmp 0x46632b
mov byte [eax + 0x30], cl
mov cl, byte [ebx + 7]
mov byte [eax + 0x33], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 0xa]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x46634c
mov byte [eax + 0x52], 0xff
jmp 0x466359
test ecx, ecx
jge 0x466356
mov byte [eax + 0x52], 0
jmp 0x466359
mov byte [eax + 0x52], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 9]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x466372
mov byte [eax + 0x51], 0xff
jmp 0x46637f
test ecx, ecx
jge 0x46637c
mov byte [eax + 0x51], 0
jmp 0x46637f
mov byte [eax + 0x51], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 8]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x46639e
mov byte [eax + 0x50], 0xff
mov cl, byte [ebx + 0xb]
mov byte [eax + 0x53], cl
jmp 0x4663ca
test ecx, ecx
jge 0x4663ae
mov byte [eax + 0x50], 0
mov cl, byte [ebx + 0xb]
mov byte [eax + 0x53], cl
jmp 0x4663ca
mov byte [eax + 0x50], cl
mov cl, byte [ebx + 0xb]
mov byte [eax + 0x53], cl
jmp 0x4663ca
mov edx, dword [ebx]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 0x30], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 0x50], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46647e
mov ax, word [ebp]
and eax, 0x400
test ax, ax
jne 0x46647e
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x3e84]
sub eax, ecx
sub eax, 0x3e88
sar eax, 5
cmp ax, 0xf9c
jg 0x46647e
mov edx, dword [ecx + 0x3e80]
mov word [edx], ax
mov esi, dword [ecx + 0x3e80]
lea edx, [eax + 1]
add eax, 2
mov word [esi + 2], dx
mov edx, dword [ecx + 0x3e80]
mov word [edx + 4], ax
mov eax, dword [ecx + 0x3e80]
add eax, 6
mov dword [ecx + 0x3e80], eax
mov eax, dword [ecx + 0x3e84]
mov edi, eax
lea edx, [eax + 0x60]
mov dword [ecx + 0x3e84], edx
mov esi, dword [ebp + 0x34]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x38]
lea edi, [eax + 0x20]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
lea edi, [eax + 0x40]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x6b94c4]
mov edi, dword [esp + 0x1c]
jmp 0x466484
mov ecx, dword [0x6b94c4]
mov eax, dword [esp + 0x14]
add ebx, 0x10
add ebp, 0x44
dec eax
mov dword [esp + 0x14], eax
jne 0x465fe5
mov dword [esp + 0x14], ebx
movsx eax, word [edi + 0x28]
test eax, eax
je 0x4669f9
mov dword [esp + 0x14], eax
test byte [ebp], 2
jne 0x4664eb
mov esi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
fld dword [esi + 0x24]
fsub dword [eax + 0x24]
fld dword [edx + 0x28]
fsub dword [eax + 0x28]
fmulp st(1)
fld dword [edx + 0x24]
fsub dword [eax + 0x24]
fld dword [esi + 0x28]
fsub dword [eax + 0x28]
fmulp st(1)
fsubp st(1)
fcomp dword [0x4b0004]
fnstsw ax
test ah, 0x41
je 0x4669e0
test byte [ebp], 4
je 0x466562
cmp ecx, 0x578
jge 0x4669e0
movsx edx, word [0x788a8c]
lea eax, [ecx + ecx*4]
shl eax, 3
sub eax, ecx
shl eax, 2
mov dword [eax + 0x618264], edx
mov dword [eax + 0x61825c], 4
mov dword [eax + 0x618260], 0xffffffff
mov dword [eax + 0x618258], 0xc
mov dx, word [ebp]
and edx, 0x100
shr edx, 8
mov dword [eax + 0x618268], edx
inc ecx
mov dword [eax + 0x61826c], 0
lea eax, [eax + 0x618274]
mov dword [0x6b94c4], ecx
jmp 0x46662a
mov esi, dword [0x785d30]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x324]
lea edi, [esi + 0x324]
sub ecx, esi
sub ecx, 0x328
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dx, 0xc3
jle 0x4665cc
cmp word [0x4b6d9c], 0xffff
je 0x4665bf
mov eax, dword [0x74c7b0]
mov word [0x4b6d9c], 0xffff
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
inc dword [0x74c678]
push 0
push esi
call fcn.00421c90
add esp, 8
xor edx, edx
mov eax, dword [esi + 0x320]
lea ecx, [edx + 1]
mov word [eax], dx
mov eax, dword [esi + 0x320]
mov word [eax + 2], cx
mov ecx, dword [esi + 0x320]
lea eax, [edx + 2]
mov word [ecx + 4], ax
mov ecx, dword [esi + 0x320]
mov word [ecx + 6], dx
mov ecx, dword [esi + 0x320]
add edx, 3
mov word [ecx + 8], ax
mov eax, dword [esi + 0x320]
mov word [eax + 0xa], dx
mov eax, dword [esi + 0x320]
add eax, 0xc
mov dword [esi + 0x320], eax
mov eax, dword [edi]
lea ecx, [eax + 0x60]
mov dword [edi], ecx
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x34]
mov ecx, eax
add edx, 0x24
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x38]
add ecx, 0x24
lea edx, [eax + 0x18]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x3c]
add edx, 0x24
lea ecx, [eax + 0x30]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x40]
add ecx, 0x24
lea edx, [eax + 0x48]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
cmp word [0x788a8c], 0
je 0x4666d3
mov edx, dword [ebp + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 0x38]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp + 0x3c]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp + 0x40]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x5c], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4668d4
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [ebx + 2]
add ecx, dword [edx + 0x44]
cmp ecx, 0xff
jle 0x4666f8
mov byte [eax + 0x12], 0xff
jmp 0x466705
test ecx, ecx
jge 0x466702
mov byte [eax + 0x12], 0
jmp 0x466705
mov byte [eax + 0x12], cl
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [ebx + 1]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x46671e
mov byte [eax + 0x11], 0xff
jmp 0x46672b
test ecx, ecx
jge 0x466728
mov byte [eax + 0x11], 0
jmp 0x46672b
mov byte [eax + 0x11], cl
mov ecx, dword [ebp + 0x34]
xor edx, edx
mov dl, byte [ebx]
mov ecx, dword [ecx + 0x4c]
add ecx, edx
cmp ecx, 0xff
jle 0x466745
mov byte [eax + 0x10], 0xff
jmp 0x466752
test ecx, ecx
jge 0x46674f
mov byte [eax + 0x10], 0
jmp 0x466752
mov byte [eax + 0x10], cl
mov cl, byte [ebx + 3]
mov byte [eax + 0x13], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 6]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x466773
mov byte [eax + 0x2a], 0xff
jmp 0x466780
test ecx, ecx
jge 0x46677d
mov byte [eax + 0x2a], 0
jmp 0x466780
mov byte [eax + 0x2a], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 5]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x466799
mov byte [eax + 0x29], 0xff
jmp 0x4667a6
test ecx, ecx
jge 0x4667a3
mov byte [eax + 0x29], 0
jmp 0x4667a6
mov byte [eax + 0x29], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [ebx + 4]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x4667bf
mov byte [eax + 0x28], 0xff
jmp 0x4667cc
test ecx, ecx
jge 0x4667c9
mov byte [eax + 0x28], 0
jmp 0x4667cc
mov byte [eax + 0x28], cl
mov cl, byte [ebx + 7]
mov byte [eax + 0x2b], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 0xa]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x4667ed
mov byte [eax + 0x42], 0xff
jmp 0x4667fa
test ecx, ecx
jge 0x4667f7
mov byte [eax + 0x42], 0
jmp 0x4667fa
mov byte [eax + 0x42], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 9]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x466813
mov byte [eax + 0x41], 0xff
jmp 0x466820
test ecx, ecx
jge 0x46681d
mov byte [eax + 0x41], 0
jmp 0x466820
mov byte [eax + 0x41], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [ebx + 8]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x466839
mov byte [eax + 0x40], 0xff
jmp 0x466846
test ecx, ecx
jge 0x466843
mov byte [eax + 0x40], 0
jmp 0x466846
mov byte [eax + 0x40], cl
mov cl, byte [ebx + 0xb]
mov byte [eax + 0x43], cl
mov edx, dword [ebp + 0x40]
xor ecx, ecx
mov cl, byte [ebx + 0xe]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x466867
mov byte [eax + 0x5a], 0xff
jmp 0x466874
test ecx, ecx
jge 0x466871
mov byte [eax + 0x5a], 0
jmp 0x466874
mov byte [eax + 0x5a], cl
mov edx, dword [ebp + 0x40]
xor ecx, ecx
mov cl, byte [ebx + 0xd]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x46688d
mov byte [eax + 0x59], 0xff
jmp 0x46689a
test ecx, ecx
jge 0x466897
mov byte [eax + 0x59], 0
jmp 0x46689a
mov byte [eax + 0x59], cl
mov edx, dword [ebp + 0x40]
xor ecx, ecx
mov cl, byte [ebx + 0xc]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x4668b9
mov byte [eax + 0x58], 0xff
mov cl, byte [ebx + 0xf]
mov byte [eax + 0x5b], cl
jmp 0x4668eb
test ecx, ecx
jge 0x4668c9
mov byte [eax + 0x58], 0
mov cl, byte [ebx + 0xf]
mov byte [eax + 0x5b], cl
jmp 0x4668eb
mov byte [eax + 0x58], cl
mov cl, byte [ebx + 0xf]
mov byte [eax + 0x5b], cl
jmp 0x4668eb
mov edx, dword [ebx]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx + 4]
mov dword [eax + 0x28], ecx
mov edx, dword [ebx + 8]
mov dword [eax + 0x40], edx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0x58], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4669da
mov dx, word [ebp]
and edx, 0x400
test dx, dx
jne 0x4669da
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x3e84]
sub eax, ecx
sub eax, 0x3e88
sar eax, 5
cmp ax, 0xf9c
jg 0x4669da
mov edx, ecx
mov ecx, dword [edx + 0x3e80]
mov word [ecx], ax
mov esi, dword [edx + 0x3e80]
lea ecx, [eax + 1]
mov word [esi + 2], cx
mov esi, dword [edx + 0x3e80]
lea ecx, [eax + 2]
mov word [esi + 4], cx
mov esi, dword [edx + 0x3e80]
mov word [esi + 6], ax
mov esi, dword [edx + 0x3e80]
add eax, 3
mov word [esi + 8], cx
mov ecx, dword [edx + 0x3e80]
mov word [ecx + 0xa], ax
mov eax, dword [edx + 0x3e84]
mov esi, dword [edx + 0x3e80]
mov edi, eax
add esi, 0xc
lea ecx, [eax + 0x80]
mov dword [edx + 0x3e80], esi
mov dword [edx + 0x3e84], ecx
mov esi, dword [ebp + 0x34]
mov ecx, 8
add esi, 0x24
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x38]
lea edi, [eax + 0x20]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
lea edi, [eax + 0x40]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x40]
lea edi, [eax + 0x60]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x6b94c4]
mov edi, dword [esp + 0x1c]
jmp 0x4669e0
mov ecx, dword [0x6b94c4]
mov eax, dword [esp + 0x14]
add ebx, 0x10
add ebp, 0x44
dec eax
mov dword [esp + 0x14], eax
jne 0x4664ad
mov dword [esp + 0x14], ebx
movsx eax, word [edi + 0x2a]
test eax, eax
je 0x466e56
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov bx, word [ebp]
test bl, 2
jne 0x466a4e
mov esi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
fld dword [esi + 0x24]
fsub dword [eax + 0x24]
fld dword [edx + 0x28]
fsub dword [eax + 0x28]
fmulp st(1)
fld dword [edx + 0x24]
fsub dword [eax + 0x24]
fld dword [esi + 0x28]
fsub dword [eax + 0x28]
fmulp st(1)
fsubp st(1)
fcomp dword [0x4b0004]
fnstsw ax
test ah, 0x41
je 0x466e3d
test bl, 4
je 0x466ac4
cmp ecx, 0x578
jge 0x466e3d
movsx edx, word [0x788a8c]
lea eax, [ecx + ecx*4]
shl eax, 3
sub eax, ecx
shl eax, 2
mov dword [eax + 0x618264], edx
mov dword [eax + 0x61825c], 3
mov dword [eax + 0x618260], 0xffffffff
mov dword [eax + 0x618258], 0xc
mov dx, word [ebp]
and edx, 0x100
shr edx, 8
mov dword [eax + 0x618268], edx
inc ecx
mov dword [eax + 0x61826c], 0
lea eax, [eax + 0x618274]
mov dword [0x6b94c4], ecx
jmp 0x466b6a
mov esi, dword [0x785d30]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x324]
lea edi, [esi + 0x324]
sub ecx, esi
sub ecx, 0x328
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dx, 0xc3
jle 0x466b2d
or eax, 0xffffffff
cmp word [0x4b6d9c], ax
je 0x466b20
mov word [0x4b6d9c], ax
mov eax, dword [0x74c7b0]
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
inc dword [0x74c678]
push 0
push esi
call fcn.00421c90
add esp, 8
xor edx, edx
mov eax, dword [esi + 0x320]
lea ecx, [edx + 1]
mov word [eax], dx
mov eax, dword [esi + 0x320]
add edx, 2
mov word [eax + 2], cx
mov ecx, dword [esi + 0x320]
mov word [ecx + 4], dx
mov eax, dword [esi + 0x320]
add eax, 6
mov dword [esi + 0x320], eax
mov eax, dword [edi]
lea edx, [eax + 0x48]
mov dword [edi], edx
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x34]
mov edx, eax
add ecx, 0x24
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x38]
add edx, 0x24
lea ecx, [eax + 0x18]
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 0x3c]
add ecx, 0x24
lea edx, [eax + 0x30]
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
cmp word [0x788a8c], 0
je 0x466beb
mov edx, dword [ebp + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 0x38]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp + 0x3c]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x466d72
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [edi + 2]
add ecx, dword [edx + 0x44]
cmp ecx, 0xff
jle 0x466c10
mov byte [eax + 0x12], 0xff
jmp 0x466c1d
test ecx, ecx
jge 0x466c1a
mov byte [eax + 0x12], 0
jmp 0x466c1d
mov byte [eax + 0x12], cl
mov edx, dword [ebp + 0x34]
xor ecx, ecx
mov cl, byte [edi + 1]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x466c36
mov byte [eax + 0x11], 0xff
jmp 0x466c43
test ecx, ecx
jge 0x466c40
mov byte [eax + 0x11], 0
jmp 0x466c43
mov byte [eax + 0x11], cl
mov ecx, dword [ebp + 0x34]
xor edx, edx
mov dl, byte [edi]
mov ecx, dword [ecx + 0x4c]
add ecx, edx
cmp ecx, 0xff
jle 0x466c5d
mov byte [eax + 0x10], 0xff
jmp 0x466c6a
test ecx, ecx
jge 0x466c67
mov byte [eax + 0x10], 0
jmp 0x466c6a
mov byte [eax + 0x10], cl
mov cl, byte [edi + 3]
mov byte [eax + 0x13], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [edi + 6]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x466c8b
mov byte [eax + 0x2a], 0xff
jmp 0x466c98
test ecx, ecx
jge 0x466c95
mov byte [eax + 0x2a], 0
jmp 0x466c98
mov byte [eax + 0x2a], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [edi + 5]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x466cb1
mov byte [eax + 0x29], 0xff
jmp 0x466cbe
test ecx, ecx
jge 0x466cbb
mov byte [eax + 0x29], 0
jmp 0x466cbe
mov byte [eax + 0x29], cl
mov edx, dword [ebp + 0x38]
xor ecx, ecx
mov cl, byte [edi + 4]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x466cd7
mov byte [eax + 0x28], 0xff
jmp 0x466ce4
test ecx, ecx
jge 0x466ce1
mov byte [eax + 0x28], 0
jmp 0x466ce4
mov byte [eax + 0x28], cl
mov cl, byte [edi + 7]
mov byte [eax + 0x2b], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [edi + 0xa]
mov esi, dword [edx + 0x44]
add ecx, esi
cmp ecx, 0xff
jle 0x466d05
mov byte [eax + 0x42], 0xff
jmp 0x466d12
test ecx, ecx
jge 0x466d0f
mov byte [eax + 0x42], 0
jmp 0x466d12
mov byte [eax + 0x42], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [edi + 9]
add ecx, dword [edx + 0x48]
cmp ecx, 0xff
jle 0x466d2b
mov byte [eax + 0x41], 0xff
jmp 0x466d38
test ecx, ecx
jge 0x466d35
mov byte [eax + 0x41], 0
jmp 0x466d38
mov byte [eax + 0x41], cl
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov cl, byte [edi + 8]
add ecx, dword [edx + 0x4c]
cmp ecx, 0xff
jle 0x466d57
mov byte [eax + 0x40], 0xff
mov cl, byte [edi + 0xb]
mov byte [eax + 0x43], cl
jmp 0x466d83
test ecx, ecx
jge 0x466d67
mov byte [eax + 0x40], 0
mov cl, byte [edi + 0xb]
mov byte [eax + 0x43], cl
jmp 0x466d83
mov byte [eax + 0x40], cl
mov cl, byte [edi + 0xb]
mov byte [eax + 0x43], cl
jmp 0x466d83
mov edx, dword [edi]
mov dword [eax + 0x10], edx
mov ecx, dword [edi + 4]
mov dword [eax + 0x28], ecx
mov edx, dword [edi + 8]
mov dword [eax + 0x40], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x466e37
mov ax, word [ebp]
and eax, 0x400
test ax, ax
jne 0x466e37
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x3e84]
sub eax, ecx
sub eax, 0x3e88
sar eax, 5
cmp ax, 0xf9c
jg 0x466e37
mov edx, dword [ecx + 0x3e80]
mov word [edx], ax
mov esi, dword [ecx + 0x3e80]
lea edx, [eax + 1]
add eax, 2
mov word [esi + 2], dx
mov edx, dword [ecx + 0x3e80]
mov word [edx + 4], ax
mov eax, dword [ecx + 0x3e84]
mov ebx, dword [ecx + 0x3e80]
mov edi, eax
add ebx, 6
lea edx, [eax + 0x60]
mov dword [ecx + 0x3e80], ebx
mov dword [ecx + 0x3e84], edx
mov esi, dword [ebp + 0x34]
mov ecx, 8
add esi, 0x24
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x38]
lea edi, [eax + 0x20]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
lea edi, [eax + 0x40]
add esi, 0x24
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x6b94c4]
mov edi, dword [esp + 0x14]
jmp 0x466e3d
mov ecx, dword [0x6b94c4]
mov eax, dword [esp + 0x1c]
add edi, 0x10
add ebp, 0x44
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
jne 0x466a0d
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret