joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00463940
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x465d99
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00460cd0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00460cc0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004653f0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x4c857c]
push 0
lea ecx, [esp + 0x4c]
call fcn.004a3b75
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0047bba0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00463360
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x4c8178]
mov ecx, ebx
call fcn.00460c40
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x465e64
push edi
mov ecx, esi
call fcn.00463470
push eax
push ebp
mov ecx, esi
call fcn.00463630
cmp eax, dword [esp + 0x40]
jg 0x465e60
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x465e3e
mov eax, ebx
jmp 0x465e6a
cmp edi, ebx
jl 0x465e68
mov eax, ebx
jmp 0x465e6a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x465e7b
mov dword [esp + 0x30], eax
jmp 0x465e86
cmp edi, ebx
jl 0x465e81
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00460c00
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x465ecd
push edi
mov ecx, esi
call fcn.00463390
push eax
push ebx
mov ecx, esi
call fcn.00463760
cmp eax, dword [esp + 0x44]
jg 0x465ec5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x465e9f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x465ed7
cmp edi, ebp
jl 0x465ed1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x465ed7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x465ee0
mov ecx, eax
jmp 0x465ee9
cmp edi, ebp
jl 0x465ee6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00463380
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004a3be7
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x46be70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c6f78
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x46bea9
inc eax
mov dword [esi + 0x10], eax
jmp 0x46bfbc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x46bebd
mov eax, 0xffffffc7
jmp 0x46bfbe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x46bece
cmp dword [esi + 8], eax
jne 0x46bebd
cmp dword [esi + 8], eax
jne 0x46bee7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x46bee7
mov eax, 0xffffffc7
jmp 0x46bfbe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x46befb
push eax
mov ecx, ebx
call fcn.0046b6a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00441090
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x46bf2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004410b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0046ae10
test eax, eax
mov dword [esp + 0x38], eax
je 0x46bf5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x596110
call fcn.00441290
mov eax, dword [esp + 0x38]
jmp 0x46bfbe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0046bcd0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x46bfa3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0046bcf0
mov esi, eax
test esi, esi
jne 0x46bfd3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0046bcd0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x46bf75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x596110
call fcn.00441290
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x596110
call fcn.00441290
mov eax, esi
jmp 0x46bfbe
Function at 0x47c240
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c5198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4c857c]
push 0
lea ecx, [esp + 0x20]
call fcn.004a3b75
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0047bba0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004a3aa3
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a03a0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a03a0
push 1
push 0
push 0
mov ecx, esi
call fcn.004a0348
push 1
push 0
push 1
mov ecx, esi
call fcn.004a0348
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a3be7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x47c3c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c5198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004a3b75
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0047bba0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004a3aa3
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4c857c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x47c484
cmp dword [esp + 0x40], 1
jne 0x47c482
cmp ecx, eax
jge 0x47c484
mov eax, ecx
cmp eax, 0xc8
jge 0x47c490
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0047c240
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4c8578]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a3be7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x47cc40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c73c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049e7d8
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4c8140]
push eax
mov ecx, edi
call fcn.004a3e1d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a5330
test eax, eax
je 0x47cd5c
mov ecx, dword [esp + 0x3c]
call fcn.004a3e4a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4c8654]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x47cd20
push edi
mov ecx, esi
call fcn.004a14ba
mov ecx, esi
call fcn.0047cf00
cmp dword [esp + 0x38], 1
jne 0x47cd55
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a15f5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x47ee80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x47eeb3
push esi
call fcn.0048d1a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47eeac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x47ef39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x47ef22
mov eax, dword [esi + 8]
test eax, eax
je 0x47eed7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47ef1e
cmp eax, 2
je 0x47ef22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47eeca
cmp eax, 3
je 0x47eefd
cmp eax, 1
jne 0x47eeca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47eeca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47eeca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0047ef60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x47ef48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0047ef60
add esp, 4
pop esi
ret
Function at 0x4be64f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004be4c5

Function at 0x5dbbf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x5dbd52
cmp edi, esi
je 0x5dbd52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x5dbd42
add edi, 4
jmp 0x5dbca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x5dbcb8
mov dword [ebp - 4], 2
jmp 0x5dbcd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x5dbccf
mov dword [ebp - 4], 1
jmp 0x5dbcd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x5dbd52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x5dbd10
mov byte [ecx + 2], 0x3d
jmp 0x5dbd1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x5dbd2c
mov byte [ecx], 0x3d
jmp 0x5dbd32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x5dbca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405280
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4052a0
xor eax, eax
add esp, 8
ret
push esi
push 0x208
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [esp + 8], 0x208
lea eax, [esp + 8]
push eax
push esi
push str.shellopencommand
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x40530d
push 0
push str.Error
push str.Trump_Error
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
pop esi
add esp, 8
ret
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x405320
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x41c004]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
push eax
push 0x20019
xor edi, edi
mov dword [esp + 0x18], 0
push edi
push str.SoftwareClientsStartMenuInternet
push 0x80000001
mov dword [esp + 0x28], 0
call esi
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push edi
push str.SoftwareClientsStartMenuInternet
push 0x80000002
call esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x40538f
test ebp, ebp
jne 0x4054db
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
xor esi, esi
mov dword [esp + 0x10], 0x104
push esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
jne 0x405431
nop dword [eax]
lea eax, [esp + 0x20]
push 0x418e00
push eax
call fcn.004076d7
add esp, 8
test eax, eax
jne 0x4053ec
lea eax, [esp + 0x20]
push str.Supemium
push eax
call fcn.004076d7
add esp, 8
test eax, eax
je 0x405403
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
call fcn.00405280
mov edi, eax
test edi, edi
jne 0x4054b9
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x104
push eax
lea eax, [esp + 0x34]
inc esi
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
je 0x4053c0
test edi, edi
jne 0x4054b9
xor esi, esi
mov dword [esp + 0x10], 0x104
push esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x34]
call ebx
test eax, eax
jne 0x4054b9
lea eax, [esp + 0x20]
push 0x418e00
push eax
call fcn.004076d7
add esp, 8
test eax, eax
jne 0x405480
lea eax, [esp + 0x20]
push str.Supemium
push eax
call fcn.004076d7
add esp, 8
test eax, eax
je 0x405493
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
call fcn.00405280
mov edi, eax
test edi, edi
jne 0x4054b9
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x104
push eax
lea eax, [esp + 0x34]
inc esi
push eax
push esi
push dword [esp + 0x34]
call ebx
test eax, eax
je 0x405454
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
test ebp, ebp
jne 0x4054ca
push dword [esp + 0x10]
call esi
cmp dword [esp + 0x18], 0
jne 0x4054d7
push dword [esp + 0x14]
call esi
test edi, edi
jne 0x4054f5
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004065a5
add esp, 0x21c
ret
movzx eax, word [edi]
xor ecx, ecx
xor edx, edx
mov esi, eax
test ax, ax
je 0x405519
cmp si, 0x5c
mov eax, ecx
movzx esi, word [edi + ecx*2 + 2]
cmovne eax, edx
inc ecx
mov edx, eax
test si, si
jne 0x405503
mov ecx, dword [esp + 0x224]
xor eax, eax
mov word [edi + edx*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004065a5
add esp, 0x21c
ret
Function at 0x406e93
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40ccd1
push ebx
push esi
call fcn.0040cbfd
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040cb46
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40cc7e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40ccd0
push edi
push eax
call fcn.0040b5fb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40cc9e
call fcn.0040b756
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40cccf
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040cb46
add esp, 0x20
test eax, eax
jne 0x40ccbd
push edi
call fcn.0040b756
jmp 0x40ccc5
push ebx
call fcn.0040b756
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40daca
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416070
push 0x416068
push str.FlsAlloc
push 0x1e
call fcn.0040d9e8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40dafe
push dword [ebp + 8]
mov ecx, esi
call dword [0x4141b0]
call esi
jmp 0x40db04
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40db48
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416080
push 0x416078
push str.FlsGetValue
push 0x20
call fcn.0040d9e8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40db7f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4141b0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4129c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4129ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4129ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov cl, byte [ebp + 0x55]
mov dl, byte [ebp + 0x56]
mov bl, cl
and bl, 0xc
mov byte [esp + 0xb], dl
neg bl
mov al, cl
sbb bl, bl
sar al, 7
and al, 0x44
and bl, 4
or bl, al
mov eax, dword [ebp + 0x260]
neg eax
sbb al, al
and cl, 3
and al, 0x25
or bl, al
mov al, byte [ebp + 0x220]
and al, 1
shl al, 4
or bl, al
or bl, cl
cmp dl, bl
je 0x40a5ee
mov al, bl
mov byte [ebp + 0x56], bl
and al, 0x30
lea edx, [ebp + 0xba0]
push esi
push edi
cmp al, 0x10
jne 0x40a41a
movzx ebp, word [0x4d81e2]
movzx ecx, word [0x4d81ce]
movzx esi, word [0x4d81d4]
add ecx, section..text
movzx edi, word [0x4d81bc]
add esi, section..text
movzx eax, word [0x4d81da]
add edi, section..text
mov dword [esp + 0x18], ebp
add eax, section..text
movzx ebp, word [0x4d81e8]
jmp 0x40a443
movzx ebp, word [0x4d81e4]
mov edi, 0x4021d2
mov ecx, dword [edx + 0x3a8]
mov esi, dword [edx + 0x3b4]
mov eax, dword [edx + 0x3c0]
mov dword [esp + 0x18], ebp
movzx ebp, word [0x4d81ea]
mov dword [esp + 0x14], eax
mov bh, bl
xor bh, byte [esp + 0x13]
lea eax, [ebp + section..text]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x3bc], eax
mov al, bl
and al, 4
mov dword [edx + 0x3a4], ecx
mov dword [edx + 0x3b0], esi
lea ebp, [ebp + section..text]
mov dword [edx + 0x380], edi
test bh, 0x64
je 0x40a4ff
test al, al
jne 0x40a4cf
lea esi, [edx + 0x268]
mov ecx, 0x59
mov edi, edx
rep movsd dword es:[edi], dword [esi]
test bl, 2
je 0x40a55c
mov dword [edx + 0x124], 0x40415d
mov dword [edx + 0x128], 0x40415d
mov dword [edx + 0x12c], 0x40415d
mov dword [edx + 0x130], 0x40415d
jmp 0x40a55c
test bl, 0x40
je 0x40a4e4
mov eax, 0x4042c4
mov ecx, 0x59
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x40a55c
test bl, 0x20
mov ecx, 0x404142
mov eax, 0x40416a
mov edi, edx
cmovne eax, ecx
mov ecx, 0x59
rep stosd dword es:[edi], eax
jmp 0x40a55c
test al, al
jne 0x40a55c
mov eax, dword [esp + 0x14]
mov dword [edx + 0x13c], ecx
mov dword [edx + 0x148], esi
mov dword [edx + 0x118], edi
mov dword [edx + 0x154], eax
test bl, 2
je 0x40a54e
mov dword [edx + 0x124], 0x40415d
mov dword [edx + 0x128], 0x40415d
mov dword [edx + 0x12c], 0x40415d
mov dword [edx + 0x130], 0x40415d
jmp 0x40a55c
movups xmm0, xmmword [edx + 0x38c]
movups xmmword [edx + 0x124], xmm0
test bh, 1
je 0x40a5a4
test bl, 1
jne 0x40a590
lea esi, [edx + 0x164]
mov ecx, 0xb2
movzx eax, word [ecx + 0x4d8130]
lea esi, [esi + 4]
add eax, section..text
add ecx, 2
mov dword [esi - 4], eax
cmp ecx, 0x134
jb 0x40a571
jmp 0x40a5a9
lea edi, [edx + 0x164]
mov ecx, 0x41
mov eax, 0x4041e7
rep stosd dword es:[edi], eax
jmp 0x40a5b9
test bl, 1
jne 0x40a5b9
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x164], ebp
mov dword [edx + 0x170], eax
mov ebp, dword [esp + 0x24]
test bl, 0x10
je 0x40a5ec
test byte [esp + 0x13], 0x10
jne 0x40a5ec
mov ax, word [ebp + 0x7dc]
lea edi, [ebp + 0xb20]
add ax, ax
mov ecx, 0x20
dec ax
movzx eax, ax
mov edx, eax
shl edx, 0x10
or eax, edx
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret