Function at 0x483e70
Capabilities:
Create thread
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b344a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [esp + 0x11c]
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x12c]
push edi
lea edi, [ebp + 0x204]
mov ecx, 0x39
mov dword [ebp + 0x2e8], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x134]
mov dword [ebp + 0x102fc], esi
call dword [sym.imp.WINMM.dll_timeGetTime]
add esi, 8
mov dword [ebp + 0x10d00], eax
lea ebx, [ebp + 0x268]
mov dword [esp + 0x18], esi
call fcn.00487a70
mov ecx, dword [ebp + 0x102fc]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push ebx
add ecx, 0x43560
push esi
push ecx
lea edx, [esp + 0x2c]
push str._s_s__s_Send_d.log
push edx
call edi
mov eax, dword [esp + 0x148]
add esp, 0x18
lea esi, [ebp + 0x10300]
mov ecx, dword [eax + 0x3c]
mov al, byte [esp + 0x1c]
test al, al
mov dword [esp + 0x10], ecx
je 0x483f39
lea eax, [esp + 0x1c]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x483f2e
cmp cl, 0x3a
jne 0x483f31
mov byte [eax], 0x5f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x483f22
lea edx, [esp + 0x1c]
mov byte [esi], 0
push edx
push 0x4cf898
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x80], 0
mov byte [esi + 0xa3], 1
mov dword [esi + 0x84], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], 0
call fcn.00487a70
mov edx, dword [ebp + 0x102fc]
mov ecx, dword [esp + 0x18]
push eax
push ebx
add edx, 0x43560
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_s__s_Recv_d.log
push eax
call edi
mov ecx, dword [esp + 0x148]
mov al, byte [esp + 0x34]
add esp, 0x18
lea esi, [ebp + 0x103a4]
mov edx, dword [ecx + 0x38]
test al, al
mov dword [esp + 0x10], edx
je 0x483fe2
lea eax, [esp + 0x1c]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x483fd7
cmp cl, 0x3a
jne 0x483fda
mov byte [eax], 0x5f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x483fcb
lea eax, [esp + 0x1c]
mov byte [esi], 0
push eax
push 0x4cf898
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x80], 0
mov byte [esi + 0xa3], 1
mov dword [esi + 0x84], ecx
mov byte [esi + 0xa0], 1
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], 0
call fcn.00487a70
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 0x102fc]
push ebx
add eax, 0x43560
push edx
push eax
lea ecx, [esp + 0x2c]
push str._s_s__s_System_d.log
push ecx
call edi
mov edx, dword [esp + 0x148]
add esp, 0x18
lea ecx, [ebp + 0x10448]
mov eax, dword [edx + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1c]
test al, al
je 0x48408e
lea eax, [esp + 0x1c]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x484083
cmp cl, 0x3a
jne 0x484086
mov byte [eax], 0x5f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x484077
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x4cf898
push esi
mov byte [esi], 0
call edi
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x80], 0
mov byte [esi + 0xa3], 1
mov dword [esi + 0x84], eax
mov byte [esi + 0xa0], 1
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], 0
call fcn.00487a70
mov edx, dword [ebp + 0x102fc]
mov ecx, dword [esp + 0x18]
push eax
push ebx
add edx, 0x43560
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_s__s_Hack_d.log
push eax
call edi
mov al, byte [esp + 0x34]
add esp, 0x18
test al, al
lea esi, [ebp + 0x104ec]
je 0x48412d
lea eax, [esp + 0x1c]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x484122
cmp cl, 0x3a
jne 0x484125
mov byte [eax], 0x5f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x484116
lea ecx, [esp + 0x1c]
mov byte [esi], 0
push ecx
push 0x4cf898
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
mov byte [esi + 0xa3], 1
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], 1
mov byte [esi + 0xa0], 1
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], bl
mov ax, word [ebp + 0x20e]
cmp ax, 0x1400
jbe 0x4841a5
mov edx, dword [esp + 0x10]
and eax, 0xffff
push 0x1400
push eax
push str._d____d_Over_Socket_Num
push edx
call fcn.00485b30
add esp, 0x10
xor al, al
jmp 0x484e12
mov cl, byte [ebp + 0x21c]
cmp cl, 8
jbe 0x4841d2
mov eax, dword [esp + 0x10]
and ecx, 0xff
push 8
push ecx
push str._d____d_Max_RecvThread_Num
push eax
call fcn.00485b30
add esp, 0x10
xor al, al
jmp 0x484e12
and eax, 0xffff
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
mov eax, dword [ebp + 0x10a1c]
shl esi, 2
cmp eax, ebx
jne 0x48429a
cmp dword [ebp + 0x10a40], ebx
ja 0x48429a
lea ecx, [esi + esi*2]
mov dword [ebp + 0x10a40], esi
shl ecx, 2
push ecx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x48422d
dec esi
cmp esi, ebx
jl 0x484229
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x48421e
mov ecx, eax
jmp 0x48422f
xor ecx, ecx
mov eax, dword [ebp + 0x10a40]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10a1c], ecx
jbe 0x48429a
lea esi, [ebp + 0x10a10]
xor eax, eax
mov dword [eax + ecx + 8], esi
mov ecx, dword [ebp + 0x10a1c]
mov edi, dword [ebp + 0x10a14]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10a1c]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10a14]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10a1c]
lea edi, [eax + ecx]
add eax, 0xc
mov dword [ebp + 0x10a14], edi
mov edi, dword [ebp + 0x10a3c]
inc edi
inc edx
mov dword [ebp + 0x10a3c], edi
mov edi, dword [ebp + 0x10a40]
cmp edx, edi
jb 0x484249
xor eax, eax
mov ax, word [ebp + 0x20e]
lea esi, [eax + eax*4]
mov eax, dword [ebp + 0x10a74]
shl esi, 1
cmp eax, ebx
jne 0x484362
cmp dword [ebp + 0x10a98], ebx
ja 0x484362
lea edx, [esi + esi*2]
mov dword [ebp + 0x10a98], esi
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x4842f5
dec esi
cmp esi, ebx
jl 0x4842f1
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x4842e6
mov ecx, eax
jmp 0x4842f7
xor ecx, ecx
mov eax, dword [ebp + 0x10a98]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10a74], ecx
jbe 0x484362
lea esi, [ebp + 0x10a68]
xor eax, eax
mov dword [eax + ecx + 8], esi
mov ecx, dword [ebp + 0x10a74]
mov edi, dword [ebp + 0x10a6c]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10a74]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10a6c]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10a74]
lea edi, [eax + ecx]
add eax, 0xc
mov dword [ebp + 0x10a6c], edi
mov edi, dword [ebp + 0x10a94]
inc edi
inc edx
mov dword [ebp + 0x10a94], edi
mov edi, dword [ebp + 0x10a98]
cmp edx, edi
jb 0x484311
xor eax, eax
mov ax, word [ebp + 0x20e]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
mov eax, dword [ebp + 0x10acc]
shl esi, 2
cmp eax, ebx
jne 0x48442e
cmp dword [ebp + 0x10af0], ebx
ja 0x48442e
lea edx, [esi + esi*2]
mov dword [ebp + 0x10af0], esi
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x4843c1
dec esi
cmp esi, ebx
jl 0x4843bd
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x4843b2
mov ecx, eax
jmp 0x4843c3
xor ecx, ecx
mov eax, dword [ebp + 0x10af0]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10acc], ecx
jbe 0x48442e
lea esi, [ebp + 0x10ac0]
xor eax, eax
mov dword [eax + ecx + 8], esi
mov ecx, dword [ebp + 0x10acc]
mov edi, dword [ebp + 0x10ac4]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10acc]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10ac4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10acc]
lea edi, [eax + ecx]
add eax, 0xc
mov dword [ebp + 0x10ac4], edi
mov edi, dword [ebp + 0x10aec]
inc edi
inc edx
mov dword [ebp + 0x10aec], edi
mov edi, dword [ebp + 0x10af0]
cmp edx, edi
jb 0x4843dd
xor eax, eax
mov ax, word [ebp + 0x20e]
lea esi, [eax + eax*4]
mov eax, dword [ebp + 0x10b24]
shl esi, 1
cmp eax, ebx
jne 0x4844f6
cmp dword [ebp + 0x10b48], ebx
ja 0x4844f6
lea edx, [esi + esi*2]
mov dword [ebp + 0x10b48], esi
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x484489
dec esi
cmp esi, ebx
jl 0x484485
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x48447a
mov ecx, eax
jmp 0x48448b
xor ecx, ecx
mov eax, dword [ebp + 0x10b48]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10b24], ecx
jbe 0x4844f6
lea esi, [ebp + 0x10b18]
xor eax, eax
mov dword [eax + ecx + 8], esi
mov ecx, dword [ebp + 0x10b24]
mov edi, dword [ebp + 0x10b1c]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10b24]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10b1c]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10b24]
lea edi, [eax + ecx]
add eax, 0xc
mov dword [ebp + 0x10b1c], edi
mov edi, dword [ebp + 0x10b44]
inc edi
inc edx
mov dword [ebp + 0x10b44], edi
mov edi, dword [ebp + 0x10b48]
cmp edx, edi
jb 0x4844a5
xor eax, eax
mov ax, word [ebp + 0x20e]
mov ecx, eax
shr ecx, 6
and eax, 0x8000003f
mov dword [ebp + 0x102f8], ecx
jns 0x484516
dec eax
or eax, 0xffffffc0
inc eax
je 0x48451f
inc ecx
mov dword [ebp + 0x102f8], ecx
mov al, byte [0x4d86dc]
mov edx, dword [str.null]
mov byte [esp + 0xa0], al
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0xa1]
mov dword [esp + 0x9c], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [esp + 0x9c]
lea eax, [ebp + 0x204]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00487cd0
test al, al
jne 0x484587
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x9c]
push edx
push str.m_NetSocket.SetSocket._fail_:__s
push eax
call fcn.00485b30
add esp, 0xc
xor al, al
jmp 0x484e12
xor esi, esi
mov si, word [ebp + 0x20e]
lea ecx, [esi + esi*4]
shl ecx, 4
add ecx, 4
push ecx
call fcn.004a685a
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x124], ebx
je 0x4845cb
push 0x484e90
push 0x484e30
lea edi, [eax + 4]
push esi
push 0x50
push edi
mov dword [eax], esi
call fcn.004910a8
jmp 0x4845cd
xor edi, edi
xor esi, esi
or ebx, 0xffffffff
mov si, word [ebp + 0x20e]
mov dword [esp + 0x124], ebx
mov dword [ebp + 0x10594], edi
lea edx, [esi + esi*4]
shl edx, 4
add edx, 4
push edx
call fcn.004a685a
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x124], 1
je 0x484625
push 0x484e90
push 0x484e30
lea edi, [eax + 4]
push esi
push 0x50
push edi
mov dword [eax], esi
call fcn.004910a8
jmp 0x484627
xor edi, edi
mov eax, dword [ebp + 0x10594]
mov dword [esp + 0x124], ebx
test eax, eax
mov dword [ebp + 0x10598], edi
jne 0x48465f
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x10]
push eax
push str.SetProcess__d___m_pRecvBuffer_mem_alloc_fail
push ecx
call fcn.00485b30
add esp, 0xc
xor al, al
jmp 0x484e12
test edi, edi
jne 0x484684
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0x10]
push edx
push str.SetProcess__d___m_pSendBuffer_mem_alloc_fail
push eax
call fcn.00485b30
add esp, 0xc
xor al, al
jmp 0x484e12
mov ecx, dword [ebp + 0x220]
push ecx
call fcn.004a685a
mov edx, dword [ebp + 0x224]
mov dword [ebp + 0x10cf8], eax
push edx
call fcn.004a685a
xor ebx, ebx
add esp, 8
cmp word [ebp + 0x20e], bx
mov dword [ebp + 0x10cfc], eax
jbe 0x48472d
xor edi, edi
mov edx, dword [ebp + 0x10594]
mov ecx, dword [ebp + 0x10cfc]
mov eax, dword [ebp + 0x224]
mov esi, edi
add esi, edx
mov edx, dword [esi + 0x18]
test edx, edx
jne 0x4846eb
mov dword [esi], eax
mov dword [esi + 4], eax
add eax, eax
mov dword [esi + 0x4c], ecx
push eax
call fcn.004a685a
add esp, 4
mov dword [esi + 0x18], eax
mov esi, dword [ebp + 0x10598]
mov ecx, dword [ebp + 0x10cf8]
mov eax, dword [ebp + 0x220]
add esi, edi
mov edx, dword [esi + 0x18]
test edx, edx
jne 0x48471c
mov dword [esi], eax
mov dword [esi + 4], eax
add eax, eax
mov dword [esi + 0x4c], ecx
push eax
call fcn.004a685a
add esp, 4
mov dword [esi + 0x18], eax
xor eax, eax
inc ebx
mov ax, word [ebp + 0x20e]
add edi, 0x50
cmp ebx, eax
jl 0x4846b8
xor esi, esi
mov si, word [ebp + 0x20e]
lea ecx, [esi + esi*2]
lea edx, [ecx*8 + 4]
push edx
call fcn.004a685a
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x124], 2
cmp eax, ebx
je 0x48477a
push 0x484f20
push 0x484f10
lea edi, [eax + 4]
push esi
push 0x18
push edi
mov dword [eax], esi
call fcn.004910a8
mov eax, edi
jmp 0x48477c
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x124], 0xffffffff
mov dword [ebp + 0x10590], eax
jne 0x4847b2
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x10]
push eax
push str.SetProcess__d___m_csRecv_mem_alloc_fail
push ecx
call fcn.00485b30
add esp, 0xc
xor al, al
jmp 0x484e12
mov ecx, dword [esp + 0x130]
cmp dword [ecx + 0x58], ebx
je 0x484a98
cmp dword [ebp + 0x10c10], ebx
je 0x4847d1
xor al, al
jmp 0x484e12
xor eax, eax
mov ax, word [ecx + 0xa]
lea eax, [eax + eax*4]
shl eax, 1
mov dword [ebp + 0x10c0c], eax
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call fcn.004a685a
mov dword [ebp + 0x10c10], eax
mov eax, dword [ebp + 0x10c0c]
shl eax, 2
push eax
call fcn.004a685a
mov ecx, dword [ebp + 0x10c10]
add esp, 8
cmp ecx, ebx
mov dword [ebp + 0x10c14], eax
jne 0x48483d
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x10]
push ecx
push str.SetProcess__d___m_ndKeyCheck_mem_alloc_fail
push edx
call fcn.00485b30
add esp, 0xc
xor al, al
jmp 0x484e12
cmp eax, ebx
jne 0x484862
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x10]
push eax
push str.SetProcess__d___m_dwKeyCheckBufferList_mem_alloc_fail
push ecx
call fcn.00485b30
add esp, 0xc
xor al, al
jmp 0x484e12
cmp dword [ebp + 0x10c48], ebx
jne 0x484920
cmp dword [ebp + 0x10c6c], ebx
ja 0x484920
mov esi, dword [ebp + 0x10c0c]
mov dword [ebp + 0x10c6c], esi
lea edx, [esi + esi*2]
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x4848b3
dec esi
cmp esi, ebx
jl 0x4848af
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x4848a4
mov ecx, eax
jmp 0x4848b5
xor ecx, ecx
mov eax, dword [ebp + 0x10c6c]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10c48], ecx
jbe 0x484920
lea esi, [ebp + 0x10c3c]
xor eax, eax
mov dword [ecx + eax + 8], esi
mov ecx, dword [ebp + 0x10c48]
mov edi, dword [ebp + 0x10c40]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10c48]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10c40]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10c48]
lea edi, [ecx + eax]
add eax, 0xc
mov dword [ebp + 0x10c40], edi
mov edi, dword [ebp + 0x10c68]
inc edi
inc edx
mov dword [ebp + 0x10c68], edi
mov edi, dword [ebp + 0x10c6c]
cmp edx, edi
jb 0x4848cf
cmp dword [ebp + 0x10ca0], ebx
jne 0x4849de
cmp dword [ebp + 0x10cc4], ebx
ja 0x4849de
mov esi, dword [ebp + 0x10c0c]
mov dword [ebp + 0x10cc4], esi
lea edx, [esi + esi*2]
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x484971
dec esi
cmp esi, ebx
jl 0x48496d
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x484962
mov ecx, eax
jmp 0x484973
xor ecx, ecx
mov eax, dword [ebp + 0x10cc4]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10ca0], ecx
jbe 0x4849de
lea esi, [ebp + 0x10c94]
xor eax, eax
mov dword [ecx + eax + 8], esi
mov ecx, dword [ebp + 0x10ca0]
mov edi, dword [ebp + 0x10c98]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10ca0]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10c98]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10ca0]
lea edi, [ecx + eax]
add eax, 0xc
mov dword [ebp + 0x10c98], edi
mov edi, dword [ebp + 0x10cc0]
inc edi
inc edx
mov dword [ebp + 0x10cc0], edi
mov edi, dword [ebp + 0x10cc4]
cmp edx, edi
jb 0x48498d
mov eax, dword [ebp + 0x10c0c]
xor edi, edi
cmp eax, ebx
jle 0x484a71
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebp + 0x10ca4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x10c90]
lea ecx, [ebp + 0x10c94]
cmp eax, ecx
je 0x484a63
mov edx, dword [eax + 8]
lea ecx, [ebp + 0x10c88]
mov dword [ebp + 0x10c90], edx
mov edx, dword [eax + 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0x10cc0]
dec edx
lea ecx, [ebp + 0x10c7c]
mov dword [ebp + 0x10cc0], edx
mov dword [eax], edi
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x10c80]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x10c80]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0x10cbc]
inc ecx
mov dword [ebp + 0x10c80], eax
mov dword [ebp + 0x10cbc], ecx
push esi
call ebx
mov eax, dword [ebp + 0x10c0c]
inc edi
cmp edi, eax
jl 0x4849fa
mov edx, dword [esp + 0x130]
mov eax, dword [edx + 0x5c]
mov byte [ebp + 0x10cd0], 1
shr eax, 1
mov dword [ebp + 0x10cc8], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp + 0x10ccc], eax
xor ebx, ebx
cmp dword [ebp + 0x208], ebx
je 0x484ac1
lea eax, [ebp + 0x1059c]
push eax
push ebx
push 0x4857d0
mov dword [eax], 1
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
call fcn.00492092
add esp, 0xc
mov eax, dword [ebp + 0x102f8]
xor edi, edi
cmp eax, ebx
jle 0x484afc
lea esi, [ebp + 0x105a8]
push esi
push ebx
push 0x4858f0
mov dword [esi], 1
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
call fcn.00492092
mov eax, dword [ebp + 0x102f8]
add esp, 0xc
inc edi
add esi, 0xc
cmp edi, eax
jl 0x484ad3
mov al, byte [ebp + 0x21c]
xor edi, edi
test al, al
jbe 0x484b39
lea esi, [ebp + 0x10974]
push esi
push ebx
push 0x485ce0
mov dword [esi], 1
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
call fcn.00492092
xor eax, eax
add esp, 0xc
mov al, byte [ebp + 0x21c]
inc edi
add esi, 0xc
cmp edi, eax
jl 0x484b0e
lea eax, [ebp + 0x109d4]
push eax
push ebx
push 0x4862b0
mov dword [eax], 1
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
call fcn.00492092
mov eax, dword [ebp + 0x254]
add esp, 0xc
cmp eax, ebx
je 0x484d3f
cmp dword [ebp + 0x208], ebx
jne 0x484d39
xor eax, eax
mov ax, word [ebp + 0x20e]
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call fcn.004a685a
mov dword [ebp + 0x10b4c], eax
mov eax, dword [ebp + 0x10b80]
add esp, 4
cmp eax, ebx
jne 0x484c55
cmp dword [ebp + 0x10ba4], ebx
ja 0x484c55
xor esi, esi
mov si, word [ebp + 0x20e]
mov dword [ebp + 0x10ba4], esi
lea edx, [esi + esi*2]
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x484be8
dec esi
cmp esi, ebx
jl 0x484be4
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x484bd9
mov ecx, eax
jmp 0x484bea
xor ecx, ecx
mov eax, dword [ebp + 0x10ba4]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10b80], ecx
jbe 0x484c55
lea esi, [ebp + 0x10b74]
xor eax, eax
mov dword [ecx + eax + 8], esi
mov ecx, dword [ebp + 0x10b80]
mov edi, dword [ebp + 0x10b78]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10b80]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10b78]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10b80]
lea edi, [ecx + eax]
add eax, 0xc
mov dword [ebp + 0x10b78], edi
mov edi, dword [ebp + 0x10ba0]
inc edi
inc edx
mov dword [ebp + 0x10ba0], edi
mov edi, dword [ebp + 0x10ba4]
cmp edx, edi
jb 0x484c04
cmp dword [ebp + 0x10bd8], ebx
jne 0x484d16
cmp dword [ebp + 0x10bfc], ebx
ja 0x484d16
xor esi, esi
mov si, word [ebp + 0x20e]
mov dword [ebp + 0x10bfc], esi
lea edx, [esi + esi*2]
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
cmp eax, ebx
je 0x484ca9
dec esi
cmp esi, ebx
jl 0x484ca5
lea ecx, [eax + 8]
lea edx, [esi + 1]
mov dword [ecx - 4], ebx
mov dword [ecx], ebx
add ecx, 0xc
dec edx
jne 0x484c9a
mov ecx, eax
jmp 0x484cab
xor ecx, ecx
mov eax, dword [ebp + 0x10bfc]
xor edx, edx
cmp eax, ebx
mov dword [ebp + 0x10bd8], ecx
jbe 0x484d16
lea esi, [ebp + 0x10bcc]
xor eax, eax
mov dword [ecx + eax + 8], esi
mov ecx, dword [ebp + 0x10bd8]
mov edi, dword [ebp + 0x10bd0]
mov dword [eax + ecx + 4], edi
mov edi, dword [ebp + 0x10bd8]
mov ecx, eax
add ecx, edi
mov edi, dword [ebp + 0x10bd0]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x10bd8]
lea edi, [ecx + eax]
add eax, 0xc
mov dword [ebp + 0x10bd0], edi
mov edi, dword [ebp + 0x10bf8]
inc edi
inc edx
mov dword [ebp + 0x10bf8], edi
mov edi, dword [ebp + 0x10bfc]
cmp edx, edi
jb 0x484cc5
lea eax, [ebp + 0x109e0]
push eax
push ebx
push 0x487890
mov dword [eax], 1
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
call fcn.00492092
add esp, 0xc
jmp 0x484d3f
mov dword [ebp + 0x254], ebx
xor esi, esi
mov si, word [ebp + 0x20e]
lea esi, [esi + esi*4]
shl esi, 1
je 0x484daf
cmp esi, 0xffff
ja 0x484daf
lea edx, [esi + esi*2]
mov dword [ebp + 0x140], esi
shl edx, 2
push edx
call fcn.004a685a
add esp, 4
lea ecx, [ebp + 0x148]
mov dword [ebp + 0x144], eax
push 0x9c4
call fcn.00484ef0
push esi
lea ecx, [ebp + 0x154]
call fcn.00484ff0
lea ebx, [ebp + 0x1ac]
push esi
mov ecx, ebx
call fcn.00484ff0
xor edi, edi
test esi, esi
jbe 0x484daf
push edi
mov ecx, ebx
call fcn.004850a0
inc edi
cmp edi, esi
jb 0x484da2
mov byte [ebp + 0x10cdc], 1
mov dword [ebp + 0x10cd4], 0x3e8
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0x3e8
lea ecx, [ebp + 0x10ce0]
mov dword [ebp + 0x10cd8], eax
call fcn.00484ef0
push 0x3e8
lea ecx, [ebp + 0x10cec]
call fcn.00484ef0
xor eax, eax
mov byte [ebp + 0x102f4], 1
mov dword [ebp + 0x2ec], eax
mov dword [ebp + 0x2f0], eax
add ebp, 0x2f4
mov ecx, 0x4000
mov edi, ebp
rep stosd dword es:[edi], eax
mov al, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc