joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10195d34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1027a0bc], 0
mov dword [0x1027a0c0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x1027a0cc], 0
mov dword [0x1027a0b4], 0xecf
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x10195ec2
xor eax, eax
mov ecx, dword [0x1027a0b8]
add ecx, 0x2467
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1027a0bc], edx
mov dword [0x1027a0b4], 0x2136
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x1027a0c0], edx
mov dword [0x1027a0b4], esi
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1027a0c4], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1027a0b4]
mov ebx, edx
add ebx, 0xffffedd9
mov dword [0x1027a0b4], ebx
add edx, 0xfffff568
mov dword [0x1027a0b8], edx
mov cl, byte [0x1027a0c4]
mov edx, dword [0x1027a0c0]
mov byte [edi + edx], cl
mov edx, dword [0x1027a0bc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1027a0c0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1027a0b4], 0x20d8
and ebx, 0xff
mov dword [0x1027a0cc], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
mov dword [0x1027a0b8], 0x17f8
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x3c], edx
je 0x10195ec2
mov eax, 0x3c5f
mov ecx, dword [0x1027a0bc]
mov edx, dword [0x1027a0c0]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], esi
jmp 0x10195da9
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x430001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3b001da7
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1b612909
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x415d40
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi], 0xffffffff
jne 0x415f26
cmp dword [edi + 4], 0xffffffff
jne 0x415f26
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x415dbf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x415d9b
mov eax, 0xfffffff8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push esi
push eax
mov edx, 0xf8
mov ecx, str.ytcp
call fcn.00415bd0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0x10
mov eax, 2
movups xmmword [ebp - 0x14], xmm0
push 0x4f8af0
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x415e44
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x415d86
push esi
push eax
mov edx, 0x103
mov ecx, str.ytcp
call fcn.00415bd0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jns 0x415e8a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x415d86
push esi
push eax
mov edx, 0x106
mov ecx, str.ytcp
call fcn.00415bd0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x415ed0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x415d86
push esi
push eax
mov edx, 0x10a
mov ecx, str.ytcp
call fcn.00415bd0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x415f14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x415d86
push esi
push eax
mov edx, 0x10d
mov ecx, str.ytcp
call fcn.00415bd0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x415f4c
push 0xf3
push str.ytcp
push str.WakeUpSocket_already_Started
push str._s___s:_d_
push 0x100
push esi
call fcn.0041c830
add esp, 0x18
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
xor ecx, ebp
pop esi
call fcn.004423fe
mov esp, ebp
pop ebp
ret
Function at 0x1000fd46
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], edx
push ebx
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
mov eax, dword [0x10089098]
push esi
push edi
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ecx, dword [eax + 0x38]
inc edi
mov edx, dword [eax + 0x3c]
mov eax, ecx
or eax, edx
mov dword [ebp - 0xc], 2
je 0x1000fd8a
push edi
push edx
push ecx
push 0x29
pop edx
call fcn.10010290
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
call fcn.100153b4
mov esi, eax
test esi, esi
js 0x1000fe8f
mov ecx, dword [ebp - 4]
call fcn.1000f9c6
push 6
pop ecx
test eax, eax
je 0x1000fdb1
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], ecx
jne 0x1000fdef
mov ecx, dword [ebp + 8]
call fcn.1001ae36
push dword [ebp + 8]
neg eax
sbb edi, edi
and edi, 0x1c00
add edi, 0x401
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x1000fdef
or edi, 0x100
test edi, 0x400
jne 0x1000fdef
or edi, 0x80
xor eax, eax
inc eax
test eax, eax
jne 0x1000fe13
mov eax, dword [0x10089098]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, ecx
or eax, edx
je 0x1000fe13
push 1
push edx
push ecx
push 0x29
pop edx
call fcn.10010290
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x1c], 0
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp - 4]
call fcn.10010062
mov esi, eax
test esi, esi
js 0x1000fe8f
test dword [ebp - 8], 0x10000
je 0x1000fe3f
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 8]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and ebx, eax
je 0x1000fe6b
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
lea ecx, [ebp - 4]
mov esi, ebx
call fcn.100181d6
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, esi
test byte [ebp - 8], 4
je 0x1000fe82
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
call fcn.1000fbbb
mov esi, eax
test esi, esi
js 0x1000fe8f
mov eax, dword [ebp - 0x1c]
test ebx, ebx
jne 0x1000fdf2
xor esi, esi
lea ecx, [ebp - 4]
call int.1000b34b
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10018003
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x418]
push esi
mov ebx, ecx
lea ecx, [ebp - 0x634]
push eax
mov dword [ebp - 0x628], ebx
call fcn.100102ed
push esi
lea eax, [ebp - 0x620]
xor edi, edi
push eax
lea ecx, [ebp - 0x644]
mov dword [ebp - 0x638], edi
call fcn.100102ed
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x648], edi
push edi
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [ebx]
lea edx, [ebp - 0x638]
add esp, 0xc
mov dword [ebp - 0x624], ebx
mov ecx, ebx
call fcn.10019079
test eax, eax
jns 0x1001808c
inc edi
jmp 0x1001819f
mov ecx, ebx
call fcn.1000f9c6
test eax, eax
jne 0x1001819f
mov ebx, dword [ebp - 0x638]
mov esi, 0x10003f08
mov eax, esi
test ebx, ebx
je 0x100180b2
mov eax, dword [ebp - 0x634]
push eax
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.1000b82d
mov edi, eax
test edi, edi
js 0x1001819f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, esi
test ebx, ebx
je 0x100180e6
mov eax, dword [ebp - 0x634]
lea ecx, [ebp - 0x648]
push ecx
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, dword [ebp - 0x624]
lea edx, [ebp - 0x210]
push eax
call fcn.100198ff
mov edi, eax
test edi, edi
js 0x1001819f
cmp dword [ebp - 0x648], 0
mov ecx, esi
mov edi, dword [ebp - 0x644]
je 0x10018125
mov ecx, edi
mov eax, esi
test ebx, ebx
je 0x10018131
mov eax, dword [ebp - 0x634]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__wrename]
pop ecx
pop ecx
test eax, eax
jne 0x1001819d
and dword [ebp - 0x624], eax
mov ecx, esi
cmp dword [ebp - 0x648], eax
je 0x10018151
mov ecx, edi
lea edx, [ebp - 0x624]
call fcn.10018c3c
test eax, eax
js 0x10018179
mov ecx, dword [ebp - 0x628]
call int.1000b34b
mov ecx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x624]
mov dword [ecx], eax
cmp dword [ebp - 0x648], 0
jne 0x10018184
mov edi, esi
test ebx, ebx
je 0x1001818e
mov esi, dword [ebp - 0x634]
push edi
push esi
push 0x3005
push 1
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
xor edi, edi
and dword [ebp - 0x648], 0
lea ecx, [ebp - 0x644]
call fcn.1000deab
and dword [ebp - 0x638], 0
lea ecx, [ebp - 0x634]
call fcn.1000deab
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret
Function at 0x1001888c
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 0x224]
push eax
mov dword [ebp - 0x218], esi
call fcn.100102ed
mov eax, dword [ebx]
mov edi, esp
push esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x214], esi
mov esi, dword [eax + 0x14]
mov ecx, esi
push ebx
call dword [0x1008c6d4]
call esi
cmp edi, esp
je 0x100188ef
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
jns 0x100189e5
cmp esi, 0x800700d7
jne 0x100189e7
lea edx, [ebp - 0x228]
mov ecx, ebx
call fcn.10019079
mov esi, eax
test esi, esi
js 0x100189e7
mov esi, dword [ebx]
lea eax, [ebp - 0x218]
mov edi, esp
push eax
push 0x10004dc8
mov ecx, dword [esi]
push ebx
call dword [0x1008c6d4]
call dword [esi]
cmp edi, esp
je 0x10018942
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x100189e7
mov edi, dword [ebp - 0x228]
mov esi, 0x10003f08
mov eax, esi
test edi, edi
je 0x10018963
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10018985
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100189e7
movzx esi, si
or esi, 0x80070000
jmp 0x100189e7
test edi, edi
je 0x1001898f
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x214]
push eax
push 0x40000000
push 1
push esi
call dword [sym.imp.MSOERT2.dll_OpenFileStreamW]
mov esi, eax
test esi, esi
js 0x100189e7
mov eax, dword [ebp - 0x218]
mov edi, esp
push 0
push dword [ebp - 0x214]
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x18]
call dword [0x1008c6d4]
call dword [esi + 0x18]
cmp edi, esp
je 0x100189d4
mov ecx, 4
int 0x29
mov esi, eax
test esi, esi
js 0x100189e7
lea ecx, [ebp - 0x214]
call int.1000b34b
xor esi, esi
lea ecx, [ebp - 0x214]
call int.1000b34b
lea ecx, [ebp - 0x218]
call int.1000b34b
and dword [ebp - 0x228], 0
lea ecx, [ebp - 0x224]
call fcn.1000deab
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret
Function at 0x1001ae36
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x824]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call sub.msvcrt.dll_memset
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call sub.msvcrt.dll_memset
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
push ebx
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.10031469
add esp, 0x30
lea ecx, [ebp - 0x824]
call fcn.10029091
test eax, eax
js 0x1001afc4
mov ebx, 0x104
lea eax, [ebp - 0x824]
push ebx
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x1001afc4
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push ebx
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.msvcrt.dll__wfullpath]
add esp, 0xc
test eax, eax
je 0x1001afc4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x1001afc4
shr eax, 4
test al, 1
je 0x1001af1f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
jmp 0x1001af38
and ecx, 6
cmp cl, 6
je 0x1001afc4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1001af41
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1001afc4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
jmp 0x1001afa5
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001afc4
and eax, 6
cmp al, 6
je 0x1001afc4
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1001afc4
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1001af7f
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret
Function at 0x10032743
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 2
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], ecx
push eax
push 4
push 0x10005abc
push 0x10005a68
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
neg eax
sbb eax, eax
and eax, 0x80004005
mov esp, ebp
pop ebp
ret

Function at 0x10032970
Capabilities:
Get common file path
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c0
mov eax, dword [0x1008a418]
xor eax, esp
mov dword [esp + 0x2bc], eax
push esi
push edi
xor edi, edi
lea eax, [esp + 0xb8]
push 0x208
push edi
push eax
mov dword [esp + 0x14], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.10064351
lea ecx, [esp + 0x30]
call fcn.10063b95
call fcn.1006ce2a
lea edx, [esp + 8]
xor ecx, ecx
call fcn.10032556
test eax, eax
jns 0x100329d8
xor esi, esi
inc esi
jmp 0x10032a83
push dword [esp + 8]
lea ecx, [esp + 0x14]
call fcn.100644fa
mov esi, eax
test esi, esi
js 0x10032a83
lea eax, [esp + 0xb8]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10032a83
push 0x10005a3c
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x10032a26
mov esi, 0x8000ffff
jmp 0x10032a83
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x14]
call fcn.10064c51
mov esi, eax
test esi, esi
js 0x10032a83
push 2
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 4
push 0x10005b20
push 0x10005aec
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
test eax, eax
je 0x10032a6b
mov esi, 0x80004005
jmp 0x10032a83
lea eax, [esp + 0xb8]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_Ordinal_262]
mov esi, eax
test esi, esi
js 0x10032a83
mov esi, edi
lea ecx, [esp + 8]
call int.1000b34b
call fcn.10063c3a
lea ecx, [esp + 0x10]
call fcn.100643a1
mov ecx, dword [esp + 0x2c4]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10087900
mov esp, ebp
pop ebp
ret
Function at 0x1003b930
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1003b997
mov edx, dword [esi + 0xa0]
cmp dword [ebp + 8], edx
jb 0x1003b98e
mov eax, dword [esi + 0xa4]
lea eax, [edx + eax*2]
cmp edi, eax
jb 0x1003b98e
push 1
push ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xa0]
mov eax, dword [ebp + 8]
push 0x14
push ecx
push ecx
push dword [esi + 0xa4]
sub eax, ecx
shr eax, 1
push eax
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1003b997
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xc], 0
je 0x1003b9b3
push 4
sub edi, ebx
push edi
push dword [ebp + 8]
push ebx
push 0
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x1003ba45
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x210]
push ebx
push esi
push edi
push 0x208
mov ebx, ecx
lea ecx, [ebp - 0x220]
push eax
call fcn.100102ed
and dword [ebp - 0x224], 0
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x1003baf6
mov esi, dword [eax]
lea ecx, [ebp - 0x214]
mov edi, esp
push ecx
push 0x10004cb4
mov ecx, dword [esi]
push eax
call dword [0x1008c6d4]
call dword [esi]
cmp edi, esp
je 0x1003bab4
mov ecx, 4
int 0x29
test eax, eax
js 0x1003baf6
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x224]
call fcn.10019079
test eax, eax
js 0x1003baf6
cmp dword [ebp - 0x224], 0
mov eax, 0x10003f08
je 0x1003bae1
mov eax, dword [ebp - 0x220]
push 5
push 0
push 0
push eax
push 0x10005cc0
push dword [ebx + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x214]
call int.1000b34b
and dword [ebp - 0x224], 0
lea ecx, [ebp - 0x220]
call fcn.1000deab
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret
Function at 0x1003d6bb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x228], eax
mov edi, edx
xor eax, eax
mov dword [ebp - 0x22c], ebx
push 0x208
push eax
mov dword [ebp - 0x210], eax
mov esi, ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x21c], eax
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0x20019
push edi
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
xor ecx, ecx
test eax, eax
je 0x1003d746
mov eax, dword [ebp - 0x228]
mov esi, ecx
mov dword [ebx], ecx
mov dword [eax], ecx
jmp 0x1003d889
push ecx
push ecx
lea eax, [ebp - 0x218]
push eax
push ecx
push ecx
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_SHRegQueryInfoUSKeyW]
test eax, eax
je 0x1003d76b
mov esi, 0x80070057
jmp 0x1003d889
mov eax, dword [ebp - 0x218]
cmp eax, 1
jbe 0x1003d761
dec eax
xor ecx, ecx
push 4
pop edx
mov dword [ebp - 0x218], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1008737f
mov ebx, eax
pop ecx
xor ecx, ecx
mov esi, ebx
mov eax, ecx
mov dword [ebp - 0x220], esi
mov edi, ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], 0x104
cmp edi, dword [ebp - 0x218]
jae 0x1003d82e
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_SHRegEnumUSValueW]
test eax, eax
jne 0x1003d82c
cmp word [ebp - 0x20c], ax
je 0x1003d81e
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push esi
push eax
call fcn.1003d588
mov esi, eax
mov dword [ebp - 0x214], esi
test esi, esi
js 0x1003d857
mov esi, dword [ebp - 0x220]
xor eax, eax
mov ecx, dword [esi]
cmp word [ecx], ax
je 0x1003d81e
inc edi
add esi, 4
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x224]
inc eax
xor ecx, ecx
jmp 0x1003d7a2
xor ecx, ecx
test edi, edi
jne 0x1003d83f
mov esi, 0x80070057
mov dword [ebp - 0x214], esi
jmp 0x1003d857
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x214]
mov dword [eax], ebx
mov ebx, ecx
mov eax, dword [ebp - 0x228]
mov dword [eax], edi
test ebx, ebx
je 0x1003d889
xor eax, eax
mov esi, eax
test edi, edi
je 0x1003d87c
cmp dword [ebx + esi*4], 0
je 0x1003d877
push dword [ebx + esi*4]
call fcn.1008737a
xor eax, eax
pop ecx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x1003d863
push ebx
call fcn.10031469
mov esi, dword [ebp - 0x214]
pop ecx
cmp dword [ebp - 0x210], 0
je 0x1003d89e
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret 8