joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ce48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0041ce70
call fcn.00403c30
call fcn.004256b0
lea ecx, [esi + 0x5fc]
call fcn.00429230
push 0x49186c
lea ecx, [esp + 8]
call fcn.00460856
mov eax, dword [0x4918f8]
mov ecx, dword [0x48a7c4]
mov edx, dword [0x491910]
push eax
mov eax, dword [0x491914]
push ecx
push edx
push eax
lea ecx, [esp + 0x14]
push str.HDID_sUSERID_sPID_dPVER_s
push ecx
mov dword [esp + 0x30], 0
call fcn.0045eedf
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x491924]
add esp, 0x18
push str.Logout
push edx
call fcn.0041e290
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.0046055d
lea ecx, [esp + 0xc]
push ecx
call fcn.0040e000
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.00460921
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004607e8
lea edx, [esp + 4]
lea eax, [esp + 8]
push edx
push str.DATA
push eax
call fcn.00460af1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call fcn.00460921
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004607e8
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x83c]
mov esi, dword [esi + 0x834]
push ecx
push eax
lea edx, [esp + 0x14]
push esi
push edx
call fcn.004125a0
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.004607e8
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004607e8
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x41be70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [0x472398]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x41beb3
mov eax, dword [esi]
jmp 0x41beb5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x8c]
test eax, eax
jge 0x41bed4
push 0x48b698
push edi
push eax
call fcn.0045a80c
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x41bf34
lea eax, [esi + 8]
push eax
call dword [0x4722ac]
test eax, eax
jne 0x41bf34
mov eax, dword [esi]
test eax, eax
je 0x41bf1b
push eax
call dword [0x472394]
mov eax, dword [esi + 4]
test eax, eax
je 0x41bf2b
push eax
call fcn.00460552
add esp, 4
push esi
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x41cae0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
mov dword [esp + 4], 0xffffffff
push eax
push esi
call dword [0x4724d0]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x418ef0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
call dword [0x472590]
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x10
ret 4
Function at 0x422210
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00422240
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x421f20
push 0
push 0
call fcn.0043cea5
add esp, 0x18
pop esi
pop ecx
ret
Function at 0x425680
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x4255e0
push 0
push 0
call fcn.0043cea5
add esp, 0x1c
ret

Function at 0x426870
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [0x4723c4]
test eax, eax
jl 0x426950
push esi
mov esi, dword [0x4723c8]
lea ecx, [esp + 4]
push edi
push ecx
push 0
push 0
call esi
mov edi, dword [0x4723cc]
test eax, eax
jl 0x4268be
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push edx
push eax
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 8]
push eax
push 0x19
push 0
call esi
test eax, eax
jl 0x4268e8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 8]
push eax
push 0xb
push 0
call esi
test eax, eax
jl 0x426912
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 8]
push eax
push 0x17
push 0
call esi
test eax, eax
jl 0x42693c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0x10
xor eax, eax
add esp, 8
ret 0x10
Function at 0x427bc0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46e2ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x44]
lea esi, [ebx + 0x44]
push edi
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00404d20
mov ecx, dword [0x4727b8]
push ecx
push 0
push esi
lea ecx, [esp + 0x1c]
call fcn.004047b0
mov eax, dword [ebx + 4]
mov dword [esp + 0x438], 0
test eax, eax
mov esi, 0x4727b4
je 0x427c22
mov esi, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4727b8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
cmp edx, edi
ja 0x427c45
call fcn.0044cbbd
test edi, edi
jbe 0x427c85
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebp, [eax + edi]
push ebp
call fcn.004061f0
test al, al
je 0x427c85
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, edi
push ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004061d0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x427c92
mov eax, 0x4727b4
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0045aac8
mov ebp, eax
test ebp, ebp
je 0x427cec
push ebp
call fcn.00460529
mov esi, eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esi], 0
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
test eax, eax
jne 0x427cd2
mov eax, 0x4727b4
mov edx, dword [esp + 0x28]
push esi
push ebp
push edx
push eax
call fcn.0045aac2
test eax, eax
jne 0x427d15
push esi
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x427dcf
mov al, byte [ecx - 1]
test al, al
je 0x427dc5
cmp al, 0xff
je 0x427dc5
dec al
mov byte [ecx - 1], al
jmp 0x427dcf
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0x48a384
push esi
call fcn.0045aabc
mov eax, dword [esp + 0x24]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
lea ecx, [esp + 0x40]
push str._u._u._u._u
push ecx
call fcn.0043d7ae
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
add ebx, 0x34
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004061f0
test al, al
je 0x427da2
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x20]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
push esi
call fcn.00460552
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
je 0x427dcf
mov al, byte [ecx - 1]
test al, al
je 0x427dc5
cmp al, 0xff
je 0x427dc5
dec al
mov byte [ecx - 1], al
jmp 0x427dcf
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret
Function at 0x42a2d0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
xor edi, edi
not ecx
dec ecx
mov ebp, ecx
test ebp, ebp
jle 0x42a35b
mov dl, byte [edi + ebx]
cmp dl, 0x7f
jg case.default.0x42a312
cmp dl, 0x3d
je 0x42a369
movsx ecx, dl
mov dl, byte [ecx + 0x476a6c]
cmp dl, 0xff
je case.default.0x42a312
cmp esi, 3
ja case.default.0x42a312
jmp dword [esi*4 + 0x42a378]
shl dl, 2
mov byte [eax], dl
mov esi, 1
jmp case.default.0x42a312
mov cl, dl
mov esi, 2
shr cl, 4
or byte [eax], cl
inc eax
shl dl, 4
mov byte [eax], dl
jmp case.default.0x42a312
mov cl, dl
mov esi, 3
shr cl, 2
or byte [eax], cl
inc eax
shl dl, 6
mov byte [eax], dl
jmp case.default.0x42a312
mov cl, byte [eax]
or cl, dl
mov byte [eax], cl
inc eax
xor esi, esi
inc edi
cmp edi, ebp
jl 0x42a2f2
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov byte [eax], 0
pop ebp
sub eax, ecx
pop ebx
ret
mov edx, dword [esp + 0x18]
pop edi
sub eax, edx
pop esi
pop ebp
inc eax
pop ebx
ret

