joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4850f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x670
mov ecx, dword [esp + 0x678]
push ebx
lea eax, [esp + 0x5c]
push ecx
mov dword [esp + 0xc], 0x30
mov dword [esp + 0x10], 0x147
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 0x21
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor ebx, ebx
mov dword [esp + 4], eax
test eax, eax
jle 0x485235
push ebp
mov ebp, dword [esp + 0x688]
push esi
mov esi, dword [esp + 0x680]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x688]
lea edx, [esp + 0x14]
push edx
push 0x400
push ebx
push eax
mov word [esp + 0x78], 0
mov dword [esp + 0x4c], 0x104
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x485225
lea ecx, [esp + 0x68]
push ecx
call fcn.0048b430
mov eax, dword [esp + 0x690]
add esp, 4
lea edx, [esp + 0x68]
lea ecx, [esp + 0x270]
push edx
push eax
push str._s____s
push 0x208
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esp + 0x3c]
add esp, 0x14
test eax, eax
je 0x4851d5
mov edx, dword [esp + 0x694]
lea ecx, [esp + 0x270]
inc edx
push edx
push ebp
push ecx
push eax
push esi
call fcn.004850f0
add esp, 0x14
jmp 0x485225
mov eax, dword [esp + 0x1c]
test ah, 8
jne 0x485225
test byte [esp + 0x20], 3
jne 0x485225
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x485225
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
push 0
lea edx, [esp + 0x278]
push 0x40b
push esi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], edx
call edi
cmp ebp, dword [esp + 0x24]
jne 0x485225
push 0
push eax
push 0x14e
push esi
call edi
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x48514a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x670
ret

Function at 0x487930
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
mov dword [esp + 8], 0
je 0x48797a
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x48797a
mov ecx, edi
call fcn.00487910
mov ecx, dword [eax]
lea edx, [esp + 8]
push 0
push edx
push 0
push esi
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x487998
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x487998
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8

Function at 0x487d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d59e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004ce850
lea edi, [esi + 0x24]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.004b32a0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0040ff90
mov dword [edi], 0x4d9ac0
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x56e0]
mov dword [esi], 0x4d9ab4
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x487e30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5a1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x4d9ab4
mov dword [edi], 0x4d9ac0
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.004101a0
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004b32d0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004ce890
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x488270
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4882a8
push edi
lea edi, [esi + 0x30]
push 2
mov ecx, edi
mov dword [esi + 0x28], 1
call fcn.00410ea0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 1
mov ecx, edi
call fcn.00410bf0
pop edi
pop esi
ret
Function at 0x488f10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00489270
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x166c]
mov ecx, ebx
call fcn.0041c2a0
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4e925c
push 0x824
push edx
call ebp
mov dx, word [0x505000]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esi + 0x125c]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esi + 0xc]
push str._s_s.zip
push 0x103
push eax
call ebp
lea edx, [ebx + 0x5d0d0]
mov ecx, 0x82
xor eax, eax
mov edi, edx
add esp, 0x14
rep stosd dword es:[edi], eax
lea eax, [esi + 0xc]
push eax
push 0x4e925c
push 0x104
push edx
call ebp
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x489020
mov dword [ebx + 0x2698], esi
call fcn.0041c1d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x4894a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.004d03a0
mov edx, dword [esp + 0x1088]
xor eax, eax
test edx, edx
push esi
je 0x4895a5
mov esi, dword [esp + 0x1090]
test esi, esi
je 0x4895a5
mov edx, dword [esp + 0x1094]
test edx, edx
je 0x4895a5
mov eax, dword [0x5dc170]
test eax, eax
je 0x489598
call fcn.0042c1a0
test eax, eax
jne 0x489598
push edi
mov ecx, 0x411
lea edi, [esp + 0x46]
mov word [esp + 0x44], ax
rep stosd dword es:[edi], eax
push esi
push 0x4e96d4
push 8
push str._tp:
stosw word es:[edi], ax
push str._s_d__s__s_
lea eax, [esp + 0x58]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], 0x505074
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x489589
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x1084
ret 0x10
push esi
call fcn.00423c70
mov ecx, eax
call fcn.004259a0
pop esi
add esp, 0x1084
ret 0x10
Function at 0x489e50
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x410
test edx, edx
push edi
jne 0x489e6b
xor eax, eax
pop edi
add esp, 0x410
ret 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [edx + 0xc34]
push 0x505000
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, edx
call fcn.0048a410
mov ecx, 0x505010
call fcn.0040a9b0
test eax, eax
je 0x489f39
call fcn.0048dd10
test eax, eax
jne 0x489f39
mov dx, word [0x505000]
mov ecx, 0x81
lea edi, [esp + 0x20e]
mov word [esp + 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 8]
push 0x4e96fc
push eax
push 0x4e96d4
push 8
push str._tp:
push str._s_d__s__s___s_d
lea ecx, [esp + 0x228]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x24
lea edx, [esp + 0x20c]
push 5
push 0
push edx
push 0x505074
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x489f48
xor eax, eax
pop edi
add esp, 0x410
ret 4
lea eax, [esp + 4]
push 1
push eax
call fcn.00433e90
add esp, 8
mov eax, 1
pop edi
add esp, 0x410
ret 4

Function at 0x48a640
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x48a705
push 0
mov ecx, 0x505010
call fcn.0040ab90
mov edi, eax
test edi, edi
je 0x48a705
push esi
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x48a68e
cmp word [eax + 2], 0
lea esi, [ebx + 8]
push edi
jne 0x48a692
push str._sstat.ini
jmp 0x48a697
lea esi, [ebx + 8]
push edi
push str._s_stat.ini
push 0x104
push esi
call fcn.00437960
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48a6fd
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x502448
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.00437960
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
push ecx
push 0x502440
push 0x502438
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 4], 1
pop esi
pop edi
pop ebx
add esp, 0x80
ret

Function at 0x48a7c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.0048a640
mov eax, dword [esi + 4]
test eax, eax
je 0x48a826
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x48a826
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push 0x502448
push 0x20
push ecx
call fcn.00437960
add esp, 0x10
add esi, 8
lea edx, [esp + 0xc]
push esi
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x48a836
Capabilities:
Delete file

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
call fcn.0048a640
mov eax, dword [esi + 4]
test eax, eax
je 0x48a8bc
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4f5a10
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
je 0x48a86c
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x502448
lea eax, [esp + 0x10]
push 0x40
push eax
call fcn.00437960
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x502440
push 0x502438
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x80
ret
Function at 0x48a910
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d5b3e
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x214]
cmp eax, ebp
je 0x48aae9
mov ecx, dword [ebx + 0x218]
sub ecx, eax
mov eax, 0xdfac1f75
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x48aae9
push 0x62ca4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebp
mov dword [esp + 0x424], ebp
je 0x48a985
mov ecx, eax
call fcn.0041bcb0
jmp 0x48a987
xor eax, eax
push esi
push edi
mov ecx, eax
mov dword [esp + 0x42c], 0xffffffff
mov dword [0x5dbf28], eax
call fcn.0041c2a0
mov eax, dword [0x5dbf28]
mov esi, dword [ebx + 0x214]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [eax + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
push 0x4e925c
push 0x824
rep stosd dword es:[edi], eax
push edx
call esi
mov eax, dword [0x5dbf28]
mov ecx, 0x81
lea edi, [esp + 0x26]
add esp, 0x10
mov dword [eax + 0x269c], 0x48ade0
mov dword [eax + 0x2698], ebx
xor eax, eax
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x1c]
push 0x4e8878
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [0x5dbf28]
mov ecx, 0x82
lea edx, [eax + 0x5d0d0]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push ecx
push 0x4e925c
push 0x104
push edx
call esi
mov edx, dword [0x5dbf28]
add esp, 0x10
mov dword [edx + 0x2464], 1
mov eax, dword [0x5dbf28]
mov dword [eax + 0x26a4], 0x1388
mov ecx, dword [0x5dbf28]
call fcn.0041c1d0
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x218]
add eax, 0x1250
cmp eax, edx
je 0x48aad2
lea ebp, [eax - 0x1250]
mov esi, eax
mov edi, ebp
add eax, 0x1250
mov ecx, 0x494
add ebp, 0x1250
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x48aab8
mov eax, dword [ebx + 0x218]
pop edi
add eax, 0xffffedb0
pop esi
mov dword [esp + 8], eax
mov dword [ebx + 0x218], eax
mov ecx, dword [esp + 0x41c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret

Function at 0x48ab00
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.0048a640
mov eax, dword [esi + 4]
test eax, eax
je 0x48ab72
lea eax, [esi + 8]
push edi
push eax
push 0
push 0x502440
push 0x502438
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
mov edi, eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
sub eax, edi
cmp eax, 0x15180
pop edi
jge 0x48ab41
test eax, eax
jge 0x48ab72
push 0x1e
push 0
push str.biaoqian
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.0048ab80
push 0x1e
push 1
push str.addbar
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.0048ab80
mov ecx, esi
call fcn.0048a910
pop esi
ret
Function at 0x48ab80
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.004d03a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2370]
push edi
xor ebp, ebp
mov edi, ecx
cmp esi, ebp
mov dword [esp + 0x14], edi
je 0x48adc9
mov ebx, dword [esp + 0x2378]
cmp ebx, ebp
je 0x48adc9
call fcn.0048a640
cmp dword [edi + 4], ebp
je 0x48adc9
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bp
rep stosd dword es:[edi], eax
push str.3.6.0.5
stosw word es:[edi], ax
call fcn.0047db10
push eax
push ebx
push esi
push str._s_name_smid_sver_s
lea eax, [esp + 0xec]
push 0x824
push eax
call fcn.00437960
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x239c]
add esp, 0x1c
xor ebx, ebx
cmp eax, ebp
jbe 0x48ad2e
push ebx
push 0x502448
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00437960
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2388]
add esp, 0x10
lea eax, [edx + 8]
push eax
lea eax, [esp + 0x1c]
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ebx
mov ecx, 0xa
div ecx
push esi
test edx, edx
je 0x48ac95
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.00437960
add esp, 0x10
jmp 0x48acb7
mov eax, 0xcccccccd
mul ebx
shr edx, 3
add edx, 0x61
lea eax, [esp + 0x5c]
push edx
push str.f_c_ld
push 0x40
push eax
call fcn.00437960
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x48acda
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.0048b180
cmp eax, ebp
jl 0x48ad1e
mov ecx, dword [esp + 0x10]
mov eax, 0x824
sub eax, ecx
mov edi, SysReAllocString
lea esi, [esp + 0x58]
lea ecx, [esp + ecx*2 + 0xd8]
je 0x48ad18
cmp edi, ebp
je 0x48ad14
mov dx, word [esi]
cmp dx, bp
je 0x48ad14
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x48acf7
jmp 0x48ad18
cmp eax, ebp
jne 0x48ad1b
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x2380]
inc ebx
cmp ebx, eax
jb 0x48ac28
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x1122]
mov word [esp + 0x1120], bp
rep stosd dword es:[edi], eax
lea esi, [esp + 0xd8]
lea ecx, [esp + 0x1120]
stosw word es:[edi], ax
mov edx, 0x824
lea eax, [esp + 0x1120]
sub esi, ecx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x48ad82
mov cx, word [esi + eax]
cmp cx, bp
je 0x48ad82
mov word [eax], cx
add eax, 2
dec edx
jne 0x48ad64
jmp 0x48ad86
cmp edx, ebp
jne 0x48ad89
sub eax, 2
mov edx, dword [esp + 0x2378]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2174]
push 0x104
push eax
call fcn.0048b1d0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1120]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.0048ae40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2360
ret 0x10
Function at 0x48bde0
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 2
mov dword [0x5dc168], ecx
mov dword [0x5dc174], ecx
mov dword [0x5dc16c], ecx
mov dword [0x5dc170], ecx
mov esi, 1
jne 0x48be70
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x48be47
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x48be3b
mov dword [0x5dc174], esi
jmp 0x48be7a
cmp eax, esi
jne 0x48be7a
mov dword [0x5dc16c], esi
jmp 0x48be7a
cmp eax, 6
jne 0x48be7a
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x48be58
cmp eax, esi
jne 0x48be7a
cmp eax, esi
mov dword [0x5dc16c], esi
mov dword [0x5dc170], esi
jne 0x48be7a
mov dword [0x5dc178], esi
jmp 0x48be7a
cmp eax, esi
jne 0x48be7a
mov dword [0x5dc168], esi
mov cx, word [0x505000]
push edi
mov word [esp + 0x11c], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11e]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x11c]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.0048cc70
mov ax, word [esp + 0x124]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x48bece
mov dword [0x5dc17c], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x48bee2
mov dword [0x5dc180], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x48bef6
mov dword [0x5dc184], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x48bf02
mov dword [0x5dc188], esi
pop esi
add esp, 0x31c
ret

