joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44edd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44ee03
push esi
call fcn.00451ee0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44edfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44ee89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44ee72
mov eax, dword [esi + 8]
test eax, eax
je 0x44ee27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44ee6e
cmp eax, 2
je 0x44ee72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44ee1a
cmp eax, 3
je 0x44ee4d
cmp eax, 1
jne 0x44ee1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44ee1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44ee1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044eeb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44ee98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044eeb0
add esp, 4
pop esi
ret

Function at 0x45c190
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x45c233
test eax, eax
jbe 0x45c233
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45c233
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45c1de
xor esi, esi
jmp 0x45c1e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45c20f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045fbc0
add esi, eax
push esi
mov ebx, esi
call fcn.0045fbc0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45c1f0
pop ebp
test edi, edi
pop edi
jne 0x45c233
test ebx, ebx
je 0x45c233
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046c4c0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45c375
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45c48d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c48d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048ff1b
mov esi, eax
test esi, esi
je 0x45c48d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45c48d
mov ecx, esi
call fcn.0045c2e0
cmp edi, eax
jge 0x45c48d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45c413
mov dword [esp + 0x34], 1
jmp 0x45c46e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45c48d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045ab50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45fea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45ff06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45ff06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45fee7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x460680
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4606b8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4613e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x461429
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4618a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d9a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00461450
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004614d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004614d0
lea ecx, [esi + 0xc]
call fcn.0048e4a5
lea ecx, [esi + 0x10]
call fcn.0048e4a5
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00462a60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00462a60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00462a60
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048e51a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048e51a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x465df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49dd08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004661e0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5089dc
call fcn.0046d6d8
mov ecx, dword [0x4ac8d8]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00463520
mov esi, 0x4ac930
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x465e97
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x465e8e
cmp al, 0xff
je 0x465e8e
dec al
mov byte [ecx], al
jmp 0x465e97
push ecx
call fcn.0048e284
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0048a180
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x465edd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x465ed4
cmp al, 0xff
je 0x465ed4
dec al
mov byte [ecx], al
jmp 0x465edd
push ecx
call fcn.0048e284
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0046d75f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4847c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49edc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.00479731
mov eax, dword [0x4af9a8]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00479663
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004852d0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x484867
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48485e
cmp al, 0xff
je 0x48485e
dec al
mov byte [ecx], al
jmp 0x484867
push ecx
call fcn.0048e284
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x484898
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48488f
cmp al, 0xff
je 0x48488f
dec al
mov byte [ecx], al
jmp 0x484898
push ecx
call fcn.0048e284
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4908be
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4908f6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048e975
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048e94d
jmp 0x490902
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x491fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x491ff2
call fcn.00497e71
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x491ff2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x491fe9
xor eax, eax
jmp 0x491ffa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00492000
pop edi
pop esi
pop ebx
ret 4

Function at 0x4983a1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4983cf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4983ed
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00498307
jmp 0x4983ed
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4983ed
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00498307
test edi, edi
mov eax, edi
jne 0x4983d7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4018f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x40adb4
call fcn.0040a774
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x415fe0
and byte [esi + 0xb5], 0
and byte [ebp - 0x1d], 0
mov dword [ebp - 4], 3
mov byte [ebp - 0x30], 0x57
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x69
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x46
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x53
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x4f
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x21], 0x6a
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x74
nop
nop
mov edi, dword [0x414028]
push 0
call edi
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [0x41402c]
lea eax, [ebp - 0x30]
push eax
push 0x414100
call ebx
push eax
call dword [0x414030]
push 0xffffffffffffffff
push dword [esi + 0xa4]
call eax
nop
nop
push 0
call edi
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + 0xa8], 0xffffffff
je 0x4019b0
mov ecx, esi
call fcn.004024a3
and byte [ebp - 0x11], 0
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x65
nop
nop
push 0
call edi
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x1c]
push eax
push 0x414100
call ebx
push eax
call dword [0x414030]
push dword [esi + 0xa4]
mov ebx, eax
call ebx
nop
nop
push 0
call edi
nop
nop
nop
nop
nop
nop
nop
push dword [esi + 0xac]
call ebx
call dword [0x415f88]
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.00401061
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00401061
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call fcn.00401061
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00401061
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10001889
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000196a
push edi
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x88], 2
sete al
xor edi, edi
mov dword [0x1000ae68], eax
cmp eax, edi
jne 0x100018fb
mov eax, dword [ebp + 8]
mov dword [0x1000ae6c], eax
cmp dword [0x1000ae70], edi
jne 0x10001969
push str.WM_INJECT_HOOK
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x1000ae70], eax
jmp 0x10001969
push esi
mov esi, 0x10000
push esi
call fcn.100019ca
push esi
mov dword [0x1000ae48], eax
mov dword [0x1000ae44], edi
call fcn.100019ca
pop ecx
pop ecx
push 0x1000acb0
push 0x202
mov dword [0x1000ac64], eax
mov dword [0x1000ac9c], edi
mov dword [0x1000aca4], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1000ae4c
call esi
push 0x1000ac84
call esi
push 0x1000acac
push edi
push edi
push 0x10001039
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.100017e8
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.10001a94
leave
ret 0xc

