joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fc680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.004f5340
push 0x100
push 0x1000
lea ecx, [esi + 0x44]
call fcn.004f4c00
push 0x100
push 0x1000
lea ecx, [esi + 0x64]
call fcn.004f50a0
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
dec eax
mov dword [ebp + 0x1c], eax
inc eax
push eax
call fcn.004f5320
test al, al
je 0x4fc810
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x4fc810
mov ecx, dword [ebp + 8]
cmp ecx, 0x400
jl 0x4fc810
lea eax, [esi + 8]
push eax
push ecx
call fcn.004f52e0
test al, al
je 0x4fc810
mov eax, dword [ebp + 0xc]
cmp eax, 0x80
jl 0x4fc810
lea ebx, [esi + 0x24]
push ebx
push eax
call fcn.004f52e0
test al, al
je 0x4fc810
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 8]
mov edx, 0x20
sub edx, ecx
mov dword [esi + 0xc], edx
mov dl, byte [ebp + 0x18]
mov eax, 1
shl eax, cl
mov cl, byte [ebp + 0x14]
mov byte [esi + 0x10], cl
mov byte [esi + 0x11], dl
mov ecx, 0xffffffff
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebx]
mov edx, 0x20
sub edx, ecx
mov dword [esi + 0x28], edx
dec eax
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
dec edx
add ecx, eax
mov dword [ebx], edx
mov edx, dword [ebp + 0x20]
push 0
shl ecx, 3
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
push ecx
mov dword [esi + 0x20], 0
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edx
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
mov ecx, dword [esi + 4]
lea edx, [eax + ecx*8]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
je 0x4fc7fb
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jle 0x4fc7c6
mov eax, dword [esi + 0x30]
lea ecx, [eax + edi*8]
test ecx, ecx
je 0x4fc7c1
call fcn.004f4a60
inc edi
cmp edi, ebx
jl 0x4fc7b2
mov ecx, dword [esi + 0x14]
xor eax, eax
test ecx, ecx
jle 0x4fc7eb
nop
mov ecx, dword [esi + 0x34]
lea ecx, [ecx + eax*8]
mov dword [ecx], 0xffffffff
mov dword [ecx + 4], 0xffffffff
mov ecx, dword [esi + 0x14]
inc eax
cmp eax, ecx
jl 0x4fc7d0
pop edi
mov dword [esi + 0x78], 0
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c
push 1
push 0x4a417ab0
call fcn.004f5080
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c
push 1
push 0x4a417a88
call fcn.004f5080
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c
Function at 0x4fc830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x3c]
mov dword [ebp + 8], eax
mov al, byte [edi + 0x20]
test al, al
je 0x4fc890
call dword [0x4a411164]
cmp eax, dword [edi + 4]
je 0x4fc890
lea edx, [esi + 0x44]
lea edi, [edx + 0xc]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov eax, 1
lock xadd dword [ecx], eax
inc eax
lea ecx, [edx + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov eax, 1
lock xadd dword [ecx], eax
inc eax
cmp dword [edi], 1
je 0x4fc890
push 0xffffffffffffffff
mov ecx, edx
call fcn.004f4e50
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
imul edx, edx, 0xb0b38edb
mov al, byte [esi + 0x10]
shr edx, cl
and edx, dword [esi + 8]
test al, al
mov eax, dword [esi + 0x30]
lea ecx, [eax + edx*8]
push ecx
lea ecx, [ebx + 0x10]
je 0x4fc8b5
lea ecx, [ebx + 0x18]
call fcn.004f4a80
mov edx, dword [esi + 0x20]
cmp edx, dword [esi + 0x2c]
jl 0x4fc91f
mov ebx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
mov dword [ebp - 4], ecx
jg 0x4fc8d6
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x24]
xor edx, edx
test eax, eax
jle 0x4fc91f
nop
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
not ecx
add eax, edx
and eax, ecx
mov ecx, dword [esi + 0x28]
mov edi, eax
imul edi, edi, 0xb0b38edb
shr edi, cl
and edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x34]
lea ecx, [ecx + edi*8]
cmp eax, dword [ecx]
jne 0x4fc913
mov dword [ecx], 0xffffffff
mov dword [ecx + 4], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x24]
add edx, ecx
cmp edx, eax
jl 0x4fc8e0
mov ecx, dword [esi + 0x78]
mov edi, dword [esi + 0x3c]
dec ecx
mov dword [esi + 0x78], ecx
mov al, byte [edi + 0x20]
test al, al
je 0x4fc979
call dword [0x4a411164]
cmp eax, dword [edi + 4]
je 0x4fc979
lea edx, [esi + 0x44]
lea eax, [edx + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
lea ecx, [edx + 0xc]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
mov eax, dword [edx + 0x1c]
test eax, eax
jg 0x4fc972
mov eax, dword [edx + 0x14]
test eax, eax
jle 0x4fc979
mov ecx, edx
call fcn.004f4d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fd6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x20]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x3c]
mov al, byte [edi + 0x20]
test al, al
mov dword [ebp - 8], ebx
je 0x4fd712
call dword [0x4a411164]
cmp eax, dword [edi + 4]
je 0x4fd712
lea edx, [esi + 0x44]
lea edi, [edx + 0xc]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov eax, 1
lock xadd dword [ecx], eax
inc eax
lea ecx, [edx + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov eax, 1
lock xadd dword [ecx], eax
inc eax
cmp dword [edi], 1
je 0x4fd712
push 0xffffffffffffffff
mov ecx, edx
call fcn.004f4e50
mov ecx, dword [esi + 0xc]
mov al, byte [esi + 0x10]
mov edx, ebx
imul edx, edx, 0xb0b38edb
shr edx, cl
and edx, dword [esi + 8]
test al, al
mov eax, dword [esi + 0x30]
lea ecx, [eax + edx*8]
push ecx
mov ecx, dword [ebp + 8]
jne 0x4fd738
add ecx, 0x10
jmp 0x4fd73b
add ecx, 0x18
call fcn.004f4ae0
mov edx, dword [esi + 0x20]
cmp edx, dword [esi + 0x2c]
jl 0x4fd7a4
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x34]
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
mov dword [ebp - 4], ecx
jg 0x4fd75f
inc eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x24]
xor edx, edx
test eax, eax
jle 0x4fd7a4
jmp 0x4fd770
mov ebx, dword [ebp - 8]
lea ecx, [ecx]
mov ecx, dword [esi + 0x1c]
lea eax, [edx + ebx]
not ecx
and eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, eax
imul ebx, ebx, 0xb0b38edb
shr ebx, cl
and ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x34]
lea ecx, [ecx + ebx*8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x24]
add edx, ecx
cmp edx, eax
jl 0x4fd76a
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 4]
inc eax
mov dword [esi + 0x78], eax
mov edi, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
cmp eax, ecx
jle 0x4fd7c8
mov ecx, esi
call fcn.004fd2d0
mov edi, dword [esi + 0x3c]
mov al, byte [edi + 0x20]
test al, al
je 0x4fd81b
call dword [0x4a411164]
cmp eax, dword [edi + 4]
je 0x4fd81b
add esi, 0x44
lea ecx, [esi + 8]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
lea edx, [esi + 0xc]
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 8]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
mov eax, dword [esi + 0x1c]
test eax, eax
jg 0x4fd814
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x4fd81b
mov ecx, esi
call fcn.004f4d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53196d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov eax, ecx
dec ecx
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
test eax, eax
je 0x5319ef
inc ecx
mov ebx, dword [esi]
add esi, 4
mov eax, ebx
shr ebx, 8
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x13570]
xor edx, edi
mov eax, ebx
shr ebx, 8
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x13570]
xor edx, edi
mov eax, ebx
shr ebx, 8
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x13570]
xor edx, edi
mov eax, ebx
xor eax, edx
and eax, 0xff
shr edx, 8
mov edi, dword [eax*4 + 0x13570]
xor edx, edi
dec ecx
jne 0x53198a
mov dword [ebp + 8], edx
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
je 0x531a1d
mov eax, dword [ebp - 4]
movzx esi, byte [ebp + 8]
movzx edx, byte [eax]
xor edx, esi
mov esi, dword [ebp + 8]
shr esi, 8
xor esi, dword [edx*4 + 0x13570]
inc eax
dec ecx
mov dword [ebp + 8], esi
jne 0x531a00
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
leave
ret 0x10

Function at 0x531b7c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea edx, [esi + eax]
mov bl, byte [edx]
and bl, 0xfe
mov al, bl
shr al, 4
xor al, bl
and al, 0xf
mov cl, al
shr cl, 2
xor cl, al
and cl, 3
mov al, cl
shr al, 1
not al
xor al, cl
and al, 1
or al, bl
inc esi
cmp esi, 8
mov byte [edx], al
jb 0x531b85
pop esi
pop ebx
pop ebp
ret 4
Function at 0x53214c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x134ac]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x40
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x20]
push esi
push edi
mov dword [ebp - 0x14c], eax
jbe 0x53218b
push 0x40
pop ebx
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, edx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, edx
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
xor dword [ebp + eax - 0x44], 0x36363636
xor dword [ebp + eax - 0x84], 0x5c5c5c5c
add eax, 4
cmp eax, 0x40
jb 0x5321d1
lea eax, [ebp - 0x140]
push eax
call fcn.0053fe40
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0053fe80
cmp dword [ebp + 0x14], 0
je 0x532225
push dword [ebp + 0x14]
lea eax, [ebp - 0x140]
push dword [ebp - 0x144]
push eax
call fcn.0053fe80
cmp dword [ebp + 0x1c], 0
je 0x532240
push dword [ebp + 0x1c]
lea eax, [ebp - 0x140]
push dword [ebp - 0x148]
push eax
call fcn.0053fe80
lea eax, [ebp - 0x140]
push eax
call fcn.0053ffc0
push 0x10
pop ecx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0xd4]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x140]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0053fe40
push 0x50
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0053fe80
lea eax, [ebp - 0x140]
push eax
call fcn.0053ffc0
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0xe8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebx
call fcn.005312cf
leave
ret 0x1c
Function at 0x53235a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14c
cmp edx, 0x40
mov eax, dword [0x134ac]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
jbe 0x532390
push 0x40
pop edx
push esi
push edi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov ecx, edx
mov eax, ecx
shr ecx, 2
mov esi, ebx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
mov ecx, edx
mov eax, ecx
shr ecx, 2
mov esi, ebx
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
xor dword [ebp + eax - 0x44], 0x36363636
xor dword [ebp + eax - 0x84], 0x5c5c5c5c
add eax, 4
cmp eax, 0x40
jb 0x5323d8
lea eax, [ebp - 0x140]
push eax
call fcn.0053fe40
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0053fe80
cmp dword [ebp + 0xc], 0
je 0x53242c
push dword [ebp + 0xc]
lea eax, [ebp - 0x140]
push dword [ebp - 0x144]
push eax
call fcn.0053fe80
cmp dword [ebp + 0x14], 0
je 0x532447
push dword [ebp + 0x14]
lea eax, [ebp - 0x140]
push dword [ebp - 0x148]
push eax
call fcn.0053fe80
lea eax, [ebp - 0x140]
push eax
call fcn.0053ffc0
push 0x10
pop ecx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0xd4]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x140]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0053fe40
push 0x50
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.0053fe80
lea eax, [ebp - 0x140]
push eax
call fcn.0053ffc0
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0xe8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov al, 1
pop esi
call fcn.005312cf
leave
ret 0x14
Function at 0x53deb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor edx, edx
xor ecx, ecx
push esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ebx, dword [esp + 0x14]
push ebp
mov cl, byte [esi + 0x100]
mov ebp, ebx
mov dl, byte [esi + 0x101]
test ebx, ebx
je 0x53dfeb
shr ebx, 2
and eax, 3
test ebx, ebx
je 0x53dfc0
test eax, eax
jne 0x53dfc0
mov eax, edi
lea edi, [edi + ebx*4]
mov dword [esp + 0x1c], edi
sub eax, 4
mov ebp, ebx
mov edi, dword [eax + 4]
inc ecx
xor eax, eax
and ecx, 0xff
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 8
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
inc ecx
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x10
xor edi, eax
and ecx, 0xff
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, 0xff
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov al, byte [esi + eax]
shl eax, 0x18
lea ebx, [ebp*4]
xor edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [eax], edi
dec ebp
jne 0x53df00
mov ebp, dword [esp + 0x18]
and ebp, 3
test ebp, ebp
je 0x53dfeb
lea edi, [eax + 4]
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x53dfc0
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x53e570
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4

Function at 0x53fe40
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4
Function at 0x40173c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004018ec
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40183a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4017dd
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401820
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4017f4
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40180f
test al, 0x40
je 0x401806
mov ecx, dword [edi + 0x20]
jmp 0x40180d
test al, 0x80
je 0x401820
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401820
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4017ac
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x415670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48610b
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.0047a6f3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4156f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00477c5d
mov eax, dword [eax]
push 0x6b51d0
push eax
call fcn.00469b34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047a97e
test bl, bl
je 0x4156f2
push 0x6b51d0
lea ecx, [esp + 0xc]
call fcn.0047ad0e
push 0x6b8dbc
lea ecx, [esp + 0xc]
call fcn.0047ad0e
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 0x41572e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047a97e
jmp 0x4157f9
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 0x4157b2
lea edx, [esp + 0x7c]
push 0x6b8db8
push edx
call fcn.00469b34
add esp, 8
test eax, eax
je 0x4157b2
lea eax, [esp + 0x7c]
push 0x6b8db4
push eax
call fcn.00469b34
add esp, 8
test eax, eax
je 0x4157b2
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 0x415742
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.0047a97e
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 0x415ff0
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 0x416052
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 0x416060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48618b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6bf9ac]
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 0x416198
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4160c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a97e
xor eax, eax
jmp 0x41620f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047aabb
push esi
lea ecx, [esp + 0xc]
call fcn.0047ad4a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6b8df4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4161ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SQLAllocStmt
call fcn.00415ff0
test eax, eax
jne 0x4161ed
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 SQLAllocStmt
mov ecx, edi
call fcn.00415ff0
test eax, eax
jne 0x4161ed
lea eax, [esp + 0x14]
push 0x6b8dd0
push eax
call fcn.0046acd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4161cc
lea ecx, [esp + 0x14]
push 0x6b8dcc
push ecx
call fcn.0046ac50
mov esi, eax
add esp, 8
test esi, esi
jne 0x4161cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4161cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047aa6b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4160de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a97e
xor eax, eax
jmp 0x41620f
mov byte [esi], 0
push 0x6b8dc8
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.0047a97e
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