joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42efc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..text
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x42efe2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42efe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42efd8
mov eax, 1
add ebx, ebx
jne 0x42effb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42eff0
jne 0x42f00c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42eff0
xor ecx, ecx
sub eax, 3
jb 0x42f020
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42f092
mov ebp, eax
add ebx, ebx
jne 0x42f02b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42f038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42f05c
inc ecx
add ebx, ebx
jne 0x42f048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42f03d
jne 0x42f059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42f03d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42f07c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42f06d
jmp 0x42efde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42f07c
add edi, ecx
jmp 0x42efde
pop esi
mov edi, esi
mov ecx, 0xc62
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42f09a
cmp byte [edi], 6
jne 0x42f09a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42f09f
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42f10e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x307c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30828]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42f0cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3082c]
or eax, eax
je 0x42f108
mov dword [ebx], eax
add ebx, 4
jmp 0x42f0e9
call dword [esi + 0x30830]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42f13f
cmp al, 0xef
ja 0x42f132
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42f114
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42f121
popal
jmp 0x418e94
Function at 0x4011ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401214
cmp dword [ebp + 0x10], 1
je 0x4011ed
cmp dword [ebp + 0x10], 2
je 0x4011ed
push 0xd
pop eax
jmp 0x401214
test edi, edi
mov eax, dword [ebp - 4]
je 0x40120e
test eax, eax
je 0x40120a
test al, 1
jne 0x4011e8
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40120e
jmp 0x4011e8
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x402600
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3a8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
jne 0x40265b
lea eax, [ebp + 0x194]
push eax
mov edi, 0x100
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jne 0x40264d
call fcn.004022b2
jmp 0x4026e3
cmp eax, edi
jbe 0x402677
mov eax, 0x80020013
jmp 0x4026e3
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x194]
push 0x104
push eax
call fcn.0040220b
add esp, 0x10
cmp eax, 0x50
je 0x402651
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x4095e0
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x402643
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
lea edi, [esi + 4]
push 0x101
push edi
mov word [ebp + 0x192], bx
call fcn.0040220b
mov eax, dword [ebp + 0x3ac]
add esp, 0x10
push ebx
lea ecx, [ebp - 0x80]
push ecx
push 0x2100
push 2
push ebx
push eax
push edi
mov ecx, esi
mov dword [ebp - 0x80], 0xc
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 1
mov dword [esi + 0x208], eax
call fcn.00402537
mov ecx, dword [ebp + 0x39c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040781b
add ebp, 0x3a0
leave
ret 8

Function at 0x4026fd
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004022da
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x40271f
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop edi
pop esi
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40273e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40273e
push eax
call fcn.004022c7
pop ecx
jmp 0x40271a
push edi
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x402718
call fcn.004022b2
jmp 0x40271a

Function at 0x402b3e
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x402b58
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x402b6e
push 0x80004005
call fcn.0040103c
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x402b71
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x4030c6
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.00401177
mov edi, eax
cmp edi, esi
je 0x40312e
lea ecx, [ebp - 0x70]
call fcn.00401160
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040781b
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x403146
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004030c6
cmp eax, esi
jne 0x403179
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x403136
lea ecx, [ebp - 0x70]
call fcn.00401160
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401160
mov eax, esi
jmp 0x403114
Function at 0x404517
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3b0]
push edi
mov esi, ecx
mov dword [ebp - 0x74], eax
call dword [0x40b034]
xor edi, edi
push 2
push edi
push ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x78], ebx
jne 0x404582
call fcn.004022b2
mov esi, eax
jmp 0x40464e
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x40459f
call fcn.004022b2
jmp 0x404643
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp - 0x6c], eax
je 0x404595
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4045f8
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x4045cf
lea ecx, [ebp - 0x68]
call fcn.00403077
mov esi, 0x8007000e
lea ecx, [ebp - 0x70]
call fcn.00402fb1
mov ecx, dword [ebp + 0x39c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040781b
add ebp, 0x3a0
leave
ret 0x10
push eax
lea ecx, [ebp - 0x68]
call fcn.00403592
mov ebx, dword [ebp - 0x68]
cmp ebx, edi
jne 0x40460f
mov esi, 0x8007000e
jmp 0x404645
call dword [0x40b034]
push esi
push ebx
push esi
push dword [ebp - 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x404595
mov ecx, dword [ebp - 0x68]
push dword [ebp + 0x3b4]
mov word [ecx + eax*2], di
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00404369
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x4045d4
lea ecx, [ebp - 0x68]
call fcn.00403077
jmp 0x4045d4

Function at 0x404c24
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x3c], 0x3c
call fcn.004074f0
add esp, 0xc
mov edi, 0x105
lea ecx, [esi + 8]
push edi
call fcn.004016ef
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x104
call fcn.004016ef
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push 0x80000000
push 0
push dword [ebp + 8]
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push 0xffffffffffffffff
lea ecx, [esi + 8]
mov edi, eax
call fcn.0040151b
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
call fcn.0040151b
mov ax, word [ebp - 0x24]
push dword [ebp + 8]
lea ecx, [esi + 4]
mov word [esi + 0x10], ax
mov dword [esi], edi
call fcn.00401900
mov eax, dword [esi]
pop edi
pop esi
leave
ret 4
Function at 0x405f1b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push 0x40
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x90]
push esi
push eax
mov ebx, ecx
mov dword [ebp - 0x94], 0x44
call fcn.004074f0
add esp, 0xc
push 0x40b150
lea ecx, [ebp - 4]
call fcn.0040153b
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.00405e7f
cmp dword [ebp + 0xc], esi
je 0x405fae
push 0x38
lea eax, [ebp - 0x4c]
push esi
push eax
mov dword [ebp - 0x50], 0x3c
call fcn.004074f0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x40], eax
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x40995c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [ebp - 0x18]
mov dword [ebp + 8], eax
jmp 0x405fdf
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x405ff9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 8], esi
je 0x405ff9
cmp dword [ebp + 0x10], esi
je 0x405ff2
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx - 0x10]
call fcn.00401256
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x406268
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3e8
push dword [esi + 4]
call ebx
test eax, eax
mov ecx, esi
je 0x4062a9
lea edi, [esi + 0x20]
push edi
call fcn.004061b7
push 1
push edi
mov ecx, esi
jmp 0x4062af
push 0
lea eax, [esi + 0x20]
push eax
call fcn.004060be
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], 0
je 0x4062db
push 0x3e9
push dword [esi + 4]
call ebx
test eax, eax
je 0x4062db
lea edi, [esi + 0x40]
push edi
mov ecx, esi
call fcn.004061b7
push 1
push edi
jmp 0x4062e1
push 0
lea eax, [esi + 0x40]
push eax
mov ecx, esi
call fcn.004060be
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4064b7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004063f6
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004074f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x406506
cmp dword [ebp - 0x1c], 5
jb 0x40651e
jmp 0x40651a
cmp dword [ebp - 0x10], 1
jne 0x40651e
cmp dword [ebp - 0x1c], 4
ja 0x40651a
jne 0x40651e
cmp dword [ebp - 0x18], 0
jbe 0x40651e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x409c24
call fcn.00402267
test eax, eax
jge 0x40653f
mov byte [0x40b064], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040781b
add ebp, 0x78
leave
ret

Function at 0x406963
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x40b194], 0
push esi
jne 0x4068d6
call fcn.00406801
test eax, eax
je 0x406919
mov eax, dword [0x40b194]
cmp eax, 1
jne 0x4068f7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x406919
pop esi
ret
push eax
call dword [0x40b19c]
test eax, eax
jne 0x406961
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40691d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x40b194]
call dword [0x40b19c]
mov edi, eax
test edi, edi
je 0x406944
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x406960
lea edi, [esi + 0xff0]
push esi
push dword [0x40b194]
call dword [0x40b198]
add esi, 0x10
cmp esi, edi
jb 0x40694a
mov eax, esi
pop edi
pop esi
ret
jmp 0x4068c3

Function at 0x40781b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b040]
jne 0x407825
repz ret
jmp fcn.00407e2b
Function at 0x401a20
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x402692
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push esi
mov ebx, ecx
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [ebx + 0x10]
add esp, 4
cmp eax, 0xc
mov dword [esp + 0x38], ecx
mov dword [ecx], eax
jne 0x401b59
mov cl, byte [esp + 0x3c]
xor esi, esi
push ebp
push edi
mov byte [esp + 0x20], cl
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dl, byte [esp + 0x44]
mov dword [esp + 0x38], esi
mov byte [esp + 0x10], dl
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x3c], 1
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401ad8
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
xor esi, esi
mov byte [ecx + ebp], 0
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebx
call fcn.00401f00
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x10]
mov edx, dword [ecx]
lea ecx, [ebx + 0x14]
push edx
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x14]
pop edi
cmp ecx, esi
pop ebp
je 0x401b27
mov al, byte [ecx - 1]
test al, al
je 0x401b1d
cmp al, 0xff
je 0x401b1d
dec al
mov byte [ecx - 1], al
jmp 0x401b27
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
cmp ecx, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x401b5b
mov al, byte [ecx - 1]
test al, al
je 0x401b4d
cmp al, 0xff
je 0x401b4d
dec al
mov byte [ecx - 1], al
jmp 0x401b5b
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x401b5b
xor esi, esi
mov ecx, dword [esp + 0x38]
push esi
push esi
push ecx
push 0x401b90
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x686f3186
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3709692a
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x41b220
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49ab9b
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.0048edac
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41b2a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048c46d
mov eax, dword [eax]
push 0x582244
push eax
call fcn.0047dc64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048f037
test bl, bl
je 0x41b2a2
push 0x582244
lea ecx, [esp + 0xc]
call fcn.0048f3c7
push 0x585dcc
lea ecx, [esp + 0xc]
call fcn.0048f3c7
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 0x41b2de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048f037
jmp 0x41b3a9
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 0x41b362
lea edx, [esp + 0x7c]
push 0x585dc8
push edx
call fcn.0047dc64
add esp, 8
test eax, eax
je 0x41b362
lea eax, [esp + 0x7c]
push 0x585dc4
push eax
call fcn.0047dc64
add esp, 8
test eax, eax
je 0x41b362
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 0x41b2f2
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.0048f037
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 0x41bba0
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 0x41bc02
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 0x41bc10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49ac1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x592f84]
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 0x41bd48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41bc76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f037
xor eax, eax
jmp 0x41bdbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048f174
push esi
lea ecx, [esp + 0xc]
call fcn.0048f403
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x585e04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41bd9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041bba0
test eax, eax
jne 0x41bd9d
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 closesocket
mov ecx, edi
call fcn.0041bba0
test eax, eax
jne 0x41bd9d
lea eax, [esp + 0x14]
push 0x585de0
push eax
call fcn.0047ee00
mov esi, eax
add esp, 8
test esi, esi
jne 0x41bd7c
lea ecx, [esp + 0x14]
push 0x585ddc
push ecx
call fcn.0047ed80
mov esi, eax
add esp, 8
test esi, esi
jne 0x41bd7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41bd7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048f124
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41bc8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f037
xor eax, eax
jmp 0x41bdbf
mov byte [esi], 0
push 0x585dd8
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.0048f037
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