joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ae4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406b4a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404e64
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004035dc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406b34
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b51
lea eax, [ebp - 0x10]
call fcn.00404bf4
ret

Function at 0x408d48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004050b4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408d61
test al, 0x10
jne 0x408d65
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40babc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40baf5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ce4
jmp 0x40bafe
mov eax, ebx
mov edx, esi
call fcn.00404c48
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb08
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bb29
mov al, byte [esp]
jmp 0x40bb2b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c1b0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c028
mov eax, dword [0x47b55c]
cmp byte [eax], 0
je 0x40c227
mov eax, dword [0x47b300]
call fcn.00402ebc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004091fc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c26c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c25d
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47b2ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47c664]
call fcn.00405fe4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cfb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d01c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e64
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089c8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d023
lea eax, [ebp - 0xc]
call fcn.00404bf4
ret

Function at 0x40e710
Capabilities:
Get graphical window text

Disassembly:
push ecx
push edx
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
ret

Function at 0x40f32c
Capabilities:
Get graphical window text

Disassembly:
push ecx
push edx
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
ret

Function at 0x40fc80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffffac
mov esi, eax
mov dl, 4
mov eax, esi
call fcn.0040fda8
test al, al
je 0x40fca3
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x18]
test al, al
jne 0x40fca3
xor ebx, ebx
jmp 0x40fca5
mov bl, 1
test bl, bl
je 0x40fcd0
mov eax, dword [esi + 0xc]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x40fcd0
push 0x51
lea eax, [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
push esp
mov eax, dword [esi + 0xc]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, ebx
xor al, 1
add esp, 0x54
pop esi
pop ebx
ret

Function at 0x41a824
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x41a97a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47e074
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
lea edx, [ebp - 0x104]
mov eax, 0x47e074
call fcn.00409400
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
xor eax, eax
mov al, byte [ebp - 0x100]
cmp byte [ebp + eax - 0x100], 0x5c
je 0x41a8e0
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x108]
mov edx, 0x41a990
call fcn.00404ebc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x100]
call fcn.00404e58
push dword [ebp - 0x110]
lea eax, [ebp - 0x114]
mov edx, 0x47a6e8
call fcn.00404e58
push dword [ebp - 0x114]
push 0x41a99c
lea eax, [ebp - 0x10c]
mov edx, 3
call fcn.00404f74
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
xor ebx, ebx
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x100]
call fcn.00404e58
mov eax, dword [ebp - 0x118]
call fcn.00408d38
test al, al
je 0x41a95c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a981
lea eax, [ebp - 0x118]
mov edx, 6
call fcn.00404c18
ret
Function at 0x41cfbc
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
xor edx, edx
mov dword [ebp - 0x208], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41d0c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
mov edx, 0x41d0d8
call fcn.00409294
lea eax, [ebp - 0x208]
mov edx, ebx
call fcn.00404e7c
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
call fcn.00409294
xor edx, edx
push ebp
push 0x41d0a2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x104]
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x41d084
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80000000
push 0
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlA
test eax, eax
je 0x41d067
mov edx, dword [0x47b204]
mov byte [edx], 1
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d08b
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x41e3c8
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050a4
xor eax, eax
push ebp
push 0x41e4b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x196]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x41e486
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004050b4
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x41e466
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x41e44e
mov edx, dword [ebp - 8]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
mov cl, byte [eax + 1]
mov byte [edx + 1], cl
mov edx, dword [ebp - 8]
mov cl, byte [eax + 2]
mov byte [edx + 2], cl
mov edx, dword [ebp - 8]
mov al, byte [eax + 3]
mov byte [edx + 3], al
jmp 0x41e47c
mov ecx, 0x41e4d0
mov dl, 1
mov eax, dword [0x4079b8]
call fcn.0040c270
call fcn.00404654
jmp 0x41e47c
mov ecx, 0x41e4f8
mov dl, 1
mov eax, dword [0x4079b8]
call fcn.0040c270
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41e49c
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e4be
lea eax, [ebp - 4]
call fcn.00404bf4
ret

