joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4030a0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push edi
push 0x7d0
call fcn.00405b95
mov edi, eax
add esp, 4
test edi, edi
je 0x403296
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 8], ebx
je 0x403261
push esi
push 0xf01ff
push 0x4147e0
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x403221
push 0x414be0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40319a
push ebp
push 0x415000
push 0x411974
push edi
call fcn.00405e3a
push edi
call fcn.004020a0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x3e8
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x414be0
push esi
call ebp
test eax, eax
je 0x40315e
cmp dword [0x414be4], 3
jne 0x40315e
push 0x3e8
call ebx
push 0x414be0
push esi
call ebp
test eax, eax
jne 0x403142
cmp dword [0x414be4], 1
pop ebp
push 0x415000
jne 0x403183
push str.Service__s_stopped.
push edi
call fcn.00405e3a
push edi
call fcn.004020a0
add esp, 0x10
jmp 0x403196
push str.Service__s_failed_to_stop.
call fcn.00405e3a
push edi
call fcn.004020a0
add esp, 0xc
mov ebx, dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4031da
push 0x415000
push str.Service__s_removed.
push edi
call fcn.00405e3a
push edi
call fcn.004020a0
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
push edi
call fcn.00405ba7
add esp, 4
pop ebx
pop edi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100
push 0x413ee0
call fcn.00402a40
push eax
push str.DeleteService_failed____s
push edi
call fcn.00405e3a
push edi
call fcn.004020a0
add esp, 0x1c
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
push edi
call fcn.00405ba7
add esp, 4
pop ebx
pop edi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100
push 0x413ee0
call fcn.00402a40
push eax
push str.OpenService_failed____s
push edi
call fcn.00405e3a
push edi
call fcn.004020a0
add esp, 0x1c
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
push edi
call fcn.00405ba7
add esp, 4
pop ebx
pop edi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100
push 0x413ee0
call fcn.00402a40
push eax
push str.OpenSCManager_failed____s
push edi
call fcn.00405e3a
push edi
call fcn.004020a0
add esp, 0x1c
push edi
call fcn.00405ba7
add esp, 4
pop ebx
pop edi
pop ecx
ret
Function at 0x403a00
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x3e8
cmp eax, 2
push esi
jle 0x403bdf
push 0x3e8
push 0x413fe0
call fcn.004012f0
add esp, 8
test eax, eax
je 0x403a40
push 0x413fe0
mov byte [0x4143c7], 0
call fcn.00407044
add esp, 4
jmp 0x403a4a
mov al, byte [0x4139fc]
mov byte [0x413fe0], al
mov esi, dword [esp + 0x3f4]
mov ecx, dword [esi + 8]
push ecx
push 0x411ab8
push 0x3e8
push 0x4147e0
call fcn.004021b0
push 0x2e
push 0x4147e0
mov byte [0x414bc7], 0
call fcn.00405d80
add esp, 0x18
test eax, eax
je 0x403a86
mov byte [eax], 0
mov edx, dword [esi + 8]
push edx
push 0x411abc
push 0x3e8
push 0x414c00
call fcn.004021b0
push 0x414c00
call fcn.004010a0
add esp, 0x14
test eax, eax
jne 0x403ae5
push 0x414c00
push str.Error:_Cannot_open_service_configuration_file__s._n
lea eax, [esp + 0xc]
push 0x3e8
push eax
call fcn.004021b0
lea ecx, [esp + 0x14]
push 0x412e58
push ecx
call fcn.00406657
add esp, 0x18
or eax, 0xffffffff
pop esi
add esp, 0x3e8
ret
push edi
push 0x414c00
push 0x413fe0
push str._s_s
push 0x3e8
push 0x415400
call fcn.004021b0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
push 0x415400
push 0x1f3
lea edx, [esp + 0x10]
push edx
push 0x411b00
push str.ServiceDisplayName
push 0x411b28
call edi
mov esi, 0x411b30
lea eax, [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403b5a
test cl, cl
je 0x403b56
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403b5a
add eax, 2
add esi, 2
test cl, cl
jne 0x403b36
xor eax, eax
jmp 0x403b5f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x403b93
mov eax, dword [0x411b44]
mov ecx, dword [0x411b48]
mov dx, word [0x411b4c]
mov dword [0x415000], eax
mov al, byte [0x411b4e]
mov dword [0x415004], ecx
mov word [0x415008], dx
mov byte [0x41500a], al
jmp 0x403ba4
xor eax, eax
mov cl, byte [esp + eax + 8]
mov byte [eax + 0x415000], cl
inc eax
test cl, cl
jne 0x403b95
push 0x415400
push 0x1f3
lea ecx, [esp + 0x10]
push ecx
push str.Moves_files_from_one_directory_to_another_one
push str.ServiceDescription
push 0x411b94
call edi
xor eax, eax
pop edi
jmp 0x403bd0
mov cl, byte [esp + eax + 4]
mov byte [eax + 0x4143e0], cl
inc eax
test cl, cl
jne 0x403bd0
xor eax, eax
pop esi
add esp, 0x3e8
ret
Function at 0x404a80
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x68
push esi
lea eax, [esp + 4]
push eax
push 0x20006
xor esi, esi
push esi
push str.SOFTWAREServiceExeControlled_Processes
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404ae2
mov ecx, dword [esp + 0x70]
push ecx
push 0x41253c
lea edx, [esp + 0x10]
push 0x64
push edx
call fcn.004021b0
mov ecx, dword [esp + 0x14]
add esp, 0x10
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x404ad7
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x68
ret

Function at 0x404af0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [esp + 0x410]
push esi
push eax
push 0x412540
lea ecx, [esp + 0x18]
push 0x400
push ecx
xor esi, esi
mov dword [esp + 0x18], 4
call fcn.004021b0
add esp, 0x10
lea edx, [esp + 4]
push edx
push 0x20019
push esi
lea eax, [esp + 0x1c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404b6f
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.ProcessRestarting
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404b64
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x40c
ret

Function at 0x404b80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [esp + 0x410]
push eax
push 0x412580
lea ecx, [esp + 0x14]
push 0x400
push ecx
mov dword [esp + 0x10], 0xa
mov dword [esp + 0x18], 4
call fcn.004021b0
add esp, 0x10
lea edx, [esp + 4]
push edx
push 0x20019
push 0
lea eax, [esp + 0x18]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404bfc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x4125ac
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x40c
ret

Function at 0x404c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [esp + 0x410]
push eax
push 0x4125c0
lea ecx, [esp + 0x14]
push 0x400
push ecx
mov dword [esp + 0x10], 0xa
mov dword [esp + 0x18], 4
call fcn.004021b0
add esp, 0x10
lea edx, [esp + 4]
push edx
push 0x20019
push 0
lea eax, [esp + 0x18]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404c8c
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x4125ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x40c
ret
Function at 0x404ca0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x410
push ebp
mov ebp, dword [esp + 0x418]
push esi
push edi
push ebp
push 0x412600
lea eax, [esp + 0x24]
push 0x400
push eax
xor edi, edi
mov dword [esp + 0x24], 4
call fcn.004021b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
lea edx, [esp + 0x28]
push edx
push 0x80000002
call esi
test eax, eax
jne 0x404e28
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push str.ServiceExeNewPID
push edx
call ebx
test eax, eax
jne 0x404e1c
mov eax, dword [esp + 0x10]
push eax
call fcn.004049d0
mov eax, dword [esp + 0x14]
push eax
push str.SOFTWAREServiceExeControlled_Processes_u
lea ecx, [esp + 0x2c]
push 0x400
push ecx
mov edi, eax
call fcn.004021b0
add esp, 0x14
lea edx, [esp + 0x1c]
push edx
push 0x20006
push 0
lea eax, [esp + 0x2c]
push eax
push 0x80000002
call esi
test eax, eax
jne 0x404e08
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push 0x41266c
push eax
call ebx
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jne 0x404d9f
mov edx, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.ServiceExeAware
push edx
call esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x41268c
push edx
call ebx
test eax, eax
jne 0x404dd4
mov ecx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ProcessRestartTime
push ecx
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x4126b4
push ecx
call ebx
test eax, eax
jne 0x404e08
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x2c]
push str.ProcessShutdownTime
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00404a80
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x410
ret
Function at 0x406f41
Capabilities:
Terminate process

Disassembly:
push 8
push 0x40f2d0
call fcn.00408474
push 8
call fcn.004078b2
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x413a4c], esi
jne 0x406f75
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x413a48], esi
mov al, byte [ebp + 0x10]
mov byte [0x413a44], al
cmp dword [ebp + 0xc], edi
jne 0x406fbf
cmp dword [0x415b70], edi
je 0x406faf
mov eax, dword [0x415b6c]
sub eax, 4
mov dword [0x415b6c], eax
cmp eax, dword [0x415b70]
jb 0x406faf
mov eax, dword [eax]
cmp eax, edi
je 0x406f90
call eax
jmp 0x406f90
push 0x411028
mov eax, 0x411020
call fcn.00406ebf
pop ecx
push 0x411030
mov eax, 0x41102c
call fcn.00406ebf
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x406ff0
cmp dword [ebp + 0x10], edi
jne 0x406ffe
mov dword [0x413a4c], esi
push dword [ebp + 8]
call fcn.00406e7d
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x406ffd
push 8
call fcn.004077fd
pop ecx
ret
call fcn.004084af
ret

Function at 0x407044
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push 0x128
push 0x40f2e0
call fcn.00408474
mov eax, dword [0x413340]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
xor ebx, ebx
mov dword [ebp - 0x130], ebx
or dword [ebp - 0x12c], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x407151
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x134], esi
cmp esi, 0x104
jle 0x407102
mov dword [ebp - 4], ebx
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.00406b60
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x138], edi
jmp 0x4070ef
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x407151
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
cmp esi, ebx
je 0x407151
mov al, byte [edi]
cmp al, 0x5c
je 0x407110
cmp al, 0x2f
jne 0x407115
cmp al, byte [edi + 1]
je 0x40714b
mov byte [ebp - 0x128], 0x3d
movzx eax, byte [edi]
push eax
call fcn.0040b777
pop ecx
mov byte [ebp - 0x127], al
mov byte [ebp - 0x126], 0x3a
mov byte [ebp - 0x125], bl
push edi
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x407151
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004085f6
pop ecx
cmp dword [ebp - 0x130], ebx
je 0x40716d
push edi
call fcn.00405ba7
pop ecx
mov eax, dword [ebp - 0x12c]
lea esp, [ebp - 0x144]
mov ecx, dword [ebp - 0x1c]
call fcn.004088a9
call fcn.004084af
ret
Function at 0x40b15e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00406b60
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40b1f9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x413a0c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40b1f9
cmp eax, 1
je 0x40b21a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40b1f9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40b1c6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40b1f5
xor eax, eax
inc eax
jmp 0x40b239
cmp edi, eax
jae 0x40b1fd
xor eax, eax
jmp 0x40b239
cmp eax, esi
jae 0x40b204
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x413a0c]
jmp 0x40b21d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b7fc
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x413340]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4135d0]
je 0x40b831
inc eax
cmp eax, 0x13
jb 0x40b822
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4135d0]
jne 0x40b957
mov eax, dword [0x413a58]
cmp eax, 1
je 0x40b92f
cmp eax, edx
jne 0x40b861
cmp dword [0x4130a4], 1
je 0x40b92f
cmp ecx, 0xfc
je 0x40b957
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b897
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00408780
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0040a850
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40b8cb
mov eax, edi
push eax
call fcn.0040a850
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x40faa0
push edi
call fcn.00406ba0
add esp, 0x10
push edi
call fcn.0040a850
push dword [esi + 0x4135d4]
mov ebx, eax
call fcn.0040a850
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00406b60
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00408780
push edi
push ebx
call fcn.00408790
push 0x40fa80
push ebx
call fcn.00408790
push dword [esi + 0x4135d4]
push ebx
call fcn.00408790
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0040de52
add esp, 0x2c
jmp 0x40b957
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4135d4]
push dword [esi]
call fcn.0040a850
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.004088a9
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x40bde5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040ba63
push eax
push esi
push dword [ebp + 8]
call fcn.0040ba18
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040ba63
push eax
push esi
push dword [ebp + 8]
call fcn.0040ba18
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040ba63
push eax
push esi
push dword [ebp + 8]
call fcn.0040ba18
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040ba53
loop 0x40bf4e
xlatb
into
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
invalid
Function at 0x40c321
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0040ba63
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ba18
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
Function at 0x40c623
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0040ba63
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ba18
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0040ba53
jnp 0x40c5f2
wait
movsb byte es:[edi], byte [esi]
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0040ba63
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ba18
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0040ba53
mov ebx, 0x68dc82ec
add al, 1
add byte [eax], al
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 0x40c747
cmp dword [ebp - 0x398], 0
je 0x40c911
cmp dword [ebp + 0xc], 1
je 0x40c911
cmp dword [ebp + 0xc], 8
jne 0x40c8d9
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
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1

Function at 0x40c9a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x30fffffc], ebx
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0040ba63
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ba18
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0040ba53
stosb byte es:[edi], al
int3
Function at 0x40de52
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x413ea8], ebx
push esi
push edi
jne 0x40ded2
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40df0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x413ea8], eax
je 0x40df0d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x413eac], eax
call esi
cmp dword [0x413a0c], 2
mov dword [0x413eb0], eax
jne 0x40ded2
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x413eb8], eax
je 0x40ded2
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x413eb4], eax
mov eax, dword [0x413eb4]
test eax, eax
je 0x40df17
call eax
test eax, eax
je 0x40defe
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x413eb8]
test eax, eax
je 0x40defe
test byte [ebp - 8], 1
jne 0x40df17
cmp dword [0x413a18], 4
jb 0x40df11
or byte [ebp + 0x12], 0x20
jmp 0x40df36
xor eax, eax
jmp 0x40df46
or byte [ebp + 0x12], 4
jmp 0x40df36
mov eax, dword [0x413eac]
test eax, eax
je 0x40df36
call eax
mov ebx, eax
test ebx, ebx
je 0x40df36
mov eax, dword [0x413eb0]
test eax, eax
je 0x40df36
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x413ea8]
pop edi
pop esi
pop ebx
leave
ret