joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4113f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a4c48
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov eax, dword [esp + 0x1c]
push 0
mov esi, dword [eax - 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x411478
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x411478
inc esi
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x411478
mov edi, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048fb71
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x4114a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4a4c7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4d93ac]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov edi, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], edi
call fcn.0048fafc
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4114fd
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0048f8e6
mov dword [esp + 0x10], edi
jmp 0x411554
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
jne 0x411517
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edx, [esp + 0xc]
push edx
jmp 0x411545
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, ebx
jbe 0x411533
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x10]
call fcn.0048fcfa
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [esp + 0xc]
push eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0048f8e6
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.0048fb71
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41caa0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [0x4d5934]
push ebx
push esi
mov esi, ecx
push edi
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push connect
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x20], cl
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [ebp - 0x18]
push edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x41cbcc
lea eax, [ebp - 0x154]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xbb0]
mov dword [ebp - 0x44], 0x104
push ebx
mov ecx, dword [eax + 0x1c]
push ebx
push 0x146
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x18
mov dword [ebp - 0x1c], eax
jle 0x41cb47
mov dword [ebp - 0x1c], 0x18
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x1c]
jge 0x41cbc2
mov ecx, dword [esi + 0xbb0]
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x154], 0
call fcn.004896a1
lea eax, [ebp - 0x25]
lea esi, [ebx + 1]
push 0xa
push eax
push esi
call fcn.0047aedc
mov edx, dword [ebp - 0x48]
add esp, 0xc
test edx, edx
je 0x41cbb0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41cbb0
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [ebp - 0x18]
push 1
lea ecx, [ebp - 0x28]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x41cb4c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x140
mov eax, dword [0x4d5934]
mov dword [esp + 0x14], ecx
lea edx, [esp]
push esi
xor ecx, ecx
push edx
mov dword [esp + 0x14], ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push connect
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], cl
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41d975
push ebx
lea eax, [esp + 0x13]
push 0xa
push eax
push esi
call fcn.0047aedc
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x41d969
push edi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41d931
lea edx, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x48]
push ecx
mov ecx, dword [edx + 0xbb0]
mov dword [esp + 0x30], eax
call fcn.004896b8
lea eax, [esp + 0x17]
inc esi
push 0xa
push eax
push esi
call fcn.0047aedc
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x103
call ebx
test eax, eax
je 0x41d8fe
pop edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
add esp, 0x140
ret

Function at 0x41e320
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 0xbb0]
push esi
push 0
push 0
mov ecx, dword [eax + 0x1c]
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x4d5934]
lea ecx, [esp + 4]
xor eax, eax
push ecx
mov dword [esp + 0x10], eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push connect
mov dword [esp + 0x14], edx
mov byte [esp + 0x1c], al
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41e3c3
push edi
lea edx, [esp + 0xf]
push 0xa
push edx
push esi
call fcn.0047aedc
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
call edi
test eax, eax
jne 0x41e3b7
lea edx, [esp + 0xf]
inc esi
push 0xa
push edx
push esi
call fcn.0047aedc
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
call edi
test eax, eax
je 0x41e396
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x41e5b0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov ebp, 0x1000
xor ebx, ebx
mov edi, 0x7a
test edi, edi
je 0x41e645
cmp edi, 0x7a
je 0x41e5fd
cmp edi, 0x103
je 0x41e5eb
mov dword [esp + 0x14], 1
jmp 0x41e6a4
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x41e6a4
push esi
call fcn.004901b8
push ebp
call fcn.0049018f
mov esi, eax
add esp, 8
test ebx, ebx
mov dword [esi], ebp
mov dword [esp + 0x10], ebp
jne 0x41e630
lea eax, [esp + 0x10]
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x41e63d
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x41e68c
xor edi, edi
jmp 0x41e698
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x41e660
test eax, eax
je 0x41e65a
test dword [esi + 0xc], eax
je 0x41e673
mov edx, dword [esi + 4]
push edx
jmp 0x41e66d
test eax, eax
je 0x41e669
test dword [esi + 0xc], eax
jne 0x41e673
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x41e68c
xor edi, edi
jmp 0x41e698
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e5cd
push esi
call fcn.004901b8
add esp, 4
test ebx, ebx
je 0x41e6b8
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e5cd
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x424d00
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x424d24
pop edi
mov eax, 1
pop esi
ret 8
push edi
push 0x424cc0
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x427ee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp dword [edi + 0x1b0], ebx
jne 0x427fdb
add edi, 0x250
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0048fcaa
lea eax, [ebp + 8]
push 2
push eax
mov ecx, edi
call fcn.0048801f
mov eax, dword [eax]
mov esi, 0x4d55b8
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x427f5a
test cl, cl
je 0x427f56
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x427f5a
add eax, 2
add esi, 2
test cl, cl
jne 0x427f36
xor eax, eax
jmp 0x427f5f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea ecx, [ebp + 8]
sete bl
call fcn.0048fb71
test bl, bl
je 0x427fc3
lea eax, [ebp + 8]
push 2
push eax
mov ecx, edi
call fcn.00487eea
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0048fcaa
or esi, 0xffffffff
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0048fb71
push edi
lea ecx, [ebp + 8]
push 0x4ddfc4
push ecx
call fcn.0048fda0
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0048fcaa
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0048fb71
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 2
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, ebx
jl 0x428039
lea eax, [ebp - 0x18]
push eax
push 6
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
je 0x42800b
xor esi, esi
jmp 0x42801c
mov ecx, dword [ebp - 0x18]
push 0x4dc700
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp esi, ebx
mov dword [ebp - 0x14], ebx
je 0x428059
mov esi, dword [ebp + 8]
push 0x4dc700
mov ecx, esi
call fcn.0048fcfa
push esi
lea ecx, [edi + 0x250]
call fcn.0048fcaa
jmp 0x427fc3
push ebx
push ebx
push str.Cant_get_path_of_favorite.
call fcn.00412d00
add esp, 0xc
push 0x104
push 0x4dc700
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [ebp + 8]
push 0x4dc700
mov ecx, esi
call fcn.0048fcfa
push str._favorites
mov ecx, esi
call fcn.0048ff4d
push esi
lea ecx, [edi + 0x250]
call fcn.0048fcaa
jmp 0x427fc3
Function at 0x42bf00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a7065
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
mov eax, dword [0x4d93ac]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x860]
mov edx, dword [esp + 0x864]
mov ebp, dword [sym.imp.USER32.dll_GetMenuItemInfoA]
lea ecx, [esp + 0x20]
push ecx
push ebx
push edi
push edx
mov dword [esp + 0x864], 1
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], 0x2c
call ebp
mov eax, dword [esp + 0x28]
test ah, 1
je 0x42bf95
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x42bf95
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fcfa
jmp 0x42bf9e
lea ecx, [esp + 0x10]
call fcn.0048fafc
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
jne 0x42bfd9
mov ecx, esi
call fcn.00429920
mov eax, dword [eax + 4]
lea edx, [esp + 0x20]
push edx
push ebx
push edi
push eax
call ebp
mov eax, dword [esp + 0x28]
test ah, 1
je 0x42bfd9
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x42bfd9
mov ecx, dword [eax + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048fcfa
cmp dword [esp + 0x868], ebx
je 0x42c04a
lea edx, [esp + 0x18]
push 4
push edx
lea ecx, [esp + 0x18]
call fcn.00487fa3
mov eax, dword [eax]
push str..url
push eax
call fcn.00478e90
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x18]
sete byte [esp + 0x17]
call fcn.0048fb71
cmp byte [esp + 0x17], bl
je 0x42c04a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push ecx
push 0x800
push edx
push 0x4db730
push 0x4d61b4
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.0048fcfa
mov esi, dword [esp + 0x85c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0048f8e6
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x854], bl
call fcn.0048fb71
mov ecx, dword [esp + 0x84c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x848
ret 0x10
Function at 0x42c990
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x4d93ac]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4de004]
mov dword [ebp - 4], 0
push ecx
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0048ffa1
push eax
push 0x4d519c
push str.ShowTrayIcon
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0048fff0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00479a0b
add esp, 4
mov dword [edi + 0x1c0], eax
mov eax, dword [edi + 0x1c]
mov ebx, 1
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42ca35
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42caf2
push 5
mov ecx, edi
call fcn.0048f272
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0049ca17
mov esi, eax
test esi, esi
je 0x42cb62
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x42cb62
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42cb62
push 0
lea ecx, [ebp - 0x7c]
call fcn.00416480
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.0048b98d
cmp eax, ebx
jne 0x42cadb
mov esi, dword [esi + 0xe4]
mov eax, dword [ebp - 0x20]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42cabd
test cl, cl
je 0x42cab9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42cabd
add eax, 2
add esi, 2
test cl, cl
jne 0x42ca99
xor eax, eax
jmp 0x42cac2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42cb4b
push 0xffffffffffffffff
push 0
push 0x807d
call fcn.00412c60
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0048fb71
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.0048b57f
mov eax, dword [0x4dd894]
test eax, eax
jne 0x42cb05
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x42cb29
push 6
mov ecx, edi
call fcn.0048f272
cmp dword [edi + 0x1c0], ebx
jne 0x42cb1f
push 0
mov ecx, edi
call fcn.0048f272
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0048fb71
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0048fb71
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.0048b57f
push 3
mov ecx, edi
call fcn.0048f272
jmp 0x42cb29
Function at 0x42db40
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a71cb
push eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
call fcn.0048fafc
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, 0x4ddfd0
call fcn.00487fa3
mov eax, dword [eax]
mov esi, 0x4d5558
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42dba7
test cl, cl
je 0x42dba3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42dba7
add eax, 2
add esi, 2
test cl, cl
jne 0x42db7f
xor eax, eax
jmp 0x42dbac
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
lea ecx, [esp + 0x10]
cmp eax, esi
setne bl
call fcn.0048fb71
test bl, bl
je 0x42dbcf
push 0x4d5558
mov ecx, 0x4ddfd0
call fcn.0048ff4d
push 0x4ddfd0
lea ecx, [esp + 0x10]
call fcn.0048f8e6
push 0x4d59c8
lea ecx, [esp + 0x10]
mov dword [esp + 0x160], esi
call fcn.0048ff4d
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42dc46
push ebp
mov ebp, dword [esp + 0x168]
cmp ebp, esi
je 0x42dc34
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x18]
inc esi
push edx
push edi
call ebx
test eax, eax
je 0x42dc45
cmp esi, 0xff
jge 0x42dc45
cmp ebp, esi
jne 0x42dc1b
mov ecx, dword [esp + 0x16c]
lea eax, [esp + 0x44]
push eax
call fcn.0048fcfa
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0048fb71
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret 8
Function at 0x42f1e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a742b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x818
mov eax, dword [str.name]
mov edx, dword [0x4d5934]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov cl, byte [0x4d593c]
push str.LastClose.ini
lea eax, [esp + 0x14]
xor ebx, ebx
push 0x4ddfc8
push eax
mov byte [esp + 0x24], cl
mov dword [esp + 0x25], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
call fcn.0048fe06
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esp + 0x830], ebx
lea ecx, [esp + 0x18]
push 0xa
push ecx
push ebx
call fcn.0047aedc
lea edx, [esp + 0x2f]
push 0xa
push edx
push ebx
call fcn.0047aedc
mov eax, dword [esp + 0x28]
add esp, 0x18
lea ecx, [esp + 0x28]
lea edx, [esp + 0x14]
push eax
push 0x800
push ecx
push 0
push edx
push str.LastClose
call ebp
mov esi, eax
test esi, esi
je 0x42f303
mov ecx, dword [edi + 0x3fc]
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + ecx*4 + 0x548]
call fcn.0048fcfa
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push 0x800
push eax
lea ecx, [esp + 0x2c]
push 0
push ecx
push str.LastClose
call ebp
mov esi, eax
test esi, esi
je 0x42f2da
mov eax, dword [edi + 0x3fc]
lea edx, [esp + 0x28]
push edx
lea ecx, [edi + eax*4 + 0x4e8]
call fcn.0048fcfa
mov eax, dword [edi + 0x3fc]
mov ecx, 0x18
inc eax
cdq
idiv ecx
mov eax, dword [edi + 0x3f8]
cmp eax, edx
mov dword [edi + 0x3fc], edx
jne 0x42f303
inc eax
cdq
idiv ecx
mov dword [edi + 0x3f8], edx
inc ebx
test esi, esi
jne 0x42f249
mov ecx, edi
call fcn.00431bc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x830], 0xffffffff
call fcn.0048fb71
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x824
ret
Function at 0x4317d0
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a780b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push str.SOFTWAREClientsMail_
lea ecx, [esp + 4]
call fcn.0048fbdf
mov eax, dword [esp + 0x224]
lea ecx, [esp]
push eax
mov dword [esp + 0x220], 0
call fcn.0048ff4d
push str.Shellopencommand
lea ecx, [esp + 4]
call fcn.0048ff4d
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x431914
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x114]
push eax
push ecx
push 0
push 0
push 0x4db730
push edx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x431893
push 0xffffffffffffffff
push eax
push 0x87
call fcn.00412c60
add esp, 0xc
jmp 0x431914
push esi
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x10]
push 0x22
push edx
lea esi, [esp + 0x18]
call fcn.004795c0
lea ecx, [esp + 0x18]
add esp, 8
cmp eax, ecx
jne 0x4318db
lea esi, [eax + 1]
push 0x22
push esi
call fcn.004795c0
add esp, 8
test eax, eax
je 0x4318f2
jmp 0x4318ee
lea edx, [esp + 0x10]
push 0x20
push edx
call fcn.004795c0
add esp, 8
test eax, eax
je 0x4318f2
mov byte [eax], 0
inc eax
push 5
push 0x4d5710
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea ecx, [esp]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048fb71
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret 4