joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4224f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x320
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
push str.360se_3.0
push 0x4ee160
push 0x103
push 0x5da590
call esi
add esp, 0x10
push 0x4ee168
push 0x4ee160
push 0x103
push 0x5da798
call esi
add esp, 0x10
push str.3.6.1.0
push 0x4ee160
push 0x103
push 0x5da9a0
call esi
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x4ee160
push 0x103
push 0x5daba8
call esi
mov ebx, dword [esp + 0x340]
add esp, 0x10
mov eax, dword [ebx]
push eax
push str.0x_08x
push 0x103
push 0x5db1c0
call esi
mov cx, word [0x50b1d0]
xor eax, eax
mov word [esp + 0x134], cx
mov ecx, 0x81
lea edi, [esp + 0x136]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x103
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.00422a00
add esp, 0x20
test eax, eax
je 0x42262e
push 0x103
lea edx, [esp + 0x128]
push 0x5dafb8
push edx
call fcn.00433af0
add esp, 0xc
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x4225fe
lea eax, [esp + 0x124]
push eax
push 0x4ee160
push 0x103
push 0x5dadb0
call esi
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push str.0x_08x
push 0x103
push 0x5db3c8
call esi
add esp, 0x10
jmp 0x422642
push str.unknown
push 0x103
push 0x5dadb0
call esi
add esp, 0xc
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42268e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push str._d._d._d__s
push 0x103
push 0x5db5d0
call esi
add esp, 0x1c
push 0x104
push 0x5db7d8
call fcn.0048e540
add esp, 8
mov ecx, 0x50b1e0
push 0
push str.user.dat
call fcn.0040ad90
push eax
push 0x4ee160
push 0x103
push 0x5db9e0
call esi
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x320
ret
Function at 0x422780
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
mov eax, 0x1258
call fcn.004d2e90
push esi
push edi
xor esi, esi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
push 3
rep stosd dword es:[edi], eax
push esi
push esi
stosw word es:[edi], ax
mov eax, dword [0x5dbff8]
push esi
push esi
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x422834
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
mov edx, dword [0x5dbff8]
push esi
rep stosd dword es:[edi], eax
push 0x1800
lea ecx, [esp + 0x18]
push 0x4f0ab0
push ecx
stosw word es:[edi], ax
mov eax, dword [0x5e6a0c]
push str.Debugger_.exe_
push 0x50b85c
push edx
push eax
call fcn.00433ed0
add esp, 0x20
test eax, eax
je 0x42286b
lea ecx, [esp + 0x10]
lea edx, [esp + 0x218]
push ecx
push str.__s___p___ld__e___ld
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x42286b
lea eax, [esp + 0xc]
lea ecx, [esp + 0x218]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Debugger
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x1046
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x218], si
je 0x42288e
lea eax, [esp + 0x218]
push eax
call fcn.004228a0
add esp, 4
pop edi
pop esi
add esp, 0x1258
ret
mov eax, esi
pop edi
pop esi
add esp, 0x1258
ret
Function at 0x4228a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10b0
call fcn.004d2e90
xor eax, eax
push ebx
mov dword [esp + 0x18], eax
push esi
push eax
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x4229c6
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], bx
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x10c4]
push eax
push edx
lea eax, [esp + 0x80]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
add esp, 0x14
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 0x14], ecx
push edx
push eax
push ecx
push ecx
push ecx
push 1
push ecx
mov dword [esp + 0x34], ecx
push ecx
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x58], 0x44
mov dword [esp + 0x84], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4229be
mov edx, dword [esp + 0xc]
push 0xea60
lea eax, [esp + 0x2c]
push ebx
push eax
push 2
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x4229ab
cmp eax, 1
jne 0x4229b0
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4229b0
mov ebx, 1
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
push esi
call edi
test ebx, ebx
pop edi
jne 0x4229e7
push 0x40
push 0x50b85c
push 0xc38d
call fcn.0047f2c0
add esp, 4
push eax
mov eax, dword [0x5dbff8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
pop esi
pop ebx
add esp, 0x10b0
ret

Function at 0x422ef0
Capabilities:
Copy file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov word [esp + 8], 0
push 0x50b654
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call esi
add esp, 4
cmp eax, 0x103
jbe 0x422f2c
mov eax, 0x103
jmp 0x422f36
push 0x50b654
call esi
add esp, 4
push eax
lea eax, [esp + 0xc]
push 0x50b654
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x422f62
mov word [eax], 0
mov eax, dword [0x5dbff8]
mov ecx, dword [0x5e6a0c]
push 0
push 0
push 0x802
lea edx, [esp + 0xc]
push 0x4f1248
push edx
push str.Dump_Files_.dmp_
push 0x50b85c
push eax
push ecx
call fcn.00433fd0
add esp, 0x24
test eax, eax
je 0x422faa
lea edx, [esp]
push 0
push edx
push 0x5dbdf0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x208
ret
Function at 0x422fc0
Capabilities:
Delete file

Disassembly:
mov ecx, 0x5778e8
call fcn.0041c750
mov eax, dword [0x5dbffc]
test eax, eax
je 0x422feb
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x5dbffc], 0
cmp dword [0x5d4994], 7
jne 0x42300f
push 0xc358
call fcn.0047f2c0
add esp, 4
push eax
mov eax, dword [0x5dbff8]
push 0x421
push eax
jmp 0x423029
push 0xc359
call fcn.0047f2c0
mov ecx, dword [0x5dbff8]
add esp, 4
push eax
push 0x421
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push edi
push 0x5d49b8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x5dbff8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 2
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [0x5dbff8]
push 1
push 4
push eax
call esi
push eax
call edi
mov ecx, 0x5778e8
call fcn.0041c420
pop edi
pop esi
ret

Function at 0x423080
Capabilities:
Get common file path

Disassembly:
cmp dword [0x5dc000], 1
jne 0x4230e7
mov eax, dword [0x5dbff8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
push 1
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov ecx, dword [0x5dbff8]
push 0
push 2
push ecx
call esi
push eax
call edi
mov edx, dword [0x5dbff8]
push 0
push 4
push edx
call esi
push eax
call edi
push 0xc357
call fcn.0047f2c0
add esp, 4
push eax
mov eax, dword [0x5dbff8]
push 0x421
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
jmp fcn.00423950
Function at 0x423110
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x573524]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x423276
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
push 0x4f128c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x42325e
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x423243
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x4f1288]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x850]
mov eax, dword [esp + 0x84c]
push edx
push eax
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea ecx, [esp + 0x2c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x4232e8
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret
Function at 0x423b80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
push ebp
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
je 0x423c77
push ebx
push esi
push str.MiniDumpWriteDump
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x423c6e
mov ax, word [0x50b1d0]
push edi
mov word [esp + 0x1c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5dbdf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x24]
push 0x4ee79c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x5dbdf0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x423c6e
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x224]
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
pop ebp
add esp, 0x214
ret
Function at 0x423c80
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1458
call fcn.004d2e90
push esi
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x41a]
mov word [esp + 0x418], 0
rep stosd dword es:[edi], eax
mov esi, dword [0x50b224]
stosw word es:[edi], ax
mov eax, dword [0x50bc78]
test eax, eax
je 0x423cbc
mov esi, 3
mov eax, dword [esp + 0x1464]
test eax, eax
je 0x423ccc
mov esi, 2
call fcn.0047f140
push eax
mov eax, dword [0x5e01e4]
push 0x5db7d8
push 0x5db5d0
push 0x5db3c8
push 0x5db1c0
push 0x5dafb8
push 0x5dadb0
push 0x5da9a0
push 0x5da590
push eax
push esi
push str.3.6.1.0
call fcn.0047ef80
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push str.http:__pvstat.qihoo.com_dimana.gif__pdt360sebq_dim_kpid__guid__ver_dim_v360se___s___sm_dmts_diname_sifver_simod_simodver_sicode_sioff_sios_siie_smid_s
lea ecx, [esp + 0x450]
push 0x823
push ecx
call esi
add esp, 0x40
lea edx, [esp + 0x418]
mov ecx, 0x412
xor eax, eax
push edx
mov edi, 0x5d4dc8
push 0x4ee160
push 0x824
rep stosd dword es:[edi], eax
push 0x5d4dc8
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [esp + 0x210]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x218]
push 0x4ee884
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x82
xor eax, eax
mov edi, 0x5d49b8
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x4ee160
push 0x104
push 0x5d49b8
call esi
add esp, 0x10
mov ecx, 0x5778e8
mov dword [0x579d4c], 1
mov dword [0x579f8c], 0x1388
call fcn.0041c350
mov ecx, 0x5778e8
call fcn.0041c750
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x5778e8
call fcn.0041c420
pop edi
pop esi
add esp, 0x1458
ret
Function at 0x425b60
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa28
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ebx, dword [esp + 0xa3c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], bp
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
stosw word es:[edi], ax
push 0x4ee160
lea eax, [esp + 0x220]
push 0x103
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0x228]
push 0x5c
push ecx
call edi
add esp, 0x18
test eax, eax
je 0x425bd6
add eax, 2
lea edx, [esp + 0x218]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [esp + 0x218]
push 0x2e
push eax
call edi
xor edx, edx
add esp, 8
cmp eax, edx
je 0x425bee
mov word [eax], dx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62a]
mov word [esp + 0x628], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x628]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x218]
lea eax, [esp + 0x628]
push edx
push eax
push str._sTheWorld_skin_s_
lea ecx, [esp + 0x1c]
push 0x103
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call fcn.00433c00
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004d1e50
mov cx, word [0x50b1d0]
xor eax, eax
mov word [esp + 0x440], cx
mov ecx, 0x81
lea edi, [esp + 0x442]
add esp, 0x20
rep stosd dword es:[edi], eax
push str.Skin
push 0x50b44c
push 0x4ef9ec
lea edx, [esp + 0x42c]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x434]
push eax
call fcn.00433c00
mov cx, word [0x50b1d0]
xor eax, eax
mov word [esp + 0x848], cx
mov ecx, 0x81
lea edi, [esp + 0x84a]
add esp, 0x18
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
stosw word es:[edi], ax
push edx
push str._sskin.ini
lea eax, [esp + 0x838]
push 0x103
push eax
call esi
lea ecx, [esp + 0x840]
push 0
push ecx
call fcn.00433340
add esp, 0x18
test eax, eax
je 0x425d23
lea edx, [esp + 0x420]
push 1
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00434490
add esp, 0xc
mov ebp, 1
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x10]
push edx
call esi
push 0
push ebx
call fcn.004342e0
add esp, 8
push ebx
call esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xa28
ret 4
Function at 0x425d60
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea ecx, [esp + 0x30]
push 2
push ecx
mov dword [esp + 0x30], 1
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x425dd6
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x425dc7
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
xor edx, edx
cmp eax, ebx
sete dl
mov eax, edx
pop ebx
add esp, 0x10
ret

Function at 0x425ea0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d62a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x672]
mov word [ebp - 0x674], bx
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov ecx, dword [0x5e6a0c]
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x674]
push 0x103
push eax
push ecx
call fcn.00433350
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x46c], bx
mov edx, dword [ebp + 8]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4f17e8
lea eax, [ebp - 0x674]
push edx
push eax
push 0x4ef96c
lea ecx, [ebp - 0x46c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea edx, [ebp - 0x264]
lea eax, [ebp - 0x46c]
mov word [ebp - 0x266], bx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
je 0x425fe2
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [ebp - 0x238]
push 0x4ef3f0
push ecx
call esi
add esp, 8
test eax, eax
je 0x425fc9
lea edx, [ebp - 0x238]
push 0x4f17e0
push edx
call esi
add esp, 8
test eax, eax
je 0x425fc9
test byte [ebp - 0x264], 0x10
je 0x425fc9
lea eax, [ebp - 0x238]
push str.UICenter
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x425fc9
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.00424ac0
lea edx, [ebp - 0x264]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425f6d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
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 0x42a8a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x42a995
mov eax, dword [esi + 0x13c]
mov dword [esi + 0x168], 1
test eax, eax
jne 0x42a995
mov eax, dword [esi + 0x148]
dec eax
je 0x42a963
dec eax
jne 0x42a995
mov ecx, dword [esi + 0xda0]
lea eax, [esi + 0xb94]
push 0x4f1630
push eax
call fcn.00426080
mov edx, eax
test edx, edx
je 0x42a995
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push 0x103
push ecx
push 0x50b1d0
push str.Type
push str.Global
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 8], 0
pop edi
je 0x42a995
mov ecx, dword [esi + 0xda0]
lea edx, [esi + 0x138]
lea eax, [esp + 4]
push edx
push eax
call fcn.0042a580
pop esi
add esp, 0x208
ret
mov eax, dword [esi + 0xd9c]
test eax, eax
jne 0x42a978
mov ecx, esi
call fcn.0042a7d0
test eax, eax
je 0x42a995
push str.Ext_GetExtensionType
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x5dc028], eax
je 0x42a995
call eax
mov dword [esi + 0x138], eax
pop esi
add esp, 0x208
ret
Function at 0x42af70
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x138]
sub esp, 0xa2c
cmp eax, 0x2000
push ebp
push esi
jne 0x42b123
lea eax, [ecx + 0xb94]
mov ecx, dword [ecx + 0xda0]
push 0x4f1630
push eax
mov dword [esp + 0x10], eax
call fcn.00426080
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x42b123
push ebx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x836]
mov word [esp + 0x834], bp
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x838]
push 0x103
push eax
push 0x50b1d0
push str.Text
push str.SideWeb
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62e]
mov word [esp + 0x62c], bp
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x630]
push 0x103
push ecx
push 0x50b1d0
push 0x4f198c
push str.SideWeb
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
push esi
lea edx, [esp + 0x220]
push 0x103
push edx
push 0x50b1d0
push str.Icon
push str.SideWeb
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bp
rep stosd dword es:[edi], eax
push 0x5c
push esi
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
cmp eax, ebp
pop edi
pop ebx
je 0x42b0e3
sub eax, esi
sar eax, 1
cmp eax, 0x103
jbe 0x42b0b3
mov eax, 0x103
push eax
lea eax, [esp + 0x420]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [esp + 0x214]
lea edx, [esp + 0x41c]
lea eax, [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x42b0f9
lea ecx, [esp + 0x214]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x624]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x830]
push ecx
mov ecx, dword [esp + 0xa40]
push edx
push eax
push ecx
call fcn.004897d0
add esp, 0x14
pop esi
pop ebp
add esp, 0xa2c
ret 4