Function at 0x4304c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4739ee
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x494048]
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 dword [ebp - 0x160], ebx
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0042edc0
add esp, 8
push 1
push 0x4773e8
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.0041ad40
push 2
push 0x4773ec
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.0041ad40
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.0042efa0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4305cd
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4305c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c4c
push edx
push ecx
call fcn.00448b15
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 0x430626
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43061c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c4c
push edx
push ecx
call fcn.00448b15
add esp, 8
push 1
push 0x4773e8
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ad40
push 1
push 0x4773f0
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.0041ad40
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.0042efa0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4306e3
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4306d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c51
push edx
push ecx
call fcn.00448b15
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 0x43073c
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430732
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c51
push edx
push ecx
call fcn.00448b15
add esp, 8
push 1
push 0x4773e8
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ad40
push 1
push 0x4773f4
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.0041ad40
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.0042efa0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4307f9
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4307ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c56
push edx
push ecx
call fcn.00448b15
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 0x430852
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430848
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c56
push edx
push ecx
call fcn.00448b15
add esp, 8
push 1
push 0x4773e8
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0041ad40
push 2
push 0x4773f8
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.0041ad40
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.0042efa0
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x43090f
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c5b
push edx
push ecx
call fcn.00448b15
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 0x430968
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43095e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c5b
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp byte [ebx + 0x71], 0
mov di, word [ebp + 8]
je 0x4309e1
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 0x4309e1
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 0x430bf8
mov edx, dword [ebp + 0x14]
test edx, edx
jl 0x4309f1
mov eax, dword [ebp + 0x10]
jg 0x4309f6
test eax, eax
jne 0x4309f6
call fcn.0042ddb0
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x168], edx
push eax
call fcn.00458a92
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.0042f770
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]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430a80
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.0041ad40
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.0041aed0
push 3
push 0x477498
lea ecx, [ebp - 0x120]
call fcn.0041aed0
lea eax, [ebx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xa4], 8
lea esi, [ebx + 0x90]
mov eax, esi
jb 0x430af5
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x430b48
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x430b24
mov esi, dword [esi]
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x430b48
mov eax, dword [ebp - 0x160]
add eax, 0x78
jmp 0x430b9c
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x10c], 0x10
lea ecx, [ebp - 0x164]
push 0
push ecx
push dword [ebp - 0x110]
lea eax, [ebp - 0x120]
cmovae eax, dword [ebp - 0x120]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [ebp - 0x160]
mov eax, dword [ebp - 0x164]
push edi
add dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x10c]
cmp edx, 0x10
jb 0x430bdd
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430bd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c60
push edx
push ecx
call fcn.00448b15
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 0x430c2e
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430c24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430c60
push edx
push ecx
call fcn.00448b15
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.0044937d
mov esp, ebp
pop ebp
ret 0x10
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
int3