joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x45984038
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x63a60431
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x80
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7d
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x86
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8a
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd3
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x37
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4a
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xed
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x85
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf8
add esp, 0x40
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x13
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x3d
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x61
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdd
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412cf0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412e9a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7e
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x92
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xc6
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x31
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x92
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe1
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc9
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe6
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3d
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5a
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x60
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x1a
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x44
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5a
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d10
pop ebx
pop edi
pop esi
ret

Function at 0x4035d5
Capabilities:
Terminate process

Disassembly:
jmp 0x451b59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451b6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058fd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403706
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b002
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b013
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aee9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b03b
push ebx
push esi
push edi
call fcn.004056f0
add esp, 0xc
push 0
call fcn.0040623a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x423416
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x423425
pop dword [ebp - 0x1c]
mov eax, 0xfa0d6c5f
add eax, 0x634c7c6
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xd88716d8
add dword [ebp - 0x2c], 0x75cb2e73
mov dword [ebp - 0x28], 0x12c21e2c
add dword [ebp - 0x28], 0x1f712e19
mov dword [ebp - 0x24], 0xe4f5d037
add dword [ebp - 0x24], 0x675673f7
mov dword [ebp - 0x20], 0xac6fdbfc
sub dword [ebp - 0x20], 0xac6fdbfc
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4297802b
add eax, 0xbdb4826d
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x1d93b232
add dword [ebp - 0x2c], 0x56deb724
mov dword [ebp - 0x28], 0x76bbbc66
sub dword [ebp - 0x28], 0x354f5af1
mov dword [ebp - 0x24], 0x5abfe182
add dword [ebp - 0x24], 0x8af8aea
mov dword [ebp - 0x20], 0xa846e7f0
sub dword [ebp - 0x20], 0xa846e7f0
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x76a31
push 0
call eax
mov ecx, 0x4f3eed53
add ecx, 0xb0c16418
xor edx, edx
add edx, eax
mov ebx, 0x689e3c38
add ebx, 0x97b537c8
add ebx, dword [ebp - 0x1c]
mov edi, 0x4dc1531
sub edi, 0x81651f3c
xor dword [ebp - 8], 0x116f798f
mov esi, dword [ebx]
sub dword [ebp - 0x18], 0xdde1f801
xor esi, edi
sub dword [ebp - 0x10], 0x8ebeab8b
mov dword [edx], esi
sub dword [ebp - 4], 0xaf87ddd4
add edx, 0x1e7a5379
add edx, 0xe185ac8b
add ebx, 4
loop 0x423544
add eax, 0xc9b5d32f
sub eax, 0xc9b49ab0
mov ebx, eax
add eax, 0x3033c314
add eax, 0xcfcc3cf1
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x4290b8
Capabilities:
Write file on windows

Disassembly:
push 0xb4
mov eax, 0x4b95a3
call fcn.004b6a29
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp + 0x10]
push 0x4d7b54
mov dword [ebp - 4], ebx
call main
mov edi, eax
test edi, edi
je 0x42915f
push ecx
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0042c0ac
push dword [ebp + 0xc]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov ecx, esi
push eax
call main
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc0]
call main
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x429121
lea eax, [ebp - 0x28]
push edi
push dword [ebp - 0x18]
push 1
push eax
call fcn.00495039
push edi
call fcn.004944a0
add esp, 0x14
lea ecx, [ebp - 0x28]
push ebx
push 1
call main
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.0042c133
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.std::ios_base.0
push eax
call main
pop ecx
jmp 0x4291a6
lea eax, [esi + 0x254]
cmp dword [eax + 0x14], 8
jb 0x42916d
mov eax, dword [eax]
push ebx
push ebx
push eax
push str.Could_not_save_file_0.
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004797dd
push 0x30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [esi + 0x73c]
push eax
call dword [edx + 0xb0]
push ebx
push 1
lea ecx, [ebp - 0x28]
call main
push ebx
push 1
lea ecx, [ebp + 0x10]
call main
call fcn.004b69d8
ret 0x20
Function at 0x4010ec
Capabilities:
Hide graphical window

Disassembly:
jne 0x401126
push str.Dexpot___Main_Menu
push str.ThunderRT6FormDC
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [esi + 0x34], eax
call ebx
test eax, eax
jne 0x401126
push str.Dexpot___Main_Menu
push str.ThunderFormDC
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [esi + 0x34], eax
call ebx
test eax, eax
jne 0x401126
xor esi, esi
jmp 0x401129
mov esi, dword [esi + 0x34]
push esi
call ebx
test eax, eax
jne 0x401136
push edi
call fcn.004013d0
mov ecx, dword [edi + 8]
mov dword [ecx + 0x2c], edi
mov ebx, dword [edi + 8]
call fcn.004041a0
test eax, eax
jne 0x40115d
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00402aa0
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.SHELLHOOK
call esi
push str.TaskbarCreated
mov dword [0x41a130], eax
call esi
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.COMCTL32.dll_Ordinal_380]
lea ebx, [edi + 0x14]
push ebx
push 1
push 0x67
push edx
mov dword [0x41a124], eax
call esi
mov ecx, dword [edi + 4]
lea eax, [edi + 0x18]
Function at 0x4013d0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareDexpot
push 0x80000001
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40148a
mov edx, dword [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push ebx
push str.Dexpot_Home
push edx
call edi
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x401480
push eax
call fcn.00405a7b
mov ecx, dword [ebp - 8]
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push str.Dexpot_Home
push ecx
call edi
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401440
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00405a7b
mov ebx, eax
mov eax, dword [ebp - 4]
push esi
inc eax
push eax
push ebx
call fcn.00406176
push esi
call fcn.0040609a
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x4014d8
push 0x20a
call fcn.00405a7b
add esp, 4
push 0x105
mov ebx, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push ebx
mov dword [ebp - 4], eax
call fcn.0040606c
add esp, 8
test eax, eax
je 0x4014c4
xor edx, edx
mov word [eax], dx
push 0x5c
push ebx
call fcn.0040606c
add esp, 8
test eax, eax
je 0x4014d8
xor ecx, ecx
mov word [eax], cx
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4014e0
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
je fcn.004015d8
xor ecx, ecx
add eax, 0xc
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0xc], 0
neg ecx
or ecx, eax
push ecx
call fcn.00405a7b
mov esi, eax
mov eax, dword [ebp - 4]
push ebx
add eax, 0xc
push eax
push esi
mov dword [ebp - 0x10], esi
call fcn.00406176
mov ecx, dword [ebp - 4]
push 0x4153ec
add ecx, 0xc
push ecx
push esi
call fcn.004060b0
add esp, 0x1c
push 0
push ebx
push 0x415404

Function at 0x401548
Capabilities:
Create process on windows

Disassembly:
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x4015cf
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov eax, dword [esi + 0x34]
inc dword [ebp - 0xc]
push eax
call edi
test eax, eax
jne 0x4015b1
push str.Dexpot___Main_Menu
push str.ThunderRT6FormDC
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [esi + 0x34], eax
call edi
test eax, eax
jne 0x4015b1
push str.Dexpot___Main_Menu
push str.ThunderFormDC
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [esi + 0x34], eax
call edi
test eax, eax
jne 0x4015b1
xor esi, esi
jmp 0x4015b4
mov esi, dword [esi + 0x34]
push esi
call edi
test eax, eax
jne 0x4015cc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0xc], 0xa
jl 0x401566
mov esi, dword [ebp - 0x10]
push esi
call fcn.0040609a
add esp, 4
Function at 0x402680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40709f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret
Function at 0x4013c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x90
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x69
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x36
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x73
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x71
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x92
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3e
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x9f
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x1a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcf
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xa0
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xf2
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x15
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x65
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x8d
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x60
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x72
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa1
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x79
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x37
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x16
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x94
push 0
push 0
push 0
call esi
sub byte [edi + ebp], 0x80
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7e
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x5c
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x84
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd2
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401318
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
mov eax, 0x5818
call fcn.004019ec
call fcn.004017e0
lea ebx, [ebp - 0x580c]
mov esi, 0x403040
mov ecx, 0x15fd
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
call sub.KERNEL32.dll_FreeConsole
mov esi, dword [ebp - 0x618]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x57f4
mov dword [esp], 0
call sub.KERNEL32.dll_VirtualAlloc
sub esp, 0x10
mov edi, eax
xor ecx, ecx
nop
mov edx, edi
mov al, byte [ebx + ecx]
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x57f4
jne 0x401384
lea ecx, [edi + 0x51f4]
nop
xor dword [edx], esi
add esi, 0x499602d2
add edx, 4
cmp edx, ecx
jne 0x40139c
call edi
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
leave
lea esp, [ecx - 4]
ret

Function at 0x4014d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4014f6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40158a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401545
cmp eax, 0x40
je 0x401545
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4014e9
cmp eax, 0x40
je 0x4014e9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x4014e9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sub.msvcrt.dll__assert
lea esi, [esi]
lea edi, [edi]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219