joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42efc4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42efe0
cmp dword [esi + 4], 0
je 0x42f00d
test byte [ebx + 0x45], 1
jne 0x42efff
mov eax, ebx
call fcn.0042defc
test eax, eax
jne 0x42efff
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42f11d
mov edx, esi
mov eax, ebx
call fcn.0042ec3c
jmp 0x42f11d
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42f116
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00430f94
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042be60
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042efc4
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00430f94
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f11d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44094c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x440985
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00445ea8
jmp 0x44098e
mov eax, ebx
mov edx, esi
call fcn.00445e14
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x440998
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4409b9
mov al, byte [esp]
jmp 0x4409bb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4451c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x468820]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x445260
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x445240
xor eax, eax
push ebp
push 0x445239
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x44527c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445240
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x468820]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x468820], ax
mov esp, ebp
pop ebp
ret
Function at 0x4472f0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4474ac
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x447351
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4474c8
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4473c3
xor eax, eax
push ebp
push 0x4473bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00447148
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4473a5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4474e8
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4473c3
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4474a4
cmp byte [ebp - 0xd], 0
jne 0x447405
cmp byte [ebp - 0x12], 0
je 0x4474a4
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x44741e
dec ebx
cmp byte [ebx], 0x2e
je 0x44742d
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x44741d
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4474a4
inc ebx
cmp byte [ebp - 0x12], 0
je 0x44745a
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4474a4
cmp byte [ebp - 0xd], 0
je 0x4474a4
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4474a4
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x447980
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x46d0d4], 1
jae 0x447972
xor eax, eax
mov dword [0x46cce0], eax
xor eax, eax
mov dword [0x46cce8], eax
xor eax, eax
mov dword [0x46ccec], eax
mov byte [0x46ccf2], 2
mov byte [0x46ccf3], 2
mov byte [0x46ccf4], 3
mov word [0x46d09c], 0
mov word [0x46d0ac], 1
mov word [0x46d0bc], 0xa
mov dword [0x46d0c4], 0x80020004
mov dword [0x46d090], 0x446a84
mov dword [0x46d094], 0x446a7c
mov dword [0x46d098], 0x446a84
call fcn.00445198
test al, al
je 0x447931
call fcn.004451c8
call fcn.0044528c
mov eax, 0x46ccf8
mov edx, 0x44798c
call fcn.00442a92
mov eax, 0x46cec4
mov edx, 0x44798c
call fcn.00442a92
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x46ccd8], eax
call fcn.004439f8
mov dword [0x46ccd4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x46cccc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447987
ret

Function at 0x449848
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x449864
call fcn.00449e54
jmp 0x4498d3
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
jne 0x449880
call fcn.00449e54
jmp 0x4498d3
cmp dword [0x46d9dc], 1
je 0x4498d1
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.0044c0bc
pop ecx
cmp al, 0x41
jl 0x4498d1
cmp al, 0x5a
jg 0x4498d1
cmp byte [ebp - 0x107], 0x3a
jne 0x4498d1
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x4498d1
call fcn.00449e54
jmp 0x4498d3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x44c5c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x44c626
call fcn.0044c574
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00448454
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00448454
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c6a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x46a514], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44c77e
cmp dword [0x46a510], 0
jne 0x44c77e
cmp dword [0x46a71c], 0
je 0x44c738
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0044c064
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44c71e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0044c064
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44c71e
lea ebx, [ebp - 0x84]
jmp 0x44c71f
inc ebx
call fcn.0044c660
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44c7b9
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x46a518
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00448454
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46a51b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44c7b9
cmp dword [0x46a510], 0
je 0x44c798
cmp dword [0x46a510], 0xffffffff
je 0x44c7b9
push esi
call dword [0x46a510]
pop ecx
mov eax, dword [0x46a514]
test eax, eax
je 0x44c7b9
cmp dword [0x46a514], 0xffffffff
je 0x44c7b9
cmp byte [eax], 0
je 0x44c7b9
push esi
push eax
call fcn.0044c5c4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cfdc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x46d9f4], 0
jne 0x44d05d
cmp dword [0x46da14], 0
jne 0x44d00c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x46da14], eax
test eax, eax
jne 0x44d00c
push str.GetEnvironmentStrings_failed
call fcn.0044c7d0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x46da14]
jmp 0x44d020
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00448454
pop ecx
mov edi, eax
test eax, eax
jne 0x44d018
lea edi, [ebp + 1]
push edi
call fcn.00447eb4
pop ecx
mov ebx, eax
mov dword [0x46d9f8], ebx
test ebx, ebx
jne 0x44d04a
xor eax, eax
jmp 0x44d120
push edi
mov edx, dword [0x46da14]
push edx
push ebx
call fcn.00448304
add esp, 0xc
jmp 0x44d07d
xor esi, esi
mov ebx, dword [0x46d9f4]
jmp 0x44d077
push eax
call fcn.00448454
pop ecx
test eax, eax
jne 0x44d073
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44d067
lea ebx, [esi + 4]
push 4
mov dword [0x46d9fc], ebx
inc ebx
push ebx
call fcn.00447990
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x44d0a0
xor eax, eax
jmp 0x44d120
cmp dword [0x46d9f4], 0
jne 0x44d0d1
xor esi, esi
mov ebx, dword [0x46d9f8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x44d0c2
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00448454
pop ecx
mov edi, eax
test eax, eax
jne 0x44d0b8
jmp 0x44d102
xor esi, esi
mov ebx, dword [0x46d9f4]
mov eax, dword [esp]
mov edi, eax
jmp 0x44d0fc
push eax
call fcn.00448454
pop ecx
test eax, eax
je 0x44d0f1
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x44d0f5
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44d0e0
mov eax, dword [0x46d9f4]
test eax, eax
je 0x44d112
push eax
call fcn.00447ec4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x46d9f4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45348c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4534ba
mov eax, ebx
call fcn.00453f30
cmp dword [ebx + 0x3c], 0
je 0x4534b3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45352b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x45351d
cmp dword [ebx + 8], 0
je 0x4534dc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4534ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45351d
cmp dword [ebx + 8], 0
je 0x4534cf
cmp eax, 3
je 0x453501
dec eax
jne 0x4534cf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4534cf
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4534cf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x453549
cmp dword [ebx + 0x10], 0xcc
je 0x453549
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00453554
pop ebx
ret
Function at 0x40a3c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1ae0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4f816c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a400
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.0040a290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b210
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1d06
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4f816c]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x230]
push 0x2001f
setne al
push str.SoftwareMicrosoftWindowsCurrentVersionRun
add eax, 0x80000001
push eax
call fcn.0040e770
mov edi, dword [ebp - 0x230]
test eax, eax
jne 0x40b3a7
call fcn.0040e280
mov ecx, eax
test ecx, ecx
je 0x40b3d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str.__s___s
push eax
call fcn.0040e190
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ad8d0
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b336
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x40b324
cmp eax, 2
jne 0x40b336
cmp dword [ebp - 0x21c], 0
jne 0x40b336
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004b10b6
add esp, 8
test eax, eax
je 0x40b384
test esi, esi
je 0x40b384
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b360
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40b3a0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x40b3a9
xor esi, esi
test edi, edi
je 0x40b3b4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.0048b51d
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040d960
int3
Function at 0x40e360
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2218
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f816c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x5201d0], 0
jne 0x40e3a4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x5201d0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040e280
mov ecx, eax
test ecx, ecx
je 0x40e410
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x5201d0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040d980
test al, al
jne 0x40e3fc
mov ecx, 0x5201d0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e3e0
sub ecx, edx
sar ecx, 1
push ecx
push 0x5201d0
mov ecx, esi
call fcn.0040ec80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040d960
int3
Function at 0x40e4b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2261
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4f816c]
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 ebx, ecx
push str.YxhGametray
push dword [ebx]
call fcn.004b10b6
add esp, 8
test eax, eax
je 0x40e521
push str.LeyouGametray
push dword [ebx]
call fcn.004b10b6
add esp, 8
test eax, eax
je 0x40e521
push dword [ebx + 0x14]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x40e690
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ad8d0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x14]
push 0x104
push eax
push str.true
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.false
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24c], ecx
test eax, eax
je 0x40e68e
call fcn.0048a140
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40e688
push 0x5b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelper_autorunmanger_autorunmanager.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.004105a0
push 3
push 0x4d8a0c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.004105a0
mov byte [ebp - 4], 1
call fcn.0048a140
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x32c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00409570
mov esi, eax
push str.IsDisable_
push esi
mov byte [ebp - 4], 2
call fcn.0040ac30
mov ecx, dword [ebx + 0x14]
mov edx, 0x4d8968
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.004084a0
push 0x4d8ff4
push esi
call fcn.0040ac30
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004084a0
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.0040ad60
lea ecx, [ebp - 0x230]
call fcn.00409ff0
lea ecx, [ebp - 0x248]
call fcn.00409ff0
mov ecx, dword [ebp - 0x24c]
mov eax, ecx
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.0048b51d
mov esp, ebp
pop ebp
ret
Function at 0x40ef70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40efc9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40efc9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40efba
cmp esi, edx
jae 0x40efc9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40efa8
cmp esi, edx
jae 0x40efc9
cmp word [esi], 0
je 0x40efc9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x414b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4f816c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x6c], 0x490044
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x6c]
mov eax, 0x5206a0
mov dword [ebp - 0x68], 0x410044
push edi
mov dword [ebp - 0x64], 0x410057
mov edx, 0x33
mov dword [ebp - 0x60], 0x4c004c
sub esi, eax
mov dword [ebp - 0x5c], fcn.00410050
mov dword [ebp - 0x58], 0x450050
mov dword [ebp - 0x54], 0x5f0052
mov dword [ebp - 0x50], 0x430042
mov dword [ebp - 0x4c], 0x300042
mov dword [ebp - 0x48], 0x390041
mov dword [ebp - 0x44], 0x330035
mov dword [ebp - 0x40], 0x37002d
mov dword [ebp - 0x3c], 0x370035
mov dword [ebp - 0x38], 0x2d0039
mov dword [ebp - 0x34], 0x380034
mov dword [ebp - 0x30], 0x330062
mov dword [ebp - 0x2c], 0x38002d
mov dword [ebp - 0x28], 0x440034
mov dword [ebp - 0x24], 0x2d0043
mov dword [ebp - 0x20], 0x390037
mov dword [ebp - 0x1c], 0x390041
mov dword [ebp - 0x18], 0x330034
mov dword [ebp - 0x14], 0x460038
mov dword [ebp - 0x10], 0x440033
mov dword [ebp - 0xc], 0x390037
nop word [eax + eax]
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x414c5e
movzx ecx, word [esi + eax]
test cx, cx
je 0x414c5e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x414c40
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048b51d
mov esp, ebp
pop ebp
ret
Function at 0x419970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f816c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.004ad8d0
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.004ad8d0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4199d3
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x4199d8
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x4199f6
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x4199f8
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x419a0c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x52552c]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048b51d
mov esp, ebp
pop ebp
ret 0x18