joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4271d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43fdca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x40]
test eax, eax
push esi
push edi
mov esi, ecx
jne 0x427217
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x24]
mov eax, dword [eax]
mov ebx, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], ebx
push eax
lea ecx, [esp + 0x14]
call fcn.00402d50
test bl, 1
mov dword [esp + 0x38], 3
je 0x427253
mov eax, dword [esp + 0x14]
and ebx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0xc], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.004218a0
mov byte [esp + 0x38], 4
call fcn.00433bcb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x44]
test al, al
mov byte [esp + 0x38], 5
je 0x427295
add esi, 0x2c
push esi
lea ecx, [esp + 0x4c]
call fcn.00402490
jmp 0x4272bd
mov eax, dword [esi + 0x50]
inc eax
cmp eax, 0x64
push eax
jge 0x4272ab
push str.z_.2d
lea eax, [esp + 0x50]
push eax
jmp 0x4272b5
push str.z_.3d
lea ecx, [esp + 0x50]
push ecx
call fcn.00406330
add esp, 0xc
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x4272c9
xor eax, eax
jmp 0x4272d9
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4272d0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.00402350
push 0x2e
lea ecx, [esp + 0x28]
call fcn.00426c20
mov edi, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x1c]
call fcn.00422a20
or ebx, 2
lea eax, [esi - 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.00428420
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427354
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x428300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ff30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
lea ecx, [esp + 0x10]
call fcn.004218a0
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00428100
push 0x443d84
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.004062c0
push 0x5c
lea ecx, [esp + 0xc]
call fcn.00409e2d
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 8]
push edx
push esi
call dword [0x441258]
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428390
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00428420
mov ecx, dword [esp + 0x24]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x433674
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x43eda3
call fcn.00414bb4
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x43368e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [0x441470]
jmp 0x4336da
call fcn.00433bcb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [0x441260]
push dword [ebp + 8]
call dword [0x4412d4]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401290
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x437fa9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x454370]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [0x4412d4]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x437ff8
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [0x441470]
cmp eax, esi
jne 0x437ff8
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [0x4411e0]
test eax, eax
je 0x438004
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4413f4]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0041381e
leave
ret 8

Function at 0x43871e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x454370]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x43876b
push dword [ebp + 8]
call fcn.0043bae2
mov esi, eax
test esi, esi
je 0x438793
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [0x441008]
push esi
mov edi, eax
call dword [0x441020]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x438793
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x441bc4
push eax
call dword [0x441528]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4411a0]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0041381e
leave
ret 0xc

Function at 0x43969a
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4396c3
call fcn.0043ad3b
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [0x4415b4]
test eax, eax
mov dword [esi + 8], eax
jne 0x4396e6
push eax
push dword [esi + 4]
call fcn.00439627
push esi
push eax
mov ecx, 0x457448
call fcn.00439445
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x43987b
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x4399a4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4399a4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x4398c2
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [0x4415a0]
test eax, eax
jne 0x4398ba
push 0
jmp 0x4399a6
mov eax, dword [ebp - 4]
jmp 0x439985
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x439916
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x4398da
xor ebx, ebx
jmp 0x4398e2
cmp ebx, edi
ja 0x43998a
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00414c40
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esi + 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub edi, ebx
push edi
add eax, ebx
push eax
push dword [esi + 0x14]
call dword [0x4415a0]
test eax, eax
je 0x4398b3
mov eax, dword [ebp - 4]
jmp 0x439981
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x43998e
sub edx, eax
jns 0x439928
xor ebx, ebx
jmp 0x43992e
mov ebx, edx
cmp ebx, edi
ja 0x43998a
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00414c40
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [0x4415a0]
test eax, eax
je 0x4398b3
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x439967
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
add eax, ebx
push eax
call fcn.00414c40
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x38], eax
add eax, ebx
pop edi
pop ebx
pop esi
leave
ret 8
xor eax, eax
jmp 0x439983
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00414c40
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x439983
push 6
push dword [esi + 0x1c]
call fcn.00439627
int3
Function at 0x4399af
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x439a58
mov eax, dword [esi + 0x14]
test eax, eax
je 0x439a58
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov edi, dword [ebp + 0xc]
jne 0x4399f3
lea ecx, [ebp + 0xc]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [0x441594]
test eax, eax
jne 0x4399ec
push 0
jmp 0x439a5a
cmp dword [ebp + 0xc], edi
je 0x439a31
jmp 0x4399e8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x28]
push ebx
mov ebx, dword [0x441594]
jb 0x439a18
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x4399e8
and dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
cmp edi, ecx
jb 0x439a37
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x4399e8
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, ecx
ja 0x439a30
mov ecx, dword [esi + 0x30]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00414c40
add esp, 0xc
add dword [esi + 0x2c], edi
jmp 0x439a30
push 6
push dword [esi + 0x1c]
call fcn.00439627
int3

Function at 0x439a92
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x439acf
push 0x1000
call fcn.0043915e
test eax, eax
je 0x439b2a
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [0x4415a0]
test eax, eax
je 0x439b30
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
push edi
mov edi, dword [ebp + 8]
jmp 0x439b1f
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x439b0a
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [0x4415a0]
test eax, eax
je 0x439b30
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x439b39
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cl, byte [eax]
cmp cl, 0xd
je 0x439b14
mov byte [edi], cl
inc edi
inc dword [esi + 0x38]
mov cl, byte [eax]
inc eax
cmp cl, 0xa
je 0x439b24
dec dword [ebp + 0xc]
jne 0x439adb
mov eax, dword [ebp + 8]
mov byte [edi], bl
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
push dword [esi + 0x1c]
call fcn.00439627
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x439b27
Function at 0x439c94
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43ef51
call fcn.00414bb4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00436254
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [esi], vtable.CInternetFile.0
call fcn.00401a60
mov ebx, dword [ebp + 0x10]
push dword [ebx + 0xc]
mov ecx, 0x457448
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00439445
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00402500
mov eax, dword [ebx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.0040b520
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402490
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401290
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x43a01a
Capabilities:
Connect to http server

Disassembly:
mov eax, 0x43ef9b
call fcn.00414bb4
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x18]
mov esi, ecx
push dword [ebp + 0x1c]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
push ebx
call fcn.00439fdc
and dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esi], vtable.CFtpConnection.0
call fcn.00401a60
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00402500
push dword [esi + 8]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call dword [0x4415b8]
test eax, eax
mov dword [esi + 4], eax
jne 0x43a09f
call dword [0x4412f0]
push eax
push dword [esi + 8]
call fcn.00439627
push dword [esi + 0xc]
mov ecx, 0x457448
push eax
call fcn.00439445
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x43b0b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x454370]
push ebx
push esi
push edi
mov edi, dword [0x441264]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [0x441268]
cmp eax, ebx
je 0x43b153
call eax
mov esi, dword [0x4411a8]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [0x441268]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x43b255
call dword [0x4412dc]
test eax, eax
jns 0x43b203
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x1c], ebx
call dword [0x441004]
test eax, eax
jne 0x43b256
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [section..rdata]
test eax, eax
jne 0x43b1f8
cmp dword [ebp - 0x24], 1
jne 0x43b1f8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x4443dc
push eax
call fcn.00415c19
add esp, 0xc
cmp eax, 1
jne 0x43b1f8
mov eax, dword [ebp - 0x28]
mov esi, dword [0x4411a8]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [0x441020]
jmp 0x43b256
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x43b256
lea ecx, [ebp - 0x18]
push ecx
push 0x43b09b
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [0x4411ac]
cmp word [ebp - 0x18], bx
je 0x43b256
movzx eax, word [ebp - 0x18]
mov esi, dword [0x4411a8]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x43b27c
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0043b01c
cmp eax, ebx
pop ecx
pop ecx
jne 0x43b27e
inc edi
cmp edi, esi
jl 0x43b265
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0041381e
leave
ret 4
Function at 0x43b28d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x453d00
je 0x43b349
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [0x441004]
test eax, eax
jne 0x43b331
mov esi, dword [ebx + 4]
jmp 0x43b32b
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [section..rdata]
test eax, eax
jne 0x43b31b
cmp dword [ebp - 0xc], 4
jne 0x43b31b
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x43b313
or dword [eax + 0x9c], ecx
jmp 0x43b31b
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x43b2df
push dword [ebp - 4]
call dword [0x441020]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x43b2c2
pop esi
push edi
call dword [0x441020]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x43b703
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x43f136
call fcn.00414bb4
sub esp, 0x11c
mov eax, dword [0x454370]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [0x441010]
mov esi, eax
test esi, esi
jne 0x43b7fc
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [0x441018]
mov esi, eax
test esi, esi
jne 0x43b7d0
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00402d50
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0043b703
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401290
test bl, bl
jne 0x43b7d0
or dword [ebp - 4], 0xffffffff
jmp 0x43b741
cmp esi, 0x103
je 0x43b7e0
cmp esi, 0x3f2
jne 0x43b7f0
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [0x441014]
mov esi, eax
push dword [ebp - 0x124]
call dword [0x441020]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0041381e
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x418930
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ca4b
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.00470cfb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4189b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046e97a
mov eax, dword [eax]
push 0x55e1e0
push eax
call fcn.00460c94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00470f86
test bl, bl
je 0x4189b2
push 0x55e1e0
lea ecx, [esp + 0xc]
call fcn.00471316
push 0x561d5c
lea ecx, [esp + 0xc]
call fcn.00471316
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 0x4189ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00470f86
jmp 0x418ab9
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 0x418a72
lea edx, [esp + 0x7c]
push 0x561d58
push edx
call fcn.00460c94
add esp, 8
test eax, eax
je 0x418a72
lea eax, [esp + 0x7c]
push 0x561d54
push eax
call fcn.00460c94
add esp, 8
test eax, eax
je 0x418a72
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 0x418a02
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.00470f86
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 0x4192b0
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 0x419312
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 0x419320
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47cacb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5684bc]
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 0x419458
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x419386
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470f86
xor eax, eax
jmp 0x4194cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004710c3
push esi
lea ecx, [esp + 0xc]
call fcn.00471352
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 0x4194ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004192b0
test eax, eax
jne 0x4194ad
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 SysReAllocString
mov ecx, edi
call fcn.004192b0
test eax, eax
jne 0x4194ad
lea eax, [esp + 0x14]
push 0x561d70
push eax
call fcn.00461da0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41948c
lea ecx, [esp + 0x14]
push 0x561d6c
push ecx
call fcn.00461d20
mov esi, eax
add esp, 8
test esi, esi
jne 0x41948c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41948f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00471073
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41939e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470f86
xor eax, eax
jmp 0x4194cf
mov byte [esi], 0
push 0x561d68
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.00470f86
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