joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [ebp + 0x14]
push edi
sub eax, 0x9c45
je 0x4072c7
sub eax, 6
je 0x4072b8
sub eax, 0x15
jne 0x407313
mov al, byte [0x40f030]
mov ecx, 0xc3
mov byte [ebp - 0x310], al
xor eax, eax
lea edi, [ebp - 0x30f]
push 3
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0xc]
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x407313
cmp byte [ebp - 0x310], 0
je 0x407313
push 5
lea eax, [ebp - 0x310]
jmp 0x40730c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407208
pop ecx
pop ecx
jmp 0x407313
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x10c8], 0
jne 0x407313
mov al, byte [0x40f030]
mov ecx, 0xc3
mov byte [ebp - 0x310], al
xor eax, eax
lea edi, [ebp - 0x30f]
push 1
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x310]
push eax
push edx
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x407313
push 5
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
pop edi
leave
ret

Function at 0x407358
Capabilities:
Delete file

Disassembly:
mov eax, 0x40b387
call fcn.0040b0d4
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp - 0x90]
call fcn.004038ff
xor ebx, ebx
push 1
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.00403c96
test eax, eax
je 0x4073ce
xor edi, edi
cmp dword [esi + 0x20], ebx
jle 0x4073c3
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x90]
add eax, ebx
push ecx
push eax
push esi
call fcn.00407147
add esp, 0xc
inc edi
add ebx, 0x1104
cmp edi, dword [esi + 0x20]
jl 0x4073a1
lea ecx, [ebp - 0x90]
call fcn.00403cf0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0040398b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4077ab
Capabilities:
Delete file
Get common file path

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x1a
and byte [edi + 0x34], 0
lea esi, [edi + 0x34]
push esi
call fcn.0040aaed
pop ecx
test eax, eax
pop ecx
je 0x4077eb
push esi
call fcn.0040296f
mov dword [esp], 0x40e81c
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x2bc], 0
pop ecx
pop ecx
je 0x4077eb
push esi
call fcn.004030e1
pop ecx
cmp byte [esi], 0
jne 0x4077fc
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push esi
call fcn.0040296f
mov dword [esp], 0x40e80c
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x2bc], 0
pop ecx
pop ecx
jne 0x407821
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
ret
Function at 0x408666
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x40ea40
push eax
call fcn.00402d88
push 1
push 1
lea eax, [ebp - 0x104]
push 1
push eax
push dword [ebp + 8]
call fcn.0040850b
add esp, 0x1c
test eax, eax
je 0x4086c9
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00402b5a
pop ecx
test eax, eax
pop ecx
je 0x4086bc
push eax
push dword [ebp + 8]
call fcn.00402997
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
leave
ret

Function at 0x4089c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.00404e55
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404e62
add esp, 0xc
test eax, eax
je 0x4089fe
mov eax, dword [ebp - 4]
push 5
push 0x40f030
add eax, 0x3c3
push 0
push eax
push 0x40e07c
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret

Function at 0x408a32
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push dword [ebp + 8]
call fcn.00404e55
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404e62
add esp, 0xc
test eax, eax
je 0x408aa1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10d0], 0
je 0x408aa1
push 0xc
call fcn.00404309
push eax
push dword [ebp + 8]
call fcn.004013c5
add esp, 0xc
cmp eax, 6
jne 0x408aa1
push 2
lea eax, [ebp - 0x314]
push 0
push eax
push dword [ebp - 4]
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x408aa1
lea eax, [ebp - 0x314]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x408aa3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404e55
cmp dword [eax + 0x2c0], 0
pop ecx
je 0x408acd
push 0x9c60
push eax
call fcn.00407316
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404e62
pop ecx
test eax, eax
pop ecx
je 0x408b2a
mov al, byte [0x40f030]
push edi
mov byte [ebp - 0x310], al
mov ecx, 0xc3
xor eax, eax
lea edi, [ebp - 0x30f]
push 3
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call fcn.00405792
add esp, 0x10
test eax, eax
pop edi
je 0x408b2a
cmp byte [ebp - 0x310], 0
je 0x408b2a
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x408b2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404e55
cmp dword [eax + 0x2c0], 0
pop ecx
je 0x408b56
push 0x9c45
push eax
call fcn.00407316
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404e62
pop ecx
test eax, eax
pop ecx
je 0x408b99
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c8], 0
jne 0x408b99
push 1
lea ecx, [ebp - 0x310]
push 0
push ecx
push eax
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x408b99
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret
Function at 0x408f41
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov al, byte [0x40f030]
push edi
push 0x41
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402f88
lea eax, [ebp - 0x108]
mov dword [esp], 0x40ea98
push eax
call fcn.00403439
pop ecx
lea eax, [ebp - 0x108]
pop ecx
push 5
push 0x40f030
push 0
push eax
push 0x40e07c
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
leave
ret
Function at 0x409e9c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040b090
cmp dword [ebp + 8], 0
mov al, byte [0x40f030]
push esi
push edi
je 0x409f01
mov byte [ebp - 0x2004], al
mov ecx, 0x800
xor eax, eax
lea edi, [ebp - 0x2003]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push 0x2000
push eax
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [ebp + 0x14]
call fcn.004035df
add esp, 0x10
lea eax, [ebp - 0x2004]
push dword [ebp + 0x1c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov esi, eax
jmp 0x409f53
push dword [ebp + 0x1c]
mov byte [ebp - 0x2004], al
mov ecx, 0x800
xor eax, eax
lea edi, [ebp - 0x2003]
push 0x2000
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
push 0x40f030
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
lea eax, [ebp - 0x2004]
push dword [ebp + 0x18]
sbb esi, esi
push eax
neg esi
call fcn.00403661
add esp, 0xc
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x409f59
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x1c]
je 0x409f7a
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00409e1c
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
pop ebp
ret

Function at 0x40a386
Capabilities:
Create process on windows

Disassembly:
push 5
push 0x40eb78
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0x1f
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x40abc7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x24], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 0x40eda8
mov dword [ebp - 0x28], 0x40f030
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret
Function at 0x40ae9b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
lea eax, [ebp - 0x20]
push edi
push eax
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x40b050
mov esi, dword [ebp + 0xc]
push 0x810
push ebx
push esi
call sub.MSVCRT.dll_memset
push dword [ebp - 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov edi, eax
push edi
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x40e2e8
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40af31
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 8], eax
je 0x40af39
push 1
push edi
call fcn.0040ae6e
pop ecx
pop ecx
jmp 0x40b052
cmp dword [ebp + 0x10], ebx
je 0x40af39
push ebx
jmp 0x40af24
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40ef00
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40af88
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x18]
push 0x40eef4
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x18]
push 0x40f030
push eax
push edi
call fcn.0040add8
add esp, 0x20
test eax, eax
jne 0x40af98
lea eax, [ebp - 0x18]
push 0x40eee8
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x18]
push 0x40e7ec
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x110]
push eax
lea eax, [ebp - 0x18]
push 0x40e7dc
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x210]
push eax
lea eax, [ebp - 0x18]
push 0x40e7d0
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x310]
push eax
lea eax, [ebp - 0x18]
push 0x40eed8
push eax
push edi
call fcn.0040add8
add esp, 0x40
lea eax, [esi + 0x410]
push eax
lea eax, [ebp - 0x18]
push 0x40e7c4
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x510]
push eax
lea eax, [ebp - 0x18]
push 0x40eec8
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x610]
push eax
lea eax, [ebp - 0x18]
push 0x40eeb8
push eax
push edi
call fcn.0040add8
add esi, 0x710
lea eax, [ebp - 0x18]
push esi
push 0x40eea4
push eax
push edi
call fcn.0040add8
add esp, 0x40
jmp 0x40af22
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x407ef8
mov ecx, 0x6a83192b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x3a4e6485
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x11c8724d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x783e71c3
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401460
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1080
call fcn.00401de0
mov eax, dword [0x402004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x1080], esi
lea edi, [ebp - 0x103c]
mov esi, 0x800
stosd dword es:[edi], eax
push esi
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1020]
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x820]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
mov dword [ebp - 0x1028], esi
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1024], ebx
push eax
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x1024]
push eax
push pe_overlay
push 0x401100
push 0x401110
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x401578
cmp dword [ebp - 0x1024], 1
je 0x401516
cmp dword [ebp - 0x1024], 2
jne 0x401578
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x1020]
push eax
push 0x400
push 0x401194
push 0x4011a0
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x401578
push 6
pop ecx
mov esi, 0x4011b4
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x1080]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
movsw word es:[edi], word [esi]
push eax
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004018c0
leave
ret 0x10
Function at 0x401640
Capabilities:
Terminate process

Disassembly:
call fcn.00401b45
jmp 0x40164a
push 0x58
push 0x401e18
call fcn.00401bf8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x402364
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40169c
cmp eax, esi
jne 0x40168f
xor esi, esi
inc esi
mov edi, esi
jmp 0x40169f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401673
xor esi, esi
inc esi
cmp dword [0x402368], esi
jne 0x4016b1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4016eb
cmp dword [0x402368], ebx
jne 0x4016e5
mov dword [0x402368], esi
push 0x4010cc
push 0x4010c0
call fcn.00401829
pop ecx
pop ecx
test eax, eax
je 0x4016eb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401819
mov dword [0x402014], esi
cmp dword [0x402368], esi
jne 0x40170e
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x402368], 2
test edi, edi
jne 0x40171b
xor eax, eax
mov ecx, 0x402364
xchg dword [ecx], eax
cmp dword [0x40236c], 0
je 0x401747
push 0x40236c
call fcn.00401a50
pop ecx
test eax, eax
je 0x401747
push ebx
push 2
push ebx
mov esi, dword [0x40236c]
mov ecx, esi
call dword [0x40308c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x4017a5
test cl, cl
je 0x401774
test edi, edi
jne 0x4017a5
test cl, cl
je 0x401774
cmp cl, 0x20
ja 0x401774
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x401763
test byte [ebp - 0x3c], 1
je 0x401780
movzx eax, word [ebp - 0x38]
jmp 0x401783
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x402010], eax
cmp dword [0x402028], 0
jne 0x4017fe
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x4017b6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4017c9
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x401754
cmp dword [0x402014], 0
jne 0x401812
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x402010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401934
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401e38
call fcn.00401bf8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401994
cmp eax, 0xffffffff
je 0x401994
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40198d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40198d
cmp edx, 0x10000000
jae 0x40198d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40198a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x401a00
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 0x401a3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401a36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401a40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401a26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401b10
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 0x401b41
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x401b41
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x401b41
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408e54
nop
mov ecx, 0x33c62f4f
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x120103ad
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x479a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046e96e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4070e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c880
mov eax, dword [eax]
push 0x926c58
push eax
call fcn.0045f594
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ebf9
test bl, bl
je 0x4070e2
push 0x926c58
lea ecx, [esp + 0xc]
call fcn.0046ef89
push 0x926c64
lea ecx, [esp + 0xc]
call fcn.0046ef89
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40711e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ebf9
jmp 0x4071e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4071a2
lea edx, [esp + 0x7c]
push 0x926c60
push edx
call fcn.0045f594
add esp, 8
test eax, eax
je 0x4071a2
lea eax, [esp + 0x7c]
push 0x926c5c
push eax
call fcn.0045f594
add esp, 8
test eax, eax
je 0x4071a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407132
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046ebf9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4079f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407a52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x407a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x479adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9305bc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x407b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ebf9
xor eax, eax
jmp 0x407c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ed36
push esi
lea ecx, [esp + 0xc]
call fcn.0046efc5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x407bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004079f0
test eax, eax
jne 0x407bed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004079f0
test eax, eax
jne 0x407bed
lea eax, [esp + 0x14]
push 0x926c74
push eax
call fcn.00460610
mov esi, eax
add esp, 8
test esi, esi
jne 0x407bcc
lea ecx, [esp + 0x14]
push 0x926c70
push ecx
call fcn.00460590
mov esi, eax
add esp, 8
test esi, esi
jne 0x407bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x407bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046ece6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ebf9
xor eax, eax
jmp 0x407c0f
mov byte [esi], 0
push 0x926c6c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046ebf9
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4