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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b046b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x51cf4d
xor eax, eax
jmp 0x51ddfb
cmp dword [edi + 8], 0
je 0x51cf46
cmp dword [edi + 0x106], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x51d004
mov ecx, dword [edi + 0x10]
lea esi, [edi + 0x34]
add ecx, dword [ebp + 8]
lea eax, [esi + 1]
mov edx, dword [edi + 0xc]
mov ebx, dword [ebp + 0xc]
add edx, ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x14], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x51cf91
mov eax, dword [edi + 0x10a]
sub esi, dword [ebp - 0x14]
add esi, 2
mov dword [eax + 0x42], ecx
mov dword [eax + 0x46], edx
mov ecx, dword [edi + 0x10a]
call fcn.004ae550
push 0xb4464646
lea eax, [ebp - 0x50]
mov ecx, 0x6c6068
push eax
push esi
lea eax, [edi + 0x34]
push eax
movzx eax, word [edi + 0x72]
push eax
call fcn.004a7790
mov eax, dword [edi + 0x76]
mov ecx, 0x6c6068
dec dword [ebp - 0x50]
or eax, 0xff000000
dec dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [edi + 0x34]
push eax
movzx eax, word [edi + 0x72]
push eax
call fcn.004a7790
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x51d3a3
cmp byte [edi + 0x34], 0
lea ebx, [edi + 0x34]
je 0x51d3a0
cmp word [edi + 0xf6], 1
jne 0x51d324
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d024
sub ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc4], eax
call esi
cmp eax, dword [edi + 0xf8]
jb 0x51d0b0
mov eax, dword [edi + 0x100]
mov eax, dword [eax*4 + 0x5f7eec]
mov dword [edi + 0x7a], eax
call esi
add eax, 0x258
mov dword [edi + 0xf8], eax
mov al, byte [edi + 0x104]
test al, al
jne 0x51d06f
inc dword [edi + 0x100]
jmp 0x51d075
dec dword [edi + 0x100]
mov ecx, dword [edi + 0x100]
cmp ecx, 0xe
jl 0x51d097
test al, al
jne 0x51d097
mov byte [edi + 0x104], 1
mov dword [edi + 0x100], 0xd
jmp 0x51d0b0
test ecx, ecx
jg 0x51d0b0
cmp al, 1
jne 0x51d0b0
mov byte [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x30], ecx
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x3c], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d111
sub ecx, edx
push ecx
push ebx
push 9
mov ecx, 0x6c6068
call fcn.004a76f0
cdq
mov ecx, 0x6c6068
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x7a]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
inc dword [ebp - 0x24]
or eax, 0xff000000
add dword [ebp - 0x28], 2
inc dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
dec dword [ebp - 0x14]
or eax, 0xff000000
dec dword [ebp - 0x18]
dec dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
dec dword [ebp - 0x20]
or eax, 0xff000000
inc dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
inc dword [ebp - 0x40]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
sub dword [ebp - 0x24], 2
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
inc dword [ebp - 0x1c]
or eax, 0xff000000
dec dword [ebp - 0x24]
dec dword [ebp - 0x28]
dec dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
inc dword [ebp - 0x2c]
or eax, 0xff000000
dec dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
add dword [ebp - 0x34], 2
or eax, 0xff000000
add dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
mov eax, dword [edi + 0x7a]
mov ecx, 0x6c6068
sub dword [ebp - 0x40], 2
or eax, 0xff000000
sub dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
call fcn.004a7790
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xc4]
push ebx
push 9
mov ecx, 0x6c6068
call fcn.004a7790
jmp 0x51d3a0
mov eax, dword [edi + 0x10]
mov esi, ebx
add eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
lea ecx, [esi + 1]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x51d350
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x72]
add esi, 2
push esi
push ebx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0x76]
mov ecx, 0x6c6068
dec dword [ebp - 0x50]
or eax, 0xff000000
dec dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004a7790
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp + 0xc]
cmp dword [0x5f802c], 0
jne 0x51d4d0
cmp word [edi + 0x10e], 0
je 0x51d4d0
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x51d4d0
cmp dword [eax + 2], 0
je 0x51d435
call esi
cmp eax, dword [edi + 0x114]
jb 0x51d435
call esi
add eax, 0x50
cmp dword [edi + 0x118], 0
mov dword [edi + 0x114], eax
jne 0x51d3f8
inc dword [edi + 0x110]
jmp 0x51d40f
movzx eax, word [edi + 0x10e]
mov dword [edi + 0x110], eax
mov dword [edi + 0x118], 0
mov eax, dword [edi + 0x11c]
movzx ecx, word [eax + 6]
movzx eax, word [edi + 0x10e]
dec eax
add eax, ecx
cmp dword [edi + 0x110], eax
jl 0x51d435
mov dword [edi + 0x118], 1
lea ecx, [ebp - 0xb0]
call fcn.004aa6a0
push 7
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push eax
push dword [edi + 0x110]
mov ecx, 0x6c6750
call fcn.004b4710
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
mov esi, dword [edi + 0x11c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + 0x12]
sub ecx, eax
add ecx, dword [ebp + 8]
push 0xffffffffffffffff
movd xmm0, ecx
mov ecx, ebx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movzx eax, word [esi + 8]
sub ecx, eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0xa]
movd xmm0, ecx
lea ecx, [ebp - 0xb0]
cvtdq2ps xmm0, xmm0
push 0
push eax
movss dword [ebp - 0x14], xmm0
call fcn.004aa6f0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.004aa6b0
xor eax, eax
lea ebx, [edi + 0x82]
mov dword [ebp - 0x14], eax
cmp byte [ebx], al
je 0x51d6db
cmp word [edi + 0xf6], 1
jne 0x51d660
mov ecx, ebx
mov dword [ebp - 0x14], 0x11
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d500
mov esi, dword [ebp + 0xc]
sub ecx, edx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x98], 1
lea eax, [ecx + 2]
mov dword [ebp - 0x94], 1
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x30], ecx
add eax, 0xffffffef
mov dword [ebp - 0xa0], ecx
add eax, esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], ecx
mov ecx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 1
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d584
sub ecx, edx
push ecx
push ebx
push 0xe
mov ecx, 0x6c6068
call fcn.004a76f0
inc dword [ebp - 0x34]
mov ecx, 0x6c6068
inc dword [ebp - 0x38]
inc dword [ebp - 0x40]
cdq
sub eax, edx
sar eax, 1
neg eax
push 0xb4464646
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a7790
inc dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
dec dword [ebp - 0x24]
mov ecx, 0x6c6068
dec dword [ebp - 0x28]
dec dword [ebp - 0x30]
push 0xb4464646
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a7790
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x50]
dec dword [ebp - 0x4c]
mov ecx, 0x6c6068
push 0xb4464646
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a7790
add dword [ebp - 0x44], 2
lea eax, [ebp - 0x50]
add dword [ebp - 0x4c], 2
mov ecx, 0x6c6068
push 0xb4464646
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a7790
mov eax, dword [edi + 0x76]
mov ecx, 0x6c6068
or eax, 0xff000000
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a7790
jmp 0x51d6de
mov eax, dword [edi + 0x18]
mov esi, ebx
add eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
add ecx, 0xfffffff0
mov eax, dword [edi + 0x14]
add eax, ecx
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x4c], eax
lea ecx, [esi + 1]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov al, byte [esi]
inc esi
test al, al
jne 0x51d691
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x72]
add esi, 2
push esi
push ebx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0x76]
mov ecx, 0x6c6068
dec dword [ebp - 0x50]
or eax, 0xff000000
dec dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004a7790
mov esi, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x51d700
cmp byte [edi + 0x93], 0
je 0x51d700
push 0
push 0x156
push str.OBalloonName.cpp
call fcn.0040fac0
add esp, 0xc
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x93]
add eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + 0x2c]
add eax, esi
mov dword [ebp - 0x88], 1
cmp byte [ecx], 0
mov dword [ebp - 0x84], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5c49bc]
cvttss2si eax, xmm0
mov dword [ebp - 0x8c], eax
je 0x51d7ac
mov esi, ecx
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x51d750
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x90]
push eax
movzx eax, word [edi + 0x72]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0x76]
mov ecx, 0x6c6068
dec dword [ebp - 0x90]
or eax, 0xff000000
dec dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
push esi
lea eax, [edi + 0x93]
push eax
movzx eax, word [edi + 0x72]
push eax
call fcn.004a7790
cmp byte [ebx], 0
mov ebx, dword [ebp - 0x14]
jne 0x51d7b7
add ebx, 0x10
cmp byte [edi + 0xb4], 0
lea esi, [edi + 0xb4]
je 0x51ddf6
cmp word [edi + 0xf6], 1
jne 0x51daf7
mov ecx, esi
add ebx, 0x16
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d7e0
sub ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0xfc]
jb 0x51d874
mov eax, dword [edi + 0x100]
mov eax, dword [eax*4 + 0x5f7f24]
mov dword [edi + 0x7e], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x320
mov dword [edi + 0xfc], eax
mov al, byte [edi + 0x104]
test al, al
jne 0x51d833
inc dword [edi + 0x100]
jmp 0x51d839
dec dword [edi + 0x100]
mov ecx, dword [edi + 0x100]
cmp ecx, 0xf
jl 0x51d85b
test al, al
jne 0x51d85b
mov byte [edi + 0x104], 1
mov dword [edi + 0x100], 0xe
jmp 0x51d874
test ecx, ecx
jg 0x51d874
cmp al, 1
jne 0x51d874
mov byte [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], ecx
sub eax, ebx
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], ecx
mov ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x9c], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d8e3
sub ecx, edx
push ecx
push esi
push 0xf
mov ecx, 0x6c6068
call fcn.004a76f0
cdq
mov ecx, 0x6c6068
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x7e]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x24]
or eax, 0xff000000
add dword [ebp - 0x28], 2
inc dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
dec dword [ebp - 0x14]
or eax, 0xff000000
dec dword [ebp - 0x18]
dec dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
dec dword [ebp - 0x20]
or eax, 0xff000000
inc dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
inc dword [ebp - 0x40]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
sub dword [ebp - 0x24], 2
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x1c]
or eax, 0xff000000
dec dword [ebp - 0x24]
dec dword [ebp - 0x28]
dec dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x2c]
or eax, 0xff000000
dec dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
add dword [ebp - 0x34], 2
or eax, 0xff000000
add dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
sub dword [ebp - 0x40], 2
or eax, 0xff000000
sub dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a7790
push 0xffffffffffffffff
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
mov ecx, 0x6c6068
call fcn.004a7790
cmp byte [esi], 0
je 0x51ddf6
cmp word [edi + 0xf6], 0
jne 0x51ddf6
mov ecx, esi
add ebx, 0x16
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51db16
sub ecx, edx
add ecx, 2
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0xfc]
jb 0x51dbab
mov eax, dword [edi + 0x100]
mov eax, dword [eax*4 + 0x5f7f24]
mov dword [edi + 0x7e], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x320
mov dword [edi + 0xfc], eax
mov al, byte [edi + 0x104]
test al, al
jne 0x51db6a
inc dword [edi + 0x100]
jmp 0x51db70
dec dword [edi + 0x100]
mov ecx, dword [edi + 0x100]
cmp ecx, 0xf
jl 0x51db92
test al, al
jne 0x51db92
mov byte [edi + 0x104], 1
mov dword [edi + 0x100], 0xe
jmp 0x51dbab
test ecx, ecx
jg 0x51dbab
cmp al, 1
jne 0x51dbab
mov byte [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x70], ecx
sub eax, ebx
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x60], ecx
mov ecx, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0xbc], eax
lea edx, [ecx + 1]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 1
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51dc20
sub ecx, edx
push ecx
push esi
push 0xf
mov ecx, 0x6c6068
call fcn.004a76f0
mov ebx, dword [ebp - 0x14]
mov ecx, 0x6c6068
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x7e]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x64]
or eax, 0xff000000
add dword [ebp - 0x68], 2
inc dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
dec dword [ebp - 0x54]
or eax, 0xff000000
dec dword [ebp - 0x58]
dec dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x54]
or eax, 0xff000000
inc dword [ebp - 0x58]
inc dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
dec dword [ebp - 0x60]
or eax, 0xff000000
inc dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
inc dword [ebp - 0x80]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 0xf
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
sub dword [ebp - 0x64], 2
or eax, 0xff000000
dec dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x54]
or eax, 0xff000000
inc dword [ebp - 0x58]
inc dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x5c]
or eax, 0xff000000
dec dword [ebp - 0x64]
dec dword [ebp - 0x68]
dec dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
inc dword [ebp - 0x6c]
or eax, 0xff000000
dec dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
add dword [ebp - 0x74], 2
or eax, 0xff000000
add dword [ebp - 0x7c], 2
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
mov eax, dword [edi + 0x7e]
mov ecx, 0x6c6068
sub dword [ebp - 0x80], 2
or eax, 0xff000000
sub dword [ebp - 0x7c], 2
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a7790
push 0xffffffffffffffff
lea eax, [ebp - 0xc0]
push eax
push ebx
push esi
push 0xf
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret 8