Function at 0x422dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c30e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x47802c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0xc
push str.bGFzdGJ5dGU
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.004314f0
push 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
push 0x46e3c9
mov dword [esi + 0x18], 1
call fcn.004314f0
push 4
push 0x46ef78
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.004314f0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
push eax
lea ecx, [ebp - 0x90]
call fcn.00430330
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x422eb1
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422ea7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423465
push edx
push ecx
call fcn.0043a86a
add esp, 8
push 4
push str.path
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.004314f0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 4
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
push eax
lea ecx, [ebp - 0x30]
call fcn.00430330
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x422f4f
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42346a
push edx
push ecx
call fcn.0043a86a
add esp, 8
lea edx, [ebp - 0x78]
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.0040fd20
mov byte [ebp - 4], 7
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add ecx, 0x30
call fcn.0042e650
lea edi, [esi + 0x4c]
cmp edi, eax
je 0x422fa3
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x422f98
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004314f0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x422fdb
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422fd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42346f
push edx
push ecx
call fcn.0043a86a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.00430330
lea ecx, [ebp - 0x60]
call fcn.0040f3d0
add esp, 0x18
lea ecx, [ebp - 0x30]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x423031
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423027
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423474
push edx
push ecx
call fcn.0043a86a
add esp, 8
cmp dword [esi + 0x5c], 0
je 0x423347
lea ecx, [ebp - 0x30]
call fcn.00415850
cmp dword [edi + 0x14], 0x10
mov ebx, eax
jb 0x42304d
mov edi, dword [edi]
push edi
call fcn.00444926
add esp, 4
cmp eax, ebx
jne 0x42312e
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x423092
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
cmp edx, 0x10
jb 0x4230db
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4230d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x42310f
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423105
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
lea eax, [esi + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a313
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
mov ecx, esp
xor bl, bl
push eax
call fcn.00430330
lea ecx, [ebp - 0x48]
call fcn.00410160
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004152a0
lea ecx, [ebp - 0x48]
test al, al
je 0x423177
cmp dword [ebp - 0x34], 8
mov edx, 4
cmovae ecx, dword [ebp - 0x48]
sub esp, 8
push 4
push ecx
push 1
jmp 0x42318c
cmp dword [ebp - 0x34], 8
mov edx, 0x40000000
cmovae ecx, dword [ebp - 0x48]
sub esp, 8
push 2
push ecx
push 0
call fcn.00411600
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x4231fd
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x60]
call fcn.0040fd20
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x18]
push 0
push ecx
push dword [ebp - 0x50]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push edi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x423246
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42323c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
jmp 0x42323c
sub esp, 0x18
mov dword [esi + 0x18], 0
mov ecx, esp
push 0x20
push str.a5m6IGn3ua9DieVl5QlGVwbPYgreEg
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004314f0
lea ecx, [ebp - 0x60]
call fcn.00410da0
add esp, 0x18
lea ecx, [esi + 0x1c]
push eax
call fcn.00430250
jmp 0x4231d1
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x4232c1
test bl, bl
jne 0x4232c1
call edi
push 5
push str.error
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], 0
call fcn.004314f0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4232a8
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42329e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x42305e
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x42305e
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4232f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
jmp 0x42305e
sub esp, 0x18
mov dword [esi + 0x18], 0
mov ecx, esp
push 0x28
push str.QZe5YGtxvy8QjLUjIZoFUYILsQrb0aHQx6zEH0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.004314f0
lea ecx, [ebp - 0x60]
call fcn.00410da0
add esp, 0x18
lea ecx, [esi + 0x1c]
push eax
call fcn.00430250
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4233b8
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4233ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4233ec
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4233e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x423431
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x42310f
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423105
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x423105
jmp 0x423479
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
call fcn.0044532a
int3