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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1012f040]
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 esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
add eax, 0xffffffef
cmp eax, 0xea
ja case.0x1005ec41.18
movzx eax, byte [eax + 0x1006001c]
jmp dword [eax*4 + 0x1005ffcc]
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
cmp dword [0x1013abc8], ecx
jne 0x1005ec73
mov eax, dword [ebx + 0xc]
mov dword [0x1013abbc], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013acac], eax
mov eax, dword [ebx + 0x18]
mov dl, byte [ebx + 7]
mov ecx, dword [ebx + 0x14]
mov dword [0x1013aca0], eax
mov eax, dword [0x1013ac8c]
mov dword [0x1013aca4], ecx
test dl, 0x10
je 0x1005eca8
cmp eax, 3
jae 0x1005eca8
mov dword [eax*4 + 0x1013ac90], ecx
inc eax
mov dword [0x1013ac8c], eax
mov dword [0x1013ac88], eax
test dl, 0x20
je case.0x1005ec41.18
cmp eax, 4
jae case.0x1005ec41.18
mov dword [eax*4 + 0x1013ac90], ecx
inc eax
mov dword [0x1013ac8c], eax
mov dword [0x1013ac88], eax
jmp case.0x1005ec41.18
cmp byte [ebx + 3], 0
mov dword [ebp - 0x18], 0
jbe case.0x1005ec41.18
mov edx, dword [0x101383b0]
lea ecx, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov esi, 0xffff
movzx edi, byte [ecx]
movzx eax, byte [ecx + 1]
mov ecx, 0x10135d2c
shl edi, 8
or edi, eax
movzx eax, word [ecx + 0xe]
cmp ax, si
je 0x1005ed44
cmp eax, edi
jne 0x1005ed44
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], si
mov dword [ecx + 8], eax
add ecx, 0x20
cmp ecx, 0x1013668c
jl 0x1005ed04
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [0x101383ac]
mov dword [ebp - 0x24], ecx
cmp eax, edx
je 0x1005ed9f
nop word [eax + eax]
movzx ecx, word [eax]
lea edi, [eax + 0xc]
cmp ecx, dword [ebp - 0x24]
je 0x1005ed83
mov eax, edi
cmp eax, edx
jne 0x1005ed70
jmp 0x1005ed9f
sub edx, edi
push edx
push edi
push eax
call fcn.100cd5f0
mov edx, dword [0x101383b0]
add esp, 0xc
sub edx, 0xc
mov dword [0x101383b0], edx
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edi
movzx eax, byte [ebx + 3]
add ecx, 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
cmp edi, eax
jl 0x1005ecf3
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp case.0x1005ec41.18
mov eax, dword [ebx + 0xc]
mov dword [0x1013aca4], eax
jmp case.0x1005ec41.18
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
cmp dword [0x1013abc8], ecx
jne case.0x1005ec41.18
mov dword [0x1013abbc], 0
jmp case.0x1005ec41.18
mov eax, dword [0x101383ac]
cmp eax, dword [0x101383b0]
je case.0x1005ec41.18
mov dword [0x101383b0], eax
jmp case.0x1005ec41.18
mov ecx, ebx
call fcn.10060280
jmp case.0x1005ec41.18
cmp byte [ebx + 3], 0xfe
jne 0x1005ee2a
mov eax, dword [ebx + 0xc]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013aca8], eax
cmp byte [ebx + 3], 0xff
jne case.0x1005ec41.18
cmp dword [0x1013abbc], 0
je 0x1005ee41
mov eax, dword [ebx + 0xc]
mov dword [0x1013abbc], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013acac], eax
call esi
push dword [ebp + 0x14]
mov dword [0x1012fe44], 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.1007fba4
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 3], 0xfe
jne 0x1005ee8b
mov eax, dword [ebx + 8]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013acb0], eax
cmp byte [ebx + 3], 0xff
jne case.0x1005ec41.18
mov eax, dword [ebx + 8]
mov dword [0x1013abc4], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013abc0], eax
jmp case.0x1005ec41.18
cmp byte [ebx + 0x14], 0
je 0x1005ef3b
movq xmm0, qword [ebx + 4]
movq qword [str.Hope], xmm0
mov ax, word [ebx + 0xc]
mov word [0x10138458], ax
mov al, byte [ebx + 0xe]
mov byte [0x1013845a], al
call fcn.10064760
call fcn.10064810
mov dword [0x101383fc], 0x104
mov dword [0x10138400], 0
mov byte [0x10138404], 1
mov dword [0x10138448], 0
mov dword [0x1013844c], 0
mov dword [0x10138410], 0x43d20000
mov dword [0x10138414], 0x43d20000
mov dword [0x10138440], 0
mov dword [0x10138444], 0
mov word [0x1013840c], 0
jmp case.0x1005ec41.18
mov byte [0x10138404], 0
jmp case.0x1005ec41.18
cmp byte [ebx + 4], 1
jne case.0x1005ec41.18
mov al, byte [ebx + 3]
test al, al
jne 0x1005ef5f
mov byte [0x1013840c], al
jmp 0x1005ef78
cmp al, 1
jne 0x1005ef6d
mov byte [0x1013840c], al
jmp case.0x1005ec41.18
cmp al, 2
jne 0x1005ef8e
mov byte [0x1013840d], 0
mov dword [0x1013845c], 0xa
call esi
mov dword [0x10138464], eax
jmp case.0x1005ec41.18
cmp al, 3
jne case.0x1005ec41.18
mov byte [0x1013840d], 1
jmp case.0x1005ec41.18
mov al, byte [ebx + 3]
test al, al
je 0x1005efb9
cmp al, 3
je 0x1005efb9
cmp al, 6
je 0x1005efb9
cmp al, 0x11
jne case.0x1005ec41.18
mov eax, dword [ebx + 8]
mov dword [0x1013acbc], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013acb8], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013ac6c], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013ac68], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013ac64], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013ac60], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013ac5c], eax
jmp case.0x1005ec41.18
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
and ecx, 0x7fff
cmp dword [0x1013abc8], ecx
jne case.0x1005ec41.18
mov eax, dword [ebx + 8]
mov dword [0x1013acb8], eax
jmp case.0x1005ec41.18
cmp byte [ebx], 0xc1
jne 0x1005f02c
mov al, byte [ebx + 3]
jmp 0x1005f02f
mov al, byte [ebx + 4]
cmp al, 0x27
jne case.0x1005ec41.18
push ebx
call fcn.1005bfe0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
cmp byte [ebx], 0xc1
lea ecx, [ebx + 4]
jne 0x1005f060
mov al, byte [ebx + 3]
jmp 0x1005f062
mov al, byte [ecx]
movzx eax, al
sub eax, 0
je 0x1005f191
sub eax, 1
je 0x1005f153
sub eax, 0x14
jne case.0x1005ec41.18
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov bl, byte [ecx]
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 [0x10138478]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], bl
cmp edx, dword [0x1013847c]
je 0x1005f0d5
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [0x10138478]
add eax, 8
mov dword [0x10138478], eax
jmp 0x1005f0e9
lea eax, [ebp - 0xc]
mov ecx, 0x10138474
push eax
push edx
call fcn.1000be20
mov eax, dword [0x10138478]
sub eax, dword [0x10138474]
sar eax, 3
sub eax, 8
mov dword [0x10138418], 0
mov dword [0x10138420], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10124c10]
mov eax, 1
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x10124a34]
divss xmm0, xmm1
movss dword [0x1013841c], xmm1
movss dword [0x10138428], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
mov edi, dword [0x1013ad18]
cmp edi, 1
je case.0x1005ec41.18
cmp byte [ecx], 1
jne 0x1005f258
mov eax, dword [0x1013acc4]
xor edx, edx
cmp eax, 3
push 0
cmove edx, eax
xor ecx, ecx
cmp eax, 3
push 0
cmove ecx, edi
call fcn.10061400
add esp, 8
jmp case.0x1005ec41.18
cmp dword [0x1013ad18], 1
movzx edi, word [ebx + 0x14]
jne 0x1005f1ab
cmp dword [0x1013acc4], 3
jne case.0x1005ec41.18
push ecx
push 0x10
push 0x1013ad20
call fcn.100e30ce
xor ecx, ecx
mov word [0x1013ad1c], di
add esp, 0xc
cmp dword [0x1013acc4], 3
cmove ecx, dword [0x1013acc4]
mov dword [0x1013acc4], ecx
mov dword [0x1013ad18], 2
call esi
mov dword [0x1013ad14], eax
call esi
mov dword [0x1013ad10], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013ad08], 0
cmp byte [0x1012fef6], 1
cmove eax, ecx
mov dword [0x1013ad0c], eax
jmp case.0x1005ec41.18
cmp byte [ebx], 0xc1
jne 0x1005f21f
mov al, byte [ebx + 3]
jmp 0x1005f222
mov al, byte [ebx + 4]
movzx eax, al
sub eax, 0
je 0x1005f431
sub eax, 1
je 0x1005f267
sub eax, 1
jne case.0x1005ec41.18
cmp dword [0x1013ad18], 1
je case.0x1005ec41.18
mov al, byte [ebx + 4]
test al, al
je 0x1005f258
cmp al, 2
jne case.0x1005ec41.18
mov dword [0x1013acc4], 0
jmp 0x1005f1d8
cmp dword [0x1013acc4], 1
jne case.0x1005ec41.18
cmp dword [0x1013ad04], 0
je case.0x1005ec41.18
mov al, byte [ebx + 4]
cmp al, 1
jne 0x1005f2e6
mov edx, 4
mov dword [ebp - 0x1c], 0xf304c1
lea ecx, [ebp - 0x1c]
call fcn.10060e50
mov dword [0x1013ad18], 1
mov dword [0x1013acc4], 2
call esi
mov dword [0x1013ad14], eax
call esi
cmp byte [0x1012fef6], 1
mov ecx, 0x3e8
mov dword [0x1013ad10], eax
mov eax, 0x7530
cmove eax, ecx
mov dword [0x1013ad08], 0x7530
mov dword [0x1013ad0c], eax
jmp case.0x1005ec41.18
cmp byte [0x1012fef6], 1
jne 0x1005f386
mov eax, dword [0x8793750]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1005f306
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov byte [0x1012fef8], 1
mov dword [0x1013ad04], 0
mov dword [0x1013ad18], 0
mov dword [0x1013acc4], 0
call esi
mov dword [0x1013ad14], eax
call esi
mov dword [0x1013ad10], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013ad08], 0
cmp byte [0x1012fef6], 1
mov dword [0x8793704], 1
cmove eax, ecx
mov dword [0x1013ad04], 0
mov dword [0x1013ad0c], eax
mov dword [0x1013ad00], 0
mov dword [0xe609e8], 2
jmp case.0x1005ec41.18
cmp al, 3
jne 0x1005f3de
mov dword [0x1013ad18], 1
mov dword [0x1013acc4], 1
call esi
mov dword [0x1013ad14], eax
call esi
cmp byte [0x1012fef6], 1
mov ecx, 0x3e8
mov dword [0x1013ad10], eax
mov eax, 0x2710
cmove eax, ecx
mov dword [0x1013ad08], 0x7530
mov dword [0x1013ad0c], eax
mov dword [0x1013ad04], 0
jmp case.0x1005ec41.18
mov dword [0x1013ad18], 2
mov dword [0x1013acc4], 0
call esi
mov dword [0x1013ad14], eax
call esi
mov dword [0x1013ad10], eax
mov ecx, 0x3e8
xor eax, eax
mov dword [0x1013ad08], 0
cmp byte [0x1012fef6], 1
cmove eax, ecx
mov ecx, 0x8793750
mov dword [0x1013ad0c], eax
mov eax, 0x63a180
call eax
jmp case.0x1005ec41.18
movzx ecx, byte [ebx + 5]
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013abc8], ecx
cmp eax, dword [ebx + 0x30]
jne case.0x1005ec41.18
cmp dword [ebx + 0x34], 0
je case.0x1005ec41.18
mov ecx, 0x1012fe18
mov byte [0x1012fe58], 1
call fcn.10006680
jmp case.0x1005ec41.18
cmp byte [ebx], 0xc1
jne 0x1005f47a
mov al, byte [ebx + 3]
jmp 0x1005f47d
mov al, byte [ebx + 4]
movzx eax, al
cmp eax, 0xe9
ja case.0x1005ec41.18
movzx eax, byte [eax + 0x10060150]
jmp dword [eax*4 + 0x10060108]
mov ecx, ebx
call fcn.10060470
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.10060760
jmp case.0x1005ec41.18
mov eax, dword [ebx + 0x1c]
mov dword [0x1013abbc], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013abc4], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013abc0], eax
mov eax, dword [ebx + 0x28]
jmp 0x1005ee44
mov eax, dword [ebx + 0x18]
mov dword [0x1013acb8], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013ac84], eax
mov eax, dword [ebx + 0x30]
mov dword [0x1013ac80], eax
jmp case.0x1005ec41.18
mov al, byte [ebx + 4]
sub al, 0x10
cmp al, 4
ja case.0x1005ec41.18
mov eax, dword [ebx + 0xc]
mov dword [0x1013acb8], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013ac6c], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013ac68], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013ac64], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013ac60], eax
mov eax, dword [ebx + 0x30]
mov dword [0x1013ac5c], eax
jmp case.0x1005ec41.18
mov eax, dword [ebx + 8]
mov dword [0x1013abbc], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013acac], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013aca4], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013aca0], eax
jmp case.0x1005ec41.18
mov eax, dword [ebx + 0x20]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0x24]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0x28]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x2c]
mov dword [0x1013aca8], eax
jmp case.0x1005ec41.18
mov eax, dword [ebx + 0x14]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov dword [0x1013ac78], eax
mov dword [0x1013ac7c], ecx
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [0x1013ac70], eax
mov dword [0x1013ac74], ecx
jmp case.0x1005ec41.18
call fcn.1001f8c0
cmp byte [ebx + 5], 0
mov dword [ebp - 0x18], 0
jbe case.0x1005f492.228
mov edx, 0x10135c3c
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 0x1005f630
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 6], 1
jne 0x1005f6e3
push 1
call fcn.1001f900
xor edi, edi
cmp byte [ebx + 5], 0
jbe case.0x1005f492.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.1001f970
movzx eax, byte [ebx + 5]
lea esi, [esi + 0x18]
inc edi
cmp edi, eax
jl 0x1005f6a0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
push 0
call fcn.1001f900
xor edi, edi
cmp byte [ebx + 5], 0
jbe case.0x1005f492.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.1001f970
movzx eax, byte [ebx + 5]
lea esi, [esi + 0x18]
inc edi
cmp edi, eax
jl 0x1005f700
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.10060960
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
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 [0x1013acc0], eax
mov eax, dword [ebx + 0x38]
mov dword [0x1013acb8], eax
mov eax, dword [ebx + 0x3c]
mov dword [0x1013abbc], eax
mov eax, dword [ebx + 0x40]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0x44]
mov dword [0x1013abc4], eax
mov eax, dword [ebx + 0x48]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0x4c]
mov dword [0x1013abc0], eax
mov eax, dword [ebx + 0x50]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x54]
mov dword [0x1013acac], eax
mov eax, dword [ebx + 0x58]
mov dword [0x1013aca8], eax
mov eax, dword [ebx + 0x5c]
mov dword [0x1013ac6c], eax
mov eax, dword [ebx + 0x60]
mov dword [0x1013ac68], eax
mov eax, dword [ebx + 0x64]
mov dword [0x1013ac64], eax
mov eax, dword [ebx + 0x68]
mov dword [0x1013ac60], eax
mov eax, dword [ebx + 0x6c]
mov dword [0x1013ac5c], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [0x1013abbc], eax
mov eax, dword [ebx + 8]
mov dword [0x1013abb8], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1013abc4], eax
mov eax, dword [ebx + 0x10]
mov dword [0x1013acb4], eax
mov eax, dword [ebx + 0x14]
mov dword [0x1013abc0], eax
mov eax, dword [ebx + 0x18]
mov dword [0x1013acb0], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x1013acac], eax
mov eax, dword [ebx + 0x20]
mov dword [0x1013aca8], 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
mov eax, dword [ebx + 0x34]
mov dword [0x1013ac48], eax
mov eax, dword [ebx + 0x38]
mov dword [0x1013ac44], eax
mov eax, dword [ebx + 0x3c]
mov dword [0x1013ac40], eax
mov eax, dword [ebx + 0x40]
mov dword [0x1013ac3c], eax
mov eax, dword [ebx + 0x44]
mov dword [0x1013ac38], eax
mov eax, dword [ebx + 0x48]
mov dword [0x1013ac34], eax
mov eax, dword [ebx + 0x4c]
mov dword [0x1013ac30], eax
mov eax, dword [ebx + 0x50]
mov dword [0x1013ac2c], eax
mov eax, dword [ebx + 0x54]
mov dword [0x1013ac28], eax
mov eax, dword [ebx + 0x58]
mov dword [0x1013ac24], eax
mov eax, dword [ebx + 0x5c]
mov dword [0x1013ac20], eax
mov eax, dword [ebx + 0x60]
mov dword [0x1013ac1c], eax
mov eax, dword [ebx + 0x64]
mov dword [0x1013ac18], eax
mov eax, dword [ebx + 0x68]
mov dword [0x1013ac14], eax
mov eax, dword [ebx + 0x6c]
mov dword [0x1013ac10], eax
mov eax, dword [ebx + 0x70]
mov dword [0x1013ac0c], eax
mov eax, dword [ebx + 0x74]
mov dword [0x1013ac08], eax
mov eax, dword [ebx + 0x78]
mov dword [0x1013ac04], eax
mov eax, dword [ebx + 0x7c]
mov dword [0x1013ac00], eax
mov eax, dword [ebx + 0x80]
mov dword [0x1013abfc], eax
mov eax, dword [ebx + 0x84]
mov dword [0x1013abf8], eax
mov eax, dword [ebx + 0x88]
mov dword [0x1013abf4], eax
mov eax, dword [ebx + 0x8c]
mov dword [0x1013abf0], eax
mov eax, dword [ebx + 0x90]
mov dword [0x1013abec], eax
mov eax, dword [ebx + 0x94]
mov dword [0x1013abe8], eax
mov eax, dword [ebx + 0x98]
mov dword [0x1013abe4], eax
mov eax, dword [ebx + 0x9c]
mov dword [0x1013abe0], eax
mov eax, dword [ebx + 0xa0]
mov dword [0x1013abdc], eax
mov eax, dword [ebx + 0xa4]
mov dword [0x1013abd8], eax
mov eax, dword [ebx + 0xa8]
mov dword [0x1013abd4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
mov eax, 0x102f40e2
mov esi, 0xffff
mov dword [eax - 2], esi
add eax, 4
cmp eax, 0x102f4722
jl 0x1005faa1
xor edx, edx
cmp byte [ebx + 5], dl
jbe case.0x1005f492.228
lea ecx, [ebx + 8]
nop dword [eax]
mov al, byte [ecx + 1]
movzx edi, word [ecx - 2]
mov byte [ebp - 0x11], al
mov al, byte [ecx]
mov byte [ebp - 0x1d], al
xor eax, eax
cmp word [eax*4 + 0x102f40e0], si
je 0x1005fae5
inc eax
cmp eax, 0x190
jl 0x1005fad1
jmp 0x1005fb04
mov bl, byte [ebp - 0x1d]
mov byte [eax*4 + 0x102f40e2], bl
mov bl, byte [ebp - 0x11]
mov byte [eax*4 + 0x102f40e3], bl
mov ebx, dword [ebp - 0x18]
mov word [eax*4 + 0x102f40e0], di
movzx eax, byte [ebx + 5]
inc edx
add ecx, 4
cmp edx, eax
jl 0x1005fac0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 4]
lea esi, [ebx + 6]
mov byte [0x1013aaa5], al
mov ecx, 0x1e
movzx eax, byte [ebx + 5]
mov edi, 0x1013ab20
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x7e]
mov byte [0x1013aaa4], al
mov ecx, 0x1e
mov edi, 0x1013aaa8
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.1007fba4
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 5]
cmp al, 1
jne 0x1005fc22
movzx esi, byte [ebx + 6]
movzx eax, byte [ebx + 7]
mov ecx, dword [0x101383ac]
mov edx, dword [0x101383b0]
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 0x1005fbae
nop dword [eax]
movzx eax, word [ecx]
cmp eax, esi
je 0x1005fbf2
add ecx, 0xc
cmp ecx, edx
jne 0x1005fba0
mov eax, dword [ebx + 0xa]
mov dword [ebp - 0xc], eax
mov al, byte [ebx + 0xe]
mov word [ebp - 0x10], si
mov byte [ebp - 8], al
cmp edx, dword [0x101383b4]
je 0x1005fc11
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov eax, 1
add dword [0x101383b0], 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
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.1007fba4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
mov ecx, 0x101383ac
push eax
push edx
call fcn.1005b560
jmp case.0x1005f492.228
mov dword [ebp - 0x18], 0
test al, al
je case.0x1005f492.228
mov edx, dword [0x101383b0]
lea esi, [ebx + 6]
nop word [eax + eax]
movzx eax, byte [esi]
movzx edi, byte [esi + 1]
mov ecx, dword [0x101383ac]
shl eax, 8
or edi, eax
mov al, byte [esi + 8]
mov byte [ebp - 0x11], al
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
cmp ecx, edx
je 0x1005fc70
movzx eax, word [ecx]
cmp eax, edi
je 0x1005fcd8
add ecx, 0xc
cmp ecx, edx
jne 0x1005fc62
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov al, byte [esi + 8]
mov word [ebp - 0x10], di
mov byte [ebp - 8], al
cmp edx, dword [0x101383b4]
je 0x1005fca8
movq xmm0, qword [ebp - 0x10]
mov eax, dword [ebp - 8]
movq qword [edx], xmm0
mov dword [edx + 8], eax
mov edx, dword [0x101383b0]
add edx, 0xc
mov dword [0x101383b0], edx
jmp 0x1005fcbd
lea eax, [ebp - 0x10]
mov ecx, 0x101383ac
push eax
push edx
call fcn.1005b560
mov edx, dword [0x101383b0]
mov ecx, dword [ebp - 0x18]
add esi, 0xc
movzx eax, byte [ebx + 5]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jl 0x1005fc40
jmp case.0x1005f492.228
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
jmp 0x1005fbf5
cmp byte [ebx], 0xc1
jne 0x1005fced
mov al, byte [ebx + 3]
jmp 0x1005fcf0
mov al, byte [ebx + 4]
movzx eax, al
sub eax, 0x20
je 0x1005fdcf
sub eax, 1
je 0x1005fd40
sub eax, 2
jne case.0x1005ec41.18
mov eax, dword [ebx + 4]
push eax
push 0x10122340
push str.ChaosMachineMixResult
push 0x1012ffd8
mov dword [0x1012ff90], eax
call fcn.10039b20
mov eax, 1
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
call fcn.10009390
cmp byte [ebx + 5], 0
jbe case.0x1005f492.228
xor edi, edi
lea esi, [ebx + 6]
lea eax, [esi + 1]
push eax
movzx eax, byte [esi]
push eax
call fcn.100092a0
movzx eax, byte [ebx + 5]
lea esi, [esi + 0xd]
inc edi
cmp edi, eax
jl 0x1005fd54
mov ecx, dword [0x1013000c]
sub ecx, dword [0x10130008]
movss xmm1, dword [0x1012ffac]
sar ecx, 3
sub ecx, dword [0x1012ffd0]
mov dword [0x1012ffbc], 0
mov dword [0x1012ffc4], 0
movd xmm0, ecx
lea eax, [ecx - 1]
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov dword [0x1012ffc0], eax
addsd xmm0, qword [ecx*8 + 0x10124c10]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [0x1012ffcc], xmm1
jmp case.0x1005f492.228
mov byte [0x1012ffa0], 1
mov dword [0x1012ffd4], 0
mov eax, dword [ebx + 4]
mov dword [0x1012ff90], eax
mov eax, dword [ebx + 8]
mov dword [0x1012ff94], eax
mov eax, dword [ebx + 0xc]
mov dword [0x1012ff98], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
movzx eax, byte [ebx + 4]
push ebx
push eax
call fcn.10051550
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
cmp byte [ebx], 0xc1
jne 0x1005fe3c
mov al, byte [ebx + 3]
jmp 0x1005fe3f
mov al, byte [ebx + 4]
movzx eax, al
add eax, 0xfffffff0
cmp eax, 0x1c
ja case.0x1005f492.228
movzx eax, byte [eax + 0x10060254]
jmp dword [eax*4 + 0x1006023c]
movzx eax, byte [ebx + 6]
push eax
call fcn.1000f4e0
xor edi, edi
cmp byte [ebx + 5], 0
jbe case.0x1005f492.228
lea esi, [ebx + 9]
push dword [esi + 2]
movzx eax, byte [ebx + 6]
push eax
movzx eax, byte [esi]
push eax
movzx eax, word [esi - 2]
push eax
call fcn.1000f800
movzx eax, byte [ebx + 5]
lea esi, [esi + 8]
inc edi
cmp edi, eax
jl 0x1005fe75
jmp case.0x1005f492.228
push ebx
call fcn.100648c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10064b50
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
mov edx, dword [0x10138474]
mov esi, edx
mov eax, dword [0x10138478]
mov cl, byte [ebx + 4]
cmp esi, eax
je 0x1005ff48
cmp byte [esi + 4], cl
je 0x1005fef6
add esi, 8
cmp esi, eax
jne 0x1005fee8
jmp 0x1005ff48
mov edi, dword [esi]
mov byte [esi + 4], 0xff
test edi, edi
je 0x1005ff20
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 eax, dword [0x10138478]
lea ecx, [esi + 8]
sub eax, ecx
push eax
push ecx
push esi
call fcn.100cd5f0
mov eax, dword [0x10138478]
add esp, 0xc
mov edx, dword [0x10138474]
sub eax, 8
mov dword [0x10138478], eax
sub eax, edx
mov dword [0x10138418], 0
sar eax, 3
sub eax, 8
mov dword [0x10138420], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10124c10]
mov eax, 1
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x10124a34]
divss xmm0, xmm1
movss dword [0x1013841c], xmm1
movss dword [0x10138428], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fba4
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10030ed0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007fba4
mov esp, ebp
pop ebp
ret