Function at 0x10033bf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push esi
mov esi, dword [esp + 0x118]
test al, al
mov bl, bl
mov edx, dword [eax]
test cl, cl
mov ecx, dword [eax + 4]
test eax, 0x30f1
cmp edx, 2
jne 0x10033db1
cmp ecx, edx
jne 0x10033cbb
mov ch, ch
cmp dword [eax + 0x24], 0
jne 0x10033c7d
mov byte [esp + 8], 0x14
mov ebx, ebx
mov ecx, dword [eax + 0x20]
mov dword [esp + 9], ecx
test edx, edx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xd], edx
mov dword [esp + 0x11], ecx
test eax, 0x3339
mov edx, dword [eax + 8]
mov dword [esp + 0x15], edx
mov cl, cl
mov eax, dword [eax + 0x18]
mov dword [esp + 0x19], eax
test ch, ch
mov eax, 0x15
mov ebx, ebx
jmp 0x10033e10
mov byte [esp + 8], 0x1e
mov eax, eax
mov ecx, dword [eax + 0x20]
mov dword [esp + 9], ecx
mov ah, ah
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xd], edx
mov dword [esp + 0x11], ecx
xchg ebx, eax
xchg ebx, eax
mov edx, dword [eax + 8]
mov dword [esp + 0x15], edx
mov al, al
mov eax, dword [eax + 0x18]
mov dword [esp + 0x19], eax
test edx, edx
mov eax, 0x15
mov cl, cl
jmp 0x10033e10
cmp ecx, 3
jne 0x10033d59
mov edi, edi
test cl, cl
cmp dword [eax + 0x24], 0
je 0x10033d1b
mov byte [esp + 8], 4
test dl, dl
mov ecx, dword [eax + 0x18]
mov dword [esp + 9], ecx
mov al, al
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xd], edx
mov dword [esp + 0x11], ecx
test esi, esi
mov edx, dword [eax + 0x10]
mov dword [esp + 0x15], edx
mov esi, esi
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x19], ecx
test bl, bl
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x1d], edx
test ah, ah
mov dword [esp + 0x21], esi
test ah, ah
mov eax, 0x1d
push ebx
pop ebx
jmp 0x10033e10
mov byte [esp + 8], 5
mov cl, cl
mov ecx, dword [eax + 0x18]
mov dword [esp + 9], ecx
push ecx
pop ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xd], edx
mov dword [esp + 0x11], ecx
test dl, dl
mov edx, dword [eax + 0x10]
mov dword [esp + 0x15], edx
mov eax, eax
mov eax, dword [eax + 0x20]
mov dword [esp + 0x19], eax
mov dl, dl
mov eax, 0x15
mov dl, dl
jmp 0x10033e10
cmp ecx, 4
jne 0x10033e66
test dh, dh
mov byte [esp + 8], 7
test ah, ah
mov ecx, dword [eax + 0x18]
mov dword [esp + 9], ecx
test eax, 0x15c4
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xd], edx
mov dword [esp + 0x11], ecx
test eax, 0x41f6
mov edx, dword [eax + 0x10]
mov dword [esp + 0x15], edx
mov ebx, ebx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x19], ecx
test eax, 0x5167
mov edx, dword [eax + 0x20]
mov dword [esp + 0x1d], edx
mov dh, dh
mov eax, 0x19
test dl, dl
jmp 0x10033e10
cmp ecx, 1
jne 0x10033dbe
mov byte [esp + 8], cl
mov ebx, ebx
jmp 0x10033dea
cmp ecx, 0x14
jne 0x10033dcc
mov byte [esp + 8], 2
mov ebx, ebx
jmp 0x10033dea
cmp ecx, 0x1e
jne 0x10033dda
mov byte [esp + 8], 3
mov cl, cl
jmp 0x10033dea
cmp ecx, 5
jne 0x10033e66
mov byte [esp + 8], 6
test edx, edx
mov esi, dword [esp + 0x114]
lea ecx, [esi - 8]
push ecx
add eax, 8
push eax
lea edx, [esp + 0x11]
push edx
call fcn.100756d0
add esp, 0xc
push ebx
pop ebx
lea eax, [esi - 7]
test eax, 0x7796
mov ecx, dword [0x100e1fe8]
test ecx, ecx
je 0x10033e66
cmp ecx, 0xffffffff
je 0x10033e66
mov dword [esp + 4], 0
test al, al
push 0
lea ecx, [esp + 8]
push ecx
push eax
mov eax, dword [0x100e1fe8]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
cmp dword [esp + 4], 0
jne 0x10033e66
mov eax, 1
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.10074da4
add esp, 0x108
ret
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10074da4
add esp, 0x108
ret