joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10106b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025faa0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x102f8be4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x10106b99
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
cmp dword [0x102f254c], 0
jne 0x10106bb0
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x10106bfd
mov eax, dword [esi]
test eax, eax
je 0x10106b82
cmp dword [esi + 4], 0
je 0x10106b82
push eax
call fcn.10031e60
add esp, 4
push dword [esi + 4]
call fcn.10031e60
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x10106bee
push eax
call fcn.10031e60
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x10106c35
push eax
call fcn.10031e60
jmp 0x10106c32
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call fcn.10031e60
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
call fcn.10031e60
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
call fcn.10031e60
add esp, 4
push dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.10031e60
add esp, 4
push 8
call fcn.10031e60
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10106c70
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10031e60
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101a1930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102615ee
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102f8be4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
call sym.AIDE.dll_public:_void___thiscall_AIDE::PaletteInfo::constructor_void_
mov ecx, dword [edi + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.101a3000
mov dword [esi], eax
lea ecx, [edi + 0x28]
mov dword [esi + 4], 3
mov dword [esi + 8], 0
mov dword [ecx], 8
mov dword [edi + 0x30], 8
mov dword [edi + 0x2c], 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 8
mov ecx, dword [edi + 0x14]
call fcn.101a2fe0
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1021a3d0
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x1021a3e1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1025d420
movss xmm5, dword [0x102d91f4]
movss xmm4, dword [0x102d91fc]
movss xmm6, dword [0x102d91f0]
movss xmm7, dword [0x102d91e8]
movss xmm3, dword [0x102926c8]
push esi
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x102e4250]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, xmm7
add ecx, eax
mov dword [esi*4 + 0x10306650], ecx
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
mov edx, eax
mulss xmm0, dword [0x102d91f8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x102d91e0]
add eax, edx
mov dword [esi*4 + 0x10306e50], eax
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, dword [0x102d91ec]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x102d91e4]
add eax, ecx
mov dword [esi*4 + 0x10306a50], eax
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
mov dword [esi*4 + 0x10307250], eax
mulss xmm0, dword [0x102d9204]
mov dword [esi*4 + 0x10307a50], edx
mov dword [esi*4 + 0x10307650], ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
mov dword [esi*4 + 0x10307e50], eax
mulss xmm0, dword [0x102d9208]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
movaps xmm0, xmm2
mov dword [esi*4 + 0x10308250], eax
mulss xmm0, dword [0x102d920c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10031e60
mov dword [esi*4 + 0x10308650], eax
mulss xmm2, dword [0x102d9200]
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.10031e60
mov dword [esi*4 + 0x10308a50], eax
add esp, 8
inc esi
cmp esi, 0x100
jb 0x1025d450
pop esi
ret
Function at 0x402ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x422668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x42e6dc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x42e6dc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x403144
cmp byte [ebx + 0x45], 0
je 0x403144
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x403050
xor al, al
jmp 0x403146
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x403090
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4030d1
dec eax
je 0x4030d5
sub eax, 2
je 0x40312b
xor bl, bl
jmp 0x40312d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x40310c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.0040bf8e
add esp, 0x10
cmp esi, eax
jne 0x4030cd
cmp byte [ebx + 0x45], 0
je 0x40312b
test esi, esi
jne 0x403090
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00402c60
jmp 0x403090
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x403140
push dword [esp + 0x18]
call fcn.0040b389
add esp, 4
mov al, bl
jmp 0x403146
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
Function at 0x407190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5dc
mov eax, dword [0x42e6dc]
xor eax, esp
mov dword [esp + 0x5d8], eax
push ebx
push esi
push edi
mov edi, ecx
push str.http:__
push edi
mov dword [esp + 0x18], edx
call fcn.0040cac0
mov esi, eax
add esp, 8
test esi, esi
je 0x4071cc
add esi, 7
jmp 0x4071ce
mov esi, edi
push 0x429f88
push esi
call fcn.0040cac0
add esp, 8
test eax, eax
je 0x4072a1
push 0x429f88
push esi
call fcn.0040cac0
sub eax, esi
push eax
push esi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.0040c7e7
push 0x429f88
push esi
call fcn.0040cac0
push eax
lea eax, [esp + 0xfc]
push 0x104
push eax
call fcn.0040b0e9
add esp, 0x2c
lea eax, [esp + 0x1e0]
push 0
push 1
push 0x400
push eax
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x28]
call fcn.00406a90
add esp, 0x10
test al, al
je 0x4072a1
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1e8]
call fcn.004069d0
add esp, 8
test al, al
je 0x4072a1
lea eax, [esp + 0x58]
push eax
call fcn.0040cda8
add esp, 4
mov ebx, eax
push ebx
call fcn.0040a4df
add esp, 4
mov esi, eax
push 1
push 0
push ebx
push esi
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x28]
call fcn.00406a90
add esp, 0x10
test al, al
jne 0x4072b8
push esi
call fcn.0040b1a1
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5d8]
xor ecx, esp
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407298
push 0
lea eax, [esp + 0x18]
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.0040b1a1
mov ecx, dword [esp + 0x5e8]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
Function at 0x4088f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42e6dc]
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.0040fd90
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]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408d70
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x42e6dc]
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
mov esi, edx
call fcn.0040b0e9
push 0x42a20c
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b13e
push esi
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b13e
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 0x408e88
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x408e88
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [ecx]
cmp byte [ebp - 0x31c], 0x2e
je 0x408e6e
push dword [ebp - 0x34c]
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b0e9
push 0x429924
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b13e
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b13e
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 0x408e10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b08f
mov esp, ebp
pop ebp
ret

