Function at 0x433c30
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e91e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4b5048]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004324d0
add esp, 8
push 1
push 0x493490
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ce70
push 2
push 0x493494
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.0041ce70
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004326b0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x433d37
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343e4
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x433d90
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433d86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343e4
push edx
push ecx
call fcn.0044cee7
add esp, 8
push 1
push 0x493490
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ce70
push 1
push 0x493498
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.0041ce70
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004326b0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x433e4d
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433e43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343e9
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x433ea6
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433e9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343e9
push edx
push ecx
call fcn.0044cee7
add esp, 8
push 1
push 0x493490
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ce70
push 1
push 0x49349c
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.0041ce70
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004326b0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x433f63
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433f59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343ee
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x433fbc
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433fb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343ee
push edx
push ecx
call fcn.0044cee7
add esp, 8
push 1
push 0x493490
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ce70
push 2
push 0x4934a0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 7
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.0041ce70
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.004326b0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x434079
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43406f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343f3
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4340d2
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4340c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343f3
push edx
push ecx
call fcn.0044cee7
add esp, 8
cmp byte [ebx + 0x79], 0
mov di, word [ebp + 8]
je 0x43414b
cmp dword [ebp - 0x124], 0x10
movzx eax, di
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
push str.Kiosk_Monitor___Watchdog_Control_Panel
push str.TWatchdogMainWindow
mov dword [ebp - 0xdc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x43414b
lea eax, [ebp - 0x164]
push eax
push 0x7d0
push 3
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x434390
mov edx, dword [ebp + 0x14]
test edx, edx
jl 0x43415b
mov eax, dword [ebp + 0x10]
jg 0x434160
test eax, eax
jne 0x434160
call fcn.004314c0
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x168], edx
push eax
call fcn.00472a74
movzx eax, di
push eax
push dword [ebp - 0x15c]
mov eax, dword [ebp - 0x14c]
push dword [ebp - 0x158]
inc eax
push dword [ebp - 0x154]
push dword [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x148]
add eax, 0xffffff9c
push eax
lea eax, [ebp - 0xd8]
push str._02i_02i_02i_02i_02i_02i_03i
push eax
call fcn.00432e80
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x110], 0
add esp, 0x2c
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4341e5
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.0041ce70
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push dword [ebp - 0x128]
cmovae eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x120]
push eax
mov byte [ebp - 4], 9
call fcn.0041d000
push 3
push 0x493540
lea ecx, [ebp - 0x120]
call fcn.0041d000
lea eax, [ebx + 0x84]
push eax
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebx + 0x80], 0
je 0x434274
cmp dword [ebp - 0x10c], 0x10
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebx + 0xb0], 8
lea esi, [ebx + 0x9c]
mov eax, esi
jb 0x434287
mov eax, dword [esi]
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4342d9
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x4342b4
mov esi, dword [esi]
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4342d9
mov eax, dword [ebp - 0x164]
jmp 0x434334
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x10c], 0x10
lea ecx, [ebp - 0x160]
push 0
push ecx
push dword [ebp - 0x110]
lea eax, [ebp - 0x120]
mov dword [ebp - 0x160], 0
cmovae eax, dword [ebp - 0x120]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x160]
add dword [ebx + 0xdc], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x10c]
cmp edx, 0x10
jb 0x434375
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43436b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343f8
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x4343c6
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4343bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4343f8
push edx
push ecx
call fcn.0044cee7
add esp, 8
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.0044d750
mov esp, ebp
pop ebp
ret 0x10
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
int3