Function at 0x408f30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14]
mov dword [esp], eax
call fcn.00417872
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xf27e
mov dword [esp], eax
call fcn.00417912
test ax, ax
je 0x408fb3
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp], str.ERROR:_could_not_connect_to_lockdownd_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004178cb
mov eax, 0xffffffff
jmp 0x4091d2
call fcn.004222a4
mov dword [ebp - 0x10], eax
mov dword [esp], 0x671f03
call fcn.0042230c
mov dword [esp + 8], eax
mov dword [esp + 4], 0x671f08
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00422a70
mov dword [esp], 0
call fcn.0042236c
mov dword [esp + 8], eax
mov dword [esp + 4], 0x671f10
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00422a70
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00423cdc
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00422520
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov edx, eax
shr edx, 0x18
mov eax, dword [ebp - 0x20]
and eax, 0xff0000
shr eax, 8
or edx, eax
mov eax, dword [ebp - 0x20]
and eax, 0xff00
shl eax, 8
or edx, eax
mov eax, dword [ebp - 0x20]
shl eax, 0x18
or eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 4
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004179da
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ebx, [ebp - 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004179da
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.005a0e48
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x10], 0x5dc
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 4
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00417b08
mov eax, dword [ebp - 0x20]
mov edx, eax
shr edx, 0x18
mov eax, dword [ebp - 0x20]
and eax, 0xff0000
shr eax, 8
or edx, eax
mov eax, dword [ebp - 0x20]
and eax, 0xff00
shl eax, 8
or edx, eax
mov eax, dword [ebp - 0x20]
shl eax, 0x18
or eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x409182
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x10], 0x1388
lea ebx, [ebp - 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00417b08
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.005a0e48
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409182
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004181f9
cmp dword [ebp - 0xc], 0
je 0x4091cd
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str.ERROR:_could_not_stroke_lockdownd
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004178cb
mov eax, 0xffffffff
jmp 0x4091d2
mov eax, 0
add esp, 0x44
pop ebx
pop ebp
ret