Function at 0x1005c330
Capabilities:
Check for time delay via gettickcount
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1012f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
movzx eax, byte [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
add eax, 0xffffffef
cmp eax, 0xea
ja case.0x1005c371.18
movzx eax, byte [eax + 0x1005d79c]
jmp dword [eax*4 + 0x1005d74c]
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
cmp dword [0x1013abb8], ecx
jne 0x1005c3a3
mov eax, dword [ebx + 0xc]
mov dword [0x1013abac], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013ac9c], eax
mov eax, dword [ebx + 0x18]
mov dl, byte [ebx + 7]
mov ecx, dword [ebx + 0x14]
mov dword [0x1013ac90], eax
mov eax, dword [0x1013ac7c]
mov dword [0x1013ac94], ecx
test dl, 0x10
je 0x1005c3d8
cmp eax, 3
jae 0x1005c3d8
mov dword [eax*4 + 0x1013ac80], ecx
inc eax
mov dword [0x1013ac7c], eax
mov dword [0x1013ac78], eax
test dl, 0x20
je case.0x1005c371.18
cmp eax, 4
jae case.0x1005c371.18
mov dword [eax*4 + 0x1013ac80], ecx
inc eax
mov dword [0x1013ac7c], eax
mov dword [0x1013ac78], eax
jmp case.0x1005c371.18
cmp byte [ebx + 3], 0
mov dword [ebp - 0x18], 0
jbe case.0x1005c371.18
mov esi, dword [0x10138378]
lea ecx, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov edi, 0xffff
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
mov ecx, 0x10135cac
shl edx, 8
or edx, eax
movzx eax, word [ecx + 0xe]
cmp ax, di
je 0x1005c474
cmp eax, edx
jne 0x1005c474
xorps xmm0, xmm0
xor eax, eax
movq qword [ecx - 0x10], xmm0
mov word [ecx - 8], 0
mov byte [ecx - 6], 0
mov dword [ecx - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ecx + 0xc], 0xff
mov word [ecx + 0xe], di
mov dword [ecx + 8], eax
add ecx, 0x20
cmp ecx, 0x1013660c
jl 0x1005c434
mov ecx, dword [ebp - 0x1c]
mov al, byte [ecx]
mov cl, byte [ecx + 1]
movzx edx, al
shl edx, 8
movzx eax, cl
or edx, eax
mov eax, dword [0x10138374]
mov dword [ebp - 0x24], edx
cmp eax, esi
je 0x1005c4e8
nop
movzx ecx, word [eax]
lea edx, [eax + 0xc]
cmp ecx, dword [ebp - 0x24]
je 0x1005c4b3
mov eax, edx
cmp eax, esi
jne 0x1005c4a0
jmp 0x1005c4e8
cmp edx, esi
je 0x1005c4df
nop word [eax + eax]
movq xmm0, qword [edx]
lea eax, [eax + 0xc]
movq qword [eax - 0xc], xmm0
mov ecx, dword [edx + 8]
add edx, 0xc
mov dword [eax - 4], ecx
cmp edx, esi
jne 0x1005c4c0
mov esi, dword [0x10138378]
sub esi, 0xc
mov dword [0x10138378], esi
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
movzx eax, byte [ebx + 3]
add ecx, 2
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, eax
jl 0x1005c423
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x1005c371.18
mov eax, dword [ebx + 0xc]
mov dword [0x1013ac94], eax
jmp case.0x1005c371.18
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
cmp dword [0x1013abb8], ecx
jne case.0x1005c371.18
mov dword [0x1013abac], 0
jmp case.0x1005c371.18
mov eax, dword [0x10138374]
mov dword [0x10138378], eax
jmp case.0x1005c371.18
mov ecx, ebx
call fcn.1005da00
jmp case.0x1005c371.18
mov al, byte [ebx + 3]
cmp al, 0xfe
jne 0x1005c56f
mov eax, dword [ebx + 0xc]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013ac98], eax
mov al, byte [ebx + 3]
cmp al, 0xff
jne case.0x1005c371.18
cmp dword [0x1013abac], 0
je 0x1005c584
mov eax, dword [ebx + 0xc]
mov dword [0x1013abac], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013ac9c], eax
call edi
push dword [ebp + 0x14]
mov dword [0x1012fdd4], eax
mov eax, 0x663b20
push dword [ebp + 0x10]
push ebx
push dword [ebp - 8]
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 3]
cmp al, 0xfe
jne 0x1005c5d2
mov eax, dword [ebx + 8]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013aca0], eax
mov al, byte [ebx + 3]
cmp al, 0xff
jne case.0x1005c371.18
mov eax, dword [ebx + 8]
mov dword [0x1013abb4], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013abb0], eax
jmp case.0x1005c371.18
cmp byte [ebx + 0x14], 0
je 0x1005c680
movq xmm0, qword [ebx + 4]
movq qword [str.Hope], xmm0
mov ax, word [ebx + 0xc]
mov word [0x10138420], ax
mov al, byte [ebx + 0xe]
mov byte [0x10138422], al
call fcn.10061fe0
call fcn.10062060
mov dword [0x101383c4], 0x104
mov dword [0x101383c8], 0
mov byte [0x101383cc], 1
mov dword [0x10138410], 0
mov dword [0x10138414], 0
mov dword [0x101383d8], 0x43d20000
mov dword [0x101383dc], 0x43d20000
mov dword [0x10138408], 0
mov dword [0x1013840c], 0
mov word [0x101383d4], 0
jmp case.0x1005c371.18
mov byte [0x101383cc], 0
jmp case.0x1005c371.18
cmp byte [ebx + 4], 1
jne case.0x1005c371.18
mov al, byte [ebx + 3]
test al, al
jne 0x1005c6a4
mov byte [0x101383d4], al
jmp 0x1005c6bd
cmp al, 1
jne 0x1005c6b2
mov byte [0x101383d4], al
jmp case.0x1005c371.18
cmp al, 2
jne 0x1005c6d3
mov byte [0x101383d5], 0
mov dword [0x10138424], 0xa
call edi
mov dword [0x1013842c], eax
jmp case.0x1005c371.18
cmp al, 3
jne case.0x1005c371.18
mov byte [0x101383d5], 1
jmp case.0x1005c371.18
mov al, byte [ebx + 3]
test al, al
je 0x1005c6fe
cmp al, 3
je 0x1005c6fe
cmp al, 6
je 0x1005c6fe
cmp al, 0x11
jne case.0x1005c371.18
mov eax, dword [ebx + 8]
mov dword [0x1013acac], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013ac5c], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013ac58], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013ac54], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013ac50], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013ac4c], eax
jmp case.0x1005c371.18
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
cmp dword [0x1013abb8], ecx
jne case.0x1005c371.18
mov eax, dword [ebx + 8]
mov dword [0x1013aca8], eax
jmp case.0x1005c371.18
cmp byte [ebx], 0xc1
jne 0x1005c771
mov al, byte [ebx + 3]
jmp 0x1005c774
mov al, byte [ebx + 4]
cmp al, 0x27
jne case.0x1005c371.18
push ebx
call fcn.100598a0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
cmp byte [ebx], 0xc1
lea ecx, [ebx + 4]
jne 0x1005c7a5
mov al, byte [ebx + 3]
jmp 0x1005c7a7
mov al, byte [ecx]
movzx eax, al
sub eax, 0
je 0x1005c925
sub eax, 1
je 0x1005c899
sub eax, 0x14
jne case.0x1005c371.18
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov bl, byte [ebx + 4]
add eax, 5
push eax
mov eax, 0x861110
movlpd qword [ebp - 0xc], xmm0
call eax
mov edx, 0x861240
mov ecx, eax
call edx
mov edx, 0x7e1b10
mov ecx, eax
call edx
mov edx, dword [0x10138440]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], bl
cmp edx, dword [0x10138444]
je 0x1005c81b
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [0x10138440]
add eax, 8
mov dword [0x10138440], eax
jmp 0x1005c82f
lea eax, [ebp - 0xc]
mov ecx, 0x1013843c
push eax
push edx
call fcn.1000b5c0
mov eax, dword [0x10138440]
sub eax, dword [0x1013843c]
sar eax, 3
sub eax, 8
mov dword [0x101383e0], 0
mov dword [0x101383e8], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10124540]
mov eax, 1
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x1012435c]
divss xmm0, xmm1
movss dword [0x101383e4], xmm1
movss dword [0x101383f0], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1013ad08]
cmp eax, 1
je case.0x1005c371.18
cmp byte [ebx + 4], 1
jne 0x1005c9ec
mov ecx, dword [0x1013acb4]
xor esi, esi
cmp ecx, 3
cmove esi, eax
xor eax, eax
cmp ecx, 3
mov dword [0x1013ad08], esi
cmove eax, ecx
mov dword [0x1013acb4], eax
call edi
mov dword [0x1013ad04], eax
call edi
mov dword [0x1013ad00], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013acf8], 0
cmp byte [0x1012feb6], 1
cmove eax, ecx
xor ecx, ecx
mov dword [0x1013acfc], eax
test esi, esi
mov eax, dword [0x1013acf4]
cmove eax, ecx
test esi, esi
mov dword [0x1013acf4], eax
mov eax, dword [0x1013acf0]
cmove eax, ecx
mov dword [0x1013acf0], eax
jmp case.0x1005c371.18
cmp dword [0x1013ad08], 1
movzx esi, word [ebx + 0x14]
jne 0x1005c93f
cmp dword [0x1013acb4], 3
jne case.0x1005c371.18
push ecx
push 0x10
push 0x1013ad10
call fcn.100dea8e
xor ecx, ecx
mov word [0x1013ad0c], si
add esp, 0xc
cmp dword [0x1013acb4], 3
cmove ecx, dword [0x1013acb4]
mov dword [0x1013acb4], ecx
mov dword [0x1013ad08], 2
call edi
mov dword [0x1013ad04], eax
call edi
mov dword [0x1013ad00], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013acf8], 0
cmp byte [0x1012feb6], 1
cmove eax, ecx
mov dword [0x1013acfc], eax
jmp case.0x1005c371.18
cmp byte [ebx], 0xc1
jne 0x1005c9b3
mov al, byte [ebx + 3]
jmp 0x1005c9b6
mov al, byte [ebx + 4]
movzx eax, al
sub eax, 0
je 0x1005cbc5
sub eax, 1
je 0x1005c9fb
sub eax, 1
jne case.0x1005c371.18
cmp dword [0x1013ad08], 1
je case.0x1005c371.18
mov al, byte [ebx + 4]
test al, al
je 0x1005c9ec
cmp al, 2
jne case.0x1005c371.18
mov dword [0x1013acb4], 0
jmp 0x1005c96c
cmp dword [0x1013acb4], 1
jne case.0x1005c371.18
cmp dword [0x1013acf4], 0
je case.0x1005c371.18
mov al, byte [ebx + 4]
cmp al, 1
jne 0x1005ca7a
mov edx, 4
mov dword [ebp - 0x1c], 0xf304c1
lea ecx, [ebp - 0x1c]
call fcn.1005e770
mov dword [0x1013ad08], 1
mov dword [0x1013acb4], 2
call edi
mov dword [0x1013ad04], eax
call edi
cmp byte [0x1012feb6], 1
mov ecx, 0x3e8
mov dword [0x1013ad00], eax
mov eax, 0x7530
cmove eax, ecx
mov dword [0x1013acf8], 0x7530
mov dword [0x1013acfc], eax
jmp case.0x1005c371.18
cmp byte [0x1012feb6], 1
jne 0x1005cb1a
mov eax, dword [0x8793750]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1005ca9a
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [0x1012feb8], 1
mov dword [0x1013acf4], 0
mov dword [0x1013ad08], 0
mov dword [0x1013acb4], 0
call edi
mov dword [0x1013ad04], eax
call edi
mov dword [0x1013ad00], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013acf8], 0
cmp byte [0x1012feb6], 1
mov dword [0x8793704], 1
cmove eax, ecx
mov dword [0x1013acf4], 0
mov dword [0x1013acfc], eax
mov dword [0x1013acf0], 0
mov dword [0xe609e8], 2
jmp case.0x1005c371.18
cmp al, 3
jne 0x1005cb72
mov dword [0x1013ad08], 1
mov dword [0x1013acb4], 1
call edi
mov dword [0x1013ad04], eax
call edi
cmp byte [0x1012feb6], 1
mov ecx, 0x3e8
mov dword [0x1013ad00], eax
mov eax, 0x2710
cmove eax, ecx
mov dword [0x1013acf8], 0x7530
mov dword [0x1013acfc], eax
mov dword [0x1013acf4], 0
jmp case.0x1005c371.18
mov dword [0x1013ad08], 2
mov dword [0x1013acb4], 0
call edi
mov dword [0x1013ad04], eax
call edi
mov dword [0x1013ad00], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013acf8], 0
cmp byte [0x1012feb6], 1
cmove eax, ecx
mov ecx, 0x8793750
mov dword [0x1013acfc], eax
mov eax, 0x63a180
call eax
jmp case.0x1005c371.18
movzx ecx, byte [ebx + 5]
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013abb8], ecx
cmp eax, dword [ebx + 0x30]
jne case.0x1005c371.18
cmp dword [ebx + 0x34], 0
je case.0x1005c371.18
mov ecx, 0x1012fda8
mov byte [0x1012fde8], 1
call fcn.10006820
jmp case.0x1005c371.18
cmp byte [ebx], 0xc1
jne 0x1005cc0e
mov al, byte [ebx + 3]
jmp 0x1005cc11
mov al, byte [ebx + 4]
movzx eax, al
cmp eax, 0xe9
ja case.0x1005c371.18
movzx eax, byte [eax + 0x1005d8d0]
jmp dword [eax*4 + 0x1005d888]
mov ecx, ebx
call fcn.1005dbf0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.1005dec0
jmp case.0x1005c371.18
mov eax, dword [ebx + 0x1c]
mov dword [0x1013abac], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013abb4], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013abb0], eax
mov eax, dword [ebx + 0x28]
jmp 0x1005c587
mov eax, dword [ebx + 0x18]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013aca0], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013ac98], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013ac74], eax
mov eax, dword [ebx + 0x30]
mov dword [0x1013ac70], eax
jmp case.0x1005c371.18
mov al, byte [ebx + 4]
sub al, 0x10
cmp al, 4
ja case.0x1005c371.18
mov eax, dword [ebx + 0xc]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013aca0], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013ac98], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013ac5c], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013ac58], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013ac54], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013ac50], eax
mov eax, dword [ebx + 0x30]
mov dword [0x1013ac4c], eax
jmp case.0x1005c371.18
mov eax, dword [ebx + 8]
mov dword [0x1013abac], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013ac9c], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013ac94], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013ac90], eax
jmp case.0x1005c371.18
mov eax, dword [ebx + 0x20]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013aca0], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013ac98], eax
jmp case.0x1005c371.18
mov eax, dword [ebx + 0x14]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013aca0], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013ac98], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov dword [0x1013ac68], eax
mov dword [0x1013ac6c], ecx
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [0x1013ac60], eax
mov dword [0x1013ac64], ecx
jmp case.0x1005c371.18
call fcn.1001ee70
cmp byte [ebx + 5], 0
mov dword [ebp - 0x18], 0
jbe case.0x1005cc26.228
mov edx, 0x10135bbc
lea esi, [ebx + 0x10]
movzx ecx, word [esi + 2]
lea esi, [esi + 0xe]
movzx eax, word [esi - 0xe]
lea edx, [edx + 0x18]
mov dword [edx - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov byte [edx - 0x14], cl
inc ecx
mov dword [edx - 0x1c], eax
movq xmm0, qword [esi - 0x18]
movq qword [edx - 0x28], xmm0
mov ax, word [esi - 0x10]
mov word [edx - 0x20], ax
mov al, byte [esi - 0xe]
mov byte [edx - 0x1e], al
movzx eax, byte [ebx + 5]
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jl 0x1005cdc4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 6], 1
jne 0x1005ce77
push 1
call fcn.1001eeb0
xor edi, edi
cmp byte [ebx + 5], 0
jbe case.0x1005cc26.228
lea esi, [ebx + 0x15]
lea eax, [esi + 6]
push eax
movzx eax, word [esi]
push eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
movzx eax, word [esi - 2]
push eax
lea eax, [esi - 0xe]
push eax
push ecx
call fcn.1001ef20
movzx eax, byte [ebx + 5]
lea esi, [esi + 0x18]
inc edi
cmp edi, eax
jl 0x1005ce34
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
push 0
call fcn.1001eeb0
xor edi, edi
cmp byte [ebx + 5], 0
jbe case.0x1005cc26.228
lea esi, [ebx + 0x15]
nop dword [eax]
lea eax, [esi + 6]
push eax
movzx eax, word [esi]
push eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
movzx eax, word [esi - 2]
push eax
lea eax, [esi - 0xe]
push eax
push ecx
call fcn.1001ef20
movzx eax, byte [ebx + 5]
lea esi, [esi + 0x18]
inc edi
cmp edi, eax
jl 0x1005ce90
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.1005e0c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 4]
mov word [ecx + 0xe], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 6]
mov word [ecx + 0x74], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x10]
mov word [ecx + 0x18], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x12]
mov word [ecx + 0x1a], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x14]
mov word [ecx + 0x1c], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x16]
mov word [ecx + 0x1e], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x18]
mov word [ecx + 0x20], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x1a]
mov word [ecx + 0x22], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x1c]
mov word [ecx + 0x26], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x1e]
mov word [ecx + 0x24], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x20]
mov word [ecx + 0x28], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x22]
mov word [ecx + 0x40], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x24]
mov word [ecx + 0x42], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x26]
mov word [ecx + 0x2a], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x28]
mov word [ecx + 0x2c], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x2a]
mov word [ecx + 0x4c], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x2c]
mov word [ecx + 0x4e], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x2e]
mov word [ecx + 0x50], ax
mov ecx, dword [0x8128ac8]
movzx eax, word [ebx + 0x30]
mov word [ecx + 0x52], ax
mov ecx, dword [0x8128ac8]
mov eax, dword [ebx + 8]
mov dword [ecx + 0x10], eax
mov ecx, dword [0x8128ac8]
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x34]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x38]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x3c]
mov dword [0x1013abac], eax
mov eax, dword [ebx + 0x40]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0x44]
mov dword [0x1013abb4], eax
mov eax, dword [ebx + 0x48]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x4c]
mov dword [0x1013abb0], eax
mov eax, dword [ebx + 0x50]
mov dword [0x1013aca0], eax
mov eax, dword [ebx + 0x54]
mov dword [0x1013ac9c], eax
mov eax, dword [ebx + 0x58]
mov dword [0x1013ac98], eax
mov eax, dword [ebx + 0x5c]
mov dword [0x1013ac5c], eax
mov eax, dword [ebx + 0x60]
mov dword [0x1013ac58], eax
mov eax, dword [ebx + 0x64]
mov dword [0x1013ac54], eax
mov eax, dword [ebx + 0x68]
mov dword [0x1013ac50], eax
mov eax, dword [ebx + 0x6c]
mov dword [0x1013ac4c], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [0x1013abac], eax
mov eax, dword [ebx + 8]
mov dword [0x1013aba8], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013abb4], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013abb0], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013aca0], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013ac9c], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013ac98], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013ac48], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013ac44], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013ac40], eax
mov eax, dword [ebx + 0x30]
mov dword [0x1013ac3c], eax
mov eax, dword [ebx + 0x34]
mov dword [0x1013ac38], eax
mov eax, dword [ebx + 0x38]
mov dword [0x1013ac34], eax
mov eax, dword [ebx + 0x3c]
mov dword [0x1013ac30], eax
mov eax, dword [ebx + 0x40]
mov dword [0x1013ac2c], eax
mov eax, dword [ebx + 0x44]
mov dword [0x1013ac28], eax
mov eax, dword [ebx + 0x48]
mov dword [0x1013ac24], eax
mov eax, dword [ebx + 0x4c]
mov dword [0x1013ac20], eax
mov eax, dword [ebx + 0x50]
mov dword [0x1013ac1c], eax
mov eax, dword [ebx + 0x54]
mov dword [0x1013ac18], eax
mov eax, dword [ebx + 0x58]
mov dword [0x1013ac14], eax
mov eax, dword [ebx + 0x5c]
mov dword [0x1013ac10], eax
mov eax, dword [ebx + 0x60]
mov dword [0x1013ac0c], eax
mov eax, dword [ebx + 0x64]
mov dword [0x1013ac08], eax
mov eax, dword [ebx + 0x68]
mov dword [0x1013ac04], eax
mov eax, dword [ebx + 0x6c]
mov dword [0x1013ac00], eax
mov eax, dword [ebx + 0x70]
mov dword [0x1013abfc], eax
mov eax, dword [ebx + 0x74]
mov dword [0x1013abf8], eax
mov eax, dword [ebx + 0x78]
mov dword [0x1013abf4], eax
mov eax, dword [ebx + 0x7c]
mov dword [0x1013abf0], eax
mov eax, dword [ebx + 0x80]
mov dword [0x1013abec], eax
mov eax, dword [ebx + 0x84]
mov dword [0x1013abe8], eax
mov eax, dword [ebx + 0x88]
mov dword [0x1013abe4], eax
mov eax, dword [ebx + 0x8c]
mov dword [0x1013abe0], eax
mov eax, dword [ebx + 0x90]
mov dword [0x1013abdc], eax
mov eax, dword [ebx + 0x94]
mov dword [0x1013abd8], eax
mov eax, dword [ebx + 0x98]
mov dword [0x1013abd4], eax
mov eax, dword [ebx + 0x9c]
mov dword [0x1013abd0], eax
mov eax, dword [ebx + 0xa0]
mov dword [0x1013abcc], eax
mov eax, dword [ebx + 0xa4]
mov dword [0x1013abc8], eax
mov eax, dword [ebx + 0xa8]
mov dword [0x1013abc4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov eax, 0x102f4092
mov edi, 0xffff
mov dword [eax - 2], edi
add eax, 4
cmp eax, 0x102f46d2
jl 0x1005d231
xor edx, edx
cmp byte [ebx + 5], dl
jbe case.0x1005cc26.228
lea ecx, [ebx + 8]
nop dword [eax]
mov al, byte [ecx + 1]
movzx esi, word [ecx - 2]
mov byte [ebp - 0x1d], al
mov al, byte [ecx]
mov byte [ebp - 0x11], al
xor eax, eax
cmp word [eax*4 + 0x102f4090], di
je 0x1005d275
inc eax
cmp eax, 0x190
jl 0x1005d261
jmp 0x1005d294
mov bl, byte [ebp - 0x11]
mov byte [eax*4 + 0x102f4092], bl
mov bl, byte [ebp - 0x1d]
mov byte [eax*4 + 0x102f4093], bl
mov ebx, dword [ebp - 0x18]
mov word [eax*4 + 0x102f4090], si
movzx eax, byte [ebx + 5]
inc edx
add ecx, 4
cmp edx, eax
jl 0x1005d250
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 4]
lea esi, [ebx + 6]
mov byte [0x1013aa95], al
mov ecx, 0x1e
movzx eax, byte [ebx + 5]
mov edi, 0x1013ab10
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x7e]
mov byte [0x1013aa94], al
mov ecx, 0x1e
mov edi, 0x1013aa98
rep movsd dword es:[edi], dword [esi]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 5]
cmp al, 1
jne 0x1005d3af
movzx esi, byte [ebx + 6]
movzx eax, byte [ebx + 7]
mov ecx, dword [0x10138374]
mov edx, dword [0x10138378]
mov edi, dword [ebx + 0xa]
shl esi, 8
or esi, eax
mov al, byte [ebx + 0xe]
mov byte [ebp - 0x11], al
cmp ecx, edx
je 0x1005d341
nop dword [eax]
movzx eax, word [ecx]
cmp eax, esi
je 0x1005d37f
add ecx, 0xc
cmp ecx, edx
jne 0x1005d330
mov al, byte [ebp - 0x11]
mov word [ebp - 0x10], si
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], al
cmp edx, dword [0x1013837c]
je 0x1005d39e
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov eax, 1
add dword [0x10138378], 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov dword [ecx + 4], edi
mov al, byte [ebp - 0x11]
mov byte [ecx + 8], al
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
mov ecx, 0x10138374
push eax
push edx
call fcn.10058890
jmp case.0x1005cc26.228
mov dword [ebp - 0x18], 0
test al, al
je case.0x1005cc26.228
mov edx, dword [0x10138378]
lea edi, [ebx + 6]
movzx eax, byte [edi]
movzx esi, byte [edi + 1]
mov ecx, dword [0x10138374]
shl eax, 8
or esi, eax
mov al, byte [edi + 8]
mov byte [ebp - 0x11], al
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
cmp ecx, edx
je 0x1005d3f7
movzx eax, word [ecx]
cmp eax, esi
je 0x1005d45f
add ecx, 0xc
cmp ecx, edx
jne 0x1005d3e5
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0x11]
mov word [ebp - 0x10], si
mov byte [ebp - 8], al
cmp edx, dword [0x1013837c]
je 0x1005d42f
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov edx, dword [0x10138378]
add edx, 0xc
mov dword [0x10138378], edx
jmp 0x1005d444
lea eax, [ebp - 0x10]
mov ecx, 0x10138374
push eax
push edx
call fcn.10058890
mov edx, dword [0x10138378]
mov ecx, dword [ebp - 0x18]
add edi, 0xc
movzx eax, byte [ebx + 5]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jl 0x1005d3c3
jmp case.0x1005cc26.228
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
jmp 0x1005d382
cmp byte [ebx], 0xc1
jne 0x1005d474
mov al, byte [ebx + 3]
jmp 0x1005d477
mov al, byte [ebx + 4]
movzx eax, al
sub eax, 0x20
je 0x1005d55b
sub eax, 1
je 0x1005d4c7
sub eax, 2
jne case.0x1005c371.18
mov eax, dword [ebx + 4]
push eax
push 0x10121c28
push str.ChaosMachineMixResult
push 0x1012ffc8
mov dword [0x1012ff80], eax
call fcn.100385c0
mov eax, 1
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
call fcn.10009570
cmp byte [ebx + 5], 0
jbe case.0x1005cc26.228
xor edi, edi
lea esi, [ebx + 6]
nop dword [eax + eax]
lea eax, [esi + 1]
push eax
movzx eax, byte [esi]
push eax
call fcn.10009480
movzx eax, byte [ebx + 5]
lea esi, [esi + 0xd]
inc edi
cmp edi, eax
jl 0x1005d4e0
mov ecx, dword [0x1012fffc]
sub ecx, dword [0x1012fff8]
movss xmm1, dword [0x1012ff9c]
sar ecx, 3
sub ecx, dword [0x1012ffc0]
mov dword [0x1012ffac], 0
mov dword [0x1012ffb4], 0
movd xmm0, ecx
lea eax, [ecx - 1]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov dword [0x1012ffb0], eax
addsd xmm0, qword [ecx*8 + 0x10124540]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [0x1012ffbc], xmm1
jmp case.0x1005cc26.228
mov byte [0x1012ff90], 1
mov dword [0x1012ffc4], 0
mov eax, dword [ebx + 4]
mov dword [0x1012ff80], eax
mov eax, dword [ebx + 8]
mov dword [0x1012ff84], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1012ff88], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
movzx eax, byte [ebx + 4]
push ebx
push eax
call fcn.1004f120
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
cmp byte [ebx], 0xc1
jne 0x1005d5c8
mov al, byte [ebx + 3]
jmp 0x1005d5cb
mov al, byte [ebx + 4]
movzx eax, al
add eax, 0xfffffff0
cmp eax, 0x1c
ja case.0x1005cc26.228
movzx eax, byte [eax + 0x1005d9d4]
jmp dword [eax*4 + 0x1005d9bc]
mov ecx, ebx
call fcn.1005e580
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
push ebx
call fcn.100620e0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10062370
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1013843c]
mov esi, ecx
mov edi, dword [0x10138440]
mov al, byte [ebx + 4]
cmp esi, edi
je 0x1005d6c8
cmp byte [esi + 4], al
je 0x1005d664
add esi, 8
cmp esi, edi
jne 0x1005d656
jmp 0x1005d6c8
mov edi, dword [esi]
mov byte [esi + 4], 0xff
test edi, edi
je 0x1005d68e
mov eax, 0x861110
call eax
mov edx, 0x861240
mov ecx, eax
call edx
push edi
mov edx, 0x7e1ed0
mov ecx, eax
call edx
mov dword [esi], 0
mov edi, dword [0x10138440]
lea edx, [esi + 8]
cmp edx, edi
je 0x1005d6b9
sub esi, edx
nop dword [eax]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + edx], eax
mov dword [esi + edx + 4], ecx
add edx, 8
cmp edx, edi
jne 0x1005d6a0
mov edi, dword [0x10138440]
mov ecx, dword [0x1013843c]
sub edi, 8
mov dword [0x10138440], edi
sub edi, ecx
mov dword [0x101383e0], 0
sar edi, 3
mov eax, 1
sub edi, 8
mov dword [0x101383e8], 0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
shr edi, 0x1f
addsd xmm0, qword [edi*8 + 0x10124540]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x1012435c]
divss xmm0, xmm1
movss dword [0x101383e4], xmm1
movss dword [0x101383f0], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf15
mov esp, ebp
pop ebp
ret
push ebx
call fcn.1002ff10
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007bf15
mov esp, ebp
pop ebp
ret