Function at 0x4045ca
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x443b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x45b2a0
lea ecx, [esp + 0x18]
call fcn.00429764
xor ebp, ebp
mov dword [esp + 0x8c], ebp
call fcn.0043b57d
mov eax, dword [eax + 4]
push 3
push 0x45b380
mov ecx, esi
mov edi, dword [eax + 0x1c]
mov byte [0x45b380], 0x14
mov byte [0x45b381], 7
mov al, byte [esi + 0x594]
mov byte [0x45b382], al
call fcn.00404340
mov byte [0x45b383], al
mov al, byte [esi + 0x594]
test al, al
je 0x404653
cmp al, 5
je 0x404632
xor bl, bl
mov byte [esp + 0x10], bl
jmp 0x40467b
mov cl, byte [esi + 0x94]
mov bl, 0x64
and cl, 0x20
cmp cl, 0x20
je 0x404648
mov bl, byte [esi + 0x96]
mov byte [esp + 0x10], bl
push 0x4559d4
jmp 0x404672
mov dl, byte [esi + 0x94]
mov bl, 0xaa
and dl, 1
cmp dl, 1
je 0x404669
mov bl, byte [esi + 0x95]
mov byte [esp + 0x10], bl
push str.Alarm
lea ecx, [esp + 0x18]
call fcn.0042983e
test bl, bl
jne 0x4046c3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push str._s_Group_contains_no_records
push ecx
call fcn.00411b70
add esp, 0xc
lea edx, [esp + 0x20]
push ebp
push ebp
push edx
call fcn.0043163c
lea ecx, [esp + 0x14]
mov dword [esi + 0x598], ebp
mov dword [esp + 0x8c], 0xffffffff
call fcn.004296f6
xor eax, eax
jmp 0x404805
cmp byte [esi + 0x594], 5
jne 0x4046e8
mov eax, dword [esp + 0x10]
and eax, 0xff
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2 + 3]
mov dword [esi + 0x99c], edx
jmp 0x404703
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov eax, ecx
shl eax, 3
sub eax, ecx
lea eax, [eax + eax*2 + 3]
mov dword [esi + 0x99c], eax
mov ecx, dword [esi + 0x99c]
lea ebx, [esi + 0x9a8]
mov dword [ebx], ecx
mov ecx, esi
call fcn.004292df
push ebp
push 4
push ebp
push ebp
push ebx
push 0x404f30
call fcn.0042a002
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebp
lea edx, [esp + 0x24]
push ebp
push edx
mov dword [esi + 0x9a4], eax
call ebx
push eax
mov eax, dword [esi + 0x9a4]
mov ecx, dword [eax + 0x28]
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [esi + 0x9a4]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, edi
call fcn.004066f0
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [esi + 0x99c]
push ecx
call ebp
mov edx, dword [edi + 0x1b4]
push 0
push 0
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push ecx
call ebx
test eax, eax
je 0x404776
cmp dword [esp + 0x18], 0x103
je 0x404776
push 0
lea ecx, [edi + 0x198]
call fcn.00428ebf
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x598], edx
call fcn.004292f4
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x598]
mov dword [esp + 0x8c], 0xffffffff
cmp esi, 1
lea ecx, [esp + 0x14]
jne 0x4047fe
call fcn.004296f6
mov eax, 1
jmp 0x404805
call fcn.004296f6
mov eax, esi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret