joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5e00
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b5ea2
cmp dword [ebx + 0x94], 0
jne 0x4b5e9c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b5d4c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b5e9c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b5e62
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b5e9c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00433e60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b5e71
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b60c0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5262bc]
cmp dword [eax + 0x170], 0
je 0x4b6225
test bl, bl
jne 0x4b6173
cmp dword [esi + 0x9c], 0
jne 0x4b6168
mov eax, esi
call fcn.004b8fb0
push eax
push 0x4b5fcc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b6139
mov eax, dword [0x5262bc]
cmp byte [eax + 0xd3], 0
je 0x4b6139
mov eax, dword [esi + 0xd8]
call fcn.00407f08
mov edi, eax
cmp edi, 0
jl 0x4b6139
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b6122
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b6168
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433e60
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b6148
inc dword [esi + 0x9c]
jmp 0x4b6225
cmp dword [esi + 0x9c], 0
jle 0x4b6225
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b6225
cmp dword [esi + 0x44], 0
je 0x4b61d0
mov eax, dword [0x5262bc]
cmp byte [eax + 0xd3], 0
je 0x4b61d0
mov eax, dword [esi + 0xd8]
call fcn.00407f08
mov edi, eax
cmp edi, 0
jl 0x4b61d0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b61b9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b61ff
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433e60
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b61df
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a9348]
call fcn.004080c8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b6e74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b6edf
cmp byte [ebx + 0xd3], 0
jne 0x4b6edf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069d4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b6ecc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b6eec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406898
jmp 0x4b6eec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406898
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b8714
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b8782
mov eax, esi
call fcn.00490d40
test al, al
je 0x4b8782
mov eax, dword [ebx + 0x84]
call fcn.00490994
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b8782
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b8776
push 0
mov eax, dword [ebx + 0x84]
call fcn.00490994
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00487968
jmp 0x4b8782
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b854c
pop esi
pop ebx
ret
Function at 0x4221a0
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_strlen]
push esi
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
movzx edi, dx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
mov dword [ebp - 4], edi
xor esi, esi
call ebx
add esp, 8
test eax, eax
je 0x4222a7
mov edi, dword [ebp + 8]
nop
mov al, byte [esi + str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30]
mov cl, byte [esi + 0x435001]
add esi, 3
cmp al, 0x3f
je 0x42227f
cmp cl, 0x3f
je 0x42227f
lea edx, [eax - 0x30]
mov dword [ebp - 0xc], 0
cmp dl, 9
ja 0x422217
cbw
sub ax, 0x30
jmp 0x422235
lea edx, [eax - 0x61]
cmp dl, 0x19
ja 0x422227
cbw
sub ax, 0x57
jmp 0x422235
lea edx, [eax - 0x41]
cmp dl, 0x19
ja 0x422239
cbw
sub ax, 0x37
mov word [ebp - 0xc], ax
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x42224b
movsx ax, cl
sub ax, 0x30
jmp 0x42226d
lea edx, [ecx - 0x61]
cmp dl, 0x19
ja 0x42225d
movsx ax, cl
sub ax, 0x57
jmp 0x42226d
lea edx, [ecx - 0x41]
cmp dl, 0x19
ja 0x422271
movsx ax, cl
sub ax, 0x37
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0xa]
mov word [edi], ax
jmp 0x422287
mov ecx, 0x100
mov word [edi], cx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
add edi, 2
call ebx
add esp, 4
cmp esi, eax
jb 0x4221e0
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x42cff4], al
je 0x42405d
inc eax
cmp byte [eax + 0x42cff4], 0
jne 0x424053
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00402930
mov dword [esi], eax
test eax, eax
je 0x42407b
push 0x42cff4
push eax
call dword [0x639134]
mov esi, dword [0x638aa4]
xor eax, eax
cmp byte [esi], al
je 0x42408e
inc eax
cmp byte [esi + eax], 0
jne 0x424087
inc eax
call fcn.00402930
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4240a5
push esi
push ebx
call dword [0x639134]
lea eax, [ebp - 0x24]
push eax
call dword [0x639044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x638ec0], si
cmp dword [ebp + 0xc], edi
jle 0x424119
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x638ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x4240d0
mov word [0x638ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x424191
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x424161
cmp dword [ecx], 0
je 0x424161
cmp dword [0x6391c4], ecx
jne 0x42414b
mov dword [0x6391c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x424161
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x424191
cmp dword [ecx], 0
je 0x424191
cmp dword [0x6391c4], eax
jne 0x42417b
mov dword [0x6391c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x424191
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426500
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x6390e0]
test esi, esi
jne 0x426518
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x426511
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x426511
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42657a
jmp 0x426560
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x638bf0]
add eax, esi
call fcn.00423fe0
test eax, eax
je 0x426583
inc edi
cmp edi, dword [ebp - 4]
jb 0x426560
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427daa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437140]
jne 0x427db4
repz ret
jmp fcn.00428557

