Function at 0x94b690
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x354
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x350], eax
mov eax, dword [esp + 0x358]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
test eax, eax
je 0x94b6e9
cmp dword [eax], 1
je 0x94b6c4
mov eax, 0x80000
jmp 0x94b996
mov ebp, dword [eax + 4]
or esi, 0xffffffff
cmp dword [ebp + 4], esi
je 0x94b6d7
mov edi, dword [ebp]
call fcn.0094a7b0
mov edi, dword [esp + 0x36c]
mov dword [ebp + 4], esi
mov esi, dword [ebp]
cmp edi, dword [esi + 4]
jl 0x94b6f3
mov eax, 0x10000
jmp 0x94b996
cmp edi, dword [esi + 0x10]
jge 0x94b70b
call fcn.0094a130
test eax, eax
je 0x94b70b
mov eax, 0x700
jmp 0x94b996
mov eax, dword [ebp]
cmp dword [eax + 0x10], edi
jge 0x94b768
mov esi, dword [ebp]
test esi, esi
je 0x94b701
cmp dword [esi + 0x18], 0
je 0x94b701
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [esi + 4]
je 0x94b701
mov ecx, dword [esi + 0x50]
add ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push 0
lea ecx, [ecx + edx + 0x2e]
add dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
push 0
lea edx, [esi + 0x78]
push edx
lea eax, [esi + 0x28]
push eax
mov eax, esi
call fcn.00949e90
xor ecx, ecx
add esp, 0x10
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
test eax, eax
jne 0x94b701
mov edx, dword [ebp]
cmp dword [edx + 0x10], edi
jl 0x94b713
lea eax, [esp + 0x18]
push eax
push edi
lea edx, [esp + 0x24]
mov ecx, ebp
mov dword [esp + 0x20], 0
call fcn.0094a8f0
mov ecx, dword [esp + 0x124]
mov al, byte [ebx]
shr ecx, 4
test cl, 1
je 0x94b7cd
cmp al, 0x2f
je 0x94b7a4
cmp al, 0x5c
je 0x94b7a4
test al, al
je 0x94b7b6
cmp byte [ebx + 1], 0x3a
jne 0x94b7b6
push ebx
push 0
call fcn.0094aed0
add esp, 8
xor eax, eax
jmp 0x94b996
push ebx
add ebp, 0x140
push ebp
call fcn.0094aed0
add esp, 8
xor eax, eax
jmp 0x94b996
mov byte [esp + 0x254], 0
mov esi, ebx
mov ecx, ebx
test al, al
je 0x94b7f3
lea ecx, [ecx]
cmp al, 0x2f
je 0x94b7e8
cmp al, 0x5c
jne 0x94b7eb
lea esi, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x94b7e0
push 0x104
lea edx, [esp + 0x150]
push ebx
push edx
call fcn.00a7b9de
add esp, 0xc
cmp esi, ebx
jne 0x94b87f
mov byte [esp + 0x14c], 0
push esi
lea ecx, [esp + 0x150]
push ecx
lea edi, [ebp + 0x140]
push edi
lea edx, [esp + 0x260]
push str._s_s_s
push edx
call fcn.00a78f30
add esp, 0x14
lea eax, [esp + 0x14c]
push eax
push edi
call fcn.0094aed0
add esp, 8
mov ecx, dword [esp + 0x124]
push 0
push ecx
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x94b8e2
mov eax, 0x200
jmp 0x94b996
mov eax, esi
sub eax, ebx
mov byte [esp + eax + 0x14c], 0
mov al, byte [esp + 0x14c]
cmp al, 0x2f
je 0x94b8b0
cmp al, 0x5c
je 0x94b8b0
test al, al
je 0x94b815
cmp byte [esp + 0x14d], 0x3a
jne 0x94b815
push esi
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x25c]
push 0xac9b30
push edx
call fcn.00a78f30
lea eax, [esp + 0x15c]
push eax
push 0
call fcn.0094aed0
add esp, 0x18
jmp 0x94b84b
mov eax, dword [ebp + 0x138]
push eax
mov eax, dword [ebp]
call fcn.0094a3c0
add esp, 4
cmp dword [ebp + 0x13c], 0
jne 0x94b910
push 0x4000
call fcn.00a77370
add esp, 4
mov dword [ebp + 0x13c], eax
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0x13c]
mov eax, dword [ebp]
lea ecx, [esp + 0x17]
push ecx
push edx
mov ecx, 0x4000
call fcn.0094a540
mov esi, eax
add esp, 8
cmp esi, 0xffffff96
je 0x94b960
test esi, esi
jl 0x94b960
jle 0x94b955
mov ecx, dword [ebp + 0x13c]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ecx
push ebx
call edi
test eax, eax
je 0x94b960
cmp byte [esp + 0x17], 0
jne 0x94b960
test esi, esi
jne 0x94b916
mov edi, dword [ebp]
call fcn.0094a7b0
mov esi, eax
test esi, esi
jne 0x94b98d
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x138]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x360]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [0xbd8914], eax
call fcn.00a78f21
add esp, 0x354
ret