joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414720
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47a3bc
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x49c500]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.boost::asio::detail::select_reactor.0
mov ecx, esi
mov dword [esp + 0x14], 4
call fcn.004147c0
push 0x413f50
push 3
push 0xc
lea eax, [esi + 0xc8]
push eax
mov byte [esp + 0x24], 3
call fcn.00452cfb
push 0x414710
push 4
push 0x24
lea ecx, [esi + 0x38]
push ecx
mov byte [esp + 0x24], 2
call fcn.00452cfb
lea edi, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004144a0
lea edx, [esi + 0x18]
push edx
call dword [0x47d304]
mov dword [esi], vtable.boost::asio::io_service::service.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x416261
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 8], eax
jl 0x416296
test eax, eax
jle 0x416299
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, eax
movzx ebx, dl
add esi, 0xffffffff
lea ecx, [ecx]
movzx ecx, dl
sub ecx, ebx
add ecx, ebp
and ecx, 0x7f
mov cl, byte [ecx + 0x49dfdc]
xor cl, byte [edx]
add esi, 1
add edx, 1
sub edi, 1
mov byte [esi], cl
jne 0x416270
pop edi
pop esi
pop ebp
pop ebx
ret 8
or eax, 0xffffffff
ret 8

Function at 0x4162a0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x14], edi
jl 0x41630b
test edi, edi
jle 0x416312
mov ecx, dword [ecx + 0x18]
cmp ecx, 0xffffffff
mov eax, 0x84
jne 0x4162c3
mov eax, 0x7cb
jmp 0x4162cd
cmp ecx, 0xfffffff1
jne 0x4162cd
mov eax, 0x7c2
push ebx
push ebp
movsx ebp, byte [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
movzx ebx, dl
add esi, 0xffffffff
nop
movzx ecx, dl
sub ecx, ebx
add ecx, ebp
and ecx, 0x7f
mov cl, byte [ecx + eax + 0x49dfd8]
xor cl, byte [edx]
add esi, 1
add edx, 1
sub edi, 1
mov byte [esi], cl
jne 0x4162e0
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
pop edi
ret 0x10
or eax, 0xffffffff
pop edi
ret 0x10
mov eax, edi
pop edi
ret 0x10

Function at 0x416331
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 8], eax
jl 0x416366
test eax, eax
jle 0x416369
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, eax
movzx ebx, dl
add esi, 0xffffffff
lea ecx, [ecx]
movzx ecx, dl
sub ecx, ebx
add ecx, ebp
and ecx, 0x7f
mov cl, byte [ecx + 0x49e0dc]
xor cl, byte [edx]
add esi, 1
add edx, 1
sub edi, 1
mov byte [esi], cl
jne 0x416340
pop edi
pop esi
pop ebp
pop ebx
ret 8
or eax, 0xffffffff
ret 8

Function at 0x416420
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
test esi, esi
mov dl, byte [0x49e260]
push edi
mov ebx, eax
mov edi, ecx
je 0x416459
test edi, edi
je 0x416459
test ebx, ebx
je 0x416459
sub edi, esi
lea ecx, [ecx]
mov cl, byte [esi]
mov al, cl
xor al, dl
mov byte [edi + esi], al
add dl, cl
add esi, 1
sub ebx, 1
jne 0x416440
pop edi
pop esi
mov al, 1
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x416460
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x4164ac
test eax, eax
jle 0x4164af
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e261]
sub bl, dl
xor bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416480
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x4164c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x41650c
test eax, eax
jle 0x41650f
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e2e1]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x4164e0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x416570
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x4165bc
test eax, eax
jle 0x4165bf
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e3e1]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416590
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x4165d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x41661c
test eax, eax
jle 0x41661f
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e461]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x4165f0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x416630
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x41667c
test eax, eax
jle 0x41667f
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e4e1]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416650
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc
Function at 0x416690
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x4166dc
test eax, eax
jle 0x4166df
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e561]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x4166b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x4166f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x41673c
test eax, eax
jle 0x41673f
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e5e1]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416710
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x416750
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x41679c
test eax, eax
jle 0x41679f
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e661]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416770
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x4167b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x4167fc
test eax, eax
jle 0x4167ff
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e6e1]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x4167d0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc

Function at 0x416810
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x41685c
test eax, eax
jle 0x41685f
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e761]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416830
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc
Function at 0x416870
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp dword [esp + 0xc], eax
jl 0x4168bc
test eax, eax
jle 0x4168bf
push ebx
push ebp
movsx ebp, byte [esp + 0xc]
push esi
mov esi, edx
push edi
movzx edi, cl
sub esi, ecx
mov edi, edi
mov bl, byte [ecx]
movzx edx, cl
sub edx, edi
add edx, ebp
and edx, 0x7f
mov dl, byte [edx + 0x49e7e1]
xor bl, dl
sub bl, dl
mov byte [esi + ecx], bl
add ecx, 1
sub eax, 1
jne 0x416890
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
or eax, 0xffffffff
ret 0xc
Function at 0x418250
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.0043686e
push 0
push 0x3f9
mov ecx, esi
call fcn.00436e7a
mov ecx, eax
call fcn.0043704d
push esi
push 0
push 0x417e60
call fcn.0045377d
add esp, 0xc
cmp eax, 1
jae 0x41829c
push 0
push 0
push 0x4851b8
call fcn.0043f605
mov eax, dword [esi]
mov edx, dword [eax + 0x154]
mov ecx, esi
call edx
mov eax, dword [esi + 0x20]
push 0
push 0x64
push 1
push eax
call dword [0x47d500]
mov eax, 1
pop esi
ret

Function at 0x418870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4783d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x49c500]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor ebx, ebx
push ebx
push 0x484610
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.004033a0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00403d40
mov byte [esp + 0x30], 2
cmp dword [esp + 0x24], 0x10
jb 0x4188e3
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00436400
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x2c], eax
mov dword [esi], vtable.boost::system::system_error.0
mov dword [esi + 0x28], edx
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x44], ebx
mov byte [esi + 0x34], bl
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 0xc
Function at 0x41e6f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47a8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x49c500]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x24], eax
mov ax, word [esi + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0xc]
mov word [esp + 0x40], ax
mov eax, dword [esi + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call fcn.0043d19f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e7a1
push 0x80004005
call fcn.004019f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], 0
mov ecx, dword [edi + 0x2348]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sCookie:_s_r_n
push eax
call fcn.00401ad0
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.0041d630
mov bl, al
lea eax, [esi - 0x10]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e813
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4312d0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
mov esi, eax
je 0x4314ae
test esi, esi
je 0x4314ae
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4314ae
mov ebx, dword [esp + 0x20]
mov eax, ebx
call fcn.00431200
cmp dword [ebp], eax
jl 0x4314ae
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx*4]
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
xor eax, eax
test ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
mov ebp, 0x13
mov dword [esp + 0x14], eax
jl 0x431414
cmp eax, ebx
jne 0x43136d
mov edx, ebx
imul edx, edx, 0x4c
lea eax, [ecx*4]
sub eax, edx
cdq
and edx, 3
add eax, edx
mov ebp, eax
sar ebp, 2
test ebp, ebp
jle 0x4313d8
mov eax, ebp
movzx edx, byte [edi + 2]
xor ecx, ecx
mov ch, byte [edi]
add edi, 3
add esi, 4
mov cl, byte [edi - 2]
shl ecx, 8
or ecx, edx
shl ecx, 8
mov edx, ecx
shr edx, 0x1a
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 4], dl
shl ecx, 6
mov edx, ecx
shr edx, 0x1a
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shl ecx, 6
mov byte [esi - 3], dl
mov edx, ecx
shr edx, 0x1a
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr ecx, 0x14
and ecx, 0x3f
sub eax, 1
mov byte [esi - 2], dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 1], cl
jne 0x431373
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [edx + ebp*4]
add eax, 2
mov byte [esi], 0xd
add esi, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add eax, 1
mov byte [esi], 0xa
add esi, 1
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x431352
cmp dword [esp + 0x10], 0
je 0x431414
sub esi, 2
sub dword [esp + 0x10], 2
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x20]
sub ecx, eax
je 0x431497
lea ebp, [ecx + 1]
test ebp, ebp
je 0x431497
xor eax, eax
test ecx, ecx
jle 0x431432
movzx eax, byte [edi]
add edi, 1
shl eax, 8
cmp ecx, 1
jle 0x431442
movzx edx, byte [edi]
or eax, edx
add edi, 1
shl eax, 8
cmp ecx, 2
jle 0x43144f
movzx ecx, byte [edi]
or eax, ecx
shl eax, 8
test ebp, ebp
jle 0x431478
mov ecx, ebp
jmp 0x431460
mov edx, eax
shr edx, 0x1a
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], dl
add esi, 1
shl eax, 6
sub ecx, 1
jne 0x431460
add dword [esp + 0x10], ebp
mov edi, 4
sub edi, ebp
test edi, edi
jle 0x431493
push edi
push 0x3d
push esi
call fcn.00455e50
add esp, 0xc
add dword [esp + 0x10], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x46d690
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x476fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x49c500]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x46d610
push 0
push 0
call fcn.004533b5
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x46d6fb
lea ecx, [esp + 0x10]
call fcn.00452787
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00406030
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x46d721
cmp eax, 0xffffffff
je 0x46d721
push eax
call dword [0x47d338]
mov dword [esi], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [0x47d1d4]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x471f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor esi, esi
mov edx, 0x4a52e0
mov eax, esi
mov ecx, 8
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec ecx
jne 0x471f50
mov dword [edx], eax
add edx, 4
inc esi
cmp edx, 0x4a56e0
jb 0x471f49
cmp esi, 0x800
jae 0x471faa
lea ecx, [esi*4 + 0x4a52e0]
mov eax, dword [ecx - 0x400]
add ecx, 4
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x4a52e0]
xor edx, eax
cmp ecx, 0x4a72e0
mov dword [ecx - 4], edx
jb 0x471f82
mov dword [0x4a3ca4], fcn.00472ca0
call fcn.00472e80
pop edi
pop esi
test eax, eax
jne 0x471fc9
mov dword [0x4a3ca4], 0x472d50
ret
Function at 0x409030
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x478f9b
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.0046b9cc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4090b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004691b0
mov eax, dword [eax]
push 0x70f210
push eax
call fcn.0045af84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046bc57
test bl, bl
je 0x4090b2
push 0x70f210
lea ecx, [esp + 0xc]
call fcn.0046c033
push 0x712d74
lea ecx, [esp + 0xc]
call fcn.0046c033
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 0x4090ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046bc57
jmp 0x4091b9
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 0x409172
lea edx, [esp + 0x7c]
push 0x712d70
push edx
call fcn.0045af84
add esp, 8
test eax, eax
je 0x409172
lea eax, [esp + 0x7c]
push 0x712d6c
push eax
call fcn.0045af84
add esp, 8
test eax, eax
je 0x409172
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 0x409102
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.0046bc57
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 0x4099b0
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 0x409a12
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 0x409a20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47901b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x71a2d0]
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 0x409b58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409a86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046bc57
xor eax, eax
jmp 0x409bcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046bde0
push esi
lea ecx, [esp + 0xc]
call fcn.0046c06f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x712dac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409bad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004099b0
test eax, eax
jne 0x409bad
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.004099b0
test eax, eax
jne 0x409bad
lea eax, [esp + 0x14]
push 0x712d88
push eax
call fcn.0045c060
mov esi, eax
add esp, 8
test esi, esi
jne 0x409b8c
lea ecx, [esp + 0x14]
push 0x712d84
push ecx
call fcn.0045bfe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409b8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409b8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046bd90
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409a9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046bc57
xor eax, eax
jmp 0x409bcf
mov byte [esi], 0
push 0x712d80
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.0046bc57
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