Function at 0x1b01dc20
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Enumerate pe sections
Get common file path
Resume thread
Terminate process

Disassembly:
sub esp, 0x47c
push ebx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], 0
push eax
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push str.C:Windows
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1b023a74], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [0x1b023a78], ecx
cmp dword [ecx], 0x4550
jne 0x1b01dfd5
xor edx, edx
push ebp
mov dx, word [ecx + 0x14]
push esi
mov esi, edx
mov edx, dword [0x1b023a64]
mov edi, ecx
lea edx, [edx + edx*4]
add edi, esi
lea esi, [edi + edx*8 + 0x18]
mov edx, dword [0x1b023030]
mov edi, edx
inc edx
cmp edi, 1
mov dword [0x1b023a7c], esi
mov dword [0x1b023030], edx
jne 0x1b01dd9d
mov edx, 0x1b01dc00
sub edx, eax
mov dword [0x1b023a5c], edx
xor edx, edx
mov dx, word [ecx + 6]
mov dword [0x1b023a80], edx
mov edi, dword [ecx + 0x80]
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x14], edi
mov edi, dword [ecx + 0xa0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edi
xor edi, edi
test edx, edx
jle 0x1b01df17
lea ebx, [esi + 0xc]
mov dword [esp + 0x10], ebx
jmp 0x1b01dd22
mov ebp, dword [esp + 0x18]
mov esi, dword [ebx]
mov edx, esi
add edx, dword [ebx - 4]
cmp ebp, esi
jb 0x1b01dd43
cmp ebp, edx
jae 0x1b01dd43
mov dword [0x1b023a84], edi
mov edx, dword [ebx]
sub ebp, edx
mov dword [0x1b023a88], ebp
jmp 0x1b01dd8a
mov ebp, dword [esp + 0x14]
cmp ebp, esi
jb 0x1b01dd63
cmp ebp, edx
jae 0x1b01dd63
mov edx, dword [esp + 0x10]
mov dword [0x1b023a8c], edi
sub ebp, dword [edx]
mov dword [0x1b023a90], ebp
jmp 0x1b01dd8a
mov ebp, dword [esp + 0x24]
cmp ebp, esi
jb 0x1b01dd8a
cmp ebp, edx
jae 0x1b01dd8a
mov dword [0x1b023a94], edi
mov edx, dword [ebx - 4]
mov dword [0x1b023a98], edx
mov edx, dword [ecx + 0xa4]
mov dword [0x1b023a9c], edx
mov edx, dword [0x1b023a80]
inc edi
add ebx, 0x28
cmp edi, edx
jl 0x1b01dd1e
jmp 0x1b01df13
mov ecx, dword [0x1b023a60]
add eax, ecx
cmp dword [eax], 0
je 0x1b01ddb9
mov ecx, dword [eax + 0x14]
add eax, 0x14
inc ebx
test ecx, ecx
jne 0x1b01ddaa
mov dword [esp + 0x1c], ebx
lea edx, [ebx*4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x1b023a60]
mov edi, eax
mov eax, dword [0x1b023a74]
mov dword [esp + 0x20], edi
test ebx, ebx
lea esi, [ecx + eax]
mov dword [esp + 0x14], esi
jle 0x1b01df17
mov ebp, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebp
jmp 0x1b01ddf9
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp], eax
jne 0x1b01de4d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esi + 0xc]
mov ebx, dword [0x1b023a74]
add edx, ebx
lea eax, [esp + 0x28]
push edx
push str.Can_not_find__s
push eax
call fcn.1b01e280
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x30
push str.Error_initializing_program
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [esi]
mov eax, dword [0x1b023a74]
mov edi, dword [esi + 0x10]
mov edx, dword [ebp]
mov ecx, dword [ebx + eax]
add ebx, eax
add edi, eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1b01def6
test ecx, 0x80000000
je 0x1b01de8b
mov eax, dword [esp + 0x24]
and ecx, 0xffff
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi], eax
jmp 0x1b01dedc
lea ebp, [ecx + eax + 2]
mov esi, str.ExitProcess
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1b01deba
test cl, cl
je 0x1b01deb6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1b01deba
add eax, 2
add esi, 2
test cl, cl
jne 0x1b01de96
xor eax, eax
jmp 0x1b01debf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1b01dec8
mov ebp, str.ExitThread
mov eax, dword [esp + 0x10]
push ebp
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x14]
mov dword [edi], eax
mov ecx, dword [ebx + 4]
mov eax, dword [0x1b023a74]
add ebx, 4
add edi, 4
test ecx, ecx
jne 0x1b01de6d
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esi, 0x14
add ebp, 4
dec ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ecx
jne 0x1b01ddf5
mov ebx, dword [esp + 0x1c]
mov ecx, dword [0x1b023a5c]
push 0
add ecx, eax
push 0
mov dword [0x1b023a5c], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, dword [0x1b023a5c]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
push edx
push 0
push 0
call esi
mov ebp, eax
test ebp, ebp
je 0x1b01dfa9
push 0x1b023080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test edi, edi
je 0x1b01dfa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1b01dfa0
push 0
push 4
push 0
push 0x1b01dbb0
push 0
push 0
call esi
mov esi, eax
push 0xfffffffffffffff1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xffffffffffffffff
push ebp
call ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jle 0x1b01dfc4
mov esi, dword [esp + 0x20]
mov edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi]
push eax
call ebx
add esi, 4
dec edi
jne 0x1b01dfb9
mov eax, dword [esp + 0x20]
pop esi
test eax, eax
pop ebp
je 0x1b01dfd5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
xor eax, eax
pop ebx
add esp, 0x47c
ret