Function at 0x4663a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e48e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x48d06c]
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.0041ad70
add esp, 8
push 1
push 0x4705dc
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.0040d200
push 2
push 0x47f6a8
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.0040d200
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.0041ae60
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4664ad
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4664a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b2c
push edx
push ecx
call fcn.0043febe
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 0x466506
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4664fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b2c
push edx
push ecx
call fcn.0043febe
add esp, 8
push 1
push 0x4705dc
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0040d200
push 1
push 0x47f6ac
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.0040d200
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.0041ae60
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4665c3
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4665b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b31
push edx
push ecx
call fcn.0043febe
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 0x46661c
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466612
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b31
push edx
push ecx
call fcn.0043febe
add esp, 8
push 1
push 0x4705dc
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0040d200
push 1
push 0x47f6b0
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.0040d200
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.0041ae60
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4666d9
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4666cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b36
push edx
push ecx
call fcn.0043febe
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 0x466732
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466728
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b36
push edx
push ecx
call fcn.0043febe
add esp, 8
push 1
push 0x4705dc
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
call fcn.0040d200
push 2
push 0x47f6b4
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.0040d200
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.0041ae60
mov edx, dword [ebp - 0xdc]
add esp, 0xc
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4667ef
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4667e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b3b
push edx
push ecx
call fcn.0043febe
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 0x466848
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46683e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b3b
push edx
push ecx
call fcn.0043febe
add esp, 8
cmp byte [ebx + 0x71], 0
mov di, word [ebp + 8]
je 0x4668c1
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 0x4668c1
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 0x466ad8
mov edx, dword [ebp + 0x14]
test edx, edx
jl 0x4668d1
mov eax, dword [ebp + 0x10]
jg 0x4668d6
test eax, eax
jne 0x4668d6
call fcn.0041fc70
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x168], edx
push eax
call fcn.0044f2b4
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.004659d0
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 0x466960
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.0040d200
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.0040d390
push 3
push 0x47f750
lea ecx, [ebp - 0x120]
call fcn.0040d390
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 0x4669d5
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 0x466a28
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x14], 8
jb 0x466a04
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 0x466a28
mov eax, dword [ebp - 0x160]
add eax, 0x78
jmp 0x466a7c
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 0x466abd
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466ab3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b40
push edx
push ecx
call fcn.0043febe
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 0x466b0e
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466b04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466b40
push edx
push ecx
call fcn.0043febe
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.004406e4
mov esp, ebp
pop ebp
ret 0x10
call fcn.004453c3
call fcn.004453c3
call fcn.004453c3
call fcn.004453c3
call fcn.004453c3
int3