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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8ed6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x6a0290]
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 0x5255bd
xor eax, eax
jmp 0x525de5
cmp dword [edi + 8], 0
je 0x5255b6
cmp dword [edi + 0x100], 0
lea ebx, [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x52562c
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 0x525600
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.004b3330
jmp 0x52584c
cmp byte [ebx], 0
je 0x52588a
cmp word [edi + 0xf2], 1
jne 0x525816
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x525648
sub ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd4], eax
call esi
cmp eax, dword [edi + 0xf6]
jb 0x5256d4
mov eax, dword [edi + 0xfa]
mov eax, dword [eax*4 + 0x602354]
mov dword [edi + 0x7a], eax
call esi
add eax, 0x12c
mov dword [edi + 0xf6], eax
mov al, byte [edi + 0xfe]
test al, al
jne 0x525693
inc dword [edi + 0xfa]
jmp 0x525699
dec dword [edi + 0xfa]
mov ecx, dword [edi + 0xfa]
cmp ecx, 0xe
jl 0x5256bb
test al, al
jne 0x5256bb
mov byte [edi + 0xfe], 1
mov dword [edi + 0xfa], 0xd
jmp 0x5256d4
test ecx, ecx
jg 0x5256d4
cmp al, 1
jne 0x5256d4
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 0x525737
sub ecx, edx
push ecx
push ebx
push 9
mov ecx, 0x5fa848
call fcn.004ac4f0
inc dword [ebp - 0x14]
mov ecx, 0x5fa848
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.004ac590
mov eax, dword [edi + 0x7a]
mov ecx, 0x5fa848
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.004ac590
mov eax, dword [edi + 0x7a]
mov ecx, 0x5fa848
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.004ac590
mov eax, dword [edi + 0x7a]
mov ecx, 0x5fa848
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.004ac590
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov ecx, 0x5fa848
push eax
push dword [ebp - 0xd4]
push ebx
push 9
call fcn.004ac590
jmp 0x52588d
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 0x525840
mov al, byte [esi]
inc esi
test al, al
jne 0x525840
sub esi, ecx
add esi, 2
push 0xb4464646
lea eax, [ebp - 0x20]
mov ecx, 0x5fa848
push eax
movzx eax, word [edi + 0x72]
push esi
push ebx
push eax
call fcn.004ac590
mov eax, dword [edi + 0x76]
mov ecx, 0x5fa848
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.004ac590
mov esi, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x525af9
cmp word [edi + 0xf4], 1
jne 0x525af9
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 0x5258b7
mov eax, dword [edi + 0x10]
sub ecx, edx
add eax, dword [ebp + 8]
add ecx, 2
movzx esi, word [0x5fa8ac]
push ecx
push ebx
push 9
mov ecx, 0x5fa848
mov dword [ebp - 0xd4], eax
call fcn.004ac4f0
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.004af490
push 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0
push eax
push 0x191
mov ecx, 0x6d3ad8
call fcn.004b9540
mov ecx, dword [ebp - 0xd4]
mov eax, ecx
sub eax, ebx
cmp eax, 0x46
lea eax, [ecx - 0x1e]
jg 0x525957
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.004af4e0
lea ecx, [ebp - 0x80]
call fcn.004af490
push 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
push 0x18f
mov ecx, 0x6d3ad8
call fcn.004b9540
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.004af4e0
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.004af490
movd xmm0, dword [ebp - 0xd4]
lea eax, [ebp - 0xb0]
cvtdq2pd xmm0, xmm0
push 0
push eax
push 0x190
mov ecx, 0x6d3ad8
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 0x3f800000
mulsd xmm0, qword [0x5ce218]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
call fcn.004b9540
mov eax, dword [ebp - 0xd4]
cmp eax, 0xa
jge 0x525a4b
lea eax, [ebx + 2]
jmp 0x525a9e
cmp eax, 0x14
jge 0x525a56
movd xmm0, ebx
jmp 0x525aa2
cmp eax, 0x1e
jge 0x525a60
lea eax, [ebx - 2]
jmp 0x525a9e
movss xmm0, dword [ebp - 0x38]
cvtps2pd xmm0, xmm0
cmp eax, 0x28
jge 0x525a77
mulsd xmm0, qword [str.333333]
jmp 0x525a8e
cmp eax, 0x46
jge 0x525a86
mulsd xmm0, qword [str.ffffff]
jmp 0x525a8e
mulsd xmm0, qword [0x5ce210]
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.004af4e0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004af4a0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.004af4a0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
call fcn.004af4a0
cmp word [edi + 0x108], 0
je 0x525c27
mov eax, dword [0x6d7294]
mov al, byte [eax + 0x4e1]
test al, al
jne 0x525c27
mov eax, dword [edi + 0x116]
test eax, eax
je 0x525c27
cmp dword [eax + 2], 0
je 0x525b97
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [edi + 0x10e]
jb 0x525b97
call esi
add eax, 0x50
cmp dword [edi + 0x112], 0
mov dword [edi + 0x10e], eax
jne 0x525b5a
inc dword [edi + 0x10a]
jmp 0x525b71
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 0x525b97
mov dword [edi + 0x112], 1
lea ecx, [ebp - 0x80]
call fcn.004af490
push 7
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 3
push eax
push dword [edi + 0x10a]
mov ecx, 0x6d3ad8
call fcn.004b9540
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.004af4e0
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.004af4a0
mov esi, dword [ebp + 0xc]
cmp byte [edi + 0x7e], 0
lea ebx, [edi + 0x7e]
je 0x525ccc
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 0x525c60
mov al, byte [esi]
inc esi
test al, al
jne 0x525c60
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, 0x5fa848
call fcn.004ac590
mov eax, dword [edi + 0x76]
mov ecx, 0x5fa848
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.004ac590
cmp byte [ebx], 0
je 0x525ccc
cmp byte [edi + 0x8f], 0
je 0x525ccc
push 0
push 0x14f
push str.OBalloonName.cpp
call fcn.0040f890
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 [0x5ce220]
cvttss2si eax, xmm0
mov dword [ebp - 0x5c], eax
je 0x525d61
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x525d11
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, 0x5fa848
call fcn.004ac590
mov eax, dword [edi + 0x76]
mov ecx, 0x5fa848
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.004ac590
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 0x525de0
cmp byte [edi + 0x11e], 0
lea ecx, [edi + 0x11e]
je 0x525de0
cmp dword [edi + 0x134], 0
lea eax, [ebx - 0x38]
jne 0x525db4
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 0x525dc0
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
sub edx, esi
push eax
push edx
push ecx
push 0
mov ecx, 0x5fa848
call fcn.004ac590
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.0058de24
mov esp, ebp
pop ebp
ret 8