Function at 0x42b490
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x42b4c0
push 0
push 0
call fcn.0043cea5
add esp, 0x1c
ret
Function at 0x42dda0
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0xa0
mov eax, dword [str.IRNPF]
mov cx, word [0x48c0ac]
push ebp
push esi
push edi
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], cx
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
push 0x49186c
push str.UnInstallDriver
stosw word es:[edi], ax
call fcn.0042e4b0
add esp, 8
xor edi, edi
push 0xf003f
push edi
push edi
call dword [0x472030]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
je 0x42decb
push 0x49186c
push str.Opened_the_SCM
call fcn.0042e4b0
add esp, 8
lea edx, [esp + 0x2c]
push 0xf01ff
push edx
push esi
call dword [0x472010]
mov ebp, eax
test ebp, ebp
je 0x42decb
push 0x49186c
push str.Opened_the_IRNPF_service_in_the_SCM
call fcn.0042e4b0
add esp, 8
lea eax, [esp + 0x10]
push eax
push 1
push ebp
call dword [section..rdata]
mov edi, eax
push 0x49186c
test edi, edi
jne 0x42de5b
push str.Failed_to_stop_the_IRNPF_service
jmp 0x42de60
push str.IRNPF_service_stopped
call fcn.0042e4b0
add esp, 8
mov esi, 2
push ebx
mov ebx, dword [0x472354]
push ebp
call dword [0x472018]
test eax, eax
push 0x49186c
jne 0x42dea1
push str.Delete_IRNPF_service_failed
call fcn.0042e4b0
add esp, 8
xor edi, edi
push 0x3e8
call ebx
dec esi
test esi, esi
jg 0x42de74
jmp 0x42deae
push str.Delete_IRNPF_service_success
call fcn.0042e4b0
add esp, 8
mov esi, dword [0x472038]
push ebp
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0xa0
ret
Function at 0x42dee0
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0xa4
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSet_servicesIRNP
push 0x80000002
call dword [0x472024]
test eax, eax
je 0x42df12
mov eax, 1
add esp, 0xa4
ret
mov ecx, dword [str.IRNP]
mov dl, byte [0x48c148]
push ebp
push esi
push edi
mov dword [esp + 0x30], ecx
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x49186c
push str.UnInstallDriver
stosb byte es:[edi], al
call fcn.0042e4b0
add esp, 8
xor edi, edi
push 0xf003f
push edi
push edi
call dword [0x472030]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
je 0x42e02b
push 0x49186c
push str.Opened_the_SCM
call fcn.0042e4b0
add esp, 8
lea eax, [esp + 0x30]
push 0xf01ff
push eax
push esi
call dword [0x472010]
mov ebp, eax
test ebp, ebp
je 0x42e02b
push 0x49186c
push str.Opened_the_IRNP_service_in_the_SCM
call fcn.0042e4b0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 1
push ebp
call dword [section..rdata]
mov edi, eax
push 0x49186c
test edi, edi
jne 0x42dfc7
push str.Failed_to_stop_the_IRNP_service
jmp 0x42dfcc
push str.IRNP_service_stopped
call fcn.0042e4b0
add esp, 8
mov esi, 2
push ebx
mov ebx, dword [0x472354]
push ebp
call dword [0x472018]
test eax, eax
push 0x49186c
jne 0x42e00d
push str.Delete_IRNP_service_failed
call fcn.0042e4b0
add esp, 8
xor edi, edi
push 0x3e8
call ebx
dec esi
test esi, esi
jg 0x42dfe0
jmp 0x42e01a
push str.Delete_IRNP_service_success
call fcn.0042e4b0
add esp, 8
mov esi, dword [0x472038]
push ebp
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0xa4
ret
Function at 0x432270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f003
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044e6c2
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.0044cb0c
mov edi, dword [0x4943f0]
lea ecx, [esp + 8]
call fcn.0044cb0c
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4322bc
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.0044cba8
lea ecx, [esp + 0xc]
call fcn.0044cba8
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
xor edi, edi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], edi
mov eax, dword [esi + 0x20]
push edi
push edi
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
push edi
mov dword [esp + 0x28], edi
mov dword [ecx], edi
mov ecx, esi
call fcn.004182b0
mov cl, byte [esp + 0x24]
xor eax, eax
test cl, 1
mov dword [esi], 0x476bbc
jne 0x43232a
mov eax, 4
test cl, 2
jne 0x432331
or al, 2
mov edx, dword [esi + 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x20
mov dword [esi + 0x44], eax
mov dword [edx], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov ecx, dword [esi + 0x2c]
mov dword [ecx], edi
mov edx, dword [esi + 0x10]
mov dword [edx], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
mov eax, esi
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x45dbe0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x472074]
mov edi, dword [ebp + 8]
push edi
call dword [0x4724b8]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0043db50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45dcab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x4724d8]
test eax, eax
je 0x45dcab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45dc5e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45dc69
or bh, 8
and edi, 0x8000000
je 0x45dc84
mov eax, dword [0x49597c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x4720c4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [0x4723f8]
test edi, edi
je 0x45dcab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x4720c4]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4073b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46084b
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.004558d8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00453827
mov eax, dword [eax]
push 0x8de1c0
push eax
call fcn.00446744
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00455b63
test bl, bl
je 0x407432
push 0x8de1c0
lea ecx, [esp + 0xc]
call fcn.00455ef3
push 0x8e1d10
lea ecx, [esp + 0xc]
call fcn.00455ef3
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 0x40746e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00455b63
jmp 0x407539
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 0x4074f2
lea edx, [esp + 0x7c]
push 0x8e1d0c
push edx
call fcn.00446744
add esp, 8
test eax, eax
je 0x4074f2
lea eax, [esp + 0x7c]
push 0x8e1d08
push eax
call fcn.00446744
add esp, 8
test eax, eax
je 0x4074f2
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 0x407482
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.00455b63
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 0x407d30
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 0x407d92
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 0x407da0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4608cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8e8230]
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 0x407ed8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407e06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455b63
xor eax, eax
jmp 0x407f4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00455ca0
push esi
lea ecx, [esp + 0xc]
call fcn.00455f2f
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 0x407f2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00407d30
test eax, eax
jne 0x407f2d
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 0x80000000
mov ecx, edi
call fcn.00407d30
test eax, eax
jne 0x407f2d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00447780
mov esi, eax
add esp, 8
test esi, esi
jne 0x407f0c
lea ecx, [esp + 0x14]
push 0x8e1d20
push ecx
call fcn.00447700
mov esi, eax
add esp, 8
test esi, esi
jne 0x407f0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x407f0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00455c50
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407e1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455b63
xor eax, eax
jmp 0x407f4f
mov byte [esi], 0
push 0x8e1d1c
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.00455b63
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
Function at 0x4132e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41334e
cmp si, 0x69
ja 0x41334e
add esi, 0xffd0
cmp si, 0x11
je 0x41331e
push 0x11
call edi
test ax, ax
jge 0x41331e
or esi, 0x2000
cmp si, 0x10
je 0x413333
push 0x10
call edi
test ax, ax
jge 0x413333
or esi, 0x4000
cmp si, 0x12
je 0x413348
push 0x12
call edi
test ax, ax
jge 0x413348
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41335b
mov esi, 0xbd
jmp 0x41330f
cmp si, 0x6e
jne 0x413368
mov esi, 0xbe
jmp 0x41330f
cmp si, 0x6f
jne 0x413309
mov esi, 0xbf
jmp 0x41330f

Function at 0x4149a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8f8838]
xor edx, edx
cmp eax, edx
jne 0x4149c6
xor eax, eax
mov byte [eax + 0x8f8738], al
inc eax
cmp eax, 0x100
jl 0x4149ae
mov dword [0x8f8838], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8f8738
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x414a57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x414a2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4149f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x414ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x414b23
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x414b0a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret