Function at 0x4e49d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58fa75
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x4e4a07
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x10], 0
je 0x4e49f4
mov ecx, dword [esi + 0x18]
add ecx, dword [ebp + 8]
cmp dword [esi + 0x150], 0
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, 1
lea edx, [eax + edx - 1]
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
je 0x4e4acd
lea eax, [esi + 0x4c]
lea edi, [eax + 1]
lea ebx, [ebx]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x4e4a50
sub eax, edi
lea edi, [eax + 2]
mov eax, dword [esi + 0x154]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
mov ecx, dword [esi + 0x154]
call fcn.00430690
movzx ecx, word [esi + 0x8c]
push 0xb4464646
lea eax, [ebp - 0x34]
push eax
push edi
push 0x5a6698
push ecx
mov ecx, 0x6d51f8
call fcn.00429c50
mov edx, dword [esi + 0x90]
movzx ecx, word [esi + 0x8c]
mov eax, 1
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x30], eax
or edx, 0xff000000
push edx
lea eax, [ebp - 0x34]
push eax
push edi
push 0x5a6699
push ecx
mov ecx, 0x6d51f8
call fcn.00429c50
mov ebx, 1
push 0
push 0x2000
mov ecx, 0x703108
call fcn.0053fcd0
test eax, eax
je 0x4e4b96
lea ecx, [ebp - 0x64]
call fcn.0042cd10
lea eax, [esi + 0x4c]
mov dword [ebp - 4], 0
lea ecx, [eax + 1]
jmp 0x4e4b00
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e4b00
push 0xb4464646
sub eax, ecx
lea edx, [ebp - 0x34]
push edx
lea edi, [eax + 2]
movzx eax, word [esi + 0x8c]
push edi
push 0x5a669a
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
mov ecx, dword [esi + 0x90]
movzx eax, word [esi + 0x8c]
sub dword [ebp - 0x34], ebx
sub dword [ebp - 0x30], ebx
or ecx, 0xff000000
push ecx
lea edx, [ebp - 0x34]
push edx
push edi
push 0x5a669b
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
push 0xffffffffffffffff
fldz
push 0
push ecx
lea ecx, [ebp - 0x64]
fstp dword [esp]
push 0
push 0
call fcn.0042cd30
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0042cd20
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x4c], 0
lea edi, [esi + 0x4c]
je 0x4e4d5e
mov ecx, dword [0x6d617c]
cmp byte [ecx + 0x451], 1
jne 0x4e4c15
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4bb7
sub eax, edx
push 0xb4464646
lea edx, [ebp - 0x34]
push edx
lea ebx, [eax + 2]
movzx eax, word [esi + 0x8c]
push ebx
push edi
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
mov ecx, dword [esi + 0x90]
or ecx, 0xff000000
push ecx
mov eax, 1
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x30], eax
movzx eax, word [esi + 0x8c]
lea edx, [ebp - 0x34]
push edx
push ebx
push edi
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
mov ebx, 1
mov eax, edi
lea edx, [eax + 1]
cmp dword [esi + 0x140], ebx
jne 0x4e4d00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4c26
sub eax, edx
lea ebx, [eax + 2]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x144]
jb 0x4e4cb7
mov ecx, dword [esi + 0x148]
mov edx, dword [ecx*4 + 0x6c2350]
mov dword [esi + 0x90], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x140
mov dword [esi + 0x144], eax
mov al, byte [esi + 0x14c]
test al, al
jne 0x4e4c76
inc dword [esi + 0x148]
jmp 0x4e4c7c
dec dword [esi + 0x148]
mov ecx, dword [esi + 0x148]
cmp ecx, 0xa
jl 0x4e4c9e
test al, al
jne 0x4e4c9e
mov byte [esi + 0x14c], 1
mov dword [esi + 0x148], 9
jmp 0x4e4cb7
test ecx, ecx
jg 0x4e4cb7
cmp al, 1
jne 0x4e4cb7
mov byte [esi + 0x14c], 0
mov dword [esi + 0x148], 0
movzx ecx, word [esi + 0x8c]
push 0xb4464646
lea eax, [ebp - 0x34]
push eax
push ebx
push edi
push ecx
mov ecx, 0x6d51f8
call fcn.00429c50
mov edx, dword [esi + 0x90]
movzx ecx, word [esi + 0x8c]
mov eax, 1
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x30], eax
or edx, 0xff000000
push edx
lea eax, [ebp - 0x34]
push eax
push ebx
push edi
push ecx
jmp 0x4e4d4f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4d00
sub eax, edx
push 0xb4464646
lea edx, [ebp - 0x34]
push edx
lea ebx, [eax + 2]
movzx eax, word [esi + 0x8c]
push ebx
push edi
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
mov ecx, dword [esi + 0x90]
mov eax, 1
sub dword [ebp - 0x34], eax
sub dword [ebp - 0x30], eax
movzx eax, word [esi + 0x8c]
or ecx, 0xff000000
push ecx
lea edx, [ebp - 0x34]
push edx
push ebx
push edi
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
mov ebx, 1
cmp byte [esi + 0x94], 0
lea edi, [esi + 0x94]
je 0x4e4e1d
mov edx, dword [esi + 0x1c]
add edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x20]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
fild dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], ebx
fsub qword [0x5a66d0]
call fcn.0056ed80
mov dword [ebp - 0x20], eax
mov eax, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e4da2
sub eax, ecx
movzx ecx, word [esi + 0x8c]
push 0xb4464646
lea ebx, [eax + 2]
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push ecx
mov ecx, 0x6d51f8
call fcn.00429c50
mov edx, dword [esi + 0x90]
movzx ecx, word [esi + 0x8c]
mov eax, 1
sub dword [ebp - 0x24], eax
sub dword [ebp - 0x20], eax
or edx, 0xff000000
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push ecx
mov ecx, 0x6d51f8
call fcn.00429c50
cmp byte [edi], 0
je 0x4e4e1d
cmp byte [esi + 0xa5], 0
je 0x4e4e1d
push 0
push 0x101
push str.OBalloonName.cpp
call fcn.0051c9f0
add esp, 0xc
cmp byte [esi + 0xa5], 0
lea ebx, [esi + 0xa5]
je 0x4e4ec8
mov eax, dword [esi + 0x44]
add eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x48]
add edx, dword [ebp + 8]
mov edi, 1
add dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x10]
fmul qword [0x5a66c8]
fsubp st(1)
call fcn.0056ed80
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea edi, [eax + 1]
jmp 0x4e4e70
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4e70
movzx edx, word [esi + 0x8c]
push 0xb4464646
sub eax, edi
lea ecx, [ebp - 0x24]
push ecx
lea edi, [eax + 2]
push edi
push ebx
push edx
mov ecx, 0x6d51f8
call fcn.00429c50
movzx edx, word [esi + 0x8c]
mov eax, 1
sub dword [ebp - 0x24], eax
sub dword [ebp - 0x20], eax
mov eax, dword [esi + 0x90]
or eax, 0xff000000
push eax
lea ecx, [ebp - 0x24]
push ecx
push edi
push ebx
push edx
mov ecx, 0x6d51f8
call fcn.00429c50
cmp byte [esi + 0xc6], 0
lea edi, [esi + 0xc6]
je 0x4e4f64
mov ecx, dword [esi + 0x28]
add ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x24]
add eax, dword [ebp + 8]
mov ebx, 1
add dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
fild dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x10]
fmul qword [0x5a66d0]
fsubp st(1)
call fcn.0056ed80
mov dword [ebp - 0x20], eax
mov eax, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e4f16
push 0xb4ff00ff
sub eax, ecx
lea edx, [ebp - 0x24]
push edx
lea ebx, [eax + 2]
movzx eax, word [esi + 0x8c]
push ebx
push edi
push eax
mov ecx, 0x6d51f8
call fcn.00429c50
movzx edx, word [esi + 0x8c]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, 1
sub dword [ebp - 0x24], eax
sub dword [ebp - 0x20], eax
push edi
push edx
mov ecx, 0x6d51f8
call fcn.00429c50
cmp word [esi + 0x158], 0
mov edi, 1
je 0x4e508d
mov eax, dword [0x6d617c]
cmp byte [eax + 0x4e9], 0
jne 0x4e508d
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4e508d
cmp dword [eax + 4], 0
je 0x4e5002
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp eax, dword [esi + 0x160]
jb 0x4e5002
call ebx
add eax, 0x50
cmp dword [esi + 0x164], 0
mov dword [esi + 0x160], eax
jne 0x4e4fc9
add dword [esi + 0x15c], edi
jmp 0x4e4fe0
movzx ecx, word [esi + 0x158]
mov dword [esi + 0x15c], ecx
mov dword [esi + 0x164], 0
mov edx, dword [esi + 0x168]
movzx eax, word [esi + 0x158]
mov ecx, dword [edx + 8]
lea edx, [ecx + eax - 1]
cmp dword [esi + 0x15c], edx
jl 0x4e5002
mov dword [esi + 0x164], edi
lea ecx, [ebp - 0x64]
call fcn.0042cd10
mov ecx, dword [esi + 0x15c]
push 7
lea eax, [ebp - 0x64]
push eax
push ecx
mov ecx, 0x6d5700
mov dword [ebp - 4], edi
call fcn.00431e70
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 0xc]
add dword [ebp - 0x10], edi
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
sub edx, eax
mov eax, dword [esi + 0x168]
mov dword [ebp - 0x14], edx
push 0xffffffffffffffff
fild dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
fstp dword [ebp - 0x1c]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
fild dword [ebp - 0x14]
push ecx
fild dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
fmul qword [0x598fa8]
fsubp st(1)
fsub qword [0x598040]
fstp dword [ebp - 0x18]
fldz
fstp dword [esp]
push 0
push 0
call fcn.0042cd30
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0042cd20
cmp byte [esi + 0x108], 0
lea ebx, [esi + 0x108]
je 0x4e5126
mov eax, dword [0x6d617c]
cmp dword [eax + 0x4b8], 0
je 0x4e5126
mov edx, dword [esi + 0x38]
add edx, dword [ebp + 0xc]
add dword [ebp - 0x10], edi
mov ecx, dword [esi + 0x34]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
fild dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
fild dword [ebp - 0x10]
fmul qword [0x59d770]
fsubp st(1)
call fcn.0056ed80
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e50e4
sub eax, edi
push 0xb4464646
lea edi, [eax + 2]
lea eax, [ebp - 0x24]
push eax
push edi
push ebx
push 7
mov ecx, 0x6d51f8
call fcn.00429c50
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
push ecx
push edi
mov eax, 1
sub dword [ebp - 0x24], eax
sub dword [ebp - 0x20], eax
push ebx
push 7
mov ecx, 0x6d51f8
call fcn.00429c50
mov eax, dword [esi + 0x13c]
cmp eax, 0x3e7
jbe 0x4e513a
mov edi, 0x18
jmp 0x4e5155
cmp eax, 0x63
jbe 0x4e5146
mov edi, 0x12
jmp 0x4e5155
mov edx, 9
cmp edx, eax
sbb edi, edi
and edi, 6
add edi, 6
mov al, byte [esi + 0x129]
lea ebx, [esi + 0x129]
test al, al
je 0x4e5235
mov ecx, dword [0x6c090c]
cmp byte [ecx + 0x6d5d58], 0
je 0x4e5181
cmp dword [0x703464], 0
je 0x4e51a2
test al, al
je 0x4e5235
push 0
push 0x1100
mov ecx, 0x703108
call fcn.0053fcd0
test eax, eax
je 0x4e5235
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
sub edx, edi
add edx, dword [ebp + 8]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
mov dword [ebp - 0x44], edx
fld qword [0x595708]
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fsubrp st(1)
fsub qword [0x5a6678]
call fcn.0056ed80
mov dword [ebp - 0x40], eax
mov eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, ebx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e51f0
push 0xb4141414
sub eax, esi
lea edx, [ebp - 0x44]
push edx
lea esi, [eax + 2]
push esi
push ebx
push 0xb
mov ecx, 0x6d51f8
call fcn.00429c50
mov eax, 1
sub dword [ebp - 0x44], eax
sub dword [ebp - 0x40], eax
push 0xffff0000
lea eax, [ebp - 0x44]
push eax
push esi
push ebx
push 0xb
mov ecx, 0x6d51f8
call fcn.00429c50
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8