Function at 0x43b540
Capabilities:
Accept command line arguments
Check mutex on windows
Create process on windows
Packed with generic packer
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74c
mov eax, dword [0x483400]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 1
call fcn.004368a0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
push 0x43a430
call fcn.00456afe
add esp, 4
mov eax, dword [0x482968]
xor eax, dword [0x482980]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x485050
lea ecx, [ebp - 0x118]
push ecx
call fcn.00456a79
add esp, 0x10
lea edx, [ebp - 0x118]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x43b5e1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43b782
mov ecx, dword [0x482960]
xor ecx, dword [0x4829cc]
xor ecx, dword [0x48297c]
and ecx, 0x20
je 0x43b782
mov edx, dword [0x48299c]
xor edx, dword [0x4829a4]
xor edx, dword [0x482968]
push edx
push 0x485048
lea eax, [ebp - 0x118]
push eax
call fcn.00456a79
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x43b782
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43b782
push 0x7530
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x43b695
cmp dword [ebp - 0x124], 0x80
jne 0x43b778
mov eax, dword [0x48299c]
xor eax, dword [0x4829a4]
xor eax, dword [0x482968]
push eax
push 0x485040
lea ecx, [ebp - 0x118]
push ecx
call fcn.00456a79
add esp, 0xc
mov dword [ebp - 0x12c], 0
jmp 0x43b6d6
mov edx, dword [ebp - 0x12c]
add edx, 1
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0x12c
jge 0x43b70f
lea eax, [ebp - 0x118]
push eax
push 0x485034
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x43b705
jmp 0x43b70f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43b6c7
cmp dword [ebp - 0x128], 0
je 0x43b76b
mov ecx, dword [0x48299c]
xor ecx, dword [0x4829a4]
xor ecx, dword [0x482968]
mov dword [ebp - 0x138], ecx
mov edx, dword [0x490010]
push edx
call fcn.00455fd0
add esp, 4
add eax, 1
mov dword [ebp - 0x134], eax
mov eax, dword [0x490010]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x138]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x43bc6d
push 1
call fcn.0043bc80
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x43b97c
mov edx, dword [0x482960]
xor edx, dword [0x4829cc]
xor edx, dword [0x48297c]
and edx, 0x40
jne 0x43b97c
push 0x200
lea eax, [ebp - 0x338]
push eax
push 0x48502c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x43b97c
push 0xc8
push 0x23
lea ecx, [ebp - 0x338]
push ecx
call fcn.00453b80
add esp, 0xc
mov byte [ebp - 0x270], 0
mov dword [ebp - 0x43c], 1
jmp 0x43b80a
mov edx, dword [ebp - 0x43c]
add edx, 1
mov dword [ebp - 0x43c], edx
cmp dword [ebp - 0x43c], 0x40
jg 0x43b844
mov eax, dword [ebp - 0x43c]
push eax
push 0x485024
lea ecx, [ebp - 0x438]
push ecx
call fcn.00456a79
add esp, 0xc
lea edx, [ebp - 0x338]
push edx
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x43b7fb
mov ecx, dword [0x482960]
xor ecx, dword [0x4829cc]
xor ecx, dword [0x48297c]
and ecx, 0x10
jne 0x43b97c
lea edx, [ebp - 0x5a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov al, byte [0x484a6c]
mov byte [ebp - 0x548], al
push 0x103
push 0
lea ecx, [ebp - 0x547]
push ecx
call fcn.00453b80
add esp, 0xc
mov dl, byte [0x484a6c]
mov byte [ebp - 0x6a8], dl
push 0x103
push 0
lea eax, [ebp - 0x6a7]
push eax
call fcn.00453b80
add esp, 0xc
cmp dword [0x490008], 1
jne 0x43b8e3
cmp dword [ebp - 0x594], 0
jne 0x43b8e3
lea ecx, [ebp - 0x548]
push ecx
call fcn.00442e00
add esp, 4
movzx edx, al
test edx, edx
je 0x43b8e3
lea eax, [ebp - 0x548]
mov dword [ebp - 0x594], eax
push 0x104
lea ecx, [ebp - 0x6a8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43b902
xor eax, eax
jmp 0x43bc6d
lea edx, [ebp - 0x558]
push edx
lea eax, [ebp - 0x5a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x6a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x43b960
mov dword [0x490248], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x485004
push 0x490250
call fcn.00456a79
add esp, 0xc
xor eax, eax
jmp 0x43bc6d
push 0x2710
mov edx, dword [ebp - 0x558]
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, 1
jmp 0x43bc6d
mov eax, dword [0x482960]
xor eax, dword [0x4829cc]
xor eax, dword [0x48297c]
and eax, 0x10
je 0x43bbda
mov ecx, dword [0x482968]
xor ecx, dword [0x482980]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x485050
lea edx, [ebp - 0x118]
push edx
call fcn.00456a79
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x43bbd8
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov byte [ebp - 0x6a9], 0
push 0x484ff8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x43ba3c
push 0x484fe4
mov ecx, dword [ebp - 0x6b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74c], eax
cmp dword [ebp - 0x74c], 0
je 0x43ba3c
call dword [ebp - 0x74c]
test eax, eax
je 0x43ba3c
mov byte [ebp - 0x6a9], 1
mov dword [ebp - 0x748], 0x94
lea edx, [ebp - 0x748]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x738], 2
jne 0x43babd
push ecx
bswap ecx
not ecx
push eax
not eax
mov eax, 0x6c65696d
xchg ecx, eax
mov ecx, 0xdeadc0de
xchg ecx, eax
not eax
pop eax
not ecx
pop ecx
pushfd
pushal
xor ebx, ebx
je 0x43ba7f
add ebp, ebx
and ch, bl
jmp 0x43baa0
xor ebx, ebx
je 0x43ba83
jmp 0x43ba92
mov ecx, 0x34f9c987
nop
stc
je 0x43ba96
jmp 0x43bac6
xor eax, eax
je 0x43ba88
mov eax, 0x4840c987
test eax, eax
jne 0x43ba7c
jmp 0x92aa5805
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x43bad4
jmp 0x43bb45
jo 0x43bac6
jl 0x43bac4
jmp 0x43bac8
je 0x43bac1
jmp 0x43bac1
mov eax, dword fs:[0x20]
or eax, eax
jne 0x43bad4
jmp 0x43bb45
pushal
xor eax, eax
jne 0x43badb
jmp 0x43baf0
jmp 0x43bb10
xor eax, eax
jne 0x43baf8
jp 0x43baee
jo 0x43baf2
jmp 0x43baf3
jb 0x43baf7
jns 0x43badc
call dword [0x74097900]
invalid
jns 0x43baf9
je 0x43bae2
jmp 0x43ba7b
xchg ebx, ebx
jp 0x43bae7
mov al, byte [0x5c66133]
xor al, 0
dec ecx
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x490034
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x490034], 1
push eax
not eax
bswap eax
pop eax
jae 0x43bb09
pushfd
pushal
jmp 0x43bb38
sub edx, edx
jo 0x43bb1e
jmp 0x43bb2f
xor ecx, ecx
je 0x43bb16
jmp 0x43bb28
stc
xor ecx, 3
je 0x43baae
jmp 0x43bb25
jmp 0x43bb33
jae 0x43bb21
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x43bb18
jmp 0x43bb12
sbb al, 0xdb
jmp 0x43bb3b
jmp 0x43bb0c
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
movzx eax, byte [ebp - 0x6a9]
test eax, eax
je 0x43bb7e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x484fdc
lea ecx, [ebp - 0x118]
push ecx
call fcn.00456a79
add esp, 0xc
lea edx, [ebp - 0x118]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x43bbd8
cmp dword [0x490008], 0
sete al
push eax
call fcn.00443d90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x43bbc4
mov dword [0x490248], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x484fcc
push 0x490250
call fcn.00456a79
add esp, 0xc
xor eax, eax
jmp 0x43bc6d
push 0
call fcn.0043bc80
add esp, 4
mov eax, 1
jmp 0x43bc6d
jmp 0x43bbf6
mov edx, dword [0x482978]
xor edx, dword [0x4829cc]
xor edx, dword [0x48297c]
and edx, 2
je 0x43bbf6
call fcn.004359a0
call fcn.0043a460
mov dword [ebp - 0x11c], eax
push 0
call fcn.0043bc80
add esp, 4
push 0
call fcn.00456afe
add esp, 4
cmp dword [ebp - 0x11c], 1
jne 0x43bc32
push 0x490008
call dword [0x490030]
add esp, 4
mov dword [ebp - 0x11c], eax
push 0x43a430
call fcn.00456afe
add esp, 4
cmp dword [0x49002c], 0
je 0x43bc4e
call dword [0x49002c]
cmp dword [0x490240], 0
je 0x43bc67
push 0
push 0
mov eax, dword [0x49023c]
push eax
call dword [0x490240]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004542d5
mov esp, ebp
pop ebp
ret