Function at 0x41e510
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050a4
xor eax, eax
push ebp
push 0x41e58e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.icmp.dll_IcmpCreateFile
mov esi, eax
cmp esi, 0xffffffff
je 0x41e578
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0041e3c8
push 0x1388
push 0x80
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
push esi
call sub.icmp.dll_IcmpSendEcho
test eax, eax
setne bl
push esi
call sub.icmp.dll_IcmpCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e595
lea eax, [ebp - 4]
call fcn.00404bf4
ret
Function at 0x41f310
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov ebx, eax
push ebx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x41f419
call sub.user32.dll_EmptyClipboard
xor eax, eax
call fcn.0041f294
mov eax, dword [0x4bdae4]
mov eax, dword [eax*4 + 0x4bd8e0]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [0x4bd8dc]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
test edi, edi
je 0x41f414
push edi
call sub.kernel32.dll_GlobalLock
mov esi, eax
cmp dword [0x4bdae4], 0
jle 0x41f3b1
mov ebp, dword [0x4bdae4]
dec ebp
test ebp, ebp
jl 0x41f3b1
inc ebp
mov ebx, 0x4bd8e0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [0x4bdae0], eax
mov edx, esi
mov eax, dword [0x4bdae0]
mov ecx, 0x8000
call fcn.00402894
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GlobalUnlock
add esi, 0x8000
add ebx, 4
dec ebp
jne 0x41f37f
mov eax, dword [0x4bdae4]
mov eax, dword [eax*4 + 0x4bd8e0]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [0x4bdae0], eax
mov eax, dword [0x4bdae4]
shl eax, 0xf
mov ecx, dword [0x4bd8dc]
sub ecx, eax
mov edx, esi
mov eax, dword [0x4bdae0]
call fcn.00402894
mov eax, dword [0x4bdae4]
mov eax, dword [eax*4 + 0x4bd8e0]
push eax
call sub.kernel32.dll_GlobalUnlock
push edi
call sub.kernel32.dll_GlobalUnlock
cmp byte [esp], 0
je 0x41f40c
push edi
push 1
call sub.user32.dll_SetClipboardData
jmp 0x41f414
push edi
push 7
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f77c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xda
push 0
push 0
dec ecx
jne 0x41f785
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x23e]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x214], eax
xor eax, eax
push ebp
push 0x41ffb4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x58c]
mov eax, ecx
call fcn.0041a0b0
lea eax, [ebp - 0x590]
push eax
xor eax, eax
mov al, byte [ebp - 0x588]
mov ecx, 2
sub ecx, eax
mov edx, 1
mov eax, 0x41ffc4
call fcn.00402798
lea edx, [ebp - 0x590]
lea eax, [ebp - 0x598]
call fcn.00403038
lea edx, [ebp - 0x588]
lea eax, [ebp - 0x598]
mov cl, 4
call fcn.00403008
lea edx, [ebp - 0x598]
Function at 0x42300c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc1c
push ebx
xor edx, edx
mov dword [ebp - 0x3e4], edx
mov dword [ebp - 0x3d8], edx
mov dword [ebp - 0x3dc], edx
mov dword [ebp - 0x3e0], edx
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3d0], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4231d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
lea edx, [ebp - 0x3d0]
lea eax, [ebp - 0x100]
call fcn.00409400
mov edx, dword [ebp - 0x3d0]
lea eax, [ebp - 0x200]
mov ecx, 0xff
call fcn.00404e90
xor eax, eax
mov al, byte [ebp - 0x200]
cmp byte [ebp + eax - 0x200], 0x5c
je 0x4230cd
lea eax, [ebp - 0x3d4]
lea edx, [ebp - 0x200]
call fcn.00404e58
lea eax, [ebp - 0x3d4]
mov edx, 0x4231e8
call fcn.00404ebc
mov edx, dword [ebp - 0x3d4]
lea eax, [ebp - 0x200]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x3dc]
lea edx, [ebp - 0x200]
call fcn.00404e58
push dword [ebp - 0x3dc]
lea eax, [ebp - 0x3e0]
mov edx, dword [0x47b5d8]
call fcn.00404e58
push dword [ebp - 0x3e0]
push 0x4231f4
lea eax, [ebp - 0x3d8]
mov edx, 3
call fcn.00404f74
mov edx, dword [ebp - 0x3d8]
lea eax, [ebp - 0x200]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x3e4]
lea edx, [ebp - 0x200]
call fcn.00404e58
mov edx, dword [ebp - 0x3e4]
lea eax, [ebp - 0x3cc]
call fcn.00402e0c
mov byte [ebp - 0x200], 0
lea eax, [ebp - 0x3cc]
call fcn.00402b90
call fcn.00402874
test eax, eax
jne 0x4231a6
lea edx, [ebp - 0x200]
mov ecx, 0xff
lea eax, [ebp - 0x3cc]
call fcn.004033a8
lea eax, [ebp - 0x3cc]
call fcn.004033b4
call fcn.00402874
test eax, eax
je 0x423194
mov byte [ebp - 0x200], 0
lea eax, [ebp - 0x3cc]
call fcn.00402fb0
call fcn.00402874
test eax, eax
mov eax, ebx
lea edx, [ebp - 0x200]
call fcn.00403038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4231d8
lea eax, [ebp - 0x3e4]
mov edx, 6
call fcn.00404c18
ret
Function at 0x4231fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc1c
xor eax, eax
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d0], eax
xor eax, eax
push ebp
push 0x4233e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47b378]
cmp byte [eax], 0
je 0x4233c2
mov eax, dword [0x47b5d8]
cmp byte [eax], 0
je 0x4233c2
lea eax, [ebp - 0x100]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
lea edx, [ebp - 0x3d0]
lea eax, [ebp - 0x100]
call fcn.00409400
mov edx, dword [ebp - 0x3d0]
lea eax, [ebp - 0x200]
mov ecx, 0xff
call fcn.00404e90
xor eax, eax
mov al, byte [ebp - 0x200]
cmp byte [ebp + eax - 0x200], 0x5c
je 0x4232d6
lea eax, [ebp - 0x3d4]
lea edx, [ebp - 0x200]
call fcn.00404e58
lea eax, [ebp - 0x3d4]
mov edx, 0x4233f4
call fcn.00404ebc
mov edx, dword [ebp - 0x3d4]
lea eax, [ebp - 0x200]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x3dc]
lea edx, [ebp - 0x200]
call fcn.00404e58
push dword [ebp - 0x3dc]
lea eax, [ebp - 0x3e0]
mov edx, dword [0x47b5d8]
call fcn.00404e58
push dword [ebp - 0x3e0]
push 0x423400
lea eax, [ebp - 0x3d8]
mov edx, 3
call fcn.00404f74
mov edx, dword [ebp - 0x3d8]
lea eax, [ebp - 0x200]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x3e4]
lea edx, [ebp - 0x200]
call fcn.00404e58
mov edx, dword [ebp - 0x3e4]
lea eax, [ebp - 0x3cc]
call fcn.00402e0c
lea eax, [ebp - 0x3cc]
call fcn.00402b9c
call fcn.00402874
test eax, eax
jne 0x4233c2
mov eax, dword [0x47b670]
mov edx, 0x423408
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403060
jne 0x423393
mov edx, dword [0x47b378]
lea eax, [ebp - 0x3cc]
call fcn.00403848
call fcn.00403854
jmp 0x4233a9
mov edx, dword [0x47b670]
lea eax, [ebp - 0x3cc]
call fcn.00403848
call fcn.00403854
call fcn.00402874
test eax, eax
lea eax, [ebp - 0x3cc]
call fcn.00402fb0
call fcn.00402874
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4233e7
lea eax, [ebp - 0x3e4]
mov edx, 6
call fcn.00404c18
ret
Function at 0x42c7a8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe90
mov ebx, eax
mov esi, dword [0x47b408]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_GetClientRect
push esi
lea esi, [esp + 0x24]
lea edi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
ror byte [ecx - 0x39fbdbbc], 0x44
and al, 0x18
add dword [ebx - 0x76b7faba], ecx
inc esp
and al, 0x10
Function at 0x42e4f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], edx
xor eax, eax
push ebp
push 0x42e628
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47b1d0]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
lea edx, [ebp - 0x104]
mov eax, dword [0x47b1d0]
call fcn.00409400
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
xor eax, eax
mov al, byte [ebp - 0x100]
cmp byte [ebp + eax - 0x100], 0x5c
je 0x42e5a9
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x108]
mov edx, 0x42e640
call fcn.00404ebc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x10c]
mov edx, 0x42e64c
call fcn.00404ebc
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
mov ebx, 0xa
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x100]
call fcn.00404e58
mov eax, dword [ebp - 0x110]
call fcn.00408d38
test al, al
je 0x42e60a
mov ebx, 9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e62f
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.00404c18
ret
Function at 0x43051c
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
push eax
call sub.user32.dll_GetDC
mov dword [esp + 8], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetClientRect
push 0xf
call sub.user32.dll_GetSysColor
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push eax
push edi
call sub.gdi32.dll_SelectObject
mov dword [esp + 0x14], eax
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
mov eax, dword [esp + 0x28]
dec eax
test eax, eax
jl 0x4305e8
inc eax
mov dword [esp + 0x18], eax
xor ebp, ebp
mov esi, dword [esp + 0x24]
dec esi
test esi, esi
jl 0x4305e1
inc esi
xor ebx, ebx
push ebp
push ebx
push edi
call sub.gdi32.dll_GetPixel
cmp eax, dword [esp + 0xc]
jne 0x4305dd
mov eax, dword [esp + 4]
push eax
push ebp
push ebx
push edi
call sub.gdi32.dll_SetPixel
inc ebx
dec esi
jne 0x4305c2
inc ebp
dec dword [esp + 0x18]
jne 0x4305b6
push 0xcc0020
push 0
push 0
push edi
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push 0
push 0
mov eax, dword [esp + 0x28]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [esp + 0x14]
push eax
push edi
call sub.gdi32.dll_SelectObject
mov eax, dword [esp + 0x10]
push eax
call sub.gdi32.dll_DeleteObject
push edi
call sub.gdi32.dll_DeleteDC
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_ReleaseDC
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x431dc4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
xor eax, eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x43207f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4beca4], 0
je 0x431e1c
call fcn.004320a8
mov eax, 0x1948
call fcn.00402688
mov dword [0x4beca4], eax
mov eax, dword [0x4beca4]
xor ecx, ecx
mov edx, 0x1948
call fcn.004031f8
mov eax, dword [0x47b1d0]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
lea edx, [ebp - 0x104]
mov eax, dword [0x47b1d0]
call fcn.00409400
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
xor eax, eax
mov al, byte [ebp - 0x100]
cmp byte [ebp + eax - 0x100], 0x5c
je 0x431ebb
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x108]
mov edx, 0x432094
call fcn.00404ebc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
mov eax, dword [0x47b5d8]
cmp byte [eax], 8
jbe 0x431f2d
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x120]
push eax
mov eax, dword [0x47b5d8]
mov ecx, 8
mov edx, 1
call fcn.00402798
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x110]
call fcn.00404e58
mov edx, dword [ebp - 0x110]
pop eax
call fcn.00404ebc
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
jmp 0x431f78
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x128]
mov edx, dword [0x47b5d8]
call fcn.00404e58
mov edx, dword [ebp - 0x128]
pop eax
call fcn.00404ebc
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x12c]
lea edx, [ebp - 0x100]
call fcn.00404e58
lea eax, [ebp - 0x12c]
mov edx, 0x4320a0
call fcn.00404ebc
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404e90
lea eax, [ebp - 0x130]
lea edx, [ebp - 0x100]
call fcn.00404e58
mov edx, dword [ebp - 0x130]
mov eax, 0x4beca8
call fcn.00402e0c
mov edx, 0x1948
mov eax, 0x4beca8
call fcn.00403548
call fcn.00402874
test eax, eax
jne 0x432022
mov byte [0x47ac58], 0
mov edx, dword [0x4beca4]
mov eax, 0x4beca8
call fcn.00403234
call fcn.00402874
test eax, eax
je 0x43200f
mov byte [0x47ac58], 1
mov eax, 0x4beca8
call fcn.00402fb0
call fcn.00402874
test eax, eax
jmp 0x432029
mov byte [0x47ac58], 1
cmp byte [0x47ac58], 0
je 0x432051
mov ebx, 1
imul eax, ebx, 0x329
mov edx, dword [0x4beca4]
mov byte [edx + eax - 0x329], 0
inc ebx
cmp ebx, 9
jne 0x432037
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432086
lea eax, [ebp - 0x130]
mov edx, 4
call fcn.00404c18
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.00404c18
ret