Function at 0x10001a94
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10001a9e
repz ret
jmp fcn.10003573
Function at 0x100054b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10003914
and dword [ebp - 4], 0
cmp dword [0x1000b7b4], 0
mov ebx, eax
jne 0x10005567
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10005618
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10008998
push edi
call esi
test eax, eax
je 0x10005618
push eax
call fcn.100038a2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000b7b4], eax
call esi
push eax
call fcn.100038a2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000b7b8], eax
call esi
push eax
call fcn.100038a2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000b7bc], eax
call esi
push eax
call fcn.100038a2
pop ecx
mov dword [0x1000b7c4], eax
test eax, eax
je 0x10005567
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100038a2
pop ecx
mov dword [0x1000b7c0], eax
mov eax, dword [0x1000b7c0]
cmp eax, ebx
je 0x100055bf
cmp dword [0x1000b7c4], ebx
je 0x100055bf
push eax
call fcn.1000391d
push dword [0x1000b7c4]
mov esi, eax
call fcn.1000391d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100055bf
test edi, edi
je 0x100055bf
call esi
test eax, eax
je 0x100055b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100055b6
test byte [ebp - 0xc], 1
jne 0x100055bf
or dword [ebp + 0x10], 0x200000
jmp 0x100055f8
mov eax, dword [0x1000b7b8]
cmp eax, ebx
je 0x100055f8
push eax
call fcn.1000391d
pop ecx
test eax, eax
je 0x100055f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100055f8
mov eax, dword [0x1000b7bc]
cmp eax, ebx
je 0x100055f8
push eax
call fcn.1000391d
pop ecx
test eax, eax
je 0x100055f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000b7b4]
call fcn.1000391d
pop ecx
test eax, eax
je 0x10005618
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000561a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407be8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x278
push esi
push edi
lea edi, [ebp - 0x284]
mov ecx, 0x9e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax

Function at 0x40803b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413c29
mov eax, dword fs:[0]
push eax
sub esp, 0xa3c
push esi
push edi
lea edi, [ebp - 0xa48]
mov ecx, 0x28f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov byte [ebp - 0xa29], 0
push 0x400
lea eax, [ebp - 0xa24]
push eax
call fcn.00407be8
pop ecx
pop ecx
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
je 0x408103
mov esi, esp
push 0x426fe8
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
cmp esi, esp
call fcn.00411cf8
mov esi, esp
lea eax, [ebp - 0xa24]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
cmp esi, esp
call fcn.00411cf8
jmp 0x408126
mov esi, esp
push 0x426eec
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
cmp esi, esp
call fcn.00411cf8
mov esi, esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
cmp esi, esp
call fcn.00411cf8
lea ecx, [ebp - 0xa40]
call fcn.00411152
and dword [ebp - 4], 0
push 0x105
push 0
push dword [ebp + 8]
push str.Local_AppData
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xa40]
call fcn.0041162d
mov esi, esp
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp esi, esp
call fcn.00411cf8
test eax, eax
jne 0x4081b5
mov esi, esp
push 0
push 0x1c
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, esp
call fcn.00411cf8
test eax, eax
je 0x4081b3
mov byte [ebp - 0xa29], 1
jmp 0x4081bc
mov byte [ebp - 0xa29], 1
mov al, byte [ebp - 0xa29]
mov byte [ebp - 0xa45], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa40]
call fcn.0041117c
mov al, byte [ebp - 0xa45]
push edx
mov ecx, ebp
push eax
lea edx, [0x408217]
call fcn.00411ca2
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411d30
add esp, 0xa48
cmp ebp, esp
call fcn.00411cf8
leave
ret
Function at 0x420845
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0043cb88
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0043cb88
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x4208c1
mov eax, dword [0x938ba0]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x15
call fcn.0043cb94
cmp dword [ebp - 0x18], esp
je 0x4208ed
push 6
call fcn.0043cb8e
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x65
call fcn.0043cb94
cmp dword [ebp - 0x18], esp
je 0x42091b
push 6
call fcn.0043cb8e
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x66
call fcn.0043cb94
cmp dword [ebp - 0x18], esp
je 0x420947
push 6
call fcn.0043cb8e
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x67
call fcn.0043cb94
cmp dword [ebp - 0x18], esp
je 0x4209d6
push 6
call fcn.0043cb8e
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x16
call fcn.0043cb94
cmp dword [ebp - 0x18], esp
je 0x4209fb
push 6
call fcn.0043cb8e
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x420a03
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0043cb82
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0043cb82
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8