joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
test esi, esi
je 0x401172
test edi, edi
je 0x401172
test ecx, ecx
jne 0x40104d
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
sub edi, ecx
lea eax, [edx*4]
je 0x40103e
add eax, 4
pop edi
inc eax
mov dword [ebx], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
je 0x401172
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
mov dword [ebp - 0xc], edx
test edx, edx
jle 0x4010e1
mov dword [ebp - 4], edx
lea esp, [esp]
mov al, byte [esi]
movzx ebx, byte [esi + 2]
mov dl, byte [esi + 1]
movzx eax, al
mov edi, eax
shr edi, 2
mov byte [ebp - 5], bl
movzx ebx, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, dl
shl eax, 4
mov edx, edi
shr edx, 4
or edx, eax
and edx, 0x3f
mov byte [ecx], bl
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 5]
mov edx, eax
shr edx, 6
add edi, edi
add edi, edi
or edx, edi
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], dl
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
add esi, 3
add ecx, 4
dec dword [ebp - 4]
jne 0x401070
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*2]
sub edi, edx
dec edi
je 0x40113b
dec edi
jne 0x401163
movzx eax, byte [esi]
mov dl, byte [esi + 1]
mov esi, eax
shr esi, 2
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edx, dl
and eax, 3
mov byte [ecx], bl
mov esi, edx
shl eax, 4
shr esi, 4
or esi, eax
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
and edx, 0xf
movzx edx, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], dl
lea eax, [edi + 1]
pop edi
mov byte [ecx + 3], 0x3d
add ecx, 4
pop esi
mov byte [ecx], 0
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi]
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
mov byte [ecx], dl
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov word [ecx + 2], 0x3d3d
add ecx, 4
pop edi
pop esi
mov byte [ecx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4112c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x401447
cmp dword [ebp + 0x18], 1
jb 0x401447
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], esp
mov ecx, esp
push ebx
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00401bd0
call fcn.00405320
mov eax, dword [ebp - 0x2c]
add esp, 0x20
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x30], ebx
jae 0x401410
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push ebx
lea ecx, [ebp - 0x30]
push ecx
push edx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401477
cmp dword [ebp - 0x18], 0x10
jb 0x40143a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040b62c
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x1c], 8
jb 0x401459
mov edx, dword [ebp + 8]
push edx
call fcn.0040b62c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp - 0x18], 0x10
jb 0x401489
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040b62c
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x4014a8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b62c
add esp, 4
mov al, 1
jmp 0x40145b
Function at 0x4029c0
Capabilities:
Hide graphical window
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x7c]
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x94], 0
lea edi, [esi + 0x94]
jne 0x402a7b
push edi
push 0x414220
push 0x17
push 0
push 0x412200
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402a6b
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
mov eax, dword [edi]
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x402a3c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x402a49
push 0x1f4
call ebx
inc esi
cmp esi, 8
jl 0x402a10
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf0]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c0
mov eax, dword [0x41607c]
xor eax, esp
mov dword [esp + 0x6bc], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x4bc]
push eax
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test edi, edi
jne 0x404d7e
lea edi, [esp + 0x4b8]
push edi
lea ecx, [esp + 0x2b4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [esp + 0x2b0], 0
je 0x404df4
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404da0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x2ae], 0x5c
jne 0x404dc4
xor edx, edx
mov word [esp + eax*2 + 0x2ae], dx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x2b4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x404df4
mov dl, byte [esp + 0x60]
not dl
movzx esi, dl
push eax
shr esi, 4
call dword [sym.imp.KERNEL32.dll_FindClose]
and esi, 1
jne 0x404e0a
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x6bc]
xor ecx, esp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0040f530
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor edx, edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push edx
push 0x10
push edx
push edx
push edx
push edx
push edi
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], dx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x404e82
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 8]
push eax
call edi
mov ecx, dword [esp + 0x6c4]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
Function at 0x406050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4116c6
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x90], 0
je 0x40608f
mov eax, 1
jmp 0x406249
cmp byte [esi + 0x54], 0
mov dword [ebp - 0x8c], 0x6f004d
mov dword [ebp - 0x88], 0x69007a
mov dword [ebp - 0x84], 0x6c006c
mov dword [ebp - 0x80], 0x2f0061
mov dword [ebp - 0x7c], 0x2e0035
mov dword [ebp - 0x78], 0x200030
mov dword [ebp - 0x74], 0x570028
mov dword [ebp - 0x70], 0x6e0069
mov dword [ebp - 0x6c], 0x6f0064
mov dword [ebp - 0x68], 0x730077
mov dword [ebp - 0x64], 0x4e0020
mov dword [ebp - 0x60], 0x200054
mov dword [ebp - 0x5c], 0x2e0036
mov dword [ebp - 0x58], 0x3b0031
mov dword [ebp - 0x54], 0x540020
mov dword [ebp - 0x50], 0x690072
mov dword [ebp - 0x4c], 0x650064
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x37002f
mov dword [ebp - 0x40], 0x30002e
mov dword [ebp - 0x3c], 0x20003b
mov dword [ebp - 0x38], 0x760072
mov dword [ebp - 0x34], 0x31003a
mov dword [ebp - 0x30], 0x2e0031
mov dword [ebp - 0x2c], 0x290030
mov dword [ebp - 0x28], 0x6c0020
mov dword [ebp - 0x24], 0x6b0069
mov dword [ebp - 0x20], 0x200065
mov dword [ebp - 0x1c], 0x650047
mov dword [ebp - 0x18], 0x6b0063
mov dword [ebp - 0x14], 0x6f
je 0x406221
push 0x414240
lea edx, [esi + 0x58]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.00406d40
add esp, 0xc
mov ecx, eax
lea eax, [esi + 0x74]
lea ebx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.00406d00
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4061b6
mov eax, dword [eax]
mov edx, dword [esi + 0xcc]
push 0
push 0
push eax
push 3
lea ecx, [ebp - 0x8c]
push ecx
call edx
cmp dword [ebp - 0x94], 8
mov dword [esi + 0x90], eax
jb 0x4061ea
mov eax, dword [ebp - 0xa8]
push eax
call fcn.0040b62c
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xb0], 8
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], cx
jb 0x40623e
mov edx, dword [ebp - 0xc4]
push edx
call fcn.0040b62c
add esp, 4
jmp 0x40623e
mov ecx, dword [esi + 0xcc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
push eax
call ecx
mov dword [esi + 0x90], eax
xor eax, eax
cmp dword [esi + 0x90], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
Function at 0x406ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6d4
mov eax, dword [0x41607c]
xor eax, esp
mov dword [esp + 0x6d0], eax
push ebx
push esi
push edi
mov edx, 0x53
mov eax, edx
mov word [esp + 0x278], ax
mov ecx, 0x68
mov word [esp + 0x27a], cx
mov ebx, 0x65
mov eax, ebx
mov word [esp + 0x27c], ax
mov ecx, 0x6c
mov eax, ecx
mov word [esp + 0x27e], ax
mov word [esp + 0x280], ax
mov eax, 0x33
mov word [esp + 0x282], ax
mov eax, 0x32
mov word [esp + 0x284], ax
mov eax, 0x2e
mov word [esp + 0x286], ax
mov eax, 0x64
mov word [esp + 0x288], ax
mov eax, ecx
lea ecx, [esp + 0x260]
mov word [esp + 0x28a], ax
mov word [esp + 0x28c], ax
push ecx
lea edx, [esp + 0x27c]
xor eax, eax
push edx
mov dword [esp + 0x14], 0
mov word [esp + 0x296], ax
mov dword [esp + 0x268], 0x65474853
mov dword [esp + 0x26c], 0x65705374
mov dword [esp + 0x270], 0x6c616963
mov dword [esp + 0x274], 0x646c6f46
mov dword [esp + 0x278], 0x61507265
mov dword [esp + 0x27c], 0x576874
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, 0x70
mov word [esp + 0x29c], ax
mov ecx, ebx
xor eax, eax
push 0x206
mov word [esp + 0x2a2], cx
push eax
lea ecx, [esp + 0x4da]
push ecx
mov dword [esp + 0x29c], 0x730025
mov dword [esp + 0x2a0], 0x4b005c
mov dword [esp + 0x2a4], 0x730061
mov dword [esp + 0x2ac], 0x730072
mov dword [esp + 0x2b0], 0x79006b
mov dword [esp + 0x2b4], 0x4c0020
mov dword [esp + 0x2b8], 0x620061
mov dword [esp + 0x2bc], 0x4b005c
mov dword [esp + 0x2c0], 0x730061
mov dword [esp + 0x2c4], 0x650070
mov dword [esp + 0x2c8], 0x730072
mov dword [esp + 0x2cc], 0x79006b
mov dword [esp + 0x2d0], 0x2a
mov word [esp + 0x4dc], ax
call fcn.0040f530
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2de]
push eax
mov word [esp + 0x2e0], dx
call fcn.0040f530
add esp, 0x18
push 0
push 0x26
lea ecx, [esp + 0x4d8]
push ecx
push 0
call esi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x4d0]
push edx
lea eax, [esp + 0x294]
push eax
mov ecx, edx
push ecx
call edi
add esp, 0xc
push 0
push 0x2a
lea edx, [esp + 0x2d0]
push edx
push 0
call esi
lea eax, [esp + 0x2c8]
push eax
lea ecx, [esp + 0x294]
push ecx
mov edx, eax
push edx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x4d4]
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 0x10
cmp eax, 0xffffffff
jne 0x40711d
mov dword [esp + 0xc], 0
jmp 0x407135
test byte [esp + 0x10], bl
je 0x40712b
mov dword [esp + 0xc], 1
push eax
call edi
cmp dword [esp + 0xc], 0
jne 0x407171
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2cc]
push eax
call esi
cmp eax, 0xffffffff
jne 0x407160
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
test byte [esp + 0x10], bl
je 0x40716e
mov dword [esp + 0xc], 1
push eax
call edi
mov ecx, dword [esp + 0x6dc]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
Function at 0x407fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7f00
call fcn.0040fc20
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x30]
xor eax, eax
push ecx
mov dword [ebp - 0x30], 0x500049
mov dword [ebp - 0x2c], 0x4c0048
mov dword [ebp - 0x28], 0x410050
mov dword [ebp - 0x24], 0x490050
mov dword [ebp - 0x20], 0x44002e
mov dword [ebp - 0x1c], 0x4c004c
mov word [ebp - 0x18], ax
mov dword [ebp - 0x14], 0x41746547
mov dword [ebp - 0x10], 0x74706164
mov dword [ebp - 0xc], 0x49737265
mov dword [ebp - 8], 0x6f666e
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea edx, [ebp - 0x14]
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x7f00]
push ecx
lea edx, [ebp - 0x7efc]
push edx
mov dword [ebp - 0x7f00], 0x7e90
call eax
test eax, eax
jne 0x408134
mov eax, dword [ebp - 0x7d64]
mov ecx, eax
shr ecx, 8
movzx edx, cl
push edx
movzx eax, al
push eax
mov eax, dword [ebp - 0x7d68]
mov ecx, eax
shr ecx, 0x18
push ecx
mov edx, eax
shr edx, 0x10
movzx ecx, dl
push ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
movzx edx, al
push ecx
push edx
lea eax, [ebp - 0x6c]
push eax
push edi
mov dword [ebp - 0x6c], 0x300025
mov dword [ebp - 0x68], 0x580032
mov dword [ebp - 0x64], 0x25002d
mov dword [ebp - 0x60], 0x320030
mov dword [ebp - 0x5c], 0x2d0058
mov dword [ebp - 0x58], 0x300025
mov dword [ebp - 0x54], 0x580032
mov dword [ebp - 0x50], 0x25002d
mov dword [ebp - 0x4c], 0x320030
mov dword [ebp - 0x48], 0x2d0058
mov dword [ebp - 0x44], 0x300025
mov dword [ebp - 0x40], 0x580032
mov dword [ebp - 0x3c], 0x25002d
mov dword [ebp - 0x38], 0x320030
mov dword [ebp - 0x34], 0x58
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040b13a
mov esp, ebp
pop ebp
ret
Function at 0x40ad80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0x1c]
push edx
xor ecx, ecx
push 0x414404
push 0x417a50
mov dword [ebp - 0x1c], 0x75006d
mov dword [ebp - 0x18], 0x74006c
mov dword [ebp - 0x14], 0x6d0069
mov dword [ebp - 0x10], 0x640065
mov dword [ebp - 0xc], 0x610069
mov word [ebp - 8], cx
call edi
lea eax, [ebp - 0x1c]
push eax
push 0x414404
push 0x417b20
call edi
add esp, 0x18
xor ebx, ebx
push 0x7f00
push ebx
mov dword [ebp - 0x4c], 0x30
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40af00
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
lea ecx, [ebp - 0x4c]
push ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 0x6d
mov dword [ebp - 0x24], 0x417b20
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push ebx
push esi
push ebx
push ebx
push ebx
push SysReAllocString
push ebx
push SysReAllocString
push 0xcf0000
push 0x417a50
push 0x417b20
push ebx
mov dword [0x417b18], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebx
je 0x40aeea
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x68]
push edx
mov esi, eax
call edi
test eax, eax
je 0x40aed4
jmp 0x40aea0
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40aec7
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x68]
push ecx
call edi
test eax, eax
jne 0x40aea0
mov eax, dword [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b13a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040b13a
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40b13a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41607c]
jne 0x40b144
repz ret
jmp fcn.0040baa1
Function at 0x40e97c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040bba7
and dword [ebp - 0x14], 0
cmp dword [0x417a20], 0
mov dword [ebp - 0x18], eax
jne 0x40ea2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ead7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ead7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x417a20], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x417a24], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x417a28], eax
call edi
push eax
call esi
mov dword [0x417a30], eax
test eax, eax
je 0x40ea2f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x417a2c], eax
mov eax, dword [0x417a2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ea88
cmp dword [0x417a30], ecx
je 0x40ea88
push eax
call esi
push dword [0x417a30]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ea88
test ebx, ebx
je 0x40ea88
call edi
test eax, eax
je 0x40ea7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ea7f
test byte [ebp - 8], 1
jne 0x40ea88
or dword [ebp + 0x10], 0x200000
jmp 0x40eabb
mov eax, dword [0x417a24]
cmp eax, dword [ebp - 0x18]
je 0x40eabb
push eax
call esi
test eax, eax
je 0x40eabb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40eabb
mov eax, dword [0x417a28]
cmp eax, dword [ebp - 0x18]
je 0x40eabb
push eax
call esi
test eax, eax
je 0x40eabb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x417a20]
call esi
test eax, eax
je 0x40ead7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ead9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b13a
leave
ret
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x407018]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov ebx, 1
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov word [esp + 0x1c], 0
call fcn.00404820
xor ecx, ecx
add esp, 0xc
cmp ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist_
je 0x40112f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssist_
lea edx, [esp + 0x14]
push 0x104
push edx
call dword [0x405148]
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401080
sub eax, edx
sar eax, 1
movzx eax, word [esp + eax*2 + 0xe]
cmp ax, 0x5c
push esi
mov esi, dword [0x405144]
je 0x4010bb
cmp ax, 0x2f
je 0x4010bb
push 0x4051bc
lea eax, [esp + 0x18]
push 0x104
push eax
call esi
add esp, 0xc
push 0x4051c0
lea ecx, [esp + 0x18]
push 0x104
push ecx
call esi
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x20019
push 0
lea eax, [esp + 0x20]
push eax
push 0x80000001
call dword [0x405014]
cmp eax, 2
pop esi
je 0x40112f
test eax, eax
jne 0x40112f
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.NoEncrypt
push eax
call dword [0x405010]
test eax, eax
jne 0x401120
xor ecx, ecx
cmp dword [esp + 8], ebx
setne cl
mov ebx, ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x40112f
push eax
call dword [0x40500c]
mov ecx, dword [esp + 0x218]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00403f16
add esp, 0x218
ret
Function at 0x401d30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebp
push esi
xor ebp, ebp
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 4], ebp
mov dword [esi + 8], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
jne 0x401d7c
push 0x18
call fcn.00403f82
add esp, 4
cmp eax, ebp
mov dword [esi + 4], eax
je 0x401e88
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x24]
push ecx
push 0x2001f
push ebp
push str.Local_SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify
push 0x80000000
call dword [0x405014]
cmp eax, 2
je 0x401e5c
cmp eax, ebp
jne 0x401e5c
mov eax, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x10]
push edx
push ebp
push ebp
push ebp
push str.IconStreams
push eax
call dword [0x405010]
cmp eax, ebp
jne 0x401e41
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x401e48
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
mov eax, dword [esp + 0x34]
push str.IconStreams
push eax
mov ecx, esi
call edx
mov edi, eax
cmp edi, ebp
jne 0x401e48
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x401e16
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
push ecx
push edx
push ebx
mov ecx, esi
call eax
mov edi, eax
cmp edi, ebp
jne 0x401e48
jmp 0x401e2c
mov ecx, dword [esi + 4]
imul eax, eax, 0x668
mov edx, dword [ecx + 0x14]
mov ecx, dword [esi + 8]
mov dword [edx + eax + 0x210], ecx
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 8]
push str.IconStreams
push eax
mov ecx, esi
call edx
jmp 0x401e46
cmp eax, 2
je 0x401e48
mov edi, eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
pop ebx
je 0x401e5c
push eax
call dword [0x40500c]
mov dword [esp + 0x24], ebp
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x401e88
mov eax, dword [eax + 0x14]
cmp eax, ebp
je 0x401e79
push eax
call fcn.00403f26
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 0x14], ebp
mov ecx, dword [esi + 4]
push ecx
call fcn.00403f26
add esp, 4
mov dword [esi + 4], ebp
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret 0x10