joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ca50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x140
mov eax, dword [0x4d4788]
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 0x41cb55
push ebx
lea eax, [esp + 0x13]
push 0xa
push eax
push esi
call fcn.00479ed6
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 0x41cb49
push edi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41cb11
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 + 0xba0]
mov dword [esp + 0x30], eax
call fcn.0048916a
lea eax, [esp + 0x17]
inc esi
push 0xa
push eax
push esi
call fcn.00479ed6
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 0x41cade
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 0x41d500
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 0xba0]
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 [0x4d4788]
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 0x41d5a3
push edi
lea edx, [esp + 0xf]
push 0xa
push edx
push esi
call fcn.00479ed6
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 0x41d597
lea edx, [esp + 0xf]
inc esi
push 0xa
push edx
push esi
call fcn.00479ed6
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
call edi
test eax, eax
je 0x41d576
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x41d790
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 0x41d825
cmp edi, 0x7a
je 0x41d7dd
cmp edi, 0x103
je 0x41d7cb
mov dword [esp + 0x14], 1
jmp 0x41d884
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x41d884
push esi
call fcn.0048fc88
push ebp
call fcn.0048fc5f
mov esi, eax
add esp, 8
test ebx, ebx
mov dword [esi], ebp
mov dword [esp + 0x10], ebp
jne 0x41d810
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 0x41d81d
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x41d86c
xor edi, edi
jmp 0x41d878
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x41d840
test eax, eax
je 0x41d83a
test dword [esi + 0xc], eax
je 0x41d853
mov edx, dword [esi + 4]
push edx
jmp 0x41d84d
test eax, eax
je 0x41d849
test dword [esi + 0xc], eax
jne 0x41d853
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 0x41d86c
xor edi, edi
jmp 0x41d878
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d7ad
push esi
call fcn.0048fc88
add esp, 4
test ebx, ebx
je 0x41d898
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d7ad
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x423ef0
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 0x423f14
pop edi
mov eax, 1
pop esi
ret 8
push edi
push 0x423eb0
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 0x427120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6500
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 0x42721b
add edi, 0x250
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0048f77a
lea eax, [ebp + 8]
push 2
push eax
mov ecx, edi
call fcn.00487a7f
mov eax, dword [eax]
mov esi, 0x4d447c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42719a
test cl, cl
je 0x427196
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42719a
add eax, 2
add esi, 2
test cl, cl
jne 0x427176
xor eax, eax
jmp 0x42719f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea ecx, [ebp + 8]
sete bl
call fcn.0048f641
test bl, bl
je 0x427203
lea eax, [ebp + 8]
push 2
push eax
mov ecx, edi
call fcn.0048794a
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0048f77a
or esi, 0xffffffff
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0048f641
push edi
lea ecx, [ebp + 8]
push 0x4decc0
push ecx
call fcn.0048f870
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0048f77a
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0048f641
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 0x427279
lea eax, [ebp - 0x18]
push eax
push 6
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
je 0x42724b
xor esi, esi
jmp 0x42725c
mov ecx, dword [ebp - 0x18]
push 0x4dd400
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 0x427299
mov esi, dword [ebp + 8]
push 0x4dd400
mov ecx, esi
call fcn.0048f7ca
push esi
lea ecx, [edi + 0x250]
call fcn.0048f77a
jmp 0x427203
push ebx
push ebx
push str.Cant_get_path_of_favorite.
call fcn.00411ed0
add esp, 0xc
push 0x104
push 0x4dd400
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [ebp + 8]
push 0x4dd400
mov ecx, esi
call fcn.0048f7ca
push str._favorites
mov ecx, esi
call fcn.0048fa1d
push esi
lea ecx, [edi + 0x250]
call fcn.0048f77a
jmp 0x427203
Function at 0x42b180
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a6915
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
mov eax, dword [0x4d8094]
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 0x42b215
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x42b215
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0048f7ca
jmp 0x42b21e
lea ecx, [esp + 0x10]
call fcn.0048f5cc
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
jne 0x42b259
mov ecx, esi
call fcn.00428b60
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 0x42b259
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x42b259
mov ecx, dword [eax + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048f7ca
cmp dword [esp + 0x868], ebx
je 0x42b2ca
lea edx, [esp + 0x18]
push 4
push edx
lea ecx, [esp + 0x18]
call fcn.00487a03
mov eax, dword [eax]
push str..url
push eax
call fcn.00477a90
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x18]
sete byte [esp + 0x17]
call fcn.0048f641
cmp byte [esp + 0x17], bl
je 0x42b2ca
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push ecx
push 0x800
push edx
push 0x4dc430
push 0x4d5004
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.0048f7ca
mov esi, dword [esp + 0x85c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0048f3b6
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x854], bl
call fcn.0048f641
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 0x42bc20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a69c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x4d8094]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4decfc]
mov dword [ebp - 4], 0
push ecx
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0048fa71
push eax
push 0x4d419c
push str.ShowTrayIcon
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0048fac0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0047874c
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 0x42bcc5
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42bd82
push 5
mov ecx, edi
call fcn.0048ed42
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.0049c4d4
mov esi, eax
test esi, esi
je 0x42bdf2
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x42bdf2
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42bdf2
push 0
lea ecx, [ebp - 0x7c]
call fcn.00415660
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.0048b434
cmp eax, ebx
jne 0x42bd6b
mov esi, dword [esi + 0xe4]
mov eax, dword [ebp - 0x20]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42bd4d
test cl, cl
je 0x42bd49
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42bd4d
add eax, 2
add esi, 2
test cl, cl
jne 0x42bd29
xor eax, eax
jmp 0x42bd52
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42bddb
push 0xffffffffffffffff
push 0
push 0x807d
call fcn.00411e30
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0048f641
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.0048b031
mov eax, dword [0x4de594]
test eax, eax
jne 0x42bd95
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x42bdb9
push 6
mov ecx, edi
call fcn.0048ed42
cmp dword [edi + 0x1c0], ebx
jne 0x42bdaf
push 0
mov ecx, edi
call fcn.0048ed42
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.0048f641
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.0048f641
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.0048b031
push 3
mov ecx, edi
call fcn.0048ed42
jmp 0x42bdb9
Function at 0x42cdd0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a6a7b
push eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
call fcn.0048f5cc
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, 0x4deccc
call fcn.00487a03
mov eax, dword [eax]
mov esi, 0x4d441c
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42ce37
test cl, cl
je 0x42ce33
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42ce37
add eax, 2
add esi, 2
test cl, cl
jne 0x42ce0f
xor eax, eax
jmp 0x42ce3c
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
lea ecx, [esp + 0x10]
cmp eax, esi
setne bl
call fcn.0048f641
test bl, bl
je 0x42ce5f
push 0x4d441c
mov ecx, 0x4deccc
call fcn.0048fa1d
push 0x4deccc
lea ecx, [esp + 0x10]
call fcn.0048f3b6
push 0x4d481c
lea ecx, [esp + 0x10]
mov dword [esp + 0x160], esi
call fcn.0048fa1d
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 0x42ced6
push ebp
mov ebp, dword [esp + 0x168]
cmp ebp, esi
je 0x42cec4
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x18]
inc esi
push edx
push edi
call ebx
test eax, eax
je 0x42ced5
cmp esi, 0xff
jge 0x42ced5
cmp ebp, esi
jne 0x42ceab
mov ecx, dword [esp + 0x16c]
lea eax, [esp + 0x44]
push eax
call fcn.0048f7ca
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret 8
Function at 0x42e470
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a6cdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x818
mov eax, dword [str.name]
mov edx, dword [0x4d4788]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov cl, byte [0x4d4790]
push str.LastClose.ini
lea eax, [esp + 0x14]
xor ebx, ebx
push 0x4decc4
push eax
mov byte [esp + 0x24], cl
mov dword [esp + 0x25], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
call fcn.0048f8d6
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.00479ed6
lea edx, [esp + 0x2f]
push 0xa
push edx
push ebx
call fcn.00479ed6
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 0x42e593
mov ecx, dword [edi + 0x3fc]
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + ecx*4 + 0x548]
call fcn.0048f7ca
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 0x42e56a
mov eax, dword [edi + 0x3fc]
lea edx, [esp + 0x28]
push edx
lea ecx, [edi + eax*4 + 0x4e8]
call fcn.0048f7ca
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 0x42e593
inc eax
cdq
idiv ecx
mov dword [edi + 0x3f8], edx
inc ebx
test esi, esi
jne 0x42e4d9
mov ecx, edi
call fcn.00430e50
lea ecx, [esp + 0x10]
mov dword [esp + 0x830], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x824
ret
Function at 0x430a60
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a70bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push str.SOFTWAREClientsMail_
lea ecx, [esp + 4]
call fcn.0048f6af
mov eax, dword [esp + 0x224]
lea ecx, [esp]
push eax
mov dword [esp + 0x220], 0
call fcn.0048fa1d
push str.Shellopencommand
lea ecx, [esp + 4]
call fcn.0048fa1d
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 0x430ba4
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x114]
push eax
push ecx
push 0
push 0
push 0x4dc430
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 0x430b23
push 0xffffffffffffffff
push eax
push 0x87
call fcn.00411e30
add esp, 0xc
jmp 0x430ba4
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.00478260
lea ecx, [esp + 0x18]
add esp, 8
cmp eax, ecx
jne 0x430b6b
lea esi, [eax + 1]
push 0x22
push esi
call fcn.00478260
add esp, 8
test eax, eax
je 0x430b82
jmp 0x430b7e
lea edx, [esp + 0x10]
push 0x20
push edx
call fcn.00478260
add esp, 8
test eax, eax
je 0x430b82
mov byte [eax], 0
inc eax
push 5
push 0x4d4564
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.0048f641
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret 4
Function at 0x434f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a74ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
push 0x1c
call fcn.0048fc5f
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x434f9b
mov ecx, eax
call fcn.00446410
mov esi, eax
mov eax, dword [esp + 0x2c]
push esi
push eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00446490
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1c]
add edi, 0x1034
push esi
mov dword [esi + 8], edi
push edx
mov edx, dword [ecx + 4]
push 0x500
push eax
push edx
call dword [sym.imp.USER32.dll_InsertMenuA]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x4350b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a74fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
push 0x1c
mov dword [esp + 0x18], 1
call fcn.0048fc5f
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4350f4
mov ecx, eax
call fcn.00446410
mov esi, eax
jmp 0x4350f6
xor esi, esi
add edi, 0x1034
push esi
mov dword [esi + 8], edi
or edi, 0xffffffff
mov dword [esi + 0xc], edi
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x1c], 1
call fcn.00446490
mov ecx, dword [esp + 0x34]
push esi
push ecx
call fcn.00446560
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
or ah, 1
push esi
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x14], 0
call fcn.0048f641
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], edi
call fcn.0048f641
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x435770
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a75bb
push eax
mov dword fs:[0], esp
sub esp, 0x104
lea eax, [esp + 4]
push esi
push edi
push 0xff
mov edi, ecx
push eax
call sub.WSOCK32.dll_gethostname
lea ecx, [esp + 0xc]
lea esi, [edi + 0x5c4]
push ecx
mov ecx, esi
call fcn.0048f7ca
mov esi, dword [esi]
mov eax, dword [esi - 8]
test eax, eax
je 0x435810
push esi
call sub.WSOCK32.dll_gethostbyname
mov edx, dword [0x4d8094]
mov dword [esp + 8], edx
test eax, eax
mov dword [esp + 0x114], 0
je 0x4357fc
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
add edi, 0x5c8
mov eax, dword [eax]
mov cl, byte [eax + 1]
mov dl, byte [eax]
push ecx
push edx
push 0x4d6688
push edi
call fcn.00487e9f
add esp, 0x10
lea ecx, [esp + 8]
mov dword [esp + 0x114], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x110
ret
Function at 0x4368c0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x436911
dec eax
je 0x4368fc
dec eax
je 0x4368e9
sub eax, 2
jne 0x436905
call fcn.0043b090
mov dword [esi + 0x1ec], 0
pop esi
ret
mov ecx, esi
call fcn.0043ac70
mov dword [esi + 0x1ec], 0
pop esi
ret
push 0
mov ecx, esi
call fcn.00436960
mov dword [esi + 0x1ec], 0
pop esi
ret
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [0x4deba0], 1
call edi
push 0x10
mov ebx, eax
call edi
pop edi
test bx, bx
pop ebx
jl 0x436944
test ax, ax
jl 0x436952
push 0
mov ecx, esi
call fcn.00436960
pop esi
ret
test ax, ax
jge 0x436952
mov ecx, esi
call fcn.0043b090
pop esi
ret
mov ecx, esi
call fcn.0043ac70
pop esi
ret
Function at 0x436f40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a77a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [ecx + 0x1c]
mov ecx, dword [0x4de5ec]
push esi
add ecx, 0x80
push edi
mov dword [esp + 0xc], 0x58
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 7
call fcn.0049e6af
mov eax, dword [eax + 8]
push 0xb2
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x4dc430
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x403
call fcn.0048f6af
mov edx, dword [0x4decfc]
lea ecx, [esp + 8]
push edx
push 0x104
push 0x104
mov dword [esp + 0x78], 0
call fcn.0048fa71
push eax
push 0x4d4394
push str.BorwsCaption
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [esp + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
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]
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret