Function at 0x100267e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x10114894]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 8
push eax
mov dword [ebp - 0x218], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [0x10117a38]
mov ecx, 0x10117a44
push 0
call fcn.10023c40
lea ecx, [ebp - 0x224]
call fcn.10017590
call fcn.10008eb0
mov ecx, eax
call fcn.10008d10
mov eax, dword [0x10117ae0]
test al, 1
jne 0x10026889
or eax, 1
mov ecx, 0x10117adc
mov dword [0x10117ae0], eax
call fcn.1002d9c0
push 0x100e2d10
call fcn.1005eac4
add esp, 4
mov ecx, 0x10117adc
call fcn.1002da10
push ebx
call fcn.100239e0
mov ecx, eax
call fcn.1001d990
call fcn.100239e0
mov ecx, eax
call fcn.1001e5a0
push eax
call fcn.1002d310
cmp dword [0x101132e0], 0
je 0x1002695f
push str.ntdll.dll
mov dword [ebp - 0x214], 0
xor edi, edi
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10026955
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10026929
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x214]
push ecx
call eax
movzx eax, word [ebp - 0x210]
mov edi, 1
mov dword [ebp - 0x210], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x10026955
cmp dword [ebp - 0x214], 5
jne 0x10026955
mov eax, dword [0x10117acc]
mov ecx, 1
cmp dword [ebp - 0x218], ecx
cmove eax, ecx
mov dword [0x10117acc], eax
mov dword [0x101132e0], 0
cmp dword [0x10117acc], 0
je 0x1002697b
push 0
push 0x100e6770
push 0
call fcn.1002d320
jmp 0x10026cf8
mov ecx, 0x10117a80
call fcn.10017b00
test eax, eax
jne 0x1002699a
push eax
push 0x100e6788
push eax
call fcn.1002d320
jmp 0x10026cf8
call fcn.10022e80
test eax, eax
jne 0x100269b4
push eax
push 0x100e67a4
push eax
call fcn.1002d320
jmp 0x10026cf8
push dword [0x101132a0]
push 0x100e6738
push 0
call fcn.10023af0
mov ecx, eax
call fcn.100530e0
call fcn.100239e0
mov ecx, eax
call fcn.1001d2b0
push eax
call fcn.10023af0
mov ecx, eax
call fcn.10053370
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10066cd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10117a38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.10007800
test eax, eax
je 0x10026e98
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
call fcn.10007800
test eax, eax
je 0x10026e98
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008820
test al, al
jne 0x10026a92
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026a70
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x210]
call fcn.100070c0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10023570
mov edx, dword [ebp - 0x210]
or esi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026ac8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x214]
push eax
call fcn.10023af0
mov ecx, eax
call fcn.10053350
mov edx, dword [ebp - 0x214]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026af8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x10117ac0]
test ecx, ecx
jne 0x10026b4e
push 0x101132a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10117ac0], 0
jne 0x10026b3d
push 4
call fcn.1002e5a0
add esp, 4
test eax, eax
je 0x10026b2f
mov ecx, eax
call fcn.10052f60
mov ecx, eax
jmp 0x10026b31
xor ecx, ecx
xchg dword [ebp - 0x218], eax
mov dword [0x10117ac0], ecx
push 0x101132a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10117ac0]
push 0
push 0
push 1
push 0
push str.start
call fcn.10053140
call fcn.10023d60
test eax, eax
jne 0x10026b83
mov ecx, 0x10117a80
call fcn.10017cf0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10026cf8
call fcn.10031630
mov edi, eax
push str.SETUPDATA
push 0xd7
push dword [0x10117a38]
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
jne 0x10026bed
push 4
push 0x100e662c
push eax
call fcn.1002d320
cmp eax, 6
jne 0x10026bcf
push 1
push 0
push 0
push dword [0x10113288]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 1
push 0
push str.install_init_fail
call fcn.10023af0
mov ecx, eax
call fcn.10053140
jmp 0x10026cb6
push dword [0x10113298]
lea ecx, [ebp - 0x210]
call fcn.10008a60
mov edx, dword [str.greenpomelo_dll.prj]
test edx, edx
jne 0x10026c0c
xor ecx, ecx
jmp 0x10026c26
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026c11
sub ecx, ebx
mov ebx, dword [ebp - 0x220]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x210]
call fcn.100070c0
push dword [ebp - 0x210]
mov eax, dword [edi]
push str.SETUPCONFIG
push 0xd5
push dword [0x10117a38]
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x10026cd1
push 4
push 0x100e662c
push eax
call fcn.1002d320
cmp eax, 6
jne 0x10026c82
push 1
push 0
push 0
push dword [0x10113288]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 1
push 0
push str.install_init_fail
call fcn.10023af0
mov ecx, eax
call fcn.10053140
mov edx, dword [ebp - 0x210]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10026cb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 1
push 0
push str.install_file_fail
call fcn.10023af0
mov ecx, eax
call fcn.10053140
jmp 0x10026cf8
mov edx, dword [ebp - 0x210]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10026cec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x14]
push ebx
call fcn.100258a0
add esp, 8
mov eax, dword [0x10117ae0]
test al, 1
jne 0x10026d20
or eax, 1
mov ecx, 0x10117adc
mov dword [0x10117ae0], eax
call fcn.1002d9c0
push 0x100e2d10
call fcn.1005eac4
add esp, 4
mov ecx, 0x10117adc
call fcn.1002dd70
call fcn.10008eb0
mov ecx, eax
call fcn.10008e90
mov ecx, 0x10117a80
call fcn.10017cf0
mov edi, dword [0x10119e48]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x10117a7c]
test esi, esi
je 0x10026da2
cmp dword [esi + 4], 0
jle 0x10026d70
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x10117a7c]
test esi, esi
je 0x10026da2
mov eax, dword [esi]
test eax, eax
je 0x10026d89
push eax
call fcn.100830b3
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1005e6c9
add esp, 8
push edi
mov dword [0x10117a7c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x10117a78]
test esi, esi
je 0x10026dfb
mov eax, dword [esi]
test eax, eax
je 0x10026dd2
push eax
call fcn.100830b3
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10026de9
push eax
call fcn.100830b3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.1005e6c9
add esp, 8
mov esi, dword [0x10117a70]
test esi, esi
je 0x10026e33
cmp dword [esi], 0
je 0x10026e33
nop word [eax + eax]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10026e1d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x10026e10
mov esi, dword [0x10115328]
mov ecx, dword [0x1011532c]
cmp esi, ecx
jae 0x10026e5d
mov eax, dword [esi]
test eax, eax
je 0x10026e56
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x1011532c]
add esi, 4
cmp esi, ecx
jb 0x10026e43
mov ecx, 0x10117a44
call fcn.10025de0
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x224]
call fcn.100175d0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e6b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10005050
int3