joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e9cd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x473018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x40
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 0x44
push 0
push eax
call fcn.00434cd0
mov ax, word [ebp + 0xc]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x24], xmm0
call fcn.00401c50
mov ecx, eax
test ecx, ecx
je 0x403cf3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x403bd3
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x403bdd
mov eax, dword [esi]
push edi
push eax
lea eax, [ebp + 0xc]
push str.__s___s
push eax
call fcn.004026c0
mov ecx, dword [ebp + 8]
add esp, 0x10
cmp dword [ecx + 0x10], 0
jne 0x403bfd
xor ecx, ecx
jmp 0x403c05
cmp dword [ecx + 0x14], 8
jb 0x403c05
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 0x10]
test edi, edi
jne 0x403c13
xor edx, edx
jmp 0x403c1b
cmp dword [edx + 0x14], 8
jb 0x403c1b
mov edx, dword [edx]
mov eax, dword [ebp + 0xc]
neg edi
sbb edi, edi
and edi, 0x400
mov dword [ebp - 0x10], edi
xor edi, edi
cmp dword [eax - 0xc], edi
cmove eax, edi
cmp dword [esi + 0x10], edi
jne 0x403c3c
xor esi, esi
jmp 0x403c44
cmp dword [esi + 0x14], 8
jb 0x403c44
mov esi, dword [esi]
lea edi, [ebp - 0x24]
push edi
lea edi, [ebp - 0x68]
push edi
mov edi, dword [ebp - 0x10]
push ecx
push edx
push edi
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403c6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x403cbe
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x403c89
cmp eax, 0xffffffff
je 0x403cb1
mov esi, 6
jmp 0x403cbe
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x403ca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x403cbe
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x403cbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x403cbe
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp + 0xc]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x403ce0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004019d0
int3
Function at 0x404d80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x44ebfd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x20c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
mov edi, dword [eax + 4]
push edx
or edi, 0x2001f
mov dword [ebp - 0x20], 0
push edi
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x18]
test esi, esi
jne 0x404ebd
xor esi, esi
test eax, eax
je 0x404e28
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
and edi, 0x300
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
test esi, esi
jne 0x404ebd
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x30]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x100
push ecx
lea ecx, [ebp]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x404e98
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404d80
mov esi, eax
test esi, esi
jne 0x404ebd
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x404e66
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404ea9
push eax
call ebx
mov dword [ebp - 0x18], 0
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
call fcn.00404c50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404ed5
push eax
call ebx
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00432e76
lea esp, [ebp + 0x204]
pop ebp
ret 4
Function at 0x4055d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x44ed65
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x405678
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x405678
call fcn.00404870
mov edi, eax
jmp 0x405780
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x405695
call fcn.00404870
jmp 0x405773
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x4056b0
call fcn.00404870
jmp 0x405773
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4056ce
mov edi, 0x8007000e
jmp 0x405775
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x4057c2
jb 0x4056f2
cmp eax, 0xffffffff
ja 0x4057c2
cmp eax, 0x400
jbe 0x40570b
push eax
lea ecx, [ebp]
call fcn.00408f30
mov dword [ebp - 4], 1
jmp 0x405730
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x405730
mov eax, dword [ebp]
test eax, eax
jne 0x40573e
mov edi, 0x8007000e
jmp 0x405775
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x405759
call fcn.00404870
jmp 0x405773
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00406360
mov edi, eax
test esi, esi
je 0x405780
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x405794
lea ecx, [ebp]
call fcn.00408df0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00432e76
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
push 0x80070216
call fcn.004019d0
int3
Function at 0x4092c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f55d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x473018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x409460
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00408e30
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x40941c
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x40939f
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x40940f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4093d6
mov eax, dword [eax]
cmp eax, ecx
je 0x4093ce
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x40940f
cmp ebx, eax
je 0x4093ec
nop word [eax + eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x40943e
cmp ebx, eax
jne 0x4093e0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x409350
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x40940f
push str.invalid_hash_bucket_count
call fcn.0043178c
int3
Function at 0x409540
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f58d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x473018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, eax
je 0x40970a
mov eax, dword [ebx + 4]
lea esi, [ebx + 4]
mov dword [ebp - 0x20], eax
mov edi, edx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [edi]
cmp edi, eax
mov eax, edi
mov dword [ebp - 0x24], ecx
mov edi, ecx
sete bl
push 0xc
push eax
mov dword [ebp - 0x34], edi
call fcn.004332cf
dec dword [esi + 4]
add esp, 8
test bl, bl
jne 0x409637
mov eax, edi
cmp eax, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
jne 0x4095f4
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x4096f8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edi
jmp 0x4096f8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x409649
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x40964c
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
cmp edi, dword [ebp + 0xc]
je 0x4096f8
nop dword [eax + eax]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
nop word [eax + eax]
mov esi, dword [edi]
cmp edi, eax
mov eax, edi
mov edi, esi
push 0xc
push eax
sete bl
mov dword [ebp - 0x34], edi
call fcn.004332cf
mov eax, dword [ebp - 0x1c]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x4096dd
cmp esi, dword [ebp + 0xc]
je 0x4096f3
mov eax, dword [ebp - 0x2c]
jmp 0x4096b0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, dword [ebp + 0xc]
jne 0x409660
jmp 0x4096f8
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f95f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x473018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.00431a36
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x40a7b1
push eax
push esi
call fcn.00431d68
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004317ec
int3
Function at 0x40d540
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45041d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov edi, 0x100
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
sub eax, ecx
cmp edi, eax
ja 0x40d5e6
cmp edx, 0x10
mov dword [ebp - 0x1c], 0x100
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
push edi
add esi, ecx
push 0
push esi
call fcn.00434cd0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40d5f5
push 0
push edi
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push edi
call fcn.0041aa70
mov ecx, dword [ebp - 0x1c]
lea edx, [ebx + 0xc]
push edx
push dword [ebx + 8]
inc ecx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00409740
add esp, 0x10
cmp eax, dword [ebp - 0x1c]
jbe 0x40d645
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004150f0
mov ecx, dword [ebp - 0x1c]
lea edx, [ebx + 0xc]
push edx
push dword [ebx + 8]
inc ecx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00409740
add esp, 0x10
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004150f0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40d699
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d68f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d6c9
push ecx
push edx
call fcn.004332cf
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043c8de
int3
Function at 0x41cba0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x452705
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x45e4d0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
lea eax, [ebp]
push 0x105
push eax
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41ccdf
cmp eax, 0x105
jae 0x41ccdf
call fcn.00401c50
mov ecx, eax
test ecx, ecx
je 0x41cd2f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [ebp]
test eax, 0xffff0000
jne 0x41cc54
movzx eax, ax
lea ecx, [ebp - 0x10]
push eax
call fcn.00402110
jmp 0x41cc7c
lea ecx, [ebp]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cc60
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 1
push 0x463290
call fcn.004023f0
push 0xc
push 0x463294
lea ecx, [ebp - 0x10]
call fcn.004023f0
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.00434568
add esp, 8
test eax, eax
jne 0x41ccb4
xor ebx, ebx
jmp 0x41ccc1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cce1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41cce1
xor ebx, ebx
mov eax, dword [edi + 4]
cmp ebx, eax
je 0x41ccf4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [edi + 4], ebx
mov eax, ebx
test eax, eax
jne 0x41cd01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00432e76
lea esp, [ebp + 0x210]
pop ebp
ret 8
push 0x80004005
call fcn.004019d0
int3
Function at 0x4233e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453b36
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0x5c
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x10]
cmp ecx, 0x7ffffffe
je 0x42360c
cmp dword [eax + 0x14], 8
jb 0x42343b
mov eax, dword [eax]
push 1
lea edx, [ebp - 0x74]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
call fcn.0041b6c0
push esi
lea edx, [ebp - 0x70]
mov dword [ebp - 0x78], 1
lea ecx, [ebp - 0x58]
call fcn.00419760
add esp, 4
mov byte [ebp - 4], 1
mov eax, 1
mov dword [ebp - 0x78], eax
and eax, 0xfffffffe
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004040c0
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x45f36c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00404580
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 0xf
push str.ShortcutCreated
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
mov dword [ebp - 0x74], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x423541
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x42357f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423575
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423611
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4235cd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4235c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423611
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004040c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
ret 0xc
call fcn.00402cd0
call fcn.0043c8de
int3