joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ca65
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40ca35
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40ca53
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
sal edi, 0xb5
push esp
invalid
invalid
invalid
cmp eax, dword [ebp - 0x44]
ja 0x40cab1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40ca98
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40caa1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40caab
invalid
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40ca8d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40ca17
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40cafe
dec eax
je 0x40caf5
sub eax, 3
je 0x40caec
mov dword [ebp - 4], 0x40
jmp 0x40cb1b
mov dword [ebp - 4], 4
jmp 0x40cb01
mov dword [ebp - 4], 0x20
jmp 0x40cb01
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40cb4d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40cacd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040c35e
cmp eax, 0xff5d1a5c
jne 0x40cb58
push 1
push esi
call edi
mov eax, esi
jmp 0x40cb59
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ca7d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40ca35
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40ca53
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
sal edi, 0xb5
push esp
invalid
invalid
invalid
cmp eax, dword [ebp - 0x44]
ja 0x40cab1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40ca98
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40caa1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40caab
invalid
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40ca8d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40ca17
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40cafe
dec eax
je 0x40caf5
sub eax, 3
je 0x40caec
mov dword [ebp - 4], 0x40
jmp 0x40cb1b
mov dword [ebp - 4], 4
jmp 0x40cb01
mov dword [ebp - 4], 0x20
jmp 0x40cb01
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40cb4d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40cacd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040c35e
cmp eax, 0xff5d1a5c
jne 0x40cb58
push 1
push esi
call edi
mov eax, esi
jmp 0x40cb59
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401670
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x40b5c4
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, esi
pop esi
add esp, 0x190
ret

Function at 0x40167a
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x40b5c4
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, esi
pop esi
add esp, 0x190
ret

Function at 0x401760
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x401775
cmp eax, 0xffffffff
je 0x401775
call fcn.004017e0
mov eax, dword [esp + 0xc]
push 0
test eax, eax
je 0x401783
push 1
jmp 0x401785
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x4017d0
mov ecx, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea edx, [esp + 8]
push 4
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x1c], ecx
call edi
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call edi
pop edi
mov ecx, dword [esi + 4]
xor eax, eax
cmp ecx, 0xffffffff
pop esi
setne al
pop ecx
ret 8

Function at 0x401761
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x401775
cmp eax, 0xffffffff
je 0x401775
call fcn.004017e0
mov eax, dword [esp + 0xc]
push 0
test eax, eax
je 0x401783
push 1
jmp 0x401785
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x4017d0
mov ecx, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea edx, [esp + 8]
push 4
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x1c], ecx
call edi
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call edi
pop edi
mov ecx, dword [esi + 4]
xor eax, eax
cmp ecx, 0xffffffff
pop esi
setne al
pop ecx
ret 8
Function at 0x401810
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
xor eax, eax
push esi
mov esi, dword [esp + 0x10]
mov dword [ecx], eax
test esi, esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
jne 0x401837
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_htonl]
jmp 0x401873
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x401867
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push edi
lea edi, [ebx + 4]
mov esi, dword [edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 8]
pop edi
mov word [ebx], ax
jmp 0x40187b
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x401892
mov dword [ebx + 4], eax
mov word [ebx], 2
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebx + 2], ax
pop esi
mov eax, 1
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4018a3
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4018b9
mov eax, dword [esi + 8]
test eax, eax
je 0x4018b9
call fcn.004017e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
lea edx, [esp + 8]
push ecx
push edx
mov dword [esi + 8], 0
call fcn.00401810
add esp, 0xc
test eax, eax
je 0x4018f4
mov ecx, dword [esi + 4]
lea eax, [esp + 4]
push 0x10
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 8

Function at 0x401930
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x401952
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x401956
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40195d
mov dword [esi + 8], eax
pop esi
ret 8

Function at 0x401ed0
Capabilities:
Read data from internet
Receive data

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0xc]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x401ef3
or eax, 0xffffffff
ret 8
mov eax, dword [esp + 8]
ret 8

Function at 0x4044f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [edi + 4]
push ebx
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x404540
mov ecx, dword [edi + 8]
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.00402880
add esp, 0xc
mov dword [ebx], eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x404550
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
test edi, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x400
je 0x404577
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push ebp
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test edi, edi
mov ebx, eax
je 0x4045a3
mov edx, dword [esp + 0x10]
mov dword [edi], edx
test ebx, ebx
jne 0x4045bf
mov eax, dword [esi + 8]
test eax, eax
je 0x4045bf
mov eax, dword [edi]
mov cl, byte [esi + 8]
push eax
push ecx
push ebx
push ebp
call fcn.00402900
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x4045d0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push 0
mov eax, dword [esi + 8]
push eax
push ecx
call fcn.00402880
mov ecx, dword [esi + 4]
add esp, 0xc
lea edx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8

Function at 0x404610
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 8]
test eax, eax
je 0x40462d
push 0
push eax
push 1
push edi
call fcn.00402900
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
inc eax
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8
Function at 0x404650
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
test ebx, ebx
mov dword [esp + 0x10], 0x94
mov ebp, 0x63
je 0x40469f
mov edi, 0x40d2f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4047bb
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp ecx, 4
jne 0x404709
test edx, edx
jne 0x4046e7
cmp eax, 2
je 0x404763
test ebx, ebx
mov ebp, 0xa
je 0x4047bb
mov edi, 0x40d2e8
jmp 0x404772
cmp edx, 0x5a
jne 0x40470e
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x404763
test ebx, ebx
mov ebp, 0xc
je 0x4047bb
mov edi, 0x40d2e0
jmp 0x404772
cmp ecx, 4
jb 0x40472b
test edx, edx
jbe 0x40472b
cmp eax, 2
je 0x40472b
test ebx, ebx
mov ebp, 0xb
je 0x4047bb
mov edi, 0x40d2d8
jmp 0x404772
cmp ecx, 5
jne 0x404763
test edx, edx
jne 0x404749
cmp eax, 2
jne 0x404763
test ebx, ebx
mov ebp, 0x15
je 0x4047bb
mov edi, 0x40d2d0
jmp 0x404772
cmp edx, 1
jne 0x404763
cmp eax, 2
jne 0x404763
test ebx, ebx
mov ebp, 0x16
je 0x4047bb
mov edi, 0x40d2c8
jmp 0x404772
test eax, eax
jne 0x40478f
xor ebp, ebp
test ebx, ebx
je 0x4047bb
mov edi, 0x40d2c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x4047bb
mov ecx, dword [esp + 0x1c]
mov edi, ebx
push ecx
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x1c]
not ecx
dec ecx
push edx
add ecx, ebx
push 0x40d2b4
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
Function at 0x406910
Capabilities:
Create directory
Create process on windows
Get common file path

Disassembly:
sub esp, 0x100
lea eax, [esp]
push ebx
push esi
push edi
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
call fcn.00404650
add esp, 4
cmp eax, 0x14
lea edx, [esp + 0xc]
jl 0x406973
mov edi, 0x40dfac
or ecx, 0xffffffff
xor eax, eax
push 0x40d4af
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__strlwr]
jmp 0x4069a8
mov edi, 0x40dfa0
or ecx, 0xffffffff
xor eax, eax
push 0x40d4af
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__strupr]
add esp, 4
lea eax, [esp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, 0x40d4af
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00405050
add esp, 4
test eax, eax
pop edi
pop esi
pop ebx
jne 0x406a11
push eax
push 1
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.00405440
add esp, 0x14
test eax, eax
je 0x406a1e
lea edx, [esp]
push 5
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x100
ret
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
Function at 0x4023f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret

Function at 0x40d95e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x40d99b
cmp dword [ebp - 0x398], 0
je 0x40db65
cmp dword [ebp + 0xc], 1
je 0x40db65
cmp dword [ebp + 0xc], 8
jne 0x40db2d
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
invalid
test dword [ebx - 7], edx
invalid

Function at 0x40e14b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop esp
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
invalid
test ecx, esp
clc

Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb
Function at 0x424ce0
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.0041baaf
and dword [ebp - 4], 0
cmp dword [0x452c08], 0
mov ebx, eax
jne 0x424d91
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424e42
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x424e42
push eax
call fcn.0041ba3d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452c08], eax
call esi
push eax
call fcn.0041ba3d
mov dword [esp], 0x43fb18
push edi
mov dword [0x452c0c], eax
call esi
push eax
call fcn.0041ba3d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x452c10], eax
call esi
push eax
call fcn.0041ba3d
pop ecx
mov dword [0x452c18], eax
test eax, eax
je 0x424d91
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041ba3d
pop ecx
mov dword [0x452c14], eax
mov eax, dword [0x452c14]
cmp eax, ebx
je 0x424de9
cmp dword [0x452c18], ebx
je 0x424de9
push eax
call fcn.0041bab8
push dword [0x452c18]
mov esi, eax
call fcn.0041bab8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x424de9
test edi, edi
je 0x424de9
call esi
test eax, eax
je 0x424de0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424de0
test byte [ebp - 0xc], 1
jne 0x424de9
or dword [ebp + 0x10], 0x200000
jmp 0x424e22
mov eax, dword [0x452c0c]
cmp eax, ebx
je 0x424e22
push eax
call fcn.0041bab8
pop ecx
test eax, eax
je 0x424e22
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424e22
mov eax, dword [0x452c10]
cmp eax, ebx
je 0x424e22
push eax
call fcn.0041bab8
pop ecx
test eax, eax
je 0x424e22
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452c08]
call fcn.0041bab8
pop ecx
test eax, eax
je 0x424e42
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424e44
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402380
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46a9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
test byte [0x4e0010], 1
jne 0x4023cb
or dword [0x4e0010], 1
xor ebx, ebx
mov dword [0x4e0014], ebx
jmp 0x4023d9
xor ebx, ebx
cmp dword [0x4e0014], ebx
jne 0x402575
test byte [0x4dfee0], 1
jne 0x402408
or dword [0x4dfee0], 1
push 0x114
push ebx
push 0x4dfeec
mov dword [0x4dfee8], ebx
mov dword [0x4e0000], ebx
call fcn.0044e9d0
add esp, 0xc
mov edi, 0x4dfee8
call fcn.00431800
cmp eax, ebx
je 0x4024ab
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x44], ebx
call fcn.0040a010
add esp, 4
mov esi, 8
test eax, eax
je 0x402460
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x402455
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4024b2
push esi
sub esp, 0x1c
mov edx, str.initredirectrule
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00401860
sub esp, 0x1c
mov byte [esp + 0x7c], 1
mov edx, str.initruleerr
mov eax, esp
mov dword [esp + 0x4c], esp
call fcn.00401860
mov byte [esp + 0x7c], bl
call fcn.00404e50
add esp, 0x3c
cmp dword [esp + 0x30], esi
jb 0x4024ab
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044b6e3
add esp, 4
xor eax, eax
jmp 0x40257a
test byte [0x4e0008], 1
jne 0x4024cc
or dword [0x4e0008], 1
mov dword [0x4e000c], 0x4e0004
call fcn.0042c940
mov edi, eax
cmp edi, 1
je 0x40251d
push edi
sub esp, 0x1c
mov edx, str.initredirectrule
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.00401860
sub esp, 0x1c
mov byte [esp + 0x7c], 2
mov edx, str.initruleerr
mov eax, esp
mov dword [esp + 0x50], esp
call fcn.00401860
mov byte [esp + 0x7c], bl
call fcn.00402b90
add esp, 0x3c
lea esi, [esp + 0x18]
call fcn.00402290
mov eax, edi
jmp 0x40257a
call fcn.00403950
test eax, eax
jne 0x40256c
push 7
sub esp, 0x1c
mov edx, str.initredirectrule
mov eax, esp
mov dword [esp + 0x30], esp
call fcn.00401860
sub esp, 0x1c
mov byte [esp + 0x7c], 3
mov edx, str.initruleerr
mov eax, esp
mov dword [esp + 0x50], esp
call fcn.00401860
mov byte [esp + 0x7c], bl
call fcn.00404e50
add esp, 0x3c
lea esi, [esp + 0x18]
call fcn.00402290
xor eax, eax
jmp 0x40257a
lea esi, [esp + 0x18]
call fcn.00402290
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x34
ret
Function at 0x403740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4681ab
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
imul edx, edx, 0x3e8
imul eax, eax, 0x3e8
mov dword [esp + 0x18], ebx
mov dword [esi + 4], eax
mov eax, edi
mov dword [esi], edx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403797
sub eax, ebp
push eax
push edi
call fcn.00401e10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x28]
push 0x10
push edx
mov dword [esi + 8], ecx
mov ecx, dword [esi]
push ecx
push esi
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x40]
push 0x403720
push eax
lea edx, [esi + 0x38]
push edx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14

Function at 0x404d90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x468d98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x3c]
xor edi, edi
push 0xffffffffffffffff
xor eax, eax
push edi
mov word [esp + 0x1c], ax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
call fcn.00401950
mov eax, ebx
mov dword [esp + 0x34], edi
lea edx, [eax + 2]
jmp 0x404df0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404df0
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x18]
call fcn.00405090
push 0xffffffffffffffff
push edi
xor edx, edx
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov eax, esi
mov word [esi + 4], dx
call fcn.00401950
cmp dword [esp + 0x28], 8
jb 0x404e39
mov eax, dword [esp + 0x14]
push eax
call fcn.0044b6e3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x2c
ret