joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f520
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f553
push esi
call fcn.00442620
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f54c
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 0x43f5d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f5c2
mov eax, dword [esi + 8]
test eax, eax
je 0x43f577
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 0x43f5be
cmp eax, 2
je 0x43f5c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f56a
cmp eax, 3
je 0x43f59d
cmp eax, 1
jne 0x43f56a
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 0x43f56a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f56a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f600
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f5e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f600
add esp, 4
pop esi
ret

Function at 0x44a940
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44a9a6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44a9a6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44a987
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44bb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044b6c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044b740
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044b740
lea ecx, [esi + 0xc]
call fcn.0045fd76
lea ecx, [esi + 0x10]
call fcn.0045fd76
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044df70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044df70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044df70
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045fdeb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fdeb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44c7b8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e488
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44c7c8
call fcn.0044cce0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44c8ab
cmp byte [edi], 0
je 0x44c8ab
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44c7ed
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044b4e0
test eax, eax
jne 0x44c80d
push 0x4aa460
lea ecx, [esi + 0x38]
call fcn.0045ff28
jmp 0x44c8ab
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044b530
test eax, eax
jne 0x44c83c
mov ecx, esi
call fcn.0044b630
push edi
add esi, 0x38
push 0x4aa43c
push esi
call fcn.0045dd87
add esp, 0xc
jmp 0x44c8ab
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044d560
test eax, eax
je 0x44c8a4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044c980
test eax, eax
jne 0x44c8c0
push edi
lea eax, [esi + 0x38]
push 0x4aa418
push eax
call fcn.0045dd87
add esp, 0xc
mov ecx, esi
call fcn.0044cce0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44c968
mov ecx, dword [0x4aa6d0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045dd87
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044b5e0
test eax, eax
jne 0x44c92a
push 0x4aa3fc
lea ecx, [esi + 0x38]
call fcn.0045ff28
jmp 0x44c93a
push 0xfa
mov ecx, esi
call fcn.0044d560
test eax, eax
jne 0x44c957
mov ecx, esi
call fcn.0044cce0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fdeb
jmp 0x44c8ab
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fdeb
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46218f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4621c7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460246
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046021e
jmp 0x4621d3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46387d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4638bf
call fcn.004693fe
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4638bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4638b6
xor eax, eax
jmp 0x4638c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004638cd
pop edi
pop esi
pop ebx
ret 4

Function at 0x46992e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46995c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46997a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469894
jmp 0x46997a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46997a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469894
test edi, edi
mov eax, edi
jne 0x469964
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
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 0x4021f8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x40728c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c558
mov eax, esi
mov edx, 8
test al, 1
je 0x4072a8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4072aa
shr eax, 1
dec edx
jne 0x40729b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407294
pop esi
ret

Function at 0x4072c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c554], 0
jne 0x4072e3
call fcn.0040728c
push 1
push 0x40c554
call fcn.00403e20
mov eax, edi
test esi, esi
je 0x40730e
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4072e9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x406c81
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4141d4], 0
jne 0x406c8f
call fcn.00406c57
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x406cbc
test cl, 7
je 0x406cbc
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
outsb dx, byte [esi]
inc ecx
jmp 0x406ca1
cmp esi, 8
jb 0x406d40
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x6541c0]
sub esi, 8
movzx edx, al
shr eax, 0xc
cmp eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4141c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x84151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
invalid
xor edx, edx
test esi, esi
jbe 0x406d60
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4141c0]
inc edx
cmp edx, esi
jb 0x406d47
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x40dae3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xb4]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040d91d
movzx eax, byte [ebp - 0x10]
mov eax, dword [eax*4 + 0x4178a8]
movzx ecx, byte [ebp - 3]
xor eax, dword [ecx*4 + str.SetMenu]
movzx ecx, byte [ebp - 6]
xor eax, dword [ecx*4 + 0x4170a8]
movzx ecx, byte [ebp - 9]
xor eax, dword [ecx*4 + str.SetLastError]
mov esi, dword [ebp + 0xc]
movzx ecx, byte [ebp - 0xf]
mov dword [esi], eax
movzx eax, byte [ebp - 0xc]
mov eax, dword [eax*4 + 0x4178a8]
xor eax, dword [ecx*4 + str.SetMenu]
movzx ecx, byte [ebp - 2]
xor eax, dword [ecx*4 + 0x4170a8]
movzx ecx, byte [ebp - 5]
xor eax, dword [ecx*4 + str.SetLastError]
movzx ecx, byte [ebp - 0xb]
mov dword [esi + 4], eax
movzx eax, byte [ebp - 8]
mov eax, dword [eax*4 + 0x4178a8]
xor eax, dword [ecx*4 + str.SetMenu]
movzx ecx, byte [ebp - 0xe]
xor eax, dword [ecx*4 + 0x4170a8]
movzx ecx, byte [ebp - 1]
xor eax, dword [ecx*4 + str.SetLastError]
movzx ecx, byte [ebp - 7]
mov dword [esi + 8], eax
movzx eax, byte [ebp - 4]
mov eax, dword [eax*4 + 0x4178a8]
xor eax, dword [ecx*4 + str.SetMenu]
movzx ecx, byte [ebp - 0xa]
xor eax, dword [ecx*4 + 0x4170a8]
movzx ecx, byte [ebp - 0xd]
xor eax, dword [ecx*4 + str.SetLastError]
lea ebx, [edi + 0xa4]
mov dword [esi + 0xc], eax
mov dword [ebp + 8], 8
Function at 0x411563
Capabilities:
Encode data using xor

Disassembly:
inc edi
loope 0x41154e
invalid
invalid
push ebp
mov ebp, esp
sub esp, 0x24
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
je 0x411584
push 0x40
mov edi, 0x70bb0c75
stc
inc ecx
add byte [ebx - 0x18], dl
loope 0x41154c
invalid
mov ebx, dword [ebp + 0xc]
cmp byte [0x41f968], 0
jno 0x4115d4
xor ecx, ecx
mov esi, 0x41f32c
lea eax, [ecx + 1]
cdq
push 5
pop edi
idiv edi
lea eax, [ecx + 2]
mov dword [esi - 4], ebx
mov dword [esi], edx
cdq
idiv edi
lea eax, [ecx + 3]
add esi, 0x14
mov dword [esi - 0x10], edx
cdq
idiv edi
lea eax, [ecx + 4]
mov dword [esi - 0xc], edx
cdq
idiv edi
mov dword [esi - 8], edx
test ecx, ecx
je 0x4115ca
dec ecx
jmp 0x4115cd
push 4
pop ecx
cmp esi, 0x41f96c
jl 0x411597
ret 0x5c6
mov byte [0x41f968], 1
mov esi, dword [ebp + 8]
push 5
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, 0x41f314
cdq
pop ebp
adc byte [ebx + 0x168b1075], cl
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ecx, edx
ror ecx, 8
and ebp, 0xff00ff00
rol edx, 0x48
and edx, 0xfb00ff
or ecx, edx
mov dword [esi], ebx
mov esi, dword [eax - 8]
mov edx, dword [eax]
mov edx, dword [ebp + edx*4 - 0x24]
mov edi, dword [eax - 4]
mov edi, dword [ebp + edi*4 - 0x24]
add dword [ebp + 0x10], 4
lea esi, [ebp + esi*4 - 0x24]
mov dword [ebp + 0xc], esi
xor dword [eax + 4], 0xffffff8d
je 0x4115e2
fdiv qword [ebx]
cli
mov dword [ebp - 8], esp
mov esi, dword [eax - 0xc]
mov esi, dword [ebp + esi*4 - 0x24]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0xc]
and edi, dword [edx]
rol esi, 5
xor edi, dword [ebp - 4]
add esi, ecx
mov ecx, dword [ebp - 8]
lea edx, [edi + esi + 0x5a827999]
add dword [ecx], edx
mov ecx, dword [ebp + 0xc]
ror dword [ecx], 2
add eax, 0x14
mov edx, 0x1f474
cmp eax, edx
jl 0x4115ef
mov dword [ebp + 0x10], 0x10
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 3]
and eax, 0xf
lea esi, [ebx + eax*4]
lea eax, [ecx - 5]
and eax, 0xf
mov eax, dword [ebx + eax*4]
lea edi, [ecx + 5]
and edi, 0xf
xor eax, dword [ebx + edi*4]
and ecx, 0xf
xor eax, dword [ebx + ecx*4]
xor eax, dword [esi]
rol eax, 1
mov dword [esi], eax
mov esi, dword [edx - 8]
mov ecx, dword [edx]
mov ecx, dword [ebp + ecx*4 - 0x24]
mov edi, dword [edx - 4]
mov edi, dword [ebp + edi*4 - 0x24]
lea esi, [ebp + esi*4 - 0x24]
mov dword [ebp + 0xc], esi
mov esi, dword [edx + 4]
lea esi, [ebp + esi*4 - 0x24]
xor edi, ecx
mov dword [ebp - 4], esi
mov esi, dword [edx - 0xc]
mov esi, dword [ebp + esi*4 - 0x24]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
and edi, dword [ecx]
inc ecx
mov byte [0x3f87d33], 0xf0
mov eax, dword [ebp - 4]
mov dword [edi + esi + 0x5a827999], ecx
add dword [eax], ecx
mov eax, dword [ebp + 0xc]
ror dword [eax], 2
inc dword [ebp + 0x10]
add edx, 0x14
mov eax, 0x41f4c6
cmp edx, eax
invalid
Function at 0x412768
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [ebp - 4], 0xffffffd7
sub dword [ebp - 4], esi
mov byte [esi - 0x7fffff56], cl
lea eax, [esi + 0x2a]
mov dword [ebp - 8], 0x80
movzx edx, byte [esi + ecx + 4]
mov edi, dword [ebp - 4]
xor ebx, ebx
add edi, eax
cmp edx, edi
setl bl
add ecx, ebx
mov byte [eax], cl
inc eax
dec dword [ebp - 8]
jne 0x412738
pop edi
pop esi
pop ebx
leave
ret
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
movzx ebx, byte [eax + esi + 0x29]
mov eax, dword [ebp + 0x10]
movzx edx, byte [eax + esi + 0x29]
mov dword [ebp + 0xc], ebx
cmp ebx, edx
cmc
add eax, 0xeb08458b
inc esp
lea ecx, [esi + edx*4 + 0xb8]
push edi
mov edi, dword [ecx]
test edi, edi
je 0x4127af
mov ebx, dword [ebp + 8]
imul eax, eax, 0xc
mov edx, dword [edi]
jo 0x412806
ja 0x41271e
adc eax, ebp
enter 0xffffffffffffffba, 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
lea eax, [esi + eax*4 + 0xb8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov dword [eax], ebx
mov eax, edi
jmp 0x4127be
push edx
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0041258e
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
add edx, ebx
lea ecx, [ecx + edx*2 + 0x200004f8]
mov edx, dword [esi + 0x664]
sar edx, 0x1a
and edx, 0x20
add ecx, edx
movzx edx, byte [esi + 0xa6d]
add ecx, edx
movzx eax, al
lea edx, [esi + 0x40004a70]
shr dword [edx + 8], 0xe
mov ebp, dword [edx + 8]
add ecx, eax
mov eax, dword [edx + 4]
sub eax, dword [edx]
xor edx, edx
div ebp
lea ecx, [esi + ecx*2]
movzx ebx, word [ecx]
cmp eax, ebx
jae 0x412891
mov dword [esi + 0x200650], edi
mov al, byte [edi + 1]
cmp al, 0x80
setb dl
add dl, al
mov byte [edi + 1], dl
and dword [esi + 0x427c], 0
movzx eax, word [ecx]
mov dword [esi + 0x4a80], eax
movzx eax, word [ecx]
movzx edx, ax
add edx, 0x20
sar edx, 7
sub eax, edx
sub eax, 0xffffff80
mov word [ecx], ax
inc dword [esi + 0x664]
mov byte [esi + 0xa6d], 1
jmp 0x4128ed
mov dword [esi + 0x4a7c], ebx
movzx eax, word [ecx]
movzx edx, ax
add edx, 0x20
sar edx, 7
sub eax, edx
mov word [ecx], ax
mov dword [esi + 0x4a80], 0x4000
movzx eax, word [ecx]
mov cl, byte [esi + 0xa6c]
shr eax, 0xa
movzx eax, byte [eax + 0x4127e0]
mov dword [esi + 0x658], eax
mov dword [esi + 0x654], 1
movzx eax, byte [edi]
mov byte [eax + esi + 0x66c], cl
and dword [esi + 0x650], 0
mov byte [esi + 0x4a6d], 0
pop edi
pop esi
pop ebp
pop ebx
ret 4

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

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

Disassembly:
push 0xffffffffffffffff
push 0x46ab8b
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.0045f7ae
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ab62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d52d
mov eax, dword [eax]
push 0x5ad1c0
push eax
call fcn.00450394
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045fa39
test bl, bl
je 0x40ab62
push 0x5ad1c0
lea ecx, [esp + 0xc]
call fcn.0045fdc9
push 0x5b0d34
lea ecx, [esp + 0xc]
call fcn.0045fdc9
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 0x40ab9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045fa39
jmp 0x40ac69
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 0x40ac22
lea edx, [esp + 0x7c]
push 0x5b0d30
push edx
call fcn.00450394
add esp, 8
test eax, eax
je 0x40ac22
lea eax, [esp + 0x7c]
push 0x5b0d2c
push eax
call fcn.00450394
add esp, 8
test eax, eax
je 0x40ac22
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 0x40abb2
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.0045fa39
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 0x40b460
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 0x40b4c2
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 0x40b4d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ac0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b7230]
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 0x40b608
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b536
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fa39
xor eax, eax
jmp 0x40b67f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045fb76
push esi
lea ecx, [esp + 0xc]
call fcn.0045fe05
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 0x40b65d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040b460
test eax, eax
jne 0x40b65d
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.0040b460
test eax, eax
jne 0x40b65d
lea eax, [esp + 0x14]
push 0x5b0d48
push eax
call fcn.004513d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b63c
lea ecx, [esp + 0x14]
push 0x5b0d44
push ecx
call fcn.00451350
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b63c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b63f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045fb26
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b54e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fa39
xor eax, eax
jmp 0x40b67f
mov byte [esi], 0
push 0x5b0d40
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.0045fa39
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