Function at 0x409000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42e6dc]
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 0x4090ea
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
jne 0x4090ea
jmp 0x409070
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4090a0
test dl, dl
je 0x40909c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4090a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x409080
xor eax, eax
jmp 0x4090a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4090db
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 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 0x409070
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
Function at 0x409100
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x42e6dc]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
mov dword [esp + 0x18], 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 0x409138
sub eax, edx
inc eax
push eax
call fcn.0040a4df
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409152
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040b0e9
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x409251
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x409251
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409198
sub ecx, esi
je 0x4091cd
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x4091b3
cmp al, 0x5a
jg 0x4091b3
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4091c0
sub eax, esi
cmp edx, eax
jb 0x4091a3
lea ecx, [esp + 0x34]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4091d6
sub ecx, esi
je 0x40920d
mov al, byte [esp + edx + 0x34]
cmp al, 0x41
jl 0x4091f3
cmp al, 0x5a
jg 0x4091f3
add al, 0x20
mov byte [esp + edx + 0x34], al
lea ecx, [esp + 0x34]
inc edx
lea esi, [ecx + 1]
jmp 0x409200
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409200
sub ecx, esi
cmp edx, ecx
jb 0x4091e1
mov ecx, edi
lea eax, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409233
test dl, dl
je 0x40922f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409233
add eax, 2
add ecx, 2
test dl, dl
jne 0x409213
xor eax, eax
jmp 0x409238
sbb eax, eax
or eax, 1
test eax, eax
je 0x409278
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x409191
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b1a1
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b1a1
mov ecx, dword [esp + 0x140]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
Function at 0x4092a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42e6dc]
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 0x4092d3
sub eax, edx
inc eax
push eax
call fcn.0040a4df
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 0x4092f0
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040b0e9
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x409407
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x409407
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409340
sub ecx, esi
je 0x409373
jmp 0x409350
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x409360
cmp al, 0x5a
jg 0x409360
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 0x409366
sub eax, esi
cmp edx, eax
jb 0x409350
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409380
sub ecx, esi
je 0x4093bf
jmp 0x409390
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x4093a8
cmp al, 0x5a
jg 0x4093a8
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 0x4093b2
sub ecx, esi
cmp edx, ecx
jb 0x409390
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4093e7
test dl, dl
je 0x4093e3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4093e7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4093c7
xor eax, eax
jmp 0x4093ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x40942b
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x409333
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b1a1
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b08f
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b1a1
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.0040b08f
mov esp, ebp
pop ebp
ret
Function at 0x41a36b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e6dc]
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.0041003a
mov dword [ebp - 0x14], eax
cmp dword [0x431050], edi
jne 0x41a45c
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41a3e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a53c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a53c
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a53c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x431050], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x431054], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x431058], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x431060], eax
test eax, eax
je 0x41a459
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43105c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41a481
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a474
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41a496
push 4
pop eax
jmp 0x41a53e
cmp dword [ebp - 0x14], edi
je 0x41a496
push dword [0x431050]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41a47b
mov eax, dword [0x43105c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41a4f4
cmp dword [0x431060], esi
je 0x41a4f4
push eax
call ebx
push dword [0x431060]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41a4f4
test eax, eax
je 0x41a4f4
call ecx
test eax, eax
je 0x41a4e9
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 0x41a4e9
test byte [ebp - 8], 1
jne 0x41a4f4
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41a524
mov eax, dword [0x431054]
cmp eax, esi
je 0x41a521
push eax
call ebx
test eax, eax
je 0x41a521
call eax
mov edi, eax
test edi, edi
je 0x41a521
mov eax, dword [0x431058]
cmp eax, esi
je 0x41a521
push eax
call ebx
test eax, eax
je 0x41a521
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x431050]
call ebx
test eax, eax
je 0x41a53c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41a53e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b08f
leave
ret
Function at 0x41de92
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00414c81
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 0x41deca
xor eax, eax
jmp 0x41def6
cmp esi, dword [ebp - 4]
je 0x41def3
cmp dword [ebp + 0xc], 0
je 0x41def3
push dword [edi + 0x9c]
call fcn.0041daa0
push dword [edi + 0x9c]
mov esi, eax
call fcn.004103e4
pop ecx
pop ecx
cmp esi, eax
je 0x41dec6
xor eax, eax
inc eax
pop edi
pop esi
leave
ret