Function at 0x52b7d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0xb348c8]
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x52b7e9
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret 0x10
push ebp
push esi
mov ebp, 1
push edi
push ebp
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, 0x15f7d4c
call fcn.00476d80
mov eax, dword [esp + 0x30]
push 0x65
push str.Stronghold
push eax
mov ecx, 0xa59828
call fcn.004570d0
mov dword [0x14eaf38], ebp
call fcn.0043c8f0
mov ecx, dword [0xa59884]
push ecx
push ebp
mov ecx, 0xa59828
call fcn.004571a0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x69
push 0x68
mov ecx, 0x14ead58
call fcn.00457d30
push str.stronghold.uc
push 0x54a698
push 0x58e668
mov ecx, 0x116fcd0
mov dword [0xb09b14], ebx
call fcn.004b1460
push 0x204
push 0x11
mov ecx, 0x116fcd0
call fcn.004b1510
push 3
mov ecx, 0x116fcd0
call fcn.004b14b0
push str.frontend_loading.tgx
mov ecx, 0xb348c8
mov dword [0xc6ae68], ebx
call fcn.00446bb0
mov edx, dword [0x116fcd4]
mov eax, dword [0xa5984c]
mov ecx, dword [0xa59848]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edi, dword [0xc6a82c]
mov dword [0x116fce4], eax
mov eax, dword [0xa59864]
mov dword [0x116fce0], ecx
sub eax, edi
mov edi, dword [0xc6a828]
cdq
sub eax, edx
mov ecx, 0xb348c8
sar eax, 1
push eax
mov eax, dword [0xa59860]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.00447000
mov eax, dword [0x116fce4]
mov ecx, dword [0x116fce0]
push 0x14
lea edx, [eax + 0x202]
add eax, 0x1e6
push edx
lea edx, [ecx + 0x239]
push edx
push eax
add ecx, 0xe7
push ecx
mov ecx, 0x15f7d08
call fcn.00459070
mov ax, word [0x83810a]
push eax
mov eax, dword [0x116fce4]
lea ecx, [eax + 0x202]
add eax, 0x1e6
push ecx
mov ecx, dword [0x116fce0]
lea edx, [ecx + 0x239]
add ecx, 0xe7
push edx
push eax
push ecx
mov ecx, 0x15f7d08
call fcn.00459250
push ebx
mov ecx, 0xa59828
call fcn.00457310
push 7
mov ecx, 0x116fd30
call fcn.00462280
mov ecx, 0x116fd30
call fcn.00462420
push 0x617d20
mov ecx, 0xb348c8
call fcn.0043e890
mov ecx, 0xabe628
call fcn.0045b6c0
push ebx
push 0x1a
mov ecx, 0xb08900
mov dword [0xb08938], 0x3e8
call fcn.0045cf90
mov ecx, 0x12157c8
mov eax, dword [esp + 0x38]
push eax
call fcn.00465af0
push ebx
mov ecx, 0xc757c0
call fcn.0043ceb0
mov ecx, 0xcdfd50
call fcn.004b2f70
push 0x190
mov ecx, 0xcdfd50
mov dword [0x116fc60], 0x190
call fcn.004b3530
mov ecx, 0x152b748
mov dword [0x152b7b0], ebp
call fcn.004795b0
push ebp
mov ecx, 0x152b748
call fcn.004791f0
mov ecx, 0x143b720
call fcn.0041da00
mov ecx, 0xcdfd50
call fcn.004b2de0
push 0x64
push ebx
mov ecx, 0xa5ca68
call fcn.0048b430
push 0x64
push ebx
mov ecx, 0xa5ca68
call fcn.0048b3f0
mov ecx, 0x8682d0
call fcn.004ac090
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov dword [0xcdf6c4], eax
mov ecx, 6
xor eax, eax
mov edi, 0xa59810
rep stosd dword es:[edi], eax
mov ecx, 0x143b720
call fcn.0041d9d0
mov eax, dword [0xa5988c]
mov dword [0xb09b14], ebp
mov dword [0x14eaf38], ebx
cmp eax, ebx
jne 0x52bf0e
mov edi, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x52babe
push ebx
push ebx
lea edx, [esp + 0x18]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x52bf0e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x52bee6
cmp dword [0xa598ac], ebx
jne 0x52bace
cmp dword [0xa598b0], ebx
jne 0x52bada
cmp dword [0x1215de0], ebx
je 0x52bed6
call 0x52bf60
mov ecx, 0xa59800
call fcn.0045f130
mov ecx, 0xc75768
call fcn.00458c20
mov ecx, 0xb08900
call fcn.0045d500
mov ecx, 0x116fd30
call fcn.00462420
mov ecx, 0x12157c8
call fcn.00466fc0
cmp dword [0xa598ac], ebx
jne 0x52bb30
cmp dword [0xa598b0], ebx
je 0x52bb30
mov ecx, 0x14ead58
call fcn.00457fd0
call fcn.0043c8f0
mov eax, dword [0x12b11ac]
mov edx, dword [0xb0899c]
push eax
mov ecx, 0x12157c8
mov dword [0xb089a0], edx
call fcn.00466ac0
mov ecx, 0x12157c8
mov dword [0xb0899c], eax
call fcn.00466930
mov ecx, 0xb08900
call fcn.0045d660
cmp dword [0xb0899c], ebx
je 0x52bb74
call esi
mov dword [0xb089a8], eax
mov eax, dword [0xb0899c]
mov dword [0xb08998], ebx
cmp eax, ebx
jle 0x52bbce
mov ecx, 0x12157c8
call fcn.0046c2f0
mov ecx, 0xb1ffd8
call fcn.00447710
mov ecx, 0x12157c8
call fcn.00466fc0
mov ecx, 0x143b6a8
call fcn.00408720
cmp dword [0x1216214], ebx
jne 0x52bbc8
mov eax, dword [0xb08998]
mov ecx, dword [0xb0899c]
inc eax
cmp eax, ecx
mov dword [0xb08998], eax
jl 0x52bb83
cmp dword [0xb0899c], ebx
je 0x52bbe7
call esi
mov ecx, dword [0xb089a8]
xor edx, edx
sub eax, ecx
div dword [0xb0899c]
mov dword [0xb089a4], eax
mov ecx, 0xb08900
call fcn.0045d690
test eax, eax
je 0x52bc07
cmp dword [0xb0899c], ebx
jle 0x52bc07
mov ecx, 0x12157c8
call fcn.00466ce0
cmp dword [0xa598ac], ebx
jne 0x52beca
cmp dword [0xa598b0], ebx
je 0x52beca
mov ecx, 0xb34840
call fcn.00458cd0
mov ecx, 0xc756f0
call fcn.00483d30
cmp dword [0xc75764], ebx
jne 0x52bc45
mov ecx, 0xcdf6c8
call fcn.00483d30
cmp dword [0xcdf73c], ebx
jne 0x52bc5d
cmp dword [0xc75764], ebx
jne 0x52bc5d
cmp dword [0xb08a3c], ebx
je 0x52bc65
cmp dword [0x143b6dc], ebx
je 0x52bc70
mov ecx, dword [0x116fcd4]
call fcn.004b0500
mov ecx, 0xcdfbc0
call fcn.004d2570
mov ecx, 0xb08900
call fcn.0045d690
test eax, eax
je 0x52bcf2
mov eax, dword [0xb0890c]
cmp eax, 0x3c
je 0x52bc97
cmp eax, 0x3e
jne 0x52bcab
mov eax, dword [0xb08908]
mov dword [0xa598b8], 2
cmp eax, 0x10
jne 0x52bcb1
mov dword [0xa598b8], ebp
mov ecx, 0x8682d0
mov dword [0xb08988], ebp
call fcn.004a49f0
call fcn.00487090
mov ecx, dword [0x14ead6c]
mov edx, dword [0x14ead68]
push ecx
push edx
mov ecx, 0x8682d0
call fcn.004ac210
mov ecx, 0x14ead58
call fcn.00458530
mov ecx, 0x14ead58
call fcn.004585b0
mov ecx, 0x143b6a8
call fcn.00408720
mov eax, dword [0xb08954]
mov dword [0xb08a3c], ebx
cmp eax, edi
je 0x52be3c
cmp dword [0xb089ac], ebx
jne 0x52be3c
cmp dword [0x6041dc], ebx
jne 0x52be3c
mov ecx, 0xb08900
call fcn.0045d690
test eax, eax
je 0x52be3c
cmp dword [0x116fce8], ebx
jne 0x52be3c
cmp dword [0xb2d530], ebx
jne 0x52be3c
mov ecx, 0xb08900
call fcn.0045d6b0
test eax, eax
jne 0x52be3c
mov eax, dword [0xb08908]
cmp eax, 0xc
jne 0x52bdb7
cmp dword [0xb0890c], 0x3c
je 0x52be7f
mov eax, dword [0x116fce4]
mov ecx, dword [0x116fce0]
push 0x80
add eax, 0x1d0
push 0x80
add ecx, 0x298
push eax
push ecx
mov ecx, 0xa5ca68
mov dword [0xa5ca68], ebp
call fcn.0048a670
mov dword [0xa598a8], edi
jmp 0x52be7f
cmp eax, 0xe
jne 0x52bdd4
mov eax, dword [0xb0890c]
cmp eax, 0x3c
je 0x52be7f
cmp eax, 0x3e
jne 0x52bddd
jmp 0x52be7f
cmp eax, 0x10
jne 0x52be7f
cmp dword [0x143b6f0], ebx
jne 0x52be1f
cmp dword [0x143b6f4], ebx
jne 0x52be1f
cmp dword [0xb08a30], ebx
jne 0x52be1f
mov eax, dword [0x15f7d50]
xor eax, ebp
mov dword [0x15f7d50], eax
je 0x52be7f
mov ecx, 0xa5ca68
mov dword [0xa5ca68], ebp
call fcn.0048a540
mov dword [0xa598a8], 3
jmp 0x52be7f
push ebp
mov ecx, 0x143b6a8
call fcn.00408530
mov dword [0xa598a8], 3
mov dword [0x15f7d50], ebx
jmp 0x52be7f
mov ecx, 0xb08900
call fcn.0045d690
test eax, eax
je 0x52be54
mov dword [0xa598a8], 2
call fcn.004b0090
push ebp
mov ecx, 0x143b6a8
call fcn.00408530
mov esi, dword [0x116fcd4]
push ebp
mov ecx, esi
call fcn.004b0310
mov ecx, esi
call fcn.004b0f10
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x116fcd4]
push 3
call fcn.004b0310
mov ecx, 0xcdf6c8
call fcn.00483f90
mov ecx, 0xc756f0
call fcn.00483f90
push ebx
mov ecx, 0x143b6a8
call fcn.00408530
mov ecx, 0xb348c8
call fcn.00447580
mov ecx, 0xc757c0
call fcn.0043ce30
push ebx
mov ecx, 0xa59828
call fcn.00457310
mov ecx, 0xa59800
call fcn.0045f150
jmp 0x52bee6
mov ecx, 0x12157c8
call fcn.00466fc0
call dword [sym.imp.USER32.dll_WaitMessage]
cmp dword [0xa5988c], ebp
jne 0x52ba7a
mov edx, dword [0xa59894]
push ebx
push ebx
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0xa5988c], ebx
jmp 0x52ba7a
push ebp
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, 0x12157c8
call fcn.00465990
mov ecx, 0x15f7d4c
call fcn.00477110
mov ecx, 0xa59828
call fcn.00457190
mov eax, dword [0x1215cdc]
pop edi
pop esi
cmp eax, ebx
pop ebp
je 0x52bf4c
push 0x1215a80
call fcn.0052e7fe
add esp, 4
push ebx
call fcn.0052e729
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ecx
push ebx
push esi
push edi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
lea eax, [esp + 0xc]
push eax
call fcn.0052d52e
lea ecx, [esp + 0x10]
push ecx
call fcn.0052d3ce
mov edi, eax
mov eax, dword [0xa59810]
add esp, 8
mov ebx, 1
test eax, eax
jne 0x52bfcb
mov ecx, dword [0xcdf6c4]
mov edx, esi
sub edx, ecx
cmp edx, 0x6ddd00
jle 0x52bfcb
push 3
mov ecx, 0x116fd30
call fcn.004611e0
test eax, eax
jne 0x52bfcb
push ebx
push str.fx_speechGeneral_message16.wav
mov ecx, 0x116fd30
call fcn.00461b90
mov dword [0xa59810], ebx
mov eax, dword [0xa59814]
test eax, eax
jne 0x52c00b
mov edx, dword [0xcdf6c4]
mov eax, esi
sub eax, edx
cmp eax, 0xdbba00
jle 0x52c00b
push 3
mov ecx, 0x116fd30
call fcn.004611e0
test eax, eax
jne 0x52c00b
push ebx
push str.fx_speechGeneral_message13.wav
mov ecx, 0x116fd30
call fcn.00461b90
mov dword [0xa59814], ebx
mov eax, dword [0xa59820]
test eax, eax
jne 0x52c052
mov edx, dword [0xcdf6c4]
mov ecx, esi
sub ecx, edx
cmp ecx, 0x36ee80
jle 0x52c052
cmp dword [edi + 8], 2
jge 0x52c052
push 3
mov ecx, 0x116fd30
call fcn.004611e0
test eax, eax
jne 0x52c052
push ebx
push str.fx_speechGeneral_message14.wav
mov ecx, 0x116fd30
call fcn.00461b90
mov dword [0xa59820], ebx
mov eax, dword [0xa59824]
test eax, eax
jne 0x52c09c
sub esi, dword [0xcdf6c4]
cmp esi, 0x36ee80
jle 0x52c09c
mov eax, dword [edi + 8]
cmp eax, 2
jl 0x52c09c
cmp eax, 6
jge 0x52c09c
push 3
mov ecx, 0x116fd30
call fcn.004611e0
test eax, eax
jne 0x52c09c
push ebx
push str.fx_speechGeneral_message15.wav
mov ecx, 0x116fd30
call fcn.00461b90
mov dword [0xa59824], ebx
pop edi
pop esi
pop ebx
pop ecx
ret