Function at 0x4097d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4825c0]
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 edi, ecx
mov esi, dword [ebp + 8]
lea eax, [esi - 0x9c44]
cmp eax, 0x4a
ja case.0x409816.40008
movzx eax, byte [eax + 0x40a144]
jmp dword [eax*4 + 0x40a084]
call fcn.0040a2f0
jmp case.0x409816.40008
mov eax, dword [edi]
call dword [eax + 0x20]
jmp case.0x409816.40008
call fcn.0040aa10
jmp case.0x409816.40008
mov ecx, dword [edi + 0x44]
call fcn.00440fc0
jmp case.0x409816.40008
mov ecx, dword [edi + 0x44]
call fcn.00420c00
mov ecx, edi
call fcn.0040bda0
jmp case.0x409816.40008
mov ecx, dword [edi + 0x44]
call fcn.0041f990
mov ecx, edi
call fcn.0040bda0
jmp case.0x409816.40008
mov eax, dword [edi]
call dword [eax + 0x14]
jmp case.0x409816.40008
mov eax, dword [edi]
call dword [eax + 0x10]
jmp case.0x409816.40008
mov eax, dword [edi]
call dword [eax + 0x18]
jmp case.0x409816.40008
mov eax, dword [edi]
call dword [eax + 0x1c]
jmp case.0x409816.40008
call fcn.0043dee0
jmp case.0x409816.40008
call fcn.0043dfa0
jmp case.0x409816.40008
cmp byte [edi + 0x58], 0
mov ecx, dword [edi + 0x44]
sete al
push eax
mov byte [edi + 0x58], al
call fcn.00444dd0
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x44]
push dword [edi + 0x74]
call fcn.004442c0
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x48]
push dword [edi + 0x78]
call fcn.004442c0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
mov eax, dword [eax + 0x90]
push eax
push dword [edi + 0x74]
mov dword [edi + 0x5c], eax
call fcn.004442c0
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x48]
push dword [edi + 0x78]
call fcn.004442c0
jmp case.0x409816.40008
cmp byte [edi + 0x59], 0
sete al
mov byte [edi + 0x59], al
jmp case.0x409816.40008
cmp byte [edi + 0x5a], 0
sete al
mov byte [edi + 0x5a], al
jmp case.0x409816.40008
cmp byte [edi + 0x5b], 0
sete al
mov byte [edi + 0x5b], al
jmp case.0x409816.40008
mov ecx, dword [edi + 0x44]
call fcn.0041f180
jmp case.0x409816.40008
cmp byte [edi + 0x60], 0
mov ecx, dword [edi + 0x34]
sete al
push eax
mov byte [edi + 0x60], al
call fcn.004237b0
jmp case.0x409816.40008
mov ecx, dword [edi + 0x34]
push esi
call fcn.004237c0
mov dword [edi + 0xb0], esi
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x7c]
add eax, 0xb0
push eax
call fcn.00406070
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + 0xa0]
mov dword [edi + 0x74], eax
mov eax, dword [ecx + 0x2c]
mov ecx, dword [edi + 0x44]
push eax
mov dword [edi + 0x28], eax
call fcn.00443f60
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041c090
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x44]
push dword [edi + 0x74]
call fcn.004442c0
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x48]
push dword [edi + 0x78]
call fcn.004442c0
mov ecx, dword [edi + 0x44]
call fcn.00445ca0
mov ecx, dword [edi + 0x48]
call fcn.00445ca0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
lea ecx, [edi + 0x94]
add eax, 0xc8
push eax
call fcn.00406070
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + 0xa8]
mov dword [edi + 0x78], eax
mov eax, dword [ecx + 0x30]
mov ecx, dword [edi + 0x48]
push eax
mov dword [edi + 0x2c], eax
call fcn.00443f60
mov ecx, dword [edi + 0x48]
call fcn.00420fa0
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x44]
push dword [edi + 0x74]
call fcn.004442c0
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x48]
push dword [edi + 0x78]
call fcn.004442c0
mov ecx, dword [edi + 0x44]
call fcn.00445ca0
mov ecx, dword [edi + 0x48]
call fcn.00445ca0
jmp case.0x409816.40008
cmp byte [edi + 0xac], 0
mov ecx, dword [edi + 0x44]
sete al
push eax
mov byte [edi + 0xac], al
call fcn.00444e00
jmp case.0x409816.40008
cmp byte [edi + 0xad], 0
mov ecx, dword [edi + 0x48]
sete al
push eax
mov byte [edi + 0xad], al
call fcn.00444e00
jmp case.0x409816.40008
call fcn.00407920
jmp case.0x409816.40008
mov dl, byte [edi + 0xb4]
mov ecx, dword [edi + 0x44]
test dl, dl
sete al
mov byte [edi + 0xb4], al
test dl, dl
jne 0x409ab0
call fcn.00420340
jmp 0x409ab5
call fcn.0041f9a0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041c090
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409ae6
mov eax, dword [eax + 0x130]
mov dword [edi + 0xf4], eax
jmp 0x409af2
mov eax, dword [eax + 0xf8]
mov dword [edi + 0xbc], eax
push dword [0x46f340]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409b2c
mov eax, dword [eax + 0x128]
mov dword [edi + 0xf8], eax
push dword [str._a_b_t_]
jmp 0x409af8
mov eax, dword [eax + 0xf0]
mov dword [edi + 0xc0], eax
push dword [str._a_b_t_]
jmp 0x409af8
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409b62
mov eax, dword [eax + 0x12c]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0xfc], eax
call fcn.00420fa0
jmp case.0x409816.40008
mov eax, dword [eax + 0xf4]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0xc4], eax
call fcn.00420fa0
jmp case.0x409816.40008
call fcn.004078c0
jmp case.0x409816.40008
call fcn.00407970
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409ba6
mov eax, dword [eax + 0x11c]
mov dword [edi + 0xe8], eax
jmp 0x409bb2
mov eax, dword [eax + 0x118]
mov dword [edi + 0xe4], eax
mov ecx, dword [edi + 0x44]
call fcn.00420340
mov ecx, dword [edi + 0x48]
call fcn.00421e00
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409be9
mov eax, dword [eax + 0x124]
mov ecx, dword [edi + 0x44]
mov dword [edi + 0xf0], eax
call fcn.00420340
jmp case.0x409816.40008
mov eax, dword [eax + 0x120]
mov ecx, dword [edi + 0x44]
mov dword [edi + 0xec], eax
call fcn.00420340
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409c19
mov eax, dword [eax + 0x140]
mov dword [edi + 0x100], eax
jmp 0x409c25
mov eax, dword [eax + 0x108]
mov dword [edi + 0xc8], eax
push dword [0x46f32c]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
push 0x48211c
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041cfe0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409c69
mov eax, dword [eax + 0x13c]
mov dword [edi + 0x104], eax
jmp 0x409c75
mov eax, dword [eax + 0x104]
mov dword [edi + 0xcc], eax
push dword [0x46f330]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
push 0x48212c
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041cfe0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409cb9
mov eax, dword [eax + 0x138]
mov dword [edi + 0x108], eax
jmp 0x409cc5
mov eax, dword [eax + 0x100]
mov dword [edi + 0xd0], eax
push dword [0x46f334]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
push 0x482160
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041cfe0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409d09
mov eax, dword [eax + 0x144]
mov dword [edi + 0x10c], eax
jmp 0x409d15
mov eax, dword [eax + 0x10c]
mov dword [edi + 0xd4], eax
push dword [0x46f338]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
push 0x482108
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041cfe0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409d59
mov eax, dword [eax + 0x148]
mov dword [edi + 0x110], eax
jmp 0x409d65
mov eax, dword [eax + 0x110]
mov dword [edi + 0xd8], eax
push dword [0x46f328]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
push 0x482100
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041cfe0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
cmp byte [eax + 0x18], 0
je 0x409da9
mov eax, dword [eax + 0x134]
mov dword [edi + 0x114], eax
jmp 0x409db5
mov eax, dword [eax + 0xfc]
mov dword [edi + 0xdc], eax
push dword [0x46f324]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
mov eax, dword [edi + 0x44]
push 0x482110
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041cfe0
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + 0x150]
mov dword [edi + 0x11c], eax
jmp case.0x409816.40008
mov eax, dword [edi + 0x4c]
mov al, byte [eax + 0x154]
mov byte [edi + 0x120], al
jmp case.0x409816.40008
mov ecx, dword [edi + 0x44]
call fcn.0041fdd0
jmp case.0x409816.40008
mov esi, dword [edi + 0x50]
test esi, esi
je case.0x409816.40008
mov eax, dword [esi + 0xa8]
lea ebx, [esi + 0xfc]
test eax, eax
je 0x409e3c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x409e42
mov dword [ebx], 0
cmp dword [ebx], 0x103
jne 0x409e9e
cmp byte [esi + 0x18], 0
lea eax, [esi + 0x18]
je 0x409ead
push 0x46e5e8
push eax
call fcn.0044d3ef
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x409ed1
push 0x69
push 0x46e5ec
push ebx
call fcn.0040d200
push ebx
call fcn.0044d225
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x2c]
push eax
push 2
push 0x46e5e4
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [edi + 0x54]
mov ecx, edi
call fcn.0040b450
jmp case.0x409816.40008
push dword [esi + 0xb0]
push 1
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
je 0x409ed1
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x30]
jmp 0x409e8a
push str.Lenvoi_de_CtrlBreak_a
lea ecx, [ebp - 0x28]
call fcn.00401760
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0043d6b0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00401940
jmp case.0x409816.40008
mov ecx, dword [edi + 0x50]
test ecx, ecx
je case.0x409816.40008
call fcn.0040c060
jmp case.0x409816.40008
mov ecx, dword [edi + 0x50]
test ecx, ecx
je 0x409f27
call fcn.00409150
test al, al
jne case.0x409816.40008
mov ecx, dword [edi + 0x48]
call fcn.00420eb0
mov ecx, dword [edi + 0x4c]
push 0
push 0x9c82
call fcn.0043d5c0
jmp case.0x409816.40008
mov ecx, dword [edi + 0x48]
push esi
call fcn.00421e80
jmp case.0x409816.40008
mov ecx, dword [edi + 0x4c]
cmp byte [ecx + 0x164], 0
je case.0x409816.40008
lea esi, [edi + 0x28]
push esi
call fcn.00413b90
mov ecx, dword [edi + 0x4c]
push esi
call fcn.00413b90
mov ecx, edi
call fcn.0040bb50
push 1
mov ecx, edi
call fcn.0040c570
mov ecx, edi
call fcn.00444e40
mov ecx, dword [edi + 0x34]
push 0x9c64
call fcn.004237c0
movzx eax, byte [edi + 0x60]
mov ecx, dword [edi + 0x34]
push eax
call fcn.004237b0
movzx eax, byte [edi + 0xac]
mov ecx, dword [edi + 0x44]
push eax
call fcn.00444e00
push dword [esi]
mov ecx, dword [edi + 0x44]
call fcn.00443f60
mov ecx, dword [edi + 0x44]
call fcn.00420340
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x1c]
mov byte [eax + 0x20], 1
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + 0x1c]
call fcn.0041c090
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x44]
push dword [edi + 0x74]
call fcn.004442c0
push dword [str._a_b_t_]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
push dword [0x46f340]
mov ecx, dword [edi + 0x44]
call fcn.004200e0
movzx eax, byte [edi + 0xad]
mov ecx, dword [edi + 0x48]
push eax
call fcn.00444e00
push dword [edi + 0x2c]
mov ecx, dword [edi + 0x48]
call fcn.00443f60
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x48]
push dword [edi + 0x78]
call fcn.004442c0
push dword [edi + 0xb8]
mov ecx, dword [edi + 0x48]
call fcn.00421e80
mov ecx, dword [edi + 0x48]
call fcn.00445080
mov ecx, dword [edi + 0x48]
call fcn.00420fa0
mov ecx, dword [edi + 0x48]
call fcn.00441c00
mov ecx, dword [edi + 0x48]
call fcn.00445ca0
mov eax, dword [edi + 0x4c]
mov byte [eax + 0x164], 0
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.00448686
mov esp, ebp
pop ebp
ret 4