Function at 0x48bf10
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x48bf44
cmp dword [esp + 4], 5
jne 0x48bf44
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x48bf46
xor eax, eax
add esp, 0x114
ret

Function at 0x48bf50
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x48bfc2
cmp dword [esp + 4], 5
jne 0x48bfc2
cmp dword [esp + 8], 1
jne 0x48bfc2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x18]
push str.Service_Pack_2
push ecx
call esi
add esp, 8
test eax, eax
je 0x48bfb5
lea edx, [esp + 0x18]
push str.Service_Pack_3
push edx
call esi
add esp, 8
test eax, eax
je 0x48bfb5
xor eax, eax
pop esi
add esp, 0x114
ret
mov eax, 1
pop esi
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x48c030
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
test esi, esi
jne 0x48c051
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x48c070
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x3000
call fcn.004d03a0
mov eax, dword [esp + 0x3004]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x48c181
mov ebx, dword [esp + 0x3014]
cmp ebx, esi
je 0x48c181
cmp dword [esp + 0x3018], esi
je 0x48c181
mov ebp, dword [esp + 0x301c]
cmp ebp, esi
je 0x48c181
mov edx, dword [esp + 0x3020]
cmp edx, esi
je 0x48c181
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x1012]
mov word [esp + 0x1010], si
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3018]
push 0x1000
stosw word es:[edi], ax
lea eax, [esp + 0x1018]
push eax
push 0x505000
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x48c174
lea edx, [esp + 0x1010]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x48c174
mov ecx, dword [ebp]
shr eax, 1
dec eax
cmp ecx, eax
jae 0x48c12a
mov eax, ecx
mov dword [ebp], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x1000
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1014]
push eax
push ecx
call fcn.0048b340
mov edx, dword [ebp]
mov ecx, dword [esp + 0x3028]
lea eax, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.0048f1e0
add esp, 0x18
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3000
ret

Function at 0x48c190
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push 0xd
xor edi, edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x48c1fd
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48c1fd
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x48c1f2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48c1f2
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x4e925c
push edi
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [ebx + edi*2 - 2], 0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret