joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x4096ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4096ba
lcall 0x5de5, 0x8b10c483
jmp loc.0078577c
Function at 0x4078cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x4529c5
call fcn.00437ac6
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x214]
and dword [ebp - 0x18], 0
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.0040163e
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Path
push str.SOFTWAREShadow_Defender
push 0x80000002
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], 0x208
call dword [0x456434]
mov esi, 0x104
test eax, eax
je 0x407963
push esi
lea eax, [ebp]
push eax
push 0
call dword [0x456348]
lea eax, [ebp]
push 0x5c
push eax
call fcn.00438802
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
push 0x457ee4
lea eax, [ebp]
push esi
push eax
call fcn.0043882e
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push dword [ebp]
call fcn.0044ead0
test eax, eax
je 0x40799c
cmp dword [ebp - 0x2c], 1
jne 0x40799c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push eax
mov dword [ebp - 0x14], esi
call fcn.0044f650
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.004018bf
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00437ab7
add ebp, 0x20c
leave
ret 4

Function at 0x407a27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x452a20
call fcn.00437ac6
lea ecx, [ebp - 0x14]
call fcn.0040163e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
call fcn.0040163e
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Path
push str.SOFTWAREShadow_Defender
push 0x80000002
mov dword [ebp - 0x1c], 0x208
call dword [0x456434]
mov esi, 0x104
test eax, eax
je 0x407ab3
push esi
lea eax, [ebp]
push eax
push ebx
call dword [0x456348]
lea eax, [ebp]
push 0x5c
push eax
call fcn.00438802
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
push 0x457ee4
lea eax, [ebp]
push esi
push eax
call fcn.0043882e
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.004018bf
lea eax, [ebp - 0x30]
push eax
push dword [ebp]
call fcn.0044ead0
test eax, eax
je 0x407b1f
cmp dword [ebp - 0x2c], 1
jne 0x407b1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push eax
mov dword [ebp - 0x18], esi
call fcn.0044f650
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004018bf
push 0x80
push dword [ebp - 0x10]
call dword [0x456380]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [0x456384]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00401668
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401668
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00437ab7
add ebp, 0x20c
leave
ret
Function at 0x407b59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x120c]
mov eax, 0x120c
call fcn.00438a10
push 0xffffffffffffffff
push 0x452a69
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp + 0x1208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x1214]
mov esi, ecx
add esi, 0xb8
mov dword [ebp - 0x14], eax
mov ecx, dword [esi]
mov dword [ebp - 0x1c], ebx
cmp dword [ecx - 0xc], eax
jne 0x407c32
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Path
push str.SOFTWAREShadow_Defender
push 0x80000002
mov dword [ebp - 0x18], 0x208
call dword [0x456434]
mov edi, 0x104
test eax, eax
je 0x407c0f
push edi
lea eax, [ebp + 0x1000]
push eax
push 0
call dword [0x456348]
lea eax, [ebp + 0x1000]
push 0x5c
push eax
call fcn.00438802
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
push str._res.ini
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.0043882e
add esp, 0xc
lea eax, [ebp + 0x1000]
push eax
mov ecx, esi
call fcn.004018bf
lea ecx, [ebp - 0x10]
call fcn.0040163e
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push dword [ebp + 0x1218]
lea eax, [ebp - 0x10]
push 0x457fa8
push eax
call fcn.004018e4
add esp, 0xc
push dword [esi]
lea eax, [ebp]
push 0x1000
push eax
push 0x4569a0
push dword [ebp - 0x10]
push str.common
call dword [0x456344]
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.00402adb
push 0x457fa4
push 0x457f9c
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.004076d4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401668
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1208]
xor ecx, ebp
call fcn.00437ab7
add ebp, 0x120c
leave
ret 8
Function at 0x407cc7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452ac3
mov eax, dword fs:[0]
push eax
mov eax, 0x121c
call fcn.00438a10
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x1224], edi
mov dword [ebp - 0x121c], edx
mov dword [ebp - 4], 2
lea esi, [eax + 0xb8]
mov eax, dword [esi]
cmp dword [eax - 0xc], edx
jne 0x407dac
lea eax, [ebp - 0x1220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1228]
push eax
push str.Path
push str.SOFTWAREShadow_Defender
push 0x80000002
mov dword [ebp - 0x1220], 0x208
call dword [0x456434]
mov ebx, 0x104
test eax, eax
je 0x407d89
push ebx
lea eax, [ebp - 0x218]
push eax
push 0
call dword [0x456348]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00438802
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
push str._res.ini
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0043882e
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004018bf
push dword [esi]
lea eax, [ebp - 0x1218]
push 0x1000
push eax
push 0x4569a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x456344]
lea eax, [ebp - 0x1218]
push eax
mov ecx, edi
call fcn.00402adb
push 0x457fa4
push 0x457f9c
mov ecx, edi
mov dword [ebp - 0x121c], 1
call fcn.004076d4
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00401668
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00401668
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437ab7
leave
ret 0xc
Function at 0x40dc6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push ecx
push eax
call dword [0x456028]
mov edi, eax
test edi, edi
jne 0x40dce3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call dword [0x45602c]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [0x45632c]
push dword [ebp - 0x210]
call dword [0x456030]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00437ab7
leave
ret 0xc

Function at 0x40dcf5
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3f0]
sub esp, 0x470
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp + 0x3ec], eax
mov eax, dword [ebp + 0x3f8]
push ebx
push esi
push edi
push dword [ebp + 0x3fc]
xor edi, edi
push edi
push edi
push eax
push str.open
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
call dword [0x456428]
cmp eax, 0x20
ja 0x40de08
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push str..htm
mov ebx, 0x80000000
push ebx
call fcn.0040dc6d
test eax, eax
jne 0x40de08
mov esi, dword [0x456320]
push str._shellopencommand
lea eax, [ebp - 0x24]
push eax
call esi
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push eax
push ebx
call fcn.0040dc6d
test eax, eax
jne 0x40de08
lea eax, [ebp - 0x24]
push str.__1_
push eax
call fcn.0043877b
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x40ddc1
lea eax, [ebp - 0x24]
push 0x4592cc
push eax
call fcn.0043877b
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x40ddc1
lea eax, [ebp - 0x24]
push eax
call dword [0x456324]
lea ebx, [ebp + eax*2 - 0x26]
jmp 0x40ddc6
xor eax, eax
mov word [ebx], ax
push 0x4592c8
push ebx
call esi
push dword [ebp - 0x2c]
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x24]
push eax
push edi
mov dword [ebp - 0x80], 0x44
call dword [0x456328]
test eax, eax
je 0x40de0b
push dword [ebp - 0x38]
mov esi, dword [0x45636c]
call esi
push dword [ebp - 0x3c]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x3ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437ab7
add ebp, 0x3f0
leave
ret 8

Function at 0x40fbdb
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00438690
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x413f53
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5d0
mov eax, 0x454078
call fcn.00437b2f
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x5c4]
call fcn.004102ed
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x528]
push eax
call dword [0x456390]
lea eax, [ebp - 0x5dc]
push eax
push dword [ebp - 0x528]
call fcn.0044ead0
cmp dword [ebp - 0x5d8], 1
jne 0x41405e
lea eax, [ebp - 0x220]
push eax
call fcn.0044ec90
push esi
lea eax, [ebp - 0x220]
push 0x100
push eax
call fcn.0043882e
lea eax, [ebp - 0x220]
push eax
call fcn.00437f92
add esp, 0x10
add eax, eax
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.004102ff
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.004103a4
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push 0x40
push edi
call fcn.004389cb
xor esi, esi
add esp, 0x4c
inc esi
jmp 0x4140c3
push 0x457d74
push 0x457d28
lea eax, [ebp - 0x320]
push 0x80
push eax
mov dword [ebp - 0x5c8], 0x200
call fcn.004389cb
add esp, 0x10
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x5cc]
push eax
push 0x457d1c
lea eax, [ebp - 0x320]
push eax
push 0x80000002
call dword [0x456434]
test eax, eax
je 0x413fb4
push eax
call dword [0x45634c]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c4]
call fcn.0040fb10
mov eax, esi
call fcn.00437bb2
ret
Function at 0x4141ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x10c
lea ebp, [esp - 4]
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp + 0x10c], eax
push 0x3c
mov eax, 0x4540a8
call fcn.00437af9
mov eax, dword [ebp + 0x118]
mov ebx, dword [ebp + 0x11c]
push 0x19
push eax
push 0x20
pop esi
push esi
lea eax, [ebp + 0x9c]
push eax
call fcn.00438388
xor eax, eax
mov word [ebp + 0xce], ax
push esi
lea eax, [ebp + 0x9c]
push eax
call fcn.004392e4
lea eax, [ebp + 0x9c]
push eax
call fcn.00437f92
add esp, 0x1c
xor edi, edi
cmp eax, 0x19
jne 0x414301
push edi
push edi
push esi
lea eax, [ebp + 0xdc]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x9c]
push eax
push 0x200
push edi
call dword [0x4562b0]
push str.V100
push esi
lea eax, [ebp + 0xdc]
push eax
call fcn.0043908b
add esp, 0xc
lea ecx, [ebp]
call fcn.004102ed
mov dword [ebp - 4], edi
lea eax, [ebp + 0xdc]
push eax
call fcn.00439000
pop ecx
sub eax, 0x10
push eax
lea eax, [ebp + 0xec]
push eax
lea ecx, [ebp]
call fcn.004102ff
lea eax, [ebp + 0xfc]
push eax
lea ecx, [ebp]
call fcn.004103a4
xor esi, esi
movzx eax, byte [ebp + esi + 0xfc]
push eax
call fcn.004140da
pop ecx
cmp ax, word [ebp + esi*2 + 0x9c]
jne 0x4142ec
inc esi
cmp esi, 0x10
jl 0x4142cd
cmp esi, 0x10
jge 0x4143d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040fb10
cmp ebx, edi
je 0x4143c8
mov dword [ebx], edi
mov dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4569a0
push str.CLSID78C3F4BC_C7BC_48E4_AD72_2DD16F6704A9
push 0x80000000
call dword [0x456434]
test eax, eax
jne 0x4143c8
mov dword [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
call dword [0x4562b4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
mov esi, dword [0x4562b8]
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
call esi
push edi
mov esi, 0x989680
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00438f90
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push edi
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00438f90
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x14]
jb 0x4143c4
ja 0x41439d
cmp eax, dword [ebp - 0x18]
jbe 0x4143c4
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
cmp edx, edi
ja 0x4143c4
jb 0x4143b0
cmp eax, 0x278d00
jae 0x4143c4
push edi
push 0x15180
push edx
push eax
call fcn.00438f90
push 0x1e
pop ecx
sub ecx, eax
mov dword [ebx], ecx
or dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x4143e5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040fb10
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10c]
xor ecx, ebp
call fcn.00437ab7
add ebp, 0x110
leave
ret
Function at 0x416cbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x470cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [0x456020]
test eax, eax
jne 0x416d91
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [0x456024]
test eax, eax
jne 0x416d80
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x416d6a
push edi
push dword [ebp - 0x110]
push eax
call dword [0x4562a8]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x416d80
push eax
push edi
push dword [ebp - 0x110]
call fcn.00416c59
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [0x456030]
mov eax, esi
pop edi
jmp 0x416d93
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00437ab7
leave
ret 4

Function at 0x41fb24
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x455332
call fcn.00437ac6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41fb49
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [0x4564e4]
jmp 0x41fb8f
lea ecx, [ebp - 0x10]
call fcn.0040163e
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041701e
add esp, 0x10
push dword [ebp + 8]
call dword [0x456324]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040119a
mov eax, esi
call fcn.00437b9e
ret 8
Function at 0x44c7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
jmp 0x44c7d2
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jge 0x44c844
mov ecx, dword [ebp - 0xc]
add ecx, 1
movzx edx, cl
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
movzx ecx, al
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
movzx eax, dl
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ecx + eax*4]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x44c7c9
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x450020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00438690
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call fcn.0044ec90
test eax, eax
jne 0x4500c3
mov dword [ebp - 8], 0x200
push str.diskpt
push str.SYSTEMCurrentControlSetServices_s
push 0x80
lea eax, [ebp - 0x310]
push eax
call fcn.004389cb
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 4]
push eax
push str.GUID
lea ecx, [ebp - 0x310]
push ecx
push 0x80000002
call dword [0x456434]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x4500c3
mov edx, dword [ebp - 0x314]
push edx
call dword [0x45634c]
xor eax, eax
jmp 0x450124
jmp fcn.004d0090
mov esp, ebp
pop ebp
ret
Function at 0x418df0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x493bab
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.00487c55
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x418e72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048584d
mov eax, dword [eax]
push 0x633210
push eax
call fcn.004771c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00487ee0
test bl, bl
je 0x418e72
push 0x633210
lea ecx, [esp + 0xc]
call fcn.00488270
push 0x636d94
lea ecx, [esp + 0xc]
call fcn.00488270
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 0x418eae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00487ee0
jmp 0x418f79
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 0x418f32
lea edx, [esp + 0x7c]
push 0x636d90
push edx
call fcn.004771c4
add esp, 8
test eax, eax
je 0x418f32
lea eax, [esp + 0x7c]
push 0x636d8c
push eax
call fcn.004771c4
add esp, 8
test eax, eax
je 0x418f32
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 0x418ec2
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.00487ee0
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 0x419770
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 0x4197d2
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