Function at 0x100bc150
Capabilities:
Check if file exists
Get file system object information
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2a63
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
lea esi, [ecx + 0xcc]
mov dword [ebp - 0x514], 7
push eax
push esi
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x518], 0
mov word [ebp - 0x528], ax
call fcn.10001a70
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 1
call fcn.1003ad30
cmp dword [ebp - 0x514], 8
lea eax, [ebp - 0x528]
cmovae eax, dword [ebp - 0x528]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
setne al
cmp dword [ebp - 0x514], 8
mov byte [ebp - 0x4e1], al
jb 0x100bc20f
push dword [ebp - 0x528]
call edi
mov al, byte [ebp - 0x4e1]
add esp, 4
test al, al
jne 0x100bc23e
push str.path_is_not_exist_
push 3
push 0x116
push 0x1010ad38
push 0x1010ad68
call fcn.100e13e0
add esp, 0x14
xor al, al
mov byte [ebp - 0x4e1], al
jmp 0x100bc5a4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x100bc264
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
push 0x2b0
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4e0], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4e0]
push 0x100
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x100bc2e8
lea eax, [ebp - 0x218]
push eax
push str.Get_icon_info_fail__path:__s
push 3
push 0x120
push str..._srcPrivateHelper_toolsExeDetailTool.cpp
push str.CExeDetail::SaveToIco
call fcn.100e1770
add esp, 0x18
xor al, al
mov byte [ebp - 0x4e1], al
jmp 0x100bc5a4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [ebp - 0x4e0]
cmovae eax, dword [ebp + 8]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
mov dword [ebp - 0x50c], esi
mov dword [ebp - 0x4f0], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4e8], eax
cmp eax, 0xffffffff
jne 0x100bc33e
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
xor al, al
mov byte [ebp - 0x4e1], al
jmp 0x100bc5a4
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x508], eax
mov word [ebp - 0x504], ax
lea eax, [ebp - 0x53c]
push eax
push esi
movdqu xmmword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_GetIconInfo]
push 1
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x530]
call fcn.100bc0e0
push 0x20
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp - 0x52c]
call fcn.100bc0e0
push dword [ebp - 0x4f4]
mov esi, dword [sym.imp.MSVCR120.dll_malloc]
call esi
mov edi, dword [ebp - 0x4ec]
add esp, 4
mov dword [ebp - 0x4f4], eax
push edi
call esi
add esp, 4
mov dword [ebp - 0x4f8], eax
push dword [ebp - 0x4fc]
call esi
add esp, 4
mov dword [ebp - 0x4ec], eax
push dword [ebp - 0x500]
call esi
add esp, 4
mov esi, eax
mov dword [ebp - 0x510], esi
push 1
push dword [ebp - 0x4ec]
push dword [ebp - 0x4f4]
push dword [ebp - 0x530]
call fcn.100bc0a0
push 0x20
push esi
push dword [ebp - 0x4f8]
push dword [ebp - 0x52c]
call fcn.100bc0a0
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x4f0]
push 0
push eax
push 6
lea eax, [ebp - 0x508]
mov dword [ebp - 0x506], 0x10001
push eax
push dword [ebp - 0x4e8]
call esi
mov ecx, dword [ebp - 0x4f8]
xor al, al
push 0
setne byte [ebp - 0x4e1]
movzx eax, byte [ecx + 4]
mov byte [ebp - 0x228], al
movzx eax, byte [ecx + 8]
mov byte [ebp - 0x227], al
mov ax, word [ecx + 0xe]
imul ax, word [ecx + 0xc]
mov dword [ebp - 0x21c], 0x16
mov word [ebp - 0x226], ax
mov eax, dword [ebp - 0x500]
add eax, edi
add eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x4f0]
push eax
push 0x10
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x4e8]
call esi
mov ecx, dword [ebp - 0x4f8]
test byte [ebp - 0x4e1], al
push 0
setne byte [ebp - 0x4e1]
mov eax, dword [ecx + 8]
add eax, eax
mov dword [ecx + 8], eax
lea eax, [ebp - 0x4f0]
push eax
push edi
push ecx
push dword [ebp - 0x4e8]
call esi
test byte [ebp - 0x4e1], al
lea eax, [ebp - 0x4f0]
mov edi, dword [ebp - 0x510]
push 0
push eax
push dword [ebp - 0x500]
setne byte [ebp - 0x4e1]
push edi
push dword [ebp - 0x4e8]
call esi
test byte [ebp - 0x4e1], al
lea eax, [ebp - 0x4f0]
push 0
push eax
push dword [ebp - 0x4fc]
setne byte [ebp - 0x4e1]
push dword [ebp - 0x4ec]
push dword [ebp - 0x4e8]
call esi
test byte [ebp - 0x4e1], al
push dword [ebp - 0x4f8]
mov esi, dword [sym.imp.MSVCR120.dll_free]
setne al
mov byte [ebp - 0x4e1], al
call esi
add esp, 4
push dword [ebp - 0x4f4]
call esi
add esp, 4
push edi
call esi
add esp, 4
push dword [ebp - 0x4ec]
call esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 4
push dword [ebp - 0x52c]
call esi
push dword [ebp - 0x530]
call esi
push dword [ebp - 0x50c]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x4e8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x4e1]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp + 0x1c], 8
jb 0x100bc5b8
push dword [ebp + 8]
call edi
mov al, byte [ebp - 0x4e1]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret 0x18