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

Disassembly:
sub esp, 8
push esi
mov edx, dword [0x6614e8]
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x4e80d1
mov eax, dword [esp + 0xc]
test eax, eax
setne al
mov byte [edi + 4], al
mov eax, dword [0x6614e8]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x4e80fc
mov byte [edi + 5], 1
pop edi
pop esi
add esp, 8
ret

Function at 0x4e86f0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa10
push ebx
mov ebx, ecx
push esi
push edi
mov al, byte [ebx + 0x10]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 4], 0
jne 0x4e885d
push str..easy_share.com
mov byte [ebx + 0x10], 1
call fcn.004e85a0
push str.www.uploading.com
mov ecx, ebx
call fcn.004e85a0
push str..uploaded.to
mov ecx, ebx
call fcn.004e85a0
mov eax, dword [0x6614e8]
test eax, eax
je 0x4e885d
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x118]
push ecx
push edx
push 0
push 0
push str.AppDataIDMFolder
push eax
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e885d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4e885d
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x14], ecx
mov al, byte [ebp + ecx - 0x119]
cmp al, 0x5c
mov eax, 0x6384b8
jne 0x4e87c3
mov eax, 0x660ff8
push str.sts_list.dat
lea ecx, [ebp - 0x118]
push eax
push ecx
lea edx, [ebp - 0x21c]
push 0x6379c4
push edx
call fcn.0056b4da
lea eax, [ebp - 0x21c]
push 0x639060
push eax
call fcn.0056bf3f
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4e885d
push esi
lea ecx, [ebp - 0xa1c]
push 0x800
push ecx
call fcn.0056c11a
add esp, 0xc
test eax, eax
je 0x4e8854
lea edx, [ebp - 0xa1c]
push 0xd
push edx
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x4e882c
mov byte [eax], 0
lea eax, [ebp - 0xa1c]
push 0xa
push eax
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x4e8844
mov byte [eax], 0
lea ecx, [ebp - 0xa1c]
push ecx
mov ecx, ebx
call fcn.004e85a0
jmp 0x4e87fb
push esi
call fcn.0056bd58
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e8880
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, 3
push edi
cmp dword [ebp + 8], esi
jle 0x4e8985
mov eax, dword [0x6614e8]
test eax, eax
je 0x4e8985
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.AppDataIDMFolder
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e8985
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4e8985
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
mov al, byte [esp + ecx + 0x13]
cmp al, 0x5c
mov eax, 0x6384b8
jne 0x4e8909
mov eax, 0x660ff8
push str.sts_list.dat
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x124]
push 0x6379c4
push edx
call fcn.0056b4da
lea eax, [esp + 0x12c]
push 0x638dc4
push eax
call fcn.0056bf3f
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4e8985
cmp dword [ebp + 8], esi
jle 0x4e897c
mov ecx, dword [ebp + 4]
xor eax, eax
push ebx
mov edx, dword [ecx + esi*4]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0056bdd5
push ebx
push 2
push 1
push 0x637b34
call fcn.0056bdd5
mov eax, dword [ebp + 8]
add esp, 0x20
inc esi
cmp esi, eax
jl 0x4e8946
push ebx
call fcn.0056bd58
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x4e9e50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9be0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 4], ebx
je 0x4e9fe6
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [ebp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
push 0x5d6640
push 2
call fcn.004e9d70
cmp eax, ebx
je 0x4e9ecc
push 0x410c
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp + 0xc], eax
jmp 0x4e9ee5
push 0x400c
lea edx, [ebp - 0x184]
push 0x160
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
push 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x14]
push 3
push 0
push 0
push 0x30
push 0x30
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x24]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4eaa10
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x4eaa80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4eaa5f
mov eax, dword [0x6618ec]
test eax, eax
jne 0x4eaa61
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0
call esi
mov eax, dword [0x6618ec]
test eax, eax
je 0x4eaa3f
mov dword [edi + 0x24], eax
pop esi
mov dword [0x6618ec], 0
pop edi
pop ecx
ret
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [0x6618ec], 0
pop edi
pop ecx
ret

Function at 0x4eadc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9d06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x5d6ed4
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], eax
mov dword [esi + 0x28], vtable.CMenu.0
mov dword [esi + 0x2c], eax
mov dword [esi], 0x5d6ed0
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
call fcn.00590d5c
call fcn.00590d5c
mov eax, dword [eax + 0xc]
push 0x120
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ebe20
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a9e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x4ebe7a
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 2
push 0x637b34
push edx
call esi
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4ebe90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9e8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 4]
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x4ebf9b
push 0x64eaa4
lea ecx, [ebp - 0x14]
call fcn.00586ba1
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 1
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.00519510
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.00586ee5
cmp dword [esi + 0x38], ebx
je 0x4ebf1b
push str._r_nreferer:
lea ecx, [ebp - 0x14]
call fcn.00586ea9
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x14]
push eax
call fcn.00586ea9
cmp dword [esi + 0x3c], ebx
je 0x4ebf39
push str._r_ncookie:
lea ecx, [ebp - 0x14]
call fcn.00586ea9
mov ecx, dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00586ea9
mov edx, dword [esi + 0x17c]
add esi, 0x17c
cmp dword [edx - 8], ebx
je 0x4ebf60
push str._r_npd:
lea ecx, [ebp - 0x14]
call fcn.00586ea9
push esi
lea ecx, [ebp - 0x14]
call fcn.00586ee5
push str._r_n__r_n
lea ecx, [ebp - 0x14]
call fcn.00586ea9
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ee0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5aa050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
push ebx
mov edx, dword [0x6614e8]
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x7e8]
push eax
push ecx
push 0
push 0
mov esi, 0x7d0
push str.Extensions
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ee14c
xor eax, eax
jmp 0x4ee24a
mov ebx, dword [esp + 0xfcc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x4ee24a
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x30000000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x7e8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.004edfc0
mov ebp, eax
test ebp, ebp
jne 0x4ee248
push 0x3f
push ebx
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x4ee248
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x30000000
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
and ecx, 3
mov dword [esp + 0x14], 0x7d0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
lea ecx, [esp + 0x18]
push 0x3f
push ecx
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x4ee248
mov ecx, dword [esp + 0x14]
mov byte [eax], 0
lea edx, [esp + 0x7e8]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.004edfc0
mov ebp, eax
mov eax, ebp
mov ecx, dword [esp + 0xfbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfb8
ret 4
Function at 0x4ee270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfac
mov edx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], esp
cmp ecx, 0x7d0
mov dword [ebp - 4], 0
jb 0x4ee2c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e8]
lea ebx, [ebp - 0x7e8]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x25
mov eax, ecx
mov esi, edi
mov edi, ebx
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, [ebp - 0x7e8]
push ecx
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x4ee39b
lea edx, [ebp - 0x7e8]
push edx
call fcn.004ecbc0
add esp, 4
mov bl, al
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4ee360
push str.UrlUnescapeA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ee357
push 0x2100000
push 0
lea ecx, [ebp - 0x7e8]
push 0
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4ee384
lea edx, [ebp + 8]
push 0x30000000
lea eax, [ebp - 0x7e8]
push edx
lea ecx, [ebp - 0x7e8]
push eax
push ecx
mov dword [ebp + 8], 0x7d0
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test bl, bl
je 0x4ee39b
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x7e8]
push edx
push eax
call fcn.00540470
add esp, 8
lea ecx, [ebp - 0x7e8]
push 0x3f
push ecx
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x4ee3cb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x6614e8]
test eax, eax
jne 0x4ee411
push 0
push 0x6614e8
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4ee411
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x6614e8]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xfb8]
push edx
push eax
push 0
push 0
push str.Extensions
push ecx
mov dword [ebp - 0x18], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ee452
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xfb8]
lea eax, [ebp - 0x7e8]
push edx
push eax
call fcn.004edfc0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ee4c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7d4
mov edx, dword [0x6614e8]
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0
push str.Extensions
push edx
mov dword [esp + 0x1c], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ee501
xor eax, eax
pop esi
add esp, 0x7d4
ret 4
mov ecx, dword [esp + 0x7dc]
lea eax, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004edfc0
pop esi
add esp, 0x7d4
ret 4
Function at 0x4ee880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa0ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x5d77e8
lea edx, [ebx + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 1
jne 0x4ee8db
lea ecx, [ebx + 4]
call fcn.005816db
jmp 0x4ee9b3
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x1c], esi
je 0x4ee9b3
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4ee94b
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00586c6c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
push ecx
mov edx, dword [eax - 8]
push edx
push eax
push esi
call edi
lea eax, [ebp - 0x20]
push 0
push eax
push 1
push 0x64c6bc
push esi
call edi
jmp 0x4ee914
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
jmp 0x4ee992
cmp esi, 0xffffffff
mov dword [ebp - 4], 0
je 0x4ee9a5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.005816db
mov ebx, dword [ebp - 0x18]
lea ecx, [ebx + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00581710
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eead0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa12e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 0xa
lea ecx, [edi + 4]
mov dword [ebp - 0x1c], edi
call fcn.0058169c
lea esi, [edi + 0x20]
push 0x660ff8
push esi
mov dword [ebp - 4], 0
mov dword [edi], 0x5d7aec
mov dword [ebp - 0x20], 0xffffffff
call fcn.0056b4da
mov eax, dword [0x6614c8]
add esp, 8
mov byte [ebp - 4], 1
push str.UrlHistory2.txt
push eax
push 0x637020
push esi
call fcn.0056b4da
add esp, 0x10
lea ecx, [ebp - 0x14]
push 0x660ff8
call fcn.00586ba1
mov ecx, dword [0x65ca8c]
mov dword [ebp - 0x18], ecx
push 0
push 0
push 4
push 0
push 1
push 0xc0000000
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x20], ebx
jne 0x4eebaa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [ebp - 0x530]
lea edx, [ebp - 0x28]
rep stosd dword es:[edi], eax
push eax
push edx
lea eax, [ebp - 0x530]
push 0x3ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4eec50
mov eax, dword [ebp - 0x28]
test eax, eax
jbe 0x4eec50
lea ecx, [ebp - 0x530]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00586ea9
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00586f94
mov esi, eax
cmp esi, 0xffffffff
jle 0x4eebaa
test esi, esi
jne 0x4eec0d
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0057f289
jmp 0x4eebeb
lea edx, [ebp - 0x24]
push esi
push edx
lea ecx, [ebp - 0x14]
call fcn.0057f4fd
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00586c6c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00586b33
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push eax
add ecx, 4
call fcn.00581845
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0
call fcn.0057f289
jmp 0x4eebeb
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
jmp 0x4eeca3
cmp ebx, 0xffffffff
je 0x4eecaf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eecf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa15e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x5d7aec
lea edx, [ebx + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 1
jne 0x4eed4b
lea ecx, [ebx + 4]
call fcn.005816db
jmp 0x4eee23
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x1c], esi
je 0x4eee23
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4eedbb
mov eax, ebx
mov ebx, dword [ebx]
add eax, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00586c6c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push 0
push ecx
mov edx, dword [eax - 8]
push edx
push eax
push esi
call edi
lea eax, [ebp - 0x20]
push 0
push eax
push 1
push 0x64c6bc
push esi
call edi
jmp 0x4eed84
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
jmp 0x4eee02
cmp esi, 0xffffffff
mov dword [ebp - 4], 0
je 0x4eee15
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.005816db
mov ebx, dword [ebp - 0x18]
lea ecx, [ebx + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.00581710
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ef650
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], esp
lea eax, [edi + 0x10]
push 6
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
call ebx
shl eax, 1
push 4
mov esi, eax
call ebx
mov dword [ebp - 0x14], esi
mov esi, eax
mov eax, dword [ebp - 0x14]
push 5
neg esi
sub esi, eax
call ebx
mov ecx, eax
or eax, 0xffffffff
sub eax, ecx
push esi
shl eax, 1
lea edx, [ebp - 0x24]
push eax
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
lea esi, [edi + 0x3c]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
push eax
call fcn.0058342f
mov ecx, dword [edi + 0x30]
push esi
push ecx
mov ecx, dword [edi + 0x50]
push eax
call fcn.005804b7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4