Function at 0x10012d60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10059486
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1006c3ac]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006c3ac]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [esp + 0x18]
mov dword [esp + 0x150], 1
call fcn.1001b240
push 0xd
push str.CatelogIcon_
mov eax, esi
push eax
mov byte [esp + 0x15c], 2
call fcn.10013900
mov edx, dword [0x1006e504]
mov eax, dword [edx + 0xc]
mov ecx, 0x1006e504
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x150], 3
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str._s__s.catelogicon
lea edi, [esp + 0x28]
call fcn.100126a0
mov edi, dword [esp + 0x28]
add esp, 8
lea ebp, [edi - 0x10]
mov eax, ebp
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10002fe0
add eax, 0x10
mov dword [esi], eax
call fcn.1002b680
push 0x100605fc
lea eax, [esp + 0x1c]
push edi
xor esi, esi
push eax
mov dword [esp + 0x24], esi
call fcn.1003fec1
add esp, 0x10
cmp eax, esi
jne 0x10012faf
cmp dword [esp + 0x14], esi
je 0x10012faf
push 1
push str.bd_wallpaper_catelogicon_ver:_.4d
lea ecx, [esp + 0x4c]
push pe_nt_image_headers32
push ecx
call fcn.10041114
mov edx, dword [esp + 0x24]
push edx
push 1
lea eax, [esp + 0x5c]
push pe_nt_image_headers32
push eax
call fcn.10040a01
mov eax, dword [esp + 0x178]
add esp, 0x20
xor ecx, ecx
mov word [esp + 0x2c], cx
mov edi, 7
mov ecx, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10012ea0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x2c]
call fcn.1000b540
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
push eax
push 4
lea ecx, [esp + 0x28]
push 1
push ecx
mov dword [esp + 0x30], edx
call fcn.10040a01
mov eax, dword [esp + 0x3c]
mov esi, 8
add esp, 0x10
cmp dword [esp + 0x40], esi
jae 0x10012eea
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
push edx
push 2
push ecx
push eax
call fcn.10040a01
mov edx, dword [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x178]
push 1
push eax
call fcn.10040a01
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x180]
push ecx
push 1
push edx
push ebx
call fcn.10040a01
mov eax, dword [esp + 0x44]
push eax
call fcn.1004001f
xor ebx, ebx
add esp, 0x34
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x40], esi
jb 0x10012f4d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1003f2c6
add esp, 4
xor edx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
mov byte [esp + 0x150], 2
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10012f7e
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x150], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012fa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], bl
jmp 0x10013001
mov byte [esp + 0x150], 2
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012fd1
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x150], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012ff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0
mov eax, dword [esp + 0x158]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10013024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x15c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10013052
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.1003f2d1
add esp, 0x140
ret 0xc