Function at 0x408ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, 0xffffffff
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [0x4cc01c]
mov ecx, dword [ebp - 0x24]
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 0x14], 0x80
mov dword [edx + 0x10], 2
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x18], 0
mov dword [edx + 4], 0x40000000
call eax
sub esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0xb8447675
mov eax, dword [ebp - 0x34]
mov ecx, eax
sub ecx, 0x7fcfc01b
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jg 0x408ccd
jmp 0x408b57
mov eax, dword [ebp - 0x38]
sub eax, 0x7055d289
mov dword [ebp - 0x40], eax
jg 0x408cb7
jmp 0x408b6d
mov eax, dword [ebp - 0x38]
sub eax, 0x3d2d8b88
mov dword [ebp - 0x44], eax
jg 0x408ca1
jmp 0x408b83
mov eax, dword [ebp - 0x38]
sub eax, 0x2fc60fd0
mov dword [ebp - 0x48], eax
jg 0x408c8b
jmp 0x408b99
mov eax, dword [ebp - 0x38]
sub eax, 0xecd5f0a
mov dword [ebp - 0x4c], eax
jg 0x408c75
jmp 0x408baf
mov eax, dword [ebp - 0x38]
sub eax, 0xfc9e0577
mov dword [ebp - 0x50], eax
jg 0x408c5f
jmp 0x408bc5
mov eax, dword [ebp - 0x38]
sub eax, 0xec5c3ab7
mov dword [ebp - 0x54], eax
jg 0x408c49
jmp 0x408bdb
mov eax, dword [ebp - 0x38]
sub eax, 0xb8447674
mov dword [ebp - 0x58], eax
jg 0x408c07
jmp 0x408bf1
mov eax, dword [ebp - 0x38]
sub eax, 0xb5db7615
mov dword [ebp - 0x5c], eax
je 0x408de3
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0xb8447675
mov dword [ebp - 0x60], eax
je 0x408ceb
jmp 0x408c1d
mov eax, dword [ebp - 0x38]
sub eax, 0xcd515492
mov dword [ebp - 0x64], eax
je 0x408da9
jmp 0x408c33
mov eax, dword [ebp - 0x38]
sub eax, 0xcf284f12
mov dword [ebp - 0x68], eax
je 0x408e13
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0xec5c3ab8
mov dword [ebp - 0x6c], eax
je 0x408db5
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0xfc9e0578
mov dword [ebp - 0x70], eax
je 0x408d42
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0xecd5f0b
mov dword [ebp - 0x74], eax
je 0x408d16
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0x2fc60fd1
mov dword [ebp - 0x78], eax
je 0x408df6
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0x3d2d8b89
mov dword [ebp - 0x7c], eax
je 0x408e36
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0x7055d28a
mov dword [ebp - 0x80], eax
je 0x408d5e
jmp 0x408ce6
mov eax, dword [ebp - 0x38]
sub eax, 0x7fcfc01c
mov dword [ebp - 0x84], eax
je 0x408d0a
jmp 0x408ce6
jmp 0x408e44
mov eax, 0xffffffff
mov ecx, 0xecd5f0b
mov edx, 0x7fcfc01c
mov esi, dword [ebp - 0x10]
cmp esi, eax
cmove ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x408e44
mov dword [ebp - 0x34], 0x2fc60fd1
jmp 0x408e44
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00404e10
mov dword [ebp - 0x34], 0xfc9e0578
jmp 0x408e44
mov eax, 0xb5db7615
mov ecx, 0x7055d28a
cmp dword [ebp - 0x1c], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x408e44
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, esp
lea edi, [ebp - 0x2c]
mov dword [esi + 0xc], edi
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov ecx, 0xec5c3ab8
mov edx, 0xcd515492
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x1c]
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x88], eax
jmp 0x408e44
mov dword [ebp - 0x34], 0x2fc60fd1
jmp 0x408e44
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb38e360e
sub ecx, eax
sub ecx, 0xb38e360e
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], 0xfc9e0578
jmp 0x408e44
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x2fc60fd1
jmp 0x408e44
mov eax, 0xffffffff
mov ecx, 0x3d2d8b89
mov edx, 0xcf284f12
cmp dword [ebp - 0x28], eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x408e44
mov eax, dword [0x4cc050]
mov ecx, dword [ebp - 0x28]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov dword [ebp - 0x34], 0x3d2d8b89
mov dword [ebp - 0x8c], eax
jmp 0x408e44
mov eax, dword [ebp - 0x30]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x408b3b