joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412a01
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov ecx, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4011a5
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x2c]
call fcn.00404ec0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x4011ca
mov eax, esi
mov ecx, dword [ebp - 0x1c]
cmp byte [eax + ecx - 1], 0x5c
je 0x4011e3
push 1
mov eax, 0x415288
lea ecx, [ebp - 0x2c]
call fcn.004042c0
push str.bin_serverjvm.dll
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00404720
add esp, 0xc
mov byte [ebp - 4], 1
mov ebx, 1
mov dword [ebp - 0x6c], ebx
cmp dword [eax + 0x14], edi
jb 0x40120b
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
jne 0x401246
push str.binclientjvm.dll
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00404720
add esp, 0xc
mov ebx, 3
cmp dword [eax + 0x14], edi
jb 0x40123a
mov eax, dword [eax]
push eax
call esi
mov byte [ebp - 0x65], 0
cmp eax, 0xffffffff
je 0x40124a
mov byte [ebp - 0x65], 1
test bl, 2
je 0x401275
and ebx, 0xfffffffd
cmp dword [ebp - 0x50], edi
jb 0x401263
mov eax, dword [ebp - 0x64]
push eax
call fcn.0040554a
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
test bl, 1
je 0x40129d
cmp dword [ebp - 0x34], edi
jb 0x40128b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0040554a
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], edi
jb 0x4012ae
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040554a
add esp, 4
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x4012d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412838
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0x419d90
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401312
sub eax, edx
mov edi, eax
mov eax, 0x419d90
lea esi, [ebp - 0x2c]
call fcn.00404ec0
push 0x12
mov eax, str.lib_amd64jvm.cfg
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004042c0
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x40134b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne bl
cmp dword [ebp - 0x18], esi
jb 0x401369
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040554a
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret

Function at 0x401570
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40160f
push esi
lea esi, [ebp - 0x108]
call fcn.00401390
pop esi
test al, al
je 0x4015cb
call fcn.004012d0
cmp al, byte [0x419ea2]
jne 0x40160f
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x108]
push ecx
push edi
push str.The_environment_variable__s__with_the_value_of__s__does_not_point_to_a_valid_JVM_installation.
lea edx, [ebp - 0x20c]
call fcn.00404800
add esp, 0xc
push 0
push str.Error_Launching_IntelliJ_Platform
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebx], 0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x401620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401664
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10c]
push ebx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.JavaHome
push ecx
mov dword [ebp - 0x110], 0x103
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4016a8
push esi
lea esi, [ebp - 0x108]
call fcn.00401390
mov bl, al
pop esi
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x402860
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x419e94]
push 0x103
lea eax, [ebp - 0x420]
push eax
push 0x69
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x402a1f
push 0x103
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x40290a
push 0x103
lea edx, [ebp - 0x218]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vmoptions
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004068bb
add esp, 0xc
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
lea ecx, [ebp - 0x218]
push 0x41541c
push ecx
mov dword [ebp - 4], ebx
call fcn.00405c8b
add esp, 8
cmp eax, ebx
je 0x402a14
lea edx, [ebp - 0x434]
push edx
mov ecx, eax
call fcn.00401a70
add esp, 4
test al, al
je 0x402a14
lea eax, [ebp - 0x434]
push eax
call fcn.00402150
add esp, 4
test al, al
jne 0x402977
lea ebx, [ebp - 0x434]
call fcn.00404170
jmp 0x402a33
lea ecx, [ebp - 0x434]
push ecx
call fcn.00402350
mov ecx, dword [ebp - 0x430]
mov edi, dword [ebp - 0x434]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esi*8]
push edx
mov dword [0x419e9c], esi
call fcn.00405ebb
add esp, 8
mov dword [0x419e98], eax
cmp esi, ebx
jbe 0x402a05
mov eax, edi
mov dword [ebp - 0x424], eax
jmp 0x4029d6
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x14], 0x10
jb 0x4029de
mov eax, dword [eax]
mov ecx, dword [0x419e98]
push eax
lea edi, [ecx + ebx*8]
call fcn.00405f4f
add dword [ebp - 0x424], 0x1c
inc ebx
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], 0
cmp ebx, esi
jb 0x4029d0
lea ebx, [ebp - 0x434]
call fcn.00404170
mov al, 1
jmp 0x402a35
lea ebx, [ebp - 0x434]
call fcn.00404170
push 0
push str.Error_launching_IntelliJ_Platform
push str.Cannot_find_VM_options_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x402e60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
mov eax, dword [0x419eb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push str.java_lang_String
push eax
call edx
mov ecx, dword [ebp - 4]
mov edx, dword [0x419eb0]
mov esi, dword [edx]
push 0
push eax
mov eax, dword [esi + 0x2b0]
dec ecx
push ecx
push edx
call eax
mov esi, 1
mov ebx, eax
cmp dword [ebp - 4], esi
jle 0x402f02
push edi
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + esi*4]
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402ec0
mov ecx, dword [0x419eb0]
sub eax, edi
mov edi, dword [ecx]
sar eax, 1
push eax
push edx
mov edx, dword [edi + 0x28c]
push ecx
call edx
mov ecx, dword [0x419eb0]
mov edx, dword [ecx]
push eax
lea eax, [esi - 1]
push eax
push ebx
push ecx
mov ecx, dword [edx + 0x2b8]
call ecx
inc esi
cmp esi, dword [ebp - 4]
jl 0x402eb4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4033a0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4127fb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403404
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.00404d90
push 1
mov eax, 0x415760
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.004043e0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x403450
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
call fcn.004043e0
mov edx, dword [0x419d8c]
push 0
push 0
push 0
push 0xf001f
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x4034ba
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x40349e
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
lea edx, [ecx + ecx + 2]
push edx
push eax
push esi
call fcn.0040ffc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0x419d88]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x220], 8
jb 0x4034de
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0040554a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x403880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [ebp - 0x2c]
push ecx
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
sub eax, esi
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
push 0
sar ecx, 1
add ecx, ebx
mov ebx, dword [ebp - 0x24]
sub eax, ebx
sub eax, dword [ebp - 0x10]
push 0
push 0
push 0
cdq
push ebx
sub eax, edx
push esi
sar eax, 1
add eax, dword [ebp - 0x10]
push eax
push ecx
push 0x80000000
push str.IntelliJLauncherSplash
push str.IntelliJLauncherSplash
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
mov esi, eax
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x4039b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x419e94]
push ebx
push esi
push edi
xor ebx, ebx
push 0x7f02
push ebx
mov dword [ebp - 0x54], 0x30
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x403850
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], str.IntelliJLauncherSplash
mov dword [ebp - 0x28], ebx
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov edi, dword [ebp + 8]
call fcn.00403880
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, eax
mov edi, edi
push 1
push ebx
push ebx
push esi
lea edx, [ebp - 0x24]
push edx
call edi
test eax, eax
je 0x403a53
nop
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push ebx
push ebx
push esi
lea edx, [ebp - 0x24]
push edx
call edi
test eax, eax
jne 0x403a30
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
push 0x403930
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x403a9e
mov eax, dword [0x419d7c]
cmp eax, ebx
je 0x403abe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
cmp ecx, ebx
jne 0x403a20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403ad0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x418084]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push 0x44
push eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x470]
push eax
call fcn.0040d610
add esp, 0xc
push 0x208
lea edx, [ebp - 0x418]
push edx
mov ecx, 5
push 0
mov dword [ebp - 0x470], 0x44
mov dword [ebp - 0x444], 1
mov word [ebp - 0x440], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.SPLASH__d
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0040605f
add esp, 0x10
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x470]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403bae
mov edx, dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x424]
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040553b
mov esp, ebp
pop ebp
ret
Function at 0x403bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x418fb4], 2
mov eax, dword [ebp + 8]
push esi
mov dword [0x419e94], eax
jne 0x403c74
mov ecx, dword [0x418fbc]
mov edx, dword [ecx]
push str.SPLASH
push edx
call fcn.004065a4
add esp, 8
test eax, eax
jne 0x403c74
push eax
push eax
push eax
push eax
mov eax, dword [0x419e94]
push 0x82
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
je 0x403c5f
mov ecx, dword [0x418fbc]
mov edx, dword [ecx + 4]
push edx
call fcn.00406645
add esp, 4
push eax
push 0
push 0x100000
mov dword [0x419d80], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x419d7c], eax
test eax, eax
je 0x403c64
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
mov eax, ecx
test eax, eax
je 0x403c5f
push esi
call fcn.004039b0
mov eax, dword [0x419d7c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.00403500
test al, al
jne 0x403c89
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
push str.nosplash
push edx
call fcn.00406650
add esp, 8
test eax, eax
jne 0x403ca3
call fcn.00403ad0
call fcn.00401860
test al, al
je 0x403c7d
call fcn.00402860
test al, al
je 0x403c7d
call fcn.00402a60
test al, al
je 0x403c7d
call fcn.00402d80
test al, al
je 0x403c7d
push 0
push 0
push 0
push 0x403200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x419d84], eax
call fcn.00402f10
test al, al
je 0x403c7d
mov eax, dword [0x419eac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov eax, dword [0x419d88]
push eax
mov byte [0x419ea1], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x419d84]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x419d88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x419d8c]
push eax
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40553b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418084]
jne 0x405545
repz ret
jmp fcn.00406ca8
Function at 0x40f5a6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418084]
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.0040a475
and dword [ebp - 0x14], 0
cmp dword [0x419d48], 0
mov dword [ebp - 0x18], eax
jne 0x40f659
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f701
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x414a4c
push ebx
call edi
test eax, eax
je 0x40f701
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x419d48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x419d4c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x419d50], eax
call edi
push eax
call esi
mov dword [0x419d58], eax
test eax, eax
je 0x40f659
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x419d54], eax
mov eax, dword [0x419d54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f6b2
cmp dword [0x419d58], ecx
je 0x40f6b2
push eax
call esi
push dword [0x419d58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f6b2
test ebx, ebx
je 0x40f6b2
call edi
test eax, eax
je 0x40f6a9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f6a9
test byte [ebp - 8], 1
jne 0x40f6b2
or dword [ebp + 0x10], 0x200000
jmp 0x40f6e5
mov eax, dword [0x419d4c]
cmp eax, dword [ebp - 0x18]
je 0x40f6e5
push eax
call esi
test eax, eax
je 0x40f6e5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f6e5
mov eax, dword [0x419d50]
cmp eax, dword [ebp - 0x18]
je 0x40f6e5
push eax
call esi
test eax, eax
je 0x40f6e5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x419d48]
call esi
test eax, eax
je 0x40f701
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f703
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040553b
leave
ret

Function at 0x1004b619
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [esp + 0x28], 0xf34db45
pushfd
lea esp, [esp + 0x2c]
jmp 0x1007b131
jmp 0x1007b041
bswap bx
xchg bx, di
push edx
pushal
pop edi
jmp 0x1007c1e8
pushfd
mov dword [esp], ecx
pushal
pushal
mov byte [esp], al
xchg dword [esp + 0x3c], ebx
bswap bx
xchg dword [esp + 0x38], edi
lea edi, [ecx - 0x6d2ac642]
xchg di, bx
movsx ebx, cl
xchg dword [esp + 0x34], edx
movsx dx, cl
mov byte [esp + 4], 0xb6
call fcn.1007bb3d
push 0xa3bf77e8
push dword [esp]
lea esp, [esp + 8]
jp 0x1007ad7b
pushfd
mov dword [esp], ecx
jne 0x10079db8
push 0x9995ca7
mov dword [esp], ebx
mov bx, si
not bl
push 0xb697d084
xchg dword [esp], edi
not ebx
jmp 0x1007ae24
Function at 0x40b374
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4de200
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00476e90
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040b702
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4