Function at 0x43b100
Capabilities:
Create process on windows
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15c0
call fcn.004a7dd0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
xor edx, edx
cmp eax, edx
jne 0x43b127
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [eax], edx
cmp ecx, edx
je 0x43b137
call fcn.0041a400
xor edx, edx
cmp edi, edx
je 0x43b4dc
cmp word [edi], dx
je 0x43b4dc
cmp ebx, edx
je 0x43b154
cmp word [ebx], dx
jne 0x43b154
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edx
cmp esi, edx
je 0x43b1e0
push 0x4ba6c0
push edi
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b1d5
push 0x4ba6cc
push edi
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b1d5
push 0x4b633c
push edi
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b1d5
push 0x4b62e4
push edi
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b1d5
push 0x4ba6dc
push edi
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b1d5
push 0x4ba6e8
push edi
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b1d5
mov dword [ebp - 0xc], esi
jmp 0x43b29d
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
jmp 0x43b29d
mov ebx, 0x4b3acc
mov eax, edi
call fcn.0040558a
test eax, eax
je 0x43b29d
sub eax, edi
sar eax, 1
lea esi, [eax + eax]
lea eax, [esi + 2]
call fcn.004a2b50
mov eax, esp
push esi
push edi
push eax
call fcn.004a3c00
mov ebx, eax
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
cmp word [ebx], 0x2a
jne 0x43b223
add ebx, 2
jmp 0x43b28f
push 0x4ba6c0
push ebx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b28f
push 0x4ba6cc
push ebx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b28f
push 0x4b633c
push ebx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b28f
push 0x4b62e4
push ebx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b28f
push 0x4ba6dc
push ebx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x43b28f
push 0x4ba6e8
push ebx
call fcn.00499c29
add esp, 8
test eax, eax
jne 0x43b29d
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x43b29d
lea ecx, [esi + edi + 2]
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 5], 0
mov dword [ebp - 0x20], ebx
cmp byte [ebp + 0x24], bl
je 0x43b30b
mov eax, dword [esi + 0xb14]
test eax, eax
je 0x43b2bd
cmp dword [eax + 8], ebx
jne 0x43b2db
mov eax, dword [esi + 0xb20]
test eax, eax
je 0x43b2cc
cmp dword [eax + 8], ebx
jne 0x43b2db
lea eax, [esi + 0xb28]
call fcn.0043b840
test al, al
jne 0x43b30b
mov byte [ebp + 0x27], 1
cmp dword [ebp - 0x10], ebx
je 0x43b30e
cmp byte [ebp + 0x14], bl
je 0x43b2fa
push 0x4b0cf8
push 0x4ba700
mov ecx, esi
call fcn.0043a420
xor eax, eax
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov byte [ebp + 0x27], bl
mov eax, dword [ebp - 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b314
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
cmp eax, 0x4001
jb 0x43b354
cmp byte [ebp + 0x14], bl
je 0x43b343
push 0x4b0cf8
push 0x4ba74c
mov ecx, esi
call fcn.0043a420
xor eax, eax
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [ebp - 0x10], ebx
jne 0x43b501
push 0x40
lea edx, [ebp - 0xb8]
push 0
push edx
call fcn.004a49c0
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0xbc], 0x44
mov dword [ebp - 0x90], 1
test eax, eax
je 0x43b399
cmp word [eax], bx
je 0x43b399
mov esi, eax
call fcn.0041d0e0
jmp 0x43b39e
mov eax, 1
mov word [ebp - 0x8c], ax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], ebx
test eax, eax
je 0x43b3f4
cmp word [eax], bx
je 0x43b3f4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b3c2
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 0x14]
call fcn.004a2b50
mov edx, dword [ebp + 0xc]
mov ebx, esp
push edx
push edi
push str.__s___s
push ebx
call fcn.0049a830
add esp, 0x10
jmp 0x43b41f
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
call fcn.004a2b50
mov ebx, esp
mov edx, ebx
mov eax, edi
sub edx, edi
jmp 0x43b410
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x43b410
cmp byte [ebp + 0x27], 0
je 0x43b467
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [ebp + 0x28]
lea edx, [ebp - 5]
push edx
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
push ecx
mov cl, byte [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ebx
push eax
call fcn.0045c000
test eax, eax
jne 0x43b4f8
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0xbc]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43b4f0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x43b49b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov dword [edx], ecx
test eax, eax
je 0x43b4b3
push eax
mov eax, dword [ebp - 0x28]
call fcn.00401260
cmp byte [ebp + 0x20], 0
je 0x43b4c6
mov edx, dword [0x4d5b14]
mov dword [edx + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x43b4dc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test eax, eax
je 0x43b4dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43b50b
cmp byte [ebp - 5], 0
jne 0x43b4b3
mov ebx, dword [ebp - 0x20]
cmp byte [ebp + 0x27], 0
jne 0x43b729
push 0x38
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.004a49c0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x440
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x43b548
cmp word [eax], 0
je 0x43b548
mov esi, eax
call fcn.0041d0e0
mov dword [ebp - 0x54], eax
jmp 0x43b54f
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43b56f
push 0x4ba6e8
push eax
mov dword [ebp - 0x64], eax
call fcn.00499c29
add esp, 8
test eax, eax
jne 0x43b56f
or dword [ebp - 0x6c], 0xc
cmp dword [ebp - 0xc], 0
jne 0x43b6a6
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
call fcn.004a2b50
mov eax, dword [ebp - 0x14]
mov edi, esp
mov edx, edi
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x43b590
cmp word [edi], 0x22
jne 0x43b5e1
lea esi, [edi + 2]
push 0x22
push esi
call fcn.0049a90e
add esp, 8
test eax, eax
je 0x43b5e1
xor edx, edx
mov word [eax], dx
add eax, 2
mov dword [ebp - 0x14], esi
cmp word [eax], dx
je 0x43b6a6
cmp word [eax], 0x20
mov dword [ebp - 0xc], eax
jne 0x43b6a6
add dword [ebp - 0xc], 2
jmp 0x43b6a6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43b5ef
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [edi + 2]
push 0x20
push eax
call fcn.0049a90e
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43b685
lea esi, [ebx - 2]
cmp esi, edi
jbe 0x43b62c
mov edi, edi
movzx ecx, word [esi]
push ecx
push 0x4ba780
call fcn.0049a90e
add esp, 8
test eax, eax
jne 0x43b62c
sub esi, 2
cmp esi, edi
ja 0x43b610
cmp word [esi], 0x2e
jne 0x43b666
mov eax, ebx
sub eax, esi
xor edx, edx
and eax, 0xfffffffe
mov word [ebx], dx
cmp eax, 8
jne 0x43b653
mov eax, esi
mov ecx, 0x4ba788
call fcn.00480360
test eax, eax
jne 0x43b67c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x43b67c
mov ecx, 0x20
mov word [ebx], cx
push 0x20
add ebx, 2
push ebx
call fcn.0049a90e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43b607
jmp 0x43b685
add ebx, 2
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 0x10], 0
je 0x43b6a6
mov eax, dword [0x4d6d34]
test eax, eax
je 0x43b69a
mov eax, dword [eax]
test eax, eax
jne 0x43b69f
mov eax, 0x4b0cf8
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x43b721
test byte [0x4dbfd8], 1
jne 0x43b6ee
or dword [0x4dbfd8], 1
push 0x4ba7b4
push 0x4ba7c4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dbfd4], eax
jmp 0x43b6f3
mov eax, dword [0x4dbfd4]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov dword [edx], ecx
test ecx, ecx
je 0x43b4b3
cmp dword [ebp + 0x28], 0
je 0x43b4b3
test eax, eax
je 0x43b4b3
push ecx
call eax
mov ecx, dword [ebp + 0x28]
push ecx
jmp 0x43b4ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp byte [ebp + 0x20], 0
je 0x43b738
mov edx, dword [0x4d5b14]
mov dword [edx + 0x30], ebx
cmp byte [ebp + 0x14], 0
je 0x43b82c
push 0
push 0x1ff
lea eax, [ebp - 0x5bc]
push eax
push 0
push ebx
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [ebp - 0x10], 0
je 0x43b784
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4ba7e0
mov esi, 0x80
lea edi, [ebp - 0x1bc]
call fcn.0047ffb0
add esp, 8
jmp 0x43b78d
xor edx, edx
mov word [ebp - 0x1bc], dx
cmp dword [ebp - 0xc], 0
mov esi, 0x4b0cf8
jne 0x43b79b
mov dword [ebp - 0xc], esi
mov ebx, dword [ebp - 0xc]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b7a3
sub eax, edx
sar eax, 1
cmp eax, 0x190
jbe 0x43b7be
mov esi, 0x4b5254
mov edi, dword [ebp - 0x14]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b7c6
sub eax, edx
sar eax, 1
mov ecx, 0x4b5254
cmp eax, 0x190
ja 0x43b7e6
mov ecx, 0x4b0cf8
cmp byte [ebp + 0x27], 0
mov eax, 0x4ba7f8
jne 0x43b7f6
mov eax, 0x4ba850
push esi
push ebx
lea edx, [ebp - 0x1bc]
push edx
push ecx
push edi
push eax
push 0x4ba8b0
mov esi, 0x800
lea edi, [ebp - 0x15bc]
call fcn.0047ffb0
add esp, 0x1c
lea eax, [ebp - 0x5bc]
push eax
mov ecx, edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043a420
xor eax, eax
lea esp, [ebp - 0x15cc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24