joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bfc3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42096b
call fcn.00414f70
sub esp, 0x14
and dword [ebp - 0x20], 0
push ebx
push esi
push edi
push 1
lea ecx, [ebp - 0x1c]
pop ebx
mov dword [ebp - 4], ebx
call fcn.004010db
push 0x20004
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401bf1
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.004010db
push 0x487774
push 0x10000
push edi
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004010db
lea eax, [esi + esi + 4]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.00401bf1
test esi, esi
mov dword [ebp - 0x14], eax
jle 0x40c06d
mov cx, word [edi]
test cx, cx
je 0x40c049
mov word [eax], cx
inc eax
inc eax
jmp 0x40c068
push dword [ebp - 0x14]
and word [eax], 0
lea ecx, [ebp - 0x10]
call fcn.0040130a
push 0x426ba8
lea ecx, [ebp - 0x10]
call fcn.0040130a
mov eax, dword [ebp - 0x14]
inc edi
inc edi
dec esi
jne 0x40c03a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004010e7
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00401cbe
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401cbe
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401cbe
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c123
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call edi
call edi
mov si, ax
and esi, 0x3ff
call edi
push 1
pop ecx
push 7
mov dword [0x48775c], ecx
pop edi
shr ax, 0xa
cmp si, di
jne 0x40c15c
and dword [0x48775c], 0
jmp 0x40c3d4
cmp si, 9
jne 0x40c16d
mov dword [0x48775c], ecx
jmp 0x40c3d4
push 8
pop ebx
cmp si, bx
jne 0x40c184
mov dword [0x48775c], 2
jmp 0x40c3d4
cmp si, 0x19
jne 0x40c199
mov dword [0x48775c], 3
jmp 0x40c3d4
push 4
pop edx
cmp si, dx
jne 0x40c1bf
cmp ax, cx
mov dword [0x48775c], edx
jne 0x40c3d4
mov dword [0x48775c], 0x11
jmp 0x40c3d4
cmp si, 0xc
jne 0x40c1d4
mov dword [0x48775c], 5
jmp 0x40c3d4
cmp si, 0x29
jne 0x40c1e9
mov dword [0x48775c], 6
jmp 0x40c3d4
cmp si, 0x1d
jne 0x40c1fa
mov dword [0x48775c], edi
jmp 0x40c3d4
cmp si, 0x18
jne 0x40c20b
mov dword [0x48775c], ebx
jmp 0x40c3d4
cmp si, cx
jne 0x40c21f
mov dword [0x48775c], 9
jmp 0x40c3d4
push 0xe
pop edx
cmp si, dx
jne 0x40c236
mov dword [0x48775c], 0xa
jmp 0x40c3d4
push 0x10
pop edi
cmp si, di
jne 0x40c24d
mov dword [0x48775c], 0xb
jmp 0x40c3d4
cmp si, 0x13
jne 0x40c262
mov dword [0x48775c], 0xd
jmp 0x40c3d4
cmp si, 0xa
jne 0x40c286
cmp ax, bx
mov dword [0x48775c], edx
jne 0x40c3d4
mov dword [0x48775c], 0x1b
jmp 0x40c3d4
push 0x21
pop ebx
cmp si, bx
jne 0x40c29d
mov dword [0x48775c], 0xf
jmp 0x40c3d4
push 0x15
pop edx
cmp si, dx
je 0x40c1ef
cmp si, 0x11
jne 0x40c2be
mov dword [0x48775c], 0x12
jmp 0x40c3d4
cmp si, 5
jne 0x40c2cf
mov dword [0x48775c], edx
jmp 0x40c3d4
cmp si, 0x12
jne 0x40c2e4
mov dword [0x48775c], 0x16
jmp 0x40c3d4
push 0x22
pop edx
cmp si, dx
jne 0x40c2fb
mov dword [0x48775c], 0x17
jmp 0x40c3d4
cmp si, 0x16
jne 0x40c323
cmp ax, cx
mov dword [0x48775c], 0x18
jne 0x40c3d4
mov dword [0x48775c], 0xc
jmp 0x40c3d4
push 0x1f
pop ecx
cmp si, cx
jne 0x40c33a
mov dword [0x48775c], 0x19
jmp 0x40c3d4
push 0x1e
pop eax
cmp si, ax
jne 0x40c351
mov dword [0x48775c], 0x1a
jmp 0x40c3d4
cmp si, 0x39
jne 0x40c363
mov dword [0x48775c], 0x1c
jmp 0x40c3d4
cmp si, 0xd
jne 0x40c375
mov dword [0x48775c], 0x1d
jmp 0x40c3d4
cmp si, 0x36
jne 0x40c382
mov dword [0x48775c], eax
jmp 0x40c3d4
cmp si, 0x3e
je 0x40c162
cmp si, 0x64
jne 0x40c39e
mov dword [0x48775c], 0x20
jmp 0x40c3d4
cmp si, 0xb
je 0x40c200
cmp si, 0x14
je 0x40c2c4
cmp si, 0x1a
jne 0x40c3c4
mov dword [0x48775c], 0x23
jmp 0x40c3d4
cmp si, 2
jne 0x40c3d4
mov dword [0x48775c], 0x24
push dword [0x48775c]
push 0x430400
call fcn.0040bfa9
pop ecx
mov dword [0x48775c], eax
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x40c96e
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [0x426d1c]
xor esi, esi
mov dword [0x4419b4], ebx
mov dword [0x487f74], esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], esi
call edi
cmp eax, 0xb7
je 0x40c9ac
call edi
cmp eax, 5
jne 0x40c9c6
lea eax, [ebp + 8]
push eax
push 0x40bcf1
call dword [sym.imp.USER32.dll_EnumWindows]
push 0xaffe
call dword [sym.imp.USER32.dll_PostQuitMessage]
push esi
push ebx
push esi
push esi
push 0xffffffffffffff9c
mov eax, SysReAllocStringLen
push 0xffffffffffffff9c
push eax
push eax
push 0xcf0002
push 0x4417b4
push 0x4415b4
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 0x3e8
push esi
push eax
push eax
push edi
call dword [sym.imp.USER32.dll_SetTimer]
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40d7f0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x10]
push 0x419
push dword [ebp + 0xc]
call esi
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x41d
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret

Function at 0x40e042
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e0e5
xor ebp, ebp
mov dword [esp + 0x10], ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebp
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, eax
cmp edi, ebx
je 0x40e0a6
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea eax, [esp + 0x10]
push ebp
push eax
push ebp
push 0x2000
call esi
push 3
push ebp
push ebp
push 0x2001
call esi
mov eax, dword [0x488484]
cmp eax, ebp
je 0x40e0b3
push 2
call eax
mov eax, dword [0x488480]
cmp eax, ebp
je 0x40e0c0
push 0xffffffffffffffff
call eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, ebx
je 0x40e0e5
push 3
push dword [esp + 0x14]
push ebp
push 0x2001
call esi
push ebp
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40e0eb
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x40e138
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e138
push ebx
push 0x12
xor bl, bl
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test ah, 0x80
jne 0x40e122
push 1
pop ebx
push 0
push ebx
push 0
push 0x12
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test bl, bl
pop ebx
je 0x40e138
push 0
push 3
push 0
push 0x12
call esi
pop edi
pop esi
ret
Function at 0x40e1c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push edi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00414b40
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
or ah, 2
mov ecx, 0x1ff
mov dword [ebp - 0x38], eax
mov eax, dword [0x434820]
mov dword [ebp - 0x83c], eax
xor eax, eax
lea edi, [ebp - 0x838]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x83c]
push edx
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x83c]
push 0x2e
push eax
call fcn.004156bf
pop ecx
pop ecx
pop edi
test eax, eax
je 0x40e23e
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret

Function at 0x40e2f1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push 0x1bc
cmp dword [ebp + 0xc], eax
jne 0x40e303
push eax
jmp 0x40e305
push 2
push eax
movzx eax, byte [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_keybd_event]
pop ebp
ret
Function at 0x40e59a
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xa
pop ecx
xor eax, eax
mov edi, esi
push 0x5b
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ebx, 0x8000
push 1
test ebx, eax
pop ebp
je 0x40e5c1
mov dword [esi], ebp
push 0x5c
call edi
test ebx, eax
je 0x40e5cc
mov dword [esi + 4], ebp
push 0xa5
call edi
test ebx, eax
je 0x40e5da
mov dword [esi + 8], ebp
push 0xa4
call edi
test ebx, eax
je 0x40e5e8
mov dword [esi + 0xc], ebp
push 0x12
call edi
test ebx, eax
je 0x40e5f3
mov dword [esi + 0x10], ebp
push 0x11
call edi
test ebx, eax
je 0x40e5fe
mov dword [esi + 0x14], ebp
push 0xa3
call edi
test ebx, eax
je 0x40e60c
mov dword [esi + 0x18], ebp
push 0xa2
call edi
test ebx, eax
je 0x40e61a
mov dword [esi + 0x1c], ebp
cmp dword [esi], 0
mov edi, dword [sym.imp.USER32.dll_keybd_event]
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, 0x1bc
je 0x40e644
push ebp
push 2
push 0
push 0x5b
call ebx
push eax
push 0x5b
call edi
mov dword [esi], 1
cmp dword [esi + 4], 0
je 0x40e65f
push ebp
push 2
push 0
push 0x5c
call ebx
push eax
push 0x5c
call edi
mov dword [esi + 4], 1
cmp dword [esi + 8], 0
je 0x40e680
push ebp
push 2
push 0
push 0xa5
call ebx
push eax
push 0xa5
call edi
mov dword [esi + 8], 1
cmp dword [esi + 0xc], 0
je 0x40e6a1
push ebp
push 2
push 0
push 0xa4
call ebx
push eax
push 0xa4
call edi
mov dword [esi + 0xc], 1
cmp dword [esi + 0x14], 0
je 0x40e6bc
push ebp
push 2
push 0
push 0x11
call ebx
push eax
push 0x11
call edi
mov dword [esi + 0x14], 1
cmp dword [esi + 0x18], 0
je 0x40e6dd
push ebp
push 2
push 0
push 0xa3
call ebx
push eax
push 0xa3
call edi
mov dword [esi + 0x18], 1
cmp dword [esi + 0x1c], 0
je 0x40e6fe
push ebp
push 2
push 0
push 0xa2
call ebx
push eax
push 0xa2
call edi
mov dword [esi + 0x1c], 1
cmp dword [esi + 0x10], 0
je 0x40e719
push ebp
push 3
push 0
push 0x12
call ebx
push eax
push 0x12
call edi
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40e97c
Capabilities:
Get common file path

Disassembly:
mov ecx, 0x4425e0
jmp 0x40e97c
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 0x4010]
pop ecx
and word [eax], 0
add eax, 0x1000
dec ecx
jne 0x40e988
and dword [esi + 0x45038], 0
push str.Shell32.dll
mov dword [esi], 0x422648
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi + 0x45030], eax
lea eax, [esi + 0x4481c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, esi
pop esi
ret
Function at 0x40ea54
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
mov esi, str.hide_info
push 0
mov ebx, ecx
push esi
call fcn.0040bfa9
pop ecx
test eax, eax
pop ecx
jne 0x40eaed
push edi
push 1
push esi
call fcn.0040bf91
mov eax, dword [0x434820]
pop ecx
pop ecx
mov dword [ebp - 0x800], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x7fc]
push 0x43068c
rep stosd dword es:[edi], eax
push 0x45
call fcn.0040bd5e
pop ecx
push eax
push 0x34
call fcn.0040bd5e
pop ecx
push eax
push 0x33
call fcn.0040bd5e
pop ecx
push eax
lea eax, [ebp - 0x800]
push str._s_n_s___s_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push 0x40
push 0x32
call fcn.0040bd5e
pop ecx
push eax
lea eax, [ebp - 0x800]
push eax
push dword [ebx + 0x45038]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
push 0
push dword [ebx + 0x45038]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x441dc0
call fcn.00413fc8
pop esi
pop ebx
leave
ret
Function at 0x40fd7c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
push 0
neg eax
sbb eax, eax
and eax, str.runas
push eax
mov eax, dword [esp + 0x10]
shl eax, 9
push 0
lea eax, [eax + esi - 0x1002bf4]
push eax
call fcn.0040e1c1
add esp, 0x10
pop esi
ret 4
Function at 0x4103a9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.00416200
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 4], eax
mov eax, dword [0x434820]
mov dword [ebp - 0x1030], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x102c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1030]
push 0x800
push eax
push 0x410
push dword [ebx + 0x45038]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x1030]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x3a
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 3
call fcn.0040bd5e
pop ecx
mov edi, 0x500
push eax
or esi, edi
push 0x3e8
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
call esi
push 0x3d
call fcn.0040bd5e
pop ecx
push eax
push 0x7d0
push edi
push dword [ebp - 4]
call esi
push 0
push 0
push 0xc00
push dword [ebp - 4]
call esi
push 0xbb9
mov ecx, 0x4880c0
push dword [ebp - 4]
call fcn.00407433
push 0x8015
lea eax, [ebp - 0x30]
push dword [ebx + 0x4502c]
push eax
call fcn.0040d7f0
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x4502c]
call dword [sym.imp.USER32.dll_ClientToScreen]
push 1
mov edi, 0x403
push 0x8015
push edi
push dword [ebx + 0x4502c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push dword [ebp - 4]
call fcn.0041034f
pop ecx
push 0
push dword [0x488464]
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x100
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push 0
push 0x8015
push edi
mov dword [ebp - 0x10], eax
push dword [ebx + 0x4502c]
call esi
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x41054c
cmp esi, 0x3e8
jne 0x410517
lea eax, [ebp - 0x1030]
mov ecx, ebx
push eax
call fcn.0041017e
cmp esi, 0x7d0
jne 0x410539
push 0
mov ecx, 0x4880c0
call fcn.00405f20
push 5
push dword [0x488464]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, 0xbb8
jl 0x41054c
push esi
mov ecx, ebx
push dword [ebp - 4]
call fcn.00410264
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4105ca
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x420bf4
call fcn.00414f70
sub esp, 0x18
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
lea ecx, [ebp - 0x20]
call fcn.0040117e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
or dword [ebp - 0x10], 0xffffffff
push str.AppsUseLightTheme
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040117e
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push eax
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x1c]
call fcn.00401cbe
cmp dword [ebp - 0x10], 1
jne 0x410633
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4110dc
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0x204
push esi
mov esi, ecx
jne 0x4110f0
call fcn.00412354
jmp 0x41112a
push dword [esi + 0x45038]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41111c
push 5
push dword [esi + 0x45038]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x45038]
call fcn.0040e0eb
pop ecx
jmp 0x41112a
push 0
push dword [esi + 0x45038]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x4111e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.00416200
and dword [ebp - 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call ebx
lea edx, [esi + eax*2]
mov eax, dword [0x434820]
mov dword [ebp - 0x1218], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1214]
cmp esi, edx
mov dword [ebp - 4], edx
rep stosd dword es:[edi], eax
jae 0x4112f9
cmp word [esi], 0x25
jne 0x4112b7
mov dword [ebp - 0x10], esi
inc esi
inc esi
cmp esi, edx
mov dword [ebp - 0xc], esi
jae 0x4112d6
cmp word [esi], 0x25
jne 0x411284
and word [esi], 0
mov eax, dword [0x434820]
mov dword [ebp - 0x218], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x214]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x41128d
mov word [esi], 0x25
inc esi
inc esi
cmp esi, dword [ebp - 4]
jb 0x411242
jmp 0x4112d6
mov eax, dword [ebp - 0x10]
mov word [eax], 0x25
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 8], 1
mov word [esi], 0x25
jmp 0x4112d6
lea eax, [ebp - 0x1218]
push eax
call ebx
mov cx, word [esi]
add eax, eax
mov word [ebp + eax - 0x1218], cx
and word [ebp + eax - 0x1216], 0
mov edx, dword [ebp - 4]
inc esi
inc esi
cmp esi, edx
jb 0x411228
cmp dword [ebp - 8], 0
je 0x4112f9
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x411386
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.004113fa
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push eax
push 0x40e31d
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, esi
mov dword [0x4884a0], eax
jne 0x4113f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
lea ecx, [ebp - 4]
push esi
push ecx
push esi
push eax
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4113f7
cmp dword [0x488500], esi
jne 0x4113e8
push 0x10
push str.Error_hooking_keyboard
push dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 4]
inc dword [0x488500]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
leave
ret
Function at 0x411412
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41143f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x41143b
call esi
cmp eax, 3
je 0x41143b
or eax, 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret
push 0
test al, 0x10
pop eax
pop esi
setne al
inc eax
ret
Function at 0x412229
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc00
cmp dword [0x487634], 0
push ebx
push esi
push edi
je 0x41234c
mov eax, dword [0x434820]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x400], eax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3fc]
rep stosd dword es:[edi], eax
mov ebx, str._X64_
lea eax, [ebp - 0x400]
push ebx
push eax
call esi
mov edi, 0x426d10
lea eax, [ebp - 0x400]
push edi
push eax
call esi
push 0x55
call fcn.0040bd5e
pop ecx
push eax
lea eax, [ebp - 0x400]
push eax
call esi
lea eax, [ebp - 0x400]
push edi
push eax
call esi
lea eax, [ebp - 0x400]
push ebx
push eax
call esi
lea eax, [ebp - 0x400]
push edi
push eax
call esi
lea eax, [ebp - 0x400]
push 0x431094
push eax
call esi
xor ebx, ebx
push ebx
push 0x54
call fcn.0040bd5e
pop ecx
push eax
lea eax, [ebp - 0x400]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41234c
mov eax, dword [0x434820]
mov ecx, 0x1ff
mov dword [ebp - 0xc00], eax
xor eax, eax
cmp dword [0x48775c], ebx
lea edi, [ebp - 0xbfc]
rep stosd dword es:[edi], eax
push str._Download
jne 0x412308
push 0x14
jmp 0x41230a
push 0x15
call fcn.0040bbd0
pop ecx
push eax
lea eax, [ebp - 0xc00]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0xc00]
push dword [0x426d1c]
push eax
call esi
push 5
push ebx
lea eax, [ebp - 0xc00]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412afa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x420e17
call fcn.00414f70
sub esp, 0xd0
and dword [ebp - 0x30], 0
push ebx
lea ecx, [ebp - 0x14]
call fcn.004010db
and byte [ebp - 0x16], 0
push 1
pop ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x3a
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x77
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x66
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x77
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6b
mov byte [ebp - 0x17], 0x2e
call fcn.004012a8
cmp dword [0x48775c], 0
jne 0x412bb6
push 0x426718
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x412c4c
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x412c29
cmp dword [ebp - 0xdc], 0xffffff10
jl 0x412c04
cmp dword [ebp - 0xdc], 0xf0
jg 0x412c04
push 0x426714
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x412c4c
push 0x426710
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x412c4c
push 0x426710
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00401cbe
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004010e7
mov dword [ebp - 0x30], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret