joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100474c0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100afc1c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
push dword [esi]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
mov ecx, dword [esi + 4]
add esp, 0x18
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.pid
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push 0x100a4ba0
push 0x100a4ba8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret

Function at 0x10047590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.1006ff30
add esp, 0xc
xor eax, eax
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
mov word [ebp - 6], ax
movdqu xmmword [ebp - 0x16], xmm0
push eax
push 0x1a
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100afc1c
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.1006e675
push dword [esi]
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.1006e675
mov ecx, dword [esi + 4]
add esp, 0x18
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.pid
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.1006e675
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x1009be08
push eax
call fcn.10022f40
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x100a4ba0
push 0x100a4ba8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 4
Function at 0x10047bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10047c67
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 8]
push 4
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.CertificateRevocation
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10047c70
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [esi], 0x1b58
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.mshtml.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x218]
xor edi, edi
mov dword [ebp - 0x218], edi
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x210], eax
test eax, eax
je 0x10047d76
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10047d76
push ebx
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10047d64
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], edi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], edi
push eax
push 0x100afc1c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10047d64
cmp dword [ebp - 0x214], edi
je 0x10047d64
mov eax, dword [ebp - 0x210]
movzx edi, word [eax + 0xa]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, 0xb
jne 0x10047d8d
mov dword [esi], 0x2af8
pop edi
mov dword [esi], 0x1b58
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
cmp edi, 0xa
jne 0x10047da9
pop edi
mov dword [esi], 0x2710
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
cmp edi, 9
jne 0x10047dc5
pop edi
mov dword [esi], 0x2328
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
cmp edi, 8
jne 0x10047d76
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi], 0x1f40
xor ecx, ebp
pop esi
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
Function at 0x10048990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.1007204b
mov esi, eax
add esp, 8
test esi, esi
je 0x10048a5e
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
call fcn.10047c70
add esp, 4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10048a5e
push 4
lea eax, [ebp - 0x214]
push eax
push 4
push 0
lea eax, [esi + 2]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret

Function at 0x10048e60
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0xc], eax
cmp dword [eax + 4], 0
jne 0x10048e79
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x1013e770]
push esi
mov dword [ebp - 8], 0
mov esi, dword [eax + 0x14]
test esi, esi
je 0x10048f7f
push edi
push 0
push 0
push 0
push 0
push 0x100af9cc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x10048f7e
movzx eax, word [esi + 8]
push ebx
push 0
push 0
push 3
push 0
push 0
push eax
push dword [esi]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x10048ee1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push 0x84000000
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x100a3380
push eax
push 0
push 0x100a3388
mov dword [ebp - 0x10], 0
push dword [esi + 4]
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10048f2f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.10048c60
mov esi, eax
test esi, esi
je 0x10048f6c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048f45
sub ecx, edx
push ecx
push esi
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push esi
mov dword [ebp - 8], eax
call fcn.1006da71
add esp, 4
push dword [ebp - 4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push edi
call esi
pop ebx
pop edi
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10049560
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1013e770]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
mov esi, dword [eax + 0x14]
test esi, esi
je 0x1004965f
push ebx
push edi
push edi
push edi
push edi
push 0x100af9cc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x1004965e
movzx eax, word [esi + 8]
push edi
push edi
push 3
push edi
push edi
push eax
push dword [esi]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x100495c4
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push 0x84000000
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x100a3380
push ecx
push 0
push 0x100a3388
mov dword [ebp - 0x10], edi
push dword [esi + 4]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1004960f
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.100491e0
mov esi, eax
test esi, esi
je 0x1004964b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049625
sub ecx, edx
push ecx
push esi
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push esi
mov edi, eax
call fcn.1006da71
add esp, 4
push dword [ebp - 4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
push ebx
call esi
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1004b060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100968e1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
lea ecx, [edi + 0x24]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.100512a0
mov dword [edi + 0x24], eax
push 0
push 0
lea ecx, [edi + 0x2c]
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100512a0
mov dword [edi + 0x2c], eax
push 0
push 0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.100512a0
mov dword [edi + 0x34], eax
lea eax, [edi + 0x1c]
mov byte [ebp - 4], 2
push eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
call fcn.100367c0
push 0x208
call fcn.1006daa9
add esp, 8
mov dword [edi + 0x18], eax
test eax, eax
je 0x1004b172
push 0x208
push 0
push eax
call fcn.1006ff30
push str.WB_CFG
push 0x104
push dword [edi + 0x18]
call fcn.1006e6e1
add esp, 0x18
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x18], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004c1a0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1324
call fcn.1006f8b0
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x1320], eax
mov esi, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x2d4], ax
lea eax, [ebp - 0x2d2]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x2d4]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100afc1c
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.1006e675
push dword [esi + 0x18]
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.1006e675
mov ecx, dword [esi + 0x1c]
add esp, 0x18
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2d4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.index.dat
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push 0
push str.count
push 0x100a52e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.1006ff30
xor eax, eax
push 0x1046
push eax
mov word [ebp - 0x131c], ax
lea eax, [ebp - 0x131a]
push eax
call fcn.1006ff30
add esp, 0x18
test edi, edi
jle 0x1004c361
mov esi, 1
cmp edi, esi
jl 0x1004c361
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0xcc]
push str.key_d
push eax
call fcn.1000fa30
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push 0x824
lea eax, [ebp - 0x131c]
push eax
push 0x100af9cc
lea eax, [ebp - 0xcc]
push eax
push 0x100a52e0
call ebx
lea eax, [ebp - 0x131c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004c305
sub eax, edx
sar eax, 1
je 0x1004c32f
lea eax, [ebp - 0x131c]
push eax
push dword [ebp - 0x1320]
call fcn.1006eb63
add esp, 8
test eax, eax
je 0x1004c349
inc esi
cmp esi, edi
jle 0x1004c2c1
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
Function at 0x1004c3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1004c5ba
push esi
push str.MacromediaFlash_PlayerSharedObjects
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1006e675
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.1006ff30
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 0x100a5134
push eax
call fcn.1002a1d0
add esp, 0x24
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1004c5b9
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esp, 0xc
mov ecx, 0x100a306c
lea eax, [ebp - 0x840]
jmp 0x1004c4d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1004c4f6
test dx, dx
je 0x1004c4f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1004c4f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1004c4d0
xor eax, eax
jmp 0x1004c4fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004c59f
mov eax, 0x100a3070
lea ecx, [ebp - 0x840]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1004c536
test dx, dx
je 0x1004c532
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1004c536
add ecx, 4
add eax, 4
test dx, dx
jne 0x1004c510
xor eax, eax
jmp 0x1004c53b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004c59f
test byte [ebp - 0x86c], 0x10
je 0x1004c59f
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e6e1
push 0x100afc1c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0x24
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.1004dfe0
lea eax, [ebp - 0x86c]
push eax
push esi
call edi
test eax, eax
jne 0x1004c4c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
Function at 0x1004c5d0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x874], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x870], ecx
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x21
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1004c637
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1004c682
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100afc1c
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp - 0x874]
mov ecx, dword [ebp - 0x870]
lea eax, [ebp - 0x414]
push eax
call fcn.1004be30
test eax, eax
je 0x1004c6ef
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x86c]
push eax
push esi
call ebx
test eax, eax
jne 0x1004c690
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 4
Function at 0x1004c8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x870], eax
mov ebx, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1004cae0
push esi
push str.MacromediaFlash_PlayerSharedObjects
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1006e675
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.1006ff30
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 0x100a5134
push eax
call fcn.1002a1d0
add esp, 0x24
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1004cadf
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esp, 0xc
lea esp, [esp]
mov ecx, 0x100a306c
lea eax, [ebp - 0x840]
jmp 0x1004c9f0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1004ca16
test dx, dx
je 0x1004ca12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1004ca16
add eax, 4
add ecx, 4
test dx, dx
jne 0x1004c9f0
xor eax, eax
jmp 0x1004ca1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004cac5
mov eax, 0x100a3070
lea ecx, [ebp - 0x840]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1004ca56
test dx, dx
je 0x1004ca52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1004ca56
add ecx, 4
add eax, 4
test dx, dx
jne 0x1004ca30
xor eax, eax
jmp 0x1004ca5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004cac5
test byte [ebp - 0x86c], 0x10
je 0x1004cac5
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e6e1
push 0x100afc1c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0x24
lea eax, [ebp - 0x20c]
mov ecx, ebx
push dword [ebp - 0x870]
push eax
call fcn.1004c720
lea eax, [ebp - 0x86c]
push eax
push esi
call edi
test eax, eax
jne 0x1004c9e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 4
Function at 0x1004cb00
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x2d4], ax
lea eax, [ebp - 0x2d2]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x2d4]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100afc1c
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.1006e675
push dword [esi + 0x18]
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.1006e675
push str.index.dat
lea eax, [ebp - 0x2d4]
push 0x104
push eax
call fcn.1006e675
add esp, 0x24
lea eax, [ebp - 0x2d4]
push eax
push 0
push str.count
push 0x100a52e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
test ebx, ebx
jle 0x1004cc4e
push edi
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xca]
push eax
call fcn.1006ff30
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x2d4]
add esp, 0xc
push eax
push 0
push str.count
push 0x100a52e0
call edi
mov esi, 1
cmp ebx, esi
jle 0x1004cc3b
push esi
lea eax, [ebp - 0xcc]
push str.key_d
push eax
call fcn.1000fa30
add esp, 0xc
lea eax, [ebp - 0x2d4]
push eax
push 0x100af9cc
lea eax, [ebp - 0xcc]
push eax
push 0x100a52e0
call edi
inc esi
cmp esi, ebx
jl 0x1004cbf1
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
Function at 0x1004db40
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call esi
push dword [ebp - 4]
call fcn.1007341c
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
call esi
mov dword [ebp - 8], eax
test eax, eax
je 0x1004dbce
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [edi + 0xc], 0x100000
je 0x1004db95
push dword [edi + 4]
call esi
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
call ebx
push edi
call fcn.1006dbad
push dword [ebp - 4]
call fcn.1007341c
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
call ebx
test eax, eax
mov eax, dword [ebp - 8]
jne 0x1004db84
mov ebx, 1
test edi, edi
je 0x1004dbdb
push edi
call fcn.1006dbad
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret