joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da98
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x41db19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004052b4
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 4
call fcn.00403900
test ebx, ebx
je 0x41dafd
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 0xc], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 0xb], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 0xa], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41db20
lea eax, [ebp - 4]
call fcn.00404e24
ret

Function at 0x41db28
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x41dbdd
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
xor edx, edx
push ebp
push 0x41dbba
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41db79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dbc7
mov word [ebp - 0x14], 2
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 4]
call fcn.0041da98
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wsock32.dll_connect
test eax, eax
je 0x41dbae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dbc7
mov esi, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41dbc7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dbe4
lea eax, [ebp - 4]
call fcn.00404e24
ret
Function at 0x41f9b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x41f9c0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x41fc18
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00403234
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00408b04
mov ecx, dword [ebp - 8]
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040513c
mov eax, dword [ebp - 4]
call fcn.0041c2b8
test al, al
je 0x41faab
push 0x41fc30
mov eax, dword [0x43a748]
push dword [eax]
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00403234
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408b04
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004051b8
mov eax, dword [ebp - 0x10]
call fcn.00415fc4
push 5
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403234
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408a18
mov eax, dword [ebp - 0x1c]
call fcn.004052b4
push eax
push 0x41fc4c
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00403234
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408b04
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
call fcn.0040513c
mov eax, dword [ebp - 0x24]
call fcn.004052b4
push eax
push 0x41fc50
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
push ebp
push 0x41fb15
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, 1
call fcn.004082a8
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x41fc60
call fcn.0040513c
mov eax, dword [ebp - 0x30]
call fcn.004052b4
push eax
push 0
push 0
call fcn.00406f30
mov edx, dword [0x43a77c]
mov dword [edx], eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x41fb0b
mov eax, 0x41fc70
call fcn.00415fc4
call fcn.00404c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41fb2e
mov eax, dword [0x43a77c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x41fcb4
mov eax, dword [0x43a748]
push dword [eax]
push 0x41fc60
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004051b8
mov eax, dword [ebp - 0x38]
call fcn.00415fc4
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x41fc60
pop eax
call fcn.0040513c
mov eax, dword [ebp - 0x3c]
call fcn.0041c6b0
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x41fc60
pop eax
call fcn.0040513c
mov eax, dword [ebp - 0x40]
call fcn.00415968
push 0x41fcc8
mov eax, dword [0x43a748]
push dword [eax]
push 0x41fc60
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004051b8
mov eax, dword [ebp - 0x44]
call fcn.00415fc4
push 5
push 0x41fc4c
push 0x41fc4c
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x41fc60
pop eax
call fcn.0040513c
mov eax, dword [ebp - 0x48]
call fcn.004052b4
push eax
push 0x41fc50
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fc1f
lea eax, [ebp - 0x48]
mov edx, 0x12
call fcn.00404e48
ret
Function at 0x420b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0xb
add esp, 0xfffff004
push eax
dec eax
jne 0x420b69
mov eax, dword [ebp - 4]
add esp, 0xfffffcb4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x420c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xb200
mov eax, dword [0x43a618]
lea edx, [ebp - 0xb350]
movzx ebx, byte [eax]
xor bl, 0xa5
mov byte [edx], bl
inc edx
inc eax
dec ecx
jne 0x420ba8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x150]
call fcn.004035bc
mov bl, 1
xor eax, eax
push ebp
push 0x420c07
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80
mov eax, dword [ebp - 4]
call fcn.00408888
mov eax, dword [0x43a784]
mov byte [eax], 2
mov edx, 1
lea eax, [ebp - 0x150]
call fcn.00403ac0
call fcn.00402f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420c13
test bl, bl
je 0x420c51
push 0
lea edx, [ebp - 0xb350]
mov ecx, 0xb200
lea eax, [ebp - 0x150]
call fcn.00403744
call fcn.00402f98
lea eax, [ebp - 0x150]
call fcn.00403764
call fcn.00402f98
mov edx, 0x80
mov eax, dword [ebp - 4]
call fcn.00408888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420c6e
lea eax, [ebp - 4]
call fcn.00404e24
ret

Function at 0x420c78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x420d6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4c
mov eax, dword [0x43a6d0]
lea edx, [ebp - 0x19c]
movzx ebx, byte [eax]
xor bl, 0xa5
mov byte [edx], bl
inc edx
inc eax
dec ecx
jne 0x420cad
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x150]
call fcn.004035bc
mov bl, 1
xor eax, eax
push ebp
push 0x420d0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80
mov eax, dword [ebp - 4]
call fcn.00408888
mov eax, dword [0x43a784]
mov byte [eax], 2
mov edx, 1
lea eax, [ebp - 0x150]
call fcn.00403ac0
call fcn.00402f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420d18
test bl, bl
je 0x420d56
push 0
lea edx, [ebp - 0x19c]
mov ecx, 0x4c
lea eax, [ebp - 0x150]
call fcn.00403744
call fcn.00402f98
lea eax, [ebp - 0x150]
call fcn.00403764
call fcn.00402f98
mov edx, 7
mov eax, dword [ebp - 4]
call fcn.00408888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420d73
lea eax, [ebp - 4]
call fcn.00404e24
ret
Function at 0x420d7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd24
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x420e5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x18c
mov eax, dword [0x43a6b8]
lea edx, [ebp - 0x2dc]
movzx ecx, byte [eax]
xor cl, 0xa5
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x420db3
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x150]
call fcn.004035bc
xor eax, eax
push ebp
push 0x420e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x43a784]
mov byte [eax], 2
mov edx, 1
lea eax, [ebp - 0x150]
call fcn.00403ac0
call fcn.00402f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420e14
mov byte [ebp - 0x24e], bl
push 0
lea edx, [ebp - 0x2dc]
mov ecx, 0x18c
lea eax, [ebp - 0x150]
call fcn.00403744
call fcn.00402f98
lea eax, [ebp - 0x150]
call fcn.00403764
call fcn.00402f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420e64
lea eax, [ebp - 4]
call fcn.00404e24
ret

Function at 0x421054
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0xb
add esp, 0xfffff004
push eax
dec eax
jne 0x42105d
mov eax, dword [ebp - 4]
add esp, 0xfffffab4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
xor eax, eax
push ebp
push 0x421140
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xb400
mov eax, dword [0x43a770]
lea edx, [ebp - 0xb550]
movzx ebx, byte [eax]
xor bl, 0xa5
mov byte [edx], bl
inc edx
inc eax
dec ecx
jne 0x42109c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x150]
call fcn.004035bc
xor eax, eax
push ebp
push 0x4210ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x43a784]
mov byte [eax], 2
mov edx, 1
lea eax, [ebp - 0x150]
call fcn.00403ac0
call fcn.00402f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4210fd
push 0
lea edx, [ebp - 0xb550]
mov ecx, 0xb400
lea eax, [ebp - 0x150]
call fcn.00403744
call fcn.00402f98
lea eax, [ebp - 0x150]
call fcn.00403764
call fcn.00402f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421147
lea eax, [ebp - 4]
call fcn.00404e24
ret
Function at 0x421150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x421158
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4213b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00403234
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [0x43a748]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x4213c8
call fcn.0040513c
mov edx, dword [ebp - 0x28]
pop eax
call fcn.0040524c
je 0x4211da
push 0x4213d8
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00403234
push dword [ebp - 0x30]
push 0x4213e8
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004051b8
mov eax, dword [ebp - 0x2c]
call fcn.00415fc4
call fcn.0041f9b8
call fcn.00404c7c
jmp 0x42138d
mov eax, 0x421404
call fcn.00415fc4
xor eax, eax
push ebp
push 0x42124e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.004082a8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x4213c8
call fcn.0040513c
mov eax, dword [ebp - 0x34]
call fcn.004052b4
push eax
push 0
push 0
call fcn.00406f30
mov edx, dword [0x43a77c]
mov dword [edx], eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x421244
mov eax, 0x42141c
call fcn.00415fc4
call fcn.00404c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x421267
lea edx, [ebp - 0x3c]
mov eax, 1
call fcn.00403234
mov eax, dword [ebp - 0x3c]
mov edx, 0x421448
call fcn.0040524c
jne 0x4212e0
push 0x421458
lea edx, [ebp - 0x40]
mov eax, 2
call fcn.00403234
push dword [ebp - 0x40]
push 0x421458
lea eax, [ebp - 4]
mov edx, 3
call fcn.004051b8
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov edx, 0x421464
call fcn.0040513c
mov eax, dword [ebp - 0x44]
call fcn.00415fc4
push 5
push 0
push 0x42147c
mov eax, dword [ebp - 4]
call fcn.004052b4
push eax
push 0x421480
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, 0x421490
call fcn.00415fc4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41f954]
call fcn.00414ad8
mov eax, 0x4214ac
call fcn.00415fc4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41ffd0]
call fcn.00414ad8
mov eax, 0x4214d0
call fcn.00415fc4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41f4bc]
call fcn.00414ad8
mov eax, 0x4214f0
call fcn.00415fc4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x420e6c]
call fcn.00414ad8
mov eax, 0x421510
call fcn.00415fc4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41c93c]
call fcn.00414ad8
push 0xa
call sub.kernel32.dll_Sleep_1
xor eax, eax
call fcn.00414858
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
je 0x421358
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x421358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4213b7
lea eax, [ebp - 0x44]
mov edx, 9
call fcn.00404e48
lea eax, [ebp - 4]
call fcn.00404e24
ret
Function at 0x1244a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x126b010]
push edi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x3702d7
nop
push eax
nop
call 0x77bce026
mov ebx, eax
push 0x12749e8
mov dword [ebp - 4], ebx
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
mov byte [ebx + edi], 0
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x1244b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x768b43d3
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x12749e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x1244b06
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
push 0x12749e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x3702dc
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1246ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x1246f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x768a9910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x1246fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1246fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x1246f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x768a9910
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x1246fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x1246fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x1246fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.014790f4]
push eax
call dword [fcn.01479088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x1246f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.01247590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x1748af0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x14790e0]
test esi, esi
jne 0x1748b08
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1748b01
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x1748b01
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x1748b6a
jmp 0x1748b50
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x1478bf0]
add eax, esi
call fcn.01746610
test eax, eax
je 0x1748b73
inc edi
cmp edi, dword [ebp - 4]
jb 0x1748b50
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x2e00cd85
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x2e03584b
call fcn.2e034929
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x128], esi
mov eax, 0x102
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], esi
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x124], 0x2e045068
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], eax
push esi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.2e0288b3
push 0x104
mov byte [ebp - 4], 2
call fcn.2e00b7f1
cmp eax, dword [ebp - 0x11c]
jle 0x2e00ce03
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx]
push esi
push eax
lea eax, [ebp - 0x124]
push eax
push ecx
call dword [edx]
push dword [ebp - 0x120]
push esi
push esi
push 0x20
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push esi
push 1
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x120]
call sub.Csi.dll_void___stdcall_Csi::GetFolderProxyFromPath_class_MsoCF::String_struct_MsoCF::WzTraits___struct_Csi::IFolderProxy____bool__bool___bool_
mov ecx, dword [ebp - 0x128]
cmp ecx, esi
jne 0x2e00ce63
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x120], eax
je 0x2e00ce53
push dword [ebp - 0x120]
call fcn.2e01b807
mov ecx, dword [ebp - 0x128]
or dword [ebp - 4], 0xffffffff
cmp ecx, esi
je 0x2e00ceb6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x2e00ceb6
push esi
push esi
push edi
push esi
push esi
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x12c], esp
mov dword [eax], esi
push ecx
mov eax, esp
mov dword [eax], 0x2e001e50
mov eax, dword [ecx]
mov dword [ebp - 0x12c], esp
call dword [eax + 0x34]
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x120], eax
je 0x2e00cea2
push dword [ebp - 0x120]
call fcn.2e01b807
mov eax, dword [ebp - 0x128]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x2e00ceb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.2e0349ac
ret 4
Function at 0x2e00fdda
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x2e035e6f
call fcn.2e0348c0
mov esi, ecx
push 4
call fcn.2e00f39b
mov ecx, dword [esi + 0x4c]
cmp eax, dword [ecx + 8]
jle 0x2e00fe02
mov edx, dword [ecx]
mov edi, dword [edx]
push 1
push eax
push ecx
push edx
call dword [edi]
mov ebx, 0x2e0436ec
call dword [ebx - 4]
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x2e00fe89
push dword [ebx]
mov edx, dword [eax]
lea ecx, [esi + 4]
push ecx
mov ecx, eax
call dword [edx]
cmp eax, edi
jl 0x2e00fe89
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + 8]
mov eax, dword [esi + 0x50]
inc eax
push eax
call fcn.2e00f39b
cmp edi, eax
jge 0x2e00fe6e
mov ecx, dword [esi + 0x50]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
jge 0x2e00fe49
xor eax, eax
inc eax
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.2e00f2dc
push dword [eax]
call fcn.2e00f39b
mov ecx, dword [esi + 0x4c]
cmp eax, dword [ecx + 8]
jle 0x2e00fe6e
mov edx, dword [ecx]
mov edi, dword [edx]
push 1
push eax
push ecx
push edx
call dword [edi]
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x14]
push edx
lea eax, [eax + ecx*4]
push eax
call fcn.2e00f268
inc dword [esi + 0x50]
xor edi, edi
add ebx, 8
cmp ebx, 0x2e043704
jle 0x2e00fe07
mov dword [ebp - 0x10], edi
push 4
pop ebx
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x20019
push edi
push edi
push edi
push 0x2e002480
push 0x80000001
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2e00fef8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x2e00246c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e00fef8
cmp dword [ebp - 0x1c], ebx
jne 0x2e00fef8
cmp dword [ebp - 0x20], edi
je 0x2e00fef8
push 3
mov ecx, esi
call fcn.2e00fc79
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x2e00ff09
push dword [ebp - 0x10]
call fcn.2e01ab8f
xor eax, eax
call fcn.2e034998
ret

Function at 0x2e010cf5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0
push 3
call dword [sym.imp.MSO.dll_Ordinal_7086]
test eax, eax
jne 0x2e010d0c
xor eax, eax
pop ebp
ret 0x14
test byte [ebp + 0x18], 8
jne 0x2e010d27
cmp dword [ebp + 8], 0
je 0x2e010d06
push dword [ebp + 8]
call fcn.2e00bb4d
cmp eax, 0x104
jg 0x2e010d06
pop ebp
jmp dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
Function at 0x2e01b81b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
mov byte [ebp - 1], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x2e01b843
xor al, al
pop edi
leave
ret 4
push ebx
push esi
push 0x2e002f30
push dword [edi]
xor ebx, ebx
inc ebx
xor esi, esi
mov dword [ebp - 8], ebx
call fcn.2e01b77c
test eax, eax
je 0x2e01b87a
dec dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 8], 2
jne 0x2e01b87a
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
mov al, bl
pop ebx
jmp 0x2e01b83e
lea edi, [edi + esi*4]
mov eax, dword [edi]
mov esi, dword [sym.imp.MSO.dll_Ordinal_5098]
push ebx
inc eax
push 0x2e002f1c
inc eax
push eax
call esi
test eax, eax
je 0x2e01b89f
mov byte [0x2e045afc], bl
jmp 0x2e01b9a0
mov eax, dword [edi]
push ebx
inc eax
push 0x2e002f0c
inc eax
push eax
call esi
test eax, eax
je 0x2e01b8be
mov byte [0x2e045afd], bl
mov byte [ebp - 1], bl
jmp 0x2e01b9b5
mov eax, dword [edi]
push ebx
inc eax
push 0x2e002efc
inc eax
push eax
call esi
test eax, eax
je 0x2e01b8da
mov byte [0x2e045afe], bl
jmp 0x2e01b9a0
mov eax, dword [edi]
push ebx
inc eax
push 0x2e002eec
inc eax
push eax
call esi
test eax, eax
je 0x2e01b93c
cmp dword [ebp + 8], ebx
jle 0x2e01b9a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push 0x104
lea edi, [eax + ecx*4]
push 0x2e0456e0
mov byte [0x2e045aff], bl
push dword [edi]
call fcn.2e00bb70
cmp dword [ebp + 8], 2
jle 0x2e01b9a0
mov edi, dword [edi + 4]
push ebx
inc edi
push 0x2e002edc
inc edi
push edi
call dword [sym.imp.MSO.dll_Ordinal_9139]
test eax, eax
setne al
mov byte [0x2e045c90], al
jmp 0x2e01b9a0
cmp dword [ebp + 8], ebx
jle 0x2e01b9a3
mov eax, dword [edi]
push ebx
inc eax
push 0x2e002ed0
inc eax
push eax
call esi
test eax, eax
je 0x2e01b9a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push ebx
lea edi, [eax + ecx*4]
push 0x2e002ec0
push dword [edi]
call esi
test eax, eax
je 0x2e01b972
and dword [0x2e043d4c], 0
jmp 0x2e01b9a0
push ebx
push 0x2e002eb0
push dword [edi]
call esi
test eax, eax
je 0x2e01b988
mov dword [0x2e043d4c], ebx
jmp 0x2e01b9a0
push ebx
push 0x2e002ea8
push dword [edi]
call esi
test eax, eax
je 0x2e01b9a3
mov dword [0x2e043d4c], 2
mov byte [ebp - 1], bl
cmp byte [0x2e045afd], 0
jne 0x2e01b9b5
cmp byte [0x2e045afe], 0
je 0x2e01b9d8
cmp dword [ebp + 8], ebx
jle 0x2e01b9d8
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
push ebx
inc eax
push 0x2e002e98
inc eax
push eax
call esi
test eax, eax
je 0x2e01b9d8
mov byte [0x2e045c91], bl
cmp byte [ebp - 1], 0
je 0x2e01b9e4
mov byte [0x2e045c92], bl
mov bl, byte [ebp - 1]
mov edi, dword [ebp - 0xc]
jmp 0x2e01b86d