joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409ab0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
mov ecx, 0x513279
call fcn.004ba18d
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 1], 1
test ebx, ebx
je 0x409b86
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x409b6c
nop
mov eax, ebx
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409b2e
test dx, dx
je 0x409b2a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409b2e
add ecx, 4
add eax, 4
test dx, dx
jne 0x409b08
xor eax, eax
jmp 0x409b33
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409b55
mov esi, dword [ebp - 0x228]
push esi
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
jne 0x409b68
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409b00
jmp 0x409b6c
mov byte [ebp - 1], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 1]
xor ecx, ecx
pop edi
cmp esi, 0xffffffff
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409cc0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfdcd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov ecx, 0x513279
mov dword [ebp - 4], 0
call fcn.004ba18d
call fcn.00406a40
call fcn.00406d10
mov eax, dword [eax + 8]
test eax, eax
je 0x409d99
cmp eax, 0xa
ja 0x409d0e
jb 0x409d99
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0
sub esp, 0x18
mov ecx, esi
mov edx, esp
lea edi, [ecx + 2]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d31
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00403040
call fcn.004112e0
mov esi, dword [ebp + 8]
add esp, 0x1c
mov eax, esi
xorps xmm0, xmm0
push 1
sub esp, 0x18
lea edi, [eax + 2]
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409d74
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
push esi
call fcn.00403040
call fcn.004112e0
add esp, 0x1c
jmp 0x409e4e
xor eax, eax
mov dword [ebp - 0x3c], 0x610074
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x6b0073
push eax
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x610062
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0x750072
mov dword [ebp - 0x2c], 0x70006e
mov dword [ebp - 0x28], 0x6e0069
call fcn.00403eb0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0
push dword [ebp + 8]
push dword [eax]
push 0
call esi
lea ecx, [ebp - 0x20]
call fcn.0040b7b0
xor eax, eax
mov dword [ebp - 0x38], 0x610074
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x34], 0x6b0073
push eax
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x610062
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x700072
mov dword [ebp - 0x28], 0x6e0069
call fcn.00403eb0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [eax]
push 0
call esi
lea ecx, [ebp - 0x20]
call fcn.0040b7b0
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b010
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, 0x513279
push edi
call fcn.004ba18d
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40b076
push esi
push 0xf01ff
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40b055
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x40b075
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop edi
test eax, eax
jg 0x40b092
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x40b0a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov ecx, 0x513279
call fcn.004ba18d
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b0fc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x40b0e6
mov ecx, dword [ecx]
push 0
lea edx, [ebp - 4]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop esi
test eax, eax
jg 0x40b118
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x40b120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df6be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x513279
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004ba18d
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x40b1f4
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b1e3
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b1b7
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406920
push 1
push 0x4e7874
mov ecx, esi
call fcn.00404630
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3
Function at 0x40b200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df6be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x513279
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004ba18d
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x40b2d4
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b2c3
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b297
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406920
push 1
push 0x4e7874
mov ecx, esi
call fcn.00404630
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3

Function at 0x40b2e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df6be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x513279
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004ba18d
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x40b3b4
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b3a3
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b377
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406920
push 1
push 0x4e7874
mov ecx, esi
call fcn.00404630
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3
Function at 0x40b3c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dff66
push eax
mov eax, 0x1008
mov dword fs:[0], esp
call fcn.004ba770
push esi
mov ecx, 0x513279
mov dword [ebp - 0x14], 0
call fcn.004ba18d
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40b4a3
mov dword [ebp - 4], 0
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x40b574
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
push 0x800
push 0
mov dword [ebp - 0x14], 2
mov dword [esi], eax
lea eax, [ebp - 0x814]
push eax
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x814]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b563
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b466
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406920
push 1
push 0x4e7874
mov ecx, esi
call fcn.00404630
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x40b57e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x800
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b531
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b500
sub ecx, edx
lea eax, [ebp - 0x1014]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00406920
push 1
push 0x4e7874
lea ecx, [ebp - 0x10]
call fcn.00404630
mov esi, dword [ebp - 0x10]
push edi
lea edi, [esi - 0x10]
push edi
call fcn.00404960
mov esi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40b562
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
push 0x80004005
call fcn.00404840
int3
Function at 0x40b590
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ecx, 0x513279
call fcn.004ba18d
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 8]
xor bl, bl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b623
movzx eax, word [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40b61b
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x40b61b
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov edx, dword [ebp + 8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b640
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40b658
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x51321c
call fcn.004ba18d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40b6c5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40b6c5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40b6b4
cmp esi, edx
jae 0x40b6c5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40b6a2
cmp esi, edx
jae 0x40b6c5
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40c4f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dffb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov ecx, 0x5133b4
mov dword [ebp - 4], 0
call fcn.004ba18d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov dword [ebp - 0x60], 0x530054
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x46]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x5c], 0x720042
push eax
push ecx
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], 0x77006f
push edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x54], 0x650073
mov dword [ebp - 0x50], 0x480072
mov dword [ebp - 0x4c], 0x4d0054
call fcn.00403eb0
cmp dword [ebp + 0x20], 8
lea edx, [ebp + 0xc]
mov ecx, dword [eax]
cmovae edx, dword [ebp + 0xc]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x44]
mov eax, esp
mov byte [ebp - 4], 1
push ecx
push dword [ebp + 0x24]
movups xmmword [eax], xmm0
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040c230
add esp, 0x20
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
mov dword [eax], 0
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test eax, eax
je 0x40c5bc
push eax
call fcn.004ba21b
add esp, 4
test esi, esi
jne 0x40c5fb
mov esi, dword [ebp + 8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [eax + 2]
mov dword [esi + 0x14], 0
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c5e0
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
push 0
call fcn.00403040
jmp 0x40c65e
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0040c680
add esp, 8
mov edi, dword [eax]
mov dword [eax], 0
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x40c627
push eax
call fcn.004ba21b
add esp, 4
mov esi, dword [ebp + 8]
mov ecx, esi
test edi, edi
je 0x40c649
push edi
call fcn.0040c100
push edi
call fcn.004ba21b
push dword [ebp - 0x14]
call fcn.004ba21b
add esp, 8
jmp 0x40c65e
push 0x4e7870
call fcn.0040c100
push dword [ebp - 0x14]
call fcn.004ba21b
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.0040b7b0
lea ecx, [ebp + 0xc]
call fcn.0040f9c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, 0x51372e
call fcn.004ba18d
mov eax, dword [ebp + 8]
push 0
push 0
push eax
push 0x417900
push 0
push 0
mov dword [eax + 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]

Function at 0x414c60
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0a6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
push edi
mov edi, ecx
mov ecx, 0x51372e
call fcn.004ba18d
mov ax, word [0x4e7b8c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0xa
movq xmm0, qword [0x4e7b84]
mov dword [ebp - 0x20], 0xf
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edi + 4]
push 0
push 0x469
mov dword [ebp - 4], 0
push dword [eax]
call esi
mov eax, dword [edi + 4]
push 0
push 1
push 0x46a
push dword [eax]
call esi
push 0
call fcn.0040ab20
add esp, 4
mov dword [ebp - 0x5c], 0x500053
xor eax, eax
mov dword [ebp - 0x58], 0x680043
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x36]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x54], 0x6f0072
push eax
push ecx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x50], 0x65006d
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x4c], 0x46005f
mov dword [ebp - 0x48], 0x610072
mov dword [ebp - 0x44], 0x65006d
mov dword [ebp - 0x40], 0x690057
mov dword [ebp - 0x3c], 0x5f006e
call fcn.00403eb0
push dword [eax]
mov byte [ebp - 4], 1
call fcn.00406ef0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040b7b0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x54], 0x700047
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x36]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x50], 0x420074
push eax
push ecx
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], 0x6f0072
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], 0x730077
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x65002e
mov dword [ebp - 0x3c], 0x650078
call fcn.00403eb0
mov byte [ebp - 4], 2
push dword [eax]
call fcn.00409ab0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040b7b0
xor esi, esi
mov eax, dword [edi + 4]
add eax, 4
push eax
call fcn.00406f10
mov eax, dword [edi + 4]
add esp, 4
push dword [eax + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414dfc
inc esi
cmp esi, 0x14
jl 0x414dd7
mov ecx, dword [ebp - 0x20]
pop edi
pop esi
cmp ecx, 0x10
jb 0x414e2e
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414e24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e3c
push ecx
push edx
call fcn.004ba17f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004c10cf
int3
Function at 0x417930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df6be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, 0x51372e
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004ba18d
call fcn.00405850
mov ecx, eax
test ecx, ecx
je 0x417a02
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.004bd210
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4179f1
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4179c7
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00406920
push 0x4e7874
mov ecx, esi
call fcn.00411d00
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404840
int3
Function at 0x419100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e112f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, 0x51378d
mov dword [ebp - 0x10], esi
call fcn.004ba18d
push 0
mov ecx, esi
call fcn.004bb78b
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x419197
push eax
push esi
call fcn.004bba95
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004bb673
int3
Function at 0x41bcf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e130c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, 0x513810
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x10], 0
call fcn.004ba18d
cmp dword [ebp + 8], 0
je 0x41bd64
mov dword [ebx], 0x4e7ef0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0041a690
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004ba1e2
mov esi, eax
add esp, 4
test esi, esi
je 0x41bddc
push 1
mov byte [ebp - 4], 3
call fcn.004bb998
add esp, 4
mov dword [esi + 4], eax
jmp 0x41bdde
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
pop edi
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x421100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e183d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, 0x513a38
call fcn.004ba18d
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x61004d
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x34], 0x6e0069
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x6e0057
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x2e0064
mov dword [ebp - 0x28], 0x6d0078
mov dword [ebp - 0x24], 0x6c
call fcn.00403eb0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.00424bd0
lea ecx, [ebp - 0x20]
call fcn.0040b7b0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4