Function at 0x43d200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f80b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
push esi
push edi
mov dword [ebp - 0x10], eax
mov esi, ecx
call fcn.00471dc0
xor edi, edi
mov eax, str.MaxExecutions
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d247
push ebx
sub eax, edx
push eax
push str.MaxExecutions
lea ecx, [ebp - 0x30]
call fcn.00408ff0
push edi
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00468e40
mov dword [esi + 0x658], eax
mov eax, dword [ebp - 0x18]
or ebx, 0xffffffff
mov edi, 0x10
cmp eax, edi
mov dword [ebp - 4], ebx
jb 0x43d292
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
mov eax, str.MaxPlays
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d2b0
sub eax, edx
push eax
push str.MaxPlays
lea ecx, [ebp - 0x30]
call fcn.00408ff0
push 0
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00468e40
mov dword [esi + 0x65c], eax
cmp dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
jb 0x43d2f5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e11d0
add esp, 4
mov eax, str.MaxTime
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d310
sub eax, edx
push eax
push str.MaxTime
lea ecx, [ebp - 0x30]
call fcn.00408ff0
push 0x3c
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00468e40
mov dword [esi + 0x660], eax
cmp dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
jb 0x43d355
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, 0x186a0
mov dword [esi + 0x644], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [0x5480e4], eax
call fcn.00481ba0
push eax
mov ecx, 0x548ac0
call fcn.004812c0
call fcn.00481ba0
push eax
mov ecx, 0x5480f0
call fcn.004812c0
mov ecx, dword [esi + 0x60c]
call fcn.00420c10
mov ecx, dword [esi + 0x610]
call fcn.00420600
xor eax, eax
mov ecx, 0xf
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov eax, str.CurUser
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], ecx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d3d0
sub eax, edx
push eax
push str.CurUser
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0046c050
mov bl, al
cmp dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
jb 0x43d411
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
test bl, bl
je 0x43d42a
mov ecx, dword [esi + 0x60c]
lea eax, [ebp - 0x68]
push eax
call fcn.00417f00
mov dword [esi + 0x614], eax
mov eax, dword [esi + 0x614]
test eax, eax
jne 0x43d445
mov ecx, dword [esi + 0x60c]
call fcn.00417ed0
mov dword [esi + 0x614], eax
mov eax, str.levels_levels.xml
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d460
sub eax, edx
push eax
push str.levels_levels.xml
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [esi + 0x608]
mov byte [ebp - 4], 5
call fcn.00425740
mov bl, al
mov eax, dword [ebp - 0x18]
neg bl
sbb bl, bl
inc bl
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x43d4a9
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
test bl, bl
je 0x43d4e0
mov ecx, dword [esi + 0x608]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040a480
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call dword [edx + 0x50]
cmp dword [ebp - 0x34], edi
jb 0x43d4d9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e11d0
add esp, 4
push 0
call fcn.004e28bf
mov eax, dword [esi + 0x608]
mov edx, dword [eax + 0x2c]
add eax, 0x28
xor ebx, ebx
cmp edx, ebx
je 0x43d50d
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x78787879
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [ebp - 0x14], edx
jne 0x43d560
mov eax, str.No_levels_defined_in_levels.xml
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d523
sub eax, edx
push eax
push str.No_levels_defined_in_levels.xml
lea ecx, [ebp - 0x30]
call fcn.00408ff0
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call dword [edx + 0x50]
cmp dword [ebp - 0x18], edi
jb 0x43d55a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
push ebx
call fcn.004e28bf
mov ecx, esi
call fcn.0046e3b0
mov eax, str.Init
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d580
sub eax, edx
push eax
push str.Init
lea ecx, [ebp - 0x30]
call fcn.00408ff0
mov ecx, dword [esi + 0x5d8]
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 8
call fcn.0048ac90
mov bl, al
mov eax, dword [ebp - 0x18]
neg bl
sbb bl, bl
inc bl
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x43d5c9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004e11d0
add esp, 4
test bl, bl
je 0x43d5d6
push 1
mov ecx, esi
call fcn.00466f10
mov eax, str.FONT_MAIN10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d5f0
sub eax, edx
push eax
push str.FONT_MAIN10
lea ecx, [ebp - 0x30]
call fcn.00408ff0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [esi + 0x5d8]
mov byte [ebp - 4], 9
call fcn.004853d0
mov ebx, eax
cmp dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
jb 0x43d631
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004e11d0
add esp, 4
test ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
je 0x43d81c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push str.Shadow1
lea ecx, [ebp - 0x4c]
mov edi, eax
call fcn.0040a730
mov edx, dword [edi]
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call dword [edx + 0x44]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 3
jb 0x43d686
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
push str.FONT_DIALOG
lea ecx, [ebp - 0x4c]
call fcn.0040a730
mov ecx, dword [esi + 0x5d8]
push edi
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0xb
call fcn.00485450
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 3
jb 0x43d6bd
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e11d0
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x2c]
push str.Outline
lea ecx, [ebp - 0x4c]
mov edi, eax
call fcn.0040a730
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xc
call dword [eax + 0x44]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 3
jb 0x43d6f8
mov edx, dword [ebp - 0x48]
push edx
call fcn.004e11d0
add esp, 4
push str.FONT_MAIN10OUTLINE
lea ecx, [ebp - 0x4c]
call fcn.0040a730
mov ecx, dword [esi + 0x5d8]
push edi
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00485450
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 3
jb 0x43d72f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x2c]
push str.Outline2
lea ecx, [ebp - 0x4c]
mov edi, eax
call fcn.0040a730
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xe
call dword [eax + 0x44]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 3
jb 0x43d76a
mov edx, dword [ebp - 0x48]
push edx
call fcn.004e11d0
add esp, 4
push str.FONT_MAIN10OUTLINE2
lea ecx, [ebp - 0x4c]
call fcn.0040a730
mov ecx, dword [esi + 0x5d8]
push edi
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xf
call fcn.00485450
mov eax, dword [ebp - 0x34]
mov edi, 0x10
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x43d7a7
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x2c]
push str.Outline3
lea ecx, [ebp - 0x4c]
mov ebx, eax
call fcn.0040a730
mov eax, dword [ebx]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x10
call dword [eax + 0x44]
cmp dword [ebp - 0x34], edi
mov byte [ebp - 4], 3
jb 0x43d7e1
mov edx, dword [ebp - 0x48]
push edx
call fcn.004e11d0
add esp, 4
push str.FONT_MAIN10OUTLINE3
lea ecx, [ebp - 0x4c]
call fcn.0040a730
mov ecx, dword [esi + 0x5d8]
push ebx
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00485450
cmp dword [ebp - 0x34], edi
mov byte [ebp - 4], 3
jb 0x43d817
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
mov edi, 0x10
mov edx, dword [esi + 0x5d8]
push edx
call fcn.0042c9f0
add esp, 4
test al, al
jne 0x43d838
push 1
mov ecx, esi
call fcn.00466f10
mov eax, dword [0x547e28]
push eax
push 0
mov ecx, esi
call fcn.00464430
mov ecx, dword [0x548078]
push ecx
push 1
mov ecx, esi
call fcn.00464430
mov edx, dword [0x547e40]
push edx
push 2
mov ecx, esi
call fcn.00464430
mov eax, dword [0x547ec4]
push eax
push 3
mov ecx, esi
call fcn.00464430
mov ebx, 0xf
mov eax, str.music_zuma.mo3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43d891
sub eax, ecx
push eax
push str.music_zuma.mo3
lea ecx, [ebp - 0x30]
call fcn.00408ff0
mov ecx, dword [esi + 0x324]
mov edx, dword [ecx]
lea eax, [ebp - 0x30]
push eax
push 0
mov byte [ebp - 4], 0x12
call dword [edx + 4]
cmp dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
jb 0x43d8d2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e11d0
add esp, 4
mov eax, str.music_zuma.mo3
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d8e8
sub eax, edx
push eax
push str.music_zuma.mo3
lea ecx, [ebp - 0x4c]
call fcn.00408ff0
mov ecx, dword [esi + 0x324]
mov edx, dword [ecx]
lea eax, [ebp - 0x4c]
push eax
push 1
mov byte [ebp - 4], 0x13
call dword [edx + 4]
cmp dword [ebp - 0x34], edi
mov byte [ebp - 4], 3
pop ebx
jb 0x43d92a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004e11d0
add esp, 4
push 0x3f847ae1
push 0x47ae147b
push 0
push 0x18
mov ecx, esi
call fcn.0043c030
mov ecx, esi
call fcn.0043c9a0
cmp dword [ebp - 0x50], edi
jb 0x43d957
mov edx, dword [ebp - 0x64]
push edx
call fcn.004e11d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.004e19df
mov esp, ebp
pop ebp
ret