Function at 0x1003b8b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101ae960]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x10091c54
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
call fcn.100748aa
add esp, 0xc
test esi, esi
je 0x1003bb29
cmp dword [ebp - 0x210], 0
je 0x1003bb29
push edi
push esi
call fcn.10071760
mov edi, eax
test edi, edi
je 0x1003bb1b
push edi
call fcn.100717c0
test eax, eax
je 0x1003bb1b
movzx esi, word [eax + 0x10]
push ebx
movzx ebx, word [eax + 0x3c]
lea eax, [ebp - 0x20c]
push 0x104
push 0
push eax
call fcn.100739c0
add esi, 0xffff00ff
add esp, 0xc
cmp esi, 3
ja case.default.0x1003b94b
jmp dword [esi*4 + 0x1003bb3c]
push str.OpenCL_Source__CL_Source_Headers_
jmp 0x1003b973
push str.OpenCL_Objects__LLVM_binaries_archives_
jmp 0x1003b973
push str.OpenCL_Library
jmp 0x1003b973
push str.OpenCL_Executable
jmp 0x1003b973
push str.Unexpected_ELF_Type
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.10073d16
add esp, 0xc
push str._TEXT_REPRESENTATION_OF_ELF_BINARY__n
push dword [ebp - 0x210]
call fcn.10074a01
lea eax, [ebp - 0x20c]
push eax
push str.ELF_Header_Type:__s_n
push dword [ebp - 0x210]
call fcn.10074a01
push ebx
push str.Number_of_sections:__d_n
push dword [ebp - 0x210]
call fcn.10074a01
add esp, 0x20
xor esi, esi
test ebx, ebx
je 0x1003bb1a
lea esp, [esp]
push esi
push edi
call fcn.10071820
test eax, eax
je 0x1003bafe
mov eax, dword [eax + 4]
cmp eax, 3
ja 0x1003b9fb
je 0x1003b9f4
test eax, eax
jne case.0x1003ba05.16777214
push str.Empty
jmp 0x1003ba34
push str.String_Table
jmp 0x1003ba34
add eax, 0x1000000
cmp eax, 5
ja case.0x1003ba05.16777214
jmp dword [eax*4 + 0x1003bb4c]
push str.OpenCL_Text___Source
jmp 0x1003ba34
push str.OpenCL_Text___Header
jmp 0x1003ba34
push str.LLVM_Archive
jmp 0x1003ba34
push str.LLVM_Binary
jmp 0x1003ba34
push str.Gen_Device_Binary
jmp 0x1003ba34
push str.Unexpected_Section_Type
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.10073d16
add esp, 0xc
push str._n_________________________________________n
push dword [ebp - 0x210]
call fcn.10074a01
add esp, 8
push esi
push edi
call fcn.10071850
push eax
push str.Section_Name:__s_n
push dword [ebp - 0x210]
call fcn.10074a01
lea eax, [ebp - 0x108]
push eax
push str.Section_Type:__s_n
push dword [ebp - 0x210]
call fcn.10074a01
push str.Section_Data:_n
push dword [ebp - 0x210]
call fcn.10074a01
add esp, 0x20
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push edi
call fcn.100717d0
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x1003bb11
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x1003bb11
push dword [ebp - 0x210]
push eax
push 1
push ecx
call fcn.1007576b
push str._n________________________________________n
push dword [ebp - 0x210]
call fcn.10074a01
add esp, 0x18
jmp 0x1003bb11
push str.ERROR:_Cannot_read_section_header__n
push dword [ebp - 0x210]
call fcn.10074a01
add esp, 8
inc esi
cmp esi, ebx
jb 0x1003b9d0
pop ebx
push dword [ebp - 0x210]
call fcn.1007440a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10072374
mov esp, ebp
pop ebp
ret 0xc