Function at 0x428adc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004288a5
and dword [ebp - 0x14], 0
cmp dword [0x438740], 0
mov dword [ebp - 0x18], eax
jne 0x428b8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428c37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x428c37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x438740], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x438744], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x438748], eax
call edi
push eax
call esi
mov dword [0x438750], eax
test eax, eax
je 0x428b8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43874c], eax
mov eax, dword [0x43874c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x428be8
cmp dword [0x438750], ecx
je 0x428be8
push eax
call esi
push dword [0x438750]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428be8
test ebx, ebx
je 0x428be8
call edi
test eax, eax
je 0x428bdf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x428bdf
test byte [ebp - 8], 1
jne 0x428be8
or dword [ebp + 0x10], 0x200000
jmp 0x428c1b
mov eax, dword [0x438744]
cmp eax, dword [ebp - 0x18]
je 0x428c1b
push eax
call esi
test eax, eax
je 0x428c1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428c1b
mov eax, dword [0x438748]
cmp eax, dword [ebp - 0x18]
je 0x428c1b
push eax
call esi
test eax, eax
je 0x428c1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438740]
call esi
test eax, eax
je 0x428c37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428c39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427daa
leave
ret
Function at 0x4b818a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x508800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004b63c0
mov dword [ebp - 0x14], eax
cmp dword [0x50a68c], edi
jne 0x4b827b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4b8208
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4b835b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4b835b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b835b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x50a68c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x50a690], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x50a694], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x50a69c], eax
test eax, eax
je 0x4b8278
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x50a698], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b82a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b8293
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4b82b5
push 4
pop eax
jmp 0x4b835d
cmp dword [ebp - 0x14], edi
je 0x4b82b5
push dword [0x50a68c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4b829a
mov eax, dword [0x50a698]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4b8313
cmp dword [0x50a69c], esi
je 0x4b8313
push eax
call ebx
push dword [0x50a69c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b8313
test eax, eax
je 0x4b8313
call ecx
test eax, eax
je 0x4b8308
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4b8308
test byte [ebp - 8], 1
jne 0x4b8313
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4b8343
mov eax, dword [0x50a690]
cmp eax, esi
je 0x4b8340
push eax
call ebx
test eax, eax
je 0x4b8340
call eax
mov edi, eax
test edi, edi
je 0x4b8340
mov eax, dword [0x50a694]
cmp eax, esi
je 0x4b8340
push eax
call ebx
test eax, eax
je 0x4b8340
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x50a68c]
call ebx
test eax, eax
je 0x4b835b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4b835d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b836c
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x49296b51
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x62217f7c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407f06
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4542a1
call fcn.0043bf0a
call fcn.00428b72
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fd20
xor ebx, ebx
mov esi, 0x1b2c4
mov dword [ebp - 4], ebx
cmp dword [0x48aa90], esi
je 0x40806a
push dword [ebp + 0x10]
lea edi, [ebp - 0x10]
call fcn.00424653
pop ecx
test eax, eax
je 0x40806a
push str.Launcher_path:
lea ecx, [ebp + 0x10]
call fcn.0040215a
push ebx
mov eax, edi
push eax
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.0040e15a
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp - 0x10]
push 5
push ebx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x271c8
mov dword [ebp + 0xc], eax
cmp dword [0x48aa90], esi
je 0x407ff2
cmp eax, 0x21
jl 0x407ff2
mov eax, dword [ebp + 8]
push str.ShellExecute_succeded.
lea ecx, [ebp + 8]
mov dword [eax + 0xbc], 1
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
xor eax, eax
jmp 0x4080af
push str.ShellExecute_failed
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push ebp
or byte [ebp + 0x5651104d], cl
add edx, 0x630
mov ecx, eax
call fcn.0040c9a1
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp + 0xc], 5
jne 0x40805d
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov eax, dword [ebp + 0xc]
jmp 0x4080af
push str.Failed_to_create_launcher_path
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push esi
add edx, 0x630
mov ecx, eax
call fcn.0040c9a1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xd
pop eax
call fcn.0043bfe2
ret 0xc
Function at 0x401280
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x338], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4012bc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401fda
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea eax, [ebp - 0x334]
mov dword [ebp - 0x334], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40132d
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0
call ebx
push dword [ebp - 0x338]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x401347
lea eax, [ebp - 0x334]
push eax
push esi
call edi
test eax, eax
jne 0x4012e6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401fda
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00401fda
mov esp, ebp
pop ebp
ret
Function at 0x4028fd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40293c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40293c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40293c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40293c
cmp dword [ecx + 0x74], 0xe
jbe 0x40293c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100143be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100143e5
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x10014409
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10014409
push 0
push 0x12eb
push 0
push 0
push 0x134d
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10014453
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10014482
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1001447d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x100145a5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x100144df
mov dword [ebp - 0x10], 1
jmp 0x100144e3
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10014515
mov dword [ebp - 0x50], 1
jmp 0x10014519
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
lea eax, [eax + ecx - 0xa55fa29]
neg eax
mov ecx, dword [ebp - 0xc]
imul eax, dword [ecx]
cmp eax, 9
jae 0x10014540
mov dword [ebp - 0x20], 1
jmp 0x10014544
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 1
jge 0x10014553
mov dword [ebp - 0x24], 1
jmp 0x10014557
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jg 0x1001456a
mov dword [ebp - 0x28], 1
jmp 0x1001456e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x10014581
mov dword [ebp - 0x2c], 1
jmp 0x10014585
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jl 0x10014598
mov dword [ebp - 0x54], 1
jmp 0x1001459c
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x84edc022
mov esp, ebp
pop ebp
ret
Function at 0x1001c06e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001c093
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetClipBox]
jmp 0x1001c0c1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001c0c1
push 0
push 0x12eb
push 0
push 0
push 0x134d
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret