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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3256
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x6d5760]
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 0x54ea8d
xor eax, eax
jmp 0x54f2b5
cmp dword [edi + 8], 0
je 0x54ea86
cmp dword [edi + 0x100], 0
lea ebx, [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x54eafc
mov ecx, dword [edi + 0x10]
mov esi, ebx
add ecx, dword [ebp + 8]
mov edx, dword [edi + 0xc]
add edx, dword [ebp + 0xc]
lea eax, [esi + 1]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xd4], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x54ead0
mov eax, dword [edi + 0x104]
sub esi, dword [ebp - 0xd4]
add esi, 2
mov dword [eax + 0x42], ecx
mov dword [eax + 0x46], edx
mov ecx, dword [edi + 0x104]
call fcn.004de570
jmp 0x54ed1c
cmp byte [ebx], 0
je 0x54ed5a
cmp word [edi + 0xf2], 1
jne 0x54ece6
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54eb18
sub ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd4], eax
call esi
cmp eax, dword [edi + 0xf6]
jb 0x54eba4
mov eax, dword [edi + 0xfa]
mov eax, dword [eax*4 + 0x63781c]
mov dword [edi + 0x7a], eax
call esi
add eax, 0x12c
mov dword [edi + 0xf6], eax
mov al, byte [edi + 0xfe]
test al, al
jne 0x54eb63
inc dword [edi + 0xfa]
jmp 0x54eb69
dec dword [edi + 0xfa]
mov ecx, dword [edi + 0xfa]
cmp ecx, 0xe
jl 0x54eb8b
test al, al
jne 0x54eb8b
mov byte [edi + 0xfe], 1
mov dword [edi + 0xfa], 0xd
jmp 0x54eba4
test ecx, ecx
jg 0x54eba4
cmp al, 1
jne 0x54eba4
mov byte [edi + 0xfe], 0
mov dword [edi + 0xfa], 0
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
mov esi, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x40], ecx
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x2c], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 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 0x54ec07
sub ecx, edx
push ecx
push ebx
push 9
mov ecx, 0x62fd10
call fcn.004d7730
inc dword [ebp - 0x14]
mov ecx, 0x62fd10
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
cdq
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 - 0x20]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004d77d0
mov eax, dword [edi + 0x7a]
mov ecx, 0x62fd10
inc dword [ebp - 0x1c]
or eax, 0xff000000
dec dword [ebp - 0x34]
dec dword [ebp - 0x38]
dec dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004d77d0
mov eax, dword [edi + 0x7a]
mov ecx, 0x62fd10
inc dword [ebp - 0x3c]
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004d77d0
mov eax, dword [edi + 0x7a]
mov ecx, 0x62fd10
add dword [ebp - 0x24], 2
or eax, 0xff000000
add dword [ebp - 0x2c], 2
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004d77d0
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov ecx, 0x62fd10
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004d77d0
jmp 0x54ed5d
mov eax, dword [edi + 0x10]
mov esi, ebx
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
lea ecx, [esi + 1]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
jmp 0x54ed10
mov al, byte [esi]
inc esi
test al, al
jne 0x54ed10
sub esi, ecx
add esi, 2
push 0xb4464646
lea eax, [ebp - 0x20]
mov ecx, 0x62fd10
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004d77d0
mov eax, dword [edi + 0x76]
mov ecx, 0x62fd10
dec dword [ebp - 0x20]
or eax, 0xff000000
dec dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004d77d0
mov esi, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x54efc9
cmp word [edi + 0xf4], 1
jne 0x54efc9
mov ecx, ebx
mov dword [ebp - 0x18], 0x3f800000
mov dword [ebp - 0x14], 0x3f800000
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x54ed87
mov eax, dword [edi + 0x10]
sub ecx, edx
add eax, dword [ebp + 8]
add ecx, 2
movzx esi, word [0x62fd74]
push ecx
push ebx
push 9
mov ecx, 0x62fd10
mov dword [ebp - 0xd4], eax
call fcn.004d7730
mov ebx, dword [ebp - 0xd4]
mov ecx, eax
mov eax, esi
add ecx, ebx
mov esi, dword [ebp + 0xc]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov ecx, esi
sub ecx, dword [edi + 0xc]
sub ecx, 0xc
mov dword [ebp - 0xd4], eax
movd xmm0, ecx
lea ecx, [ebp - 0xd0]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.004da6c0
push 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push eax
push 0x191
mov ecx, 0x714ea8
call fcn.004e4730
mov ecx, dword [ebp - 0xd4]
mov eax, ecx
sub eax, ebx
cmp eax, 0x46
lea eax, [ecx - 0x1e]
jg 0x54ee27
lea eax, [ecx - 0x19]
movd xmm0, eax
lea eax, [ebp - 0x28]
push 0xf0ffffff
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0xd0]
movss dword [ebp - 0x28], xmm0
call fcn.004da710
lea ecx, [ebp - 0x80]
call fcn.004da6c0
push 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
push 0x18f
mov ecx, 0x714ea8
call fcn.004e4730
lea eax, [ebx - 0xa]
movd xmm0, eax
lea eax, [ebp - 0x28]
push 0xf0ffffff
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0x80]
movss dword [ebp - 0x28], xmm0
call fcn.004da710
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xd4]
add eax, 0xfffffff6
add ecx, 0xffffffe7
add eax, ebx
sub ecx, eax
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xb0]
call fcn.004da6c0
movd xmm0, dword [ebp - 0xd4]
lea eax, [ebp - 0xb0]
cvtdq2pd xmm0, xmm0
push 0
push eax
push 0x190
mov ecx, 0x714ea8
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 0x3f800000
mulsd xmm0, qword [0x600688]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
call fcn.004e4730
mov eax, dword [ebp - 0xd4]
cmp eax, 0xa
jge 0x54ef1b
lea eax, [ebx + 2]
jmp 0x54ef6e
cmp eax, 0x14
jge 0x54ef26
movd xmm0, ebx
jmp 0x54ef72
cmp eax, 0x1e
jge 0x54ef30
lea eax, [ebx - 2]
jmp 0x54ef6e
movss xmm0, dword [ebp - 0x38]
cvtps2pd xmm0, xmm0
cmp eax, 0x28
jge 0x54ef47
mulsd xmm0, qword [str.333333]
jmp 0x54ef5e
cmp eax, 0x46
jge 0x54ef56
mulsd xmm0, qword [str.ffffff]
jmp 0x54ef5e
mulsd xmm0, qword [0x600680]
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si eax, xmm1
movd xmm0, eax
push 0xf0ffffff
lea eax, [ebp - 0x28]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x38]
push 0
push eax
lea ecx, [ebp - 0xb0]
movss dword [ebp - 0x28], xmm0
call fcn.004da710
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004da6d0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.004da6d0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.004da6d0
cmp word [edi + 0x108], 0
je 0x54f0f7
mov eax, dword [0x718694]
mov al, byte [eax + 0x4e1]
test al, al
jne 0x54f0f7
mov eax, dword [edi + 0x116]
test eax, eax
je 0x54f0f7
cmp dword [eax + 2], 0
je 0x54f067
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [edi + 0x10e]
jb 0x54f067
call esi
add eax, 0x50
cmp dword [edi + 0x112], 0
mov dword [edi + 0x10e], eax
jne 0x54f02a
inc dword [edi + 0x10a]
jmp 0x54f041
movzx eax, word [edi + 0x108]
mov dword [edi + 0x10a], eax
mov dword [edi + 0x112], 0
mov eax, dword [edi + 0x116]
movzx ecx, word [eax + 6]
movzx eax, word [edi + 0x108]
dec eax
add eax, ecx
cmp dword [edi + 0x10a], eax
jl 0x54f067
mov dword [edi + 0x112], 1
lea ecx, [ebp - 0x80]
call fcn.004da6c0
push 7
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 3
push eax
push dword [edi + 0x10a]
mov ecx, 0x714ea8
call fcn.004e4730
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov esi, dword [edi + 0x116]
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, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movzx eax, word [esi + 8]
sub ecx, eax
lea eax, [ebp - 0x18]
sub ecx, 5
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0xa]
movd xmm0, ecx
lea ecx, [ebp - 0x80]
cvtdq2ps xmm0, xmm0
push 0
push eax
movss dword [ebp - 0x14], xmm0
call fcn.004da710
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.004da6d0
mov esi, dword [ebp + 0xc]
cmp byte [edi + 0x7e], 0
lea ebx, [edi + 0x7e]
je 0x54f19c
mov eax, dword [edi + 0x18]
add eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x48], 1
add eax, esi
mov dword [ebp - 0x44], 1
mov esi, ebx
mov dword [ebp - 0x4c], eax
lea ecx, [esi + 1]
jmp 0x54f130
mov al, byte [esi]
inc esi
test al, al
jne 0x54f130
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, 0x62fd10
call fcn.004d77d0
mov eax, dword [edi + 0x76]
mov ecx, 0x62fd10
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.004d77d0
cmp byte [ebx], 0
je 0x54f19c
cmp byte [edi + 0x8f], 0
je 0x54f19c
push 0
push 0x14f
push str.OBalloonName.cpp
call fcn.00413300
add esp, 0xc
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x8f]
add eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x2c]
add eax, ebx
mov dword [ebp - 0x58], 1
cmp byte [ecx], 0
mov dword [ebp - 0x54], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x600690]
cvttss2si eax, xmm0
mov dword [ebp - 0x5c], eax
je 0x54f231
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x54f1e1
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x60]
push eax
movzx eax, word [edi + 0x72]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x62fd10
call fcn.004d77d0
mov eax, dword [edi + 0x76]
mov ecx, 0x62fd10
dec dword [ebp - 0x60]
or eax, 0xff000000
dec dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
lea eax, [edi + 0x8f]
push eax
movzx eax, word [edi + 0x72]
push eax
call fcn.004d77d0
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x130]
dec ecx
add eax, ecx
mov dword [ebp - 0x8c], ebx
cmp dword [edi + 0x11a], 0
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 1
jle 0x54f2b0
cmp byte [edi + 0x11e], 0
lea ecx, [edi + 0x11e]
je 0x54f2b0
cmp dword [edi + 0x134], 0
lea eax, [ebx - 0x38]
jne 0x54f284
lea eax, [ebx - 0x1a]
mov edx, ecx
mov dword [ebp - 0x8c], eax
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x54f290
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
sub edx, esi
push eax
push edx
push ecx
push 0
mov ecx, 0x62fd10
call fcn.004d77d0
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.005b6a74
mov esp, ebp
pop ebp
ret 8