joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c501
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x694
mov eax, 0x4b86dd
call fcn.0048ffd1
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x69c], edi
mov dword [ebp - 0x698], edi
mov dword [ebp - 0x694], edi
push 0x20019
push str.SOFTWAREKingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x69c]
mov byte [ebp - 4], 1
call fcn.0040cf2b
test eax, eax
jne 0x40c718
push 0x62
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
call fcn.004921d0
add esp, 0xc
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x78]
push eax
push str.Lang
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x6a0], 0x32
call fcn.0040ce63
test eax, eax
je 0x40c5a8
lea ecx, [ebp - 0x69c]
call fcn.0040cf80
lea ecx, [ebp - 0x69c]
call fcn.0040cf80
xor eax, eax
jmp 0x40c726
xor eax, eax
push 0x206
mov word [ebp - 0x690], ax
lea eax, [ebp - 0x68e]
push edi
push eax
call fcn.004921d0
add esp, 0xc
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x690]
push eax
push str.ProgramPath
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x6a0], 0x104
call fcn.0040ce63
lea ecx, [ebp - 0x69c]
mov esi, eax
call fcn.0040cf80
test esi, esi
jne 0x40c596
xor eax, eax
push 0x206
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x27e]
push edi
push eax
call fcn.004921d0
lea ecx, [ebp - 0x280]
mov esi, edi
lea edi, [ebp - 0x690]
mov eax, ecx
add esp, 0xc
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x40c650
movzx eax, word [edi + ecx]
test ax, ax
je 0x40c650
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x40c634
test edx, edx
jne 0x40c65c
sub ecx, 2
mov esi, 0x8007007a
xor eax, eax
mov word [ecx], ax
test esi, esi
js 0x40c596
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.ressrc
lea eax, [ebp - 0x280]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x280]
push eax
call esi
push str.uplive.svr
lea eax, [ebp - 0x280]
push eax
call esi
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c596
test al, 0x10
jne 0x40c596
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x488], ax
lea eax, [ebp - 0x486]
push eax
call fcn.004921d0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push 0x104
lea eax, [ebp - 0x488]
push eax
push 0x4d4ec4
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x488]
push eax
call fcn.00405113
pop ecx
push eax
lea eax, [ebp - 0x488]
push eax
mov ecx, ebx
call fcn.0040509a
lea ecx, [ebp - 0x69c]
call fcn.0040cf80
xor eax, eax
inc eax
call fcn.0048ff23
ret
Function at 0x40cd4e
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x270], ax
xor ebx, ebx
lea eax, [ebp - 0x26e]
push ebx
push eax
mov edi, ecx
call fcn.004921d0
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40cdac
lea edx, [ebp - 0x270]
mov ecx, str.productidinfo.ini
call fcn.0040188d
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ce1e
test al, 0x10
jne 0x40ce1e
push esi
lea eax, [ebp - 0x270]
push eax
push ebx
push 0x4d507c
push str.productidinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
xor eax, eax
push 0x62
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push ebx
push eax
call fcn.004921d0
push esi
push 0x4d4d88
lea eax, [ebp - 0x68]
push 0x32
push eax
call fcn.00401c4f
lea eax, [ebp - 0x68]
push eax
call fcn.00405113
add esp, 0x20
mov ecx, edi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040509a
xor eax, eax
inc eax
pop esi
jmp 0x40ce20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0048f059
leave
ret
Function at 0x40d0c9
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x82c
mov eax, 0x4b8857
call fcn.0048ff65
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0040da98
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x40d0ee
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x834]
call fcn.00406b6a
and dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x834]
call fcn.004937d5
pop ecx
pop ecx
test eax, eax
je 0x40d156
sub eax, dword [ebp - 0x834]
sar eax, 1
cmp eax, 0xffffffff
je 0x40d156
inc eax
push eax
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x834]
call fcn.0040dc50
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.00406bd9
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x838]
lea ecx, [ecx - 0x10]
call fcn.00404f8d
jmp 0x40d161
lea ecx, [ebp - 0x834]
call fcn.00404ec4
push dword [ebp - 0x834]
lea ebx, [edi + 0x1c]
call fcn.00405113
pop ecx
push eax
push dword [ebp - 0x834]
mov ecx, ebx
call fcn.0040509a
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004921d0
lea ecx, [esi + 0x1e0]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x40d1aa
mov ecx, dword [ecx]
lea eax, [edi + 0x34]
cmp dword [eax + 0x14], 8
jb 0x40d1b5
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x40d1bd
mov ebx, dword [ebx]
push ecx
push eax
push ebx
lea eax, [ebp - 0x830]
push 0x4d5120
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x830]
push eax
call fcn.00405113
pop ecx
push eax
lea eax, [ebp - 0x830]
push eax
lea ecx, [esi + 0x1a8]
call fcn.0040509a
xor eax, eax
push eax
push eax
push esi
push 0x40d283
push eax
push eax
call fcn.004924d8
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov dword [esi + 0xc4], eax
push 0xbb8
push eax
call ebx
test eax, eax
je 0x40d243
mov ecx, esi
call fcn.0040d54c
push 0xbb8
push dword [esi + 0xc4]
call ebx
push 0
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0040d54c
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x40d262
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc4], 0
push edi
mov ecx, esi
call fcn.0040d59a
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.00404f8d
xor eax, eax
inc eax
call fcn.0048ff14
ret 8
Function at 0x40d8fb
Capabilities:
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0x340
mov eax, 0x4b8895
call fcn.0048ff65
mov ebx, dword [ebp + 8]
push 7
pop edi
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x33c], ecx
mov word [ebp - 0x34c], ax
push ecx
push 0x1c
lea eax, [ebp - 0x31c]
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x31c]
push eax
call fcn.00405113
pop ecx
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x34c]
call fcn.0040509a
mov esi, str.liebaoUser_Datacrashcount.ini
push esi
call fcn.00405113
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34c]
call fcn.004046dd
mov dword [ebp - 0x320], edi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x324], edi
mov word [ebp - 0x334], ax
lea eax, [ebx + 0x1c]
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 1
cmp ecx, eax
je 0x40d9a5
push 0xffffffffffffffff
push edi
push eax
call fcn.00405a06
mov esi, 0x4d52bc
push esi
call fcn.00405113
pop ecx
push eax
push esi
lea ecx, [ebp - 0x334]
call fcn.004046dd
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 0x334]
call fcn.0040483a
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push ecx
push edi
lea eax, [ebp - 0x334]
cmovae eax, dword [ebp - 0x334]
push 0x4d52c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edi, [eax + 1]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push eax
call fcn.004921d0
add esp, 0xc
cmp dword [ebp - 0x338], 8
lea eax, [ebp - 0x34c]
cmovae eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push eax
push 0xa
lea eax, [ebp - 0x114]
push eax
lea esi, [ebp - 0x334]
cmovae esi, dword [ebp - 0x334]
push edi
call fcn.00498a00
add esp, 0xc
push eax
push 0x4d52c0
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
push 1
lea ecx, [ebp - 0x334]
mov dword [ebx + 0x4c], edi
call fcn.00405ac5
push 0
push 1
lea ecx, [ebp - 0x34c]
call fcn.00405ac5
call fcn.0048ff14
ret 4
Function at 0x40db5b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x40dbe4
push edi
push ebx
call fcn.0048eb44
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40dbd8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4d3c8c
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40dbd8
cmp dword [ebp - 8], esi
je 0x40dbd8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
inc esi
mov dword [ecx], eax
test edi, edi
je 0x40dbe3
push edi
call fcn.0048eb4d
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40e119
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4b8932
call fcn.0048ff65
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.0040df17
cmp dword [ebp - 0x14], 8
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push 0x4d52c0
mov ebx, str.CrashCount
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.year
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.month
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x4d5354
push ebx
call esi
push 0
push 1
lea ecx, [ebp - 0x28]
mov dword [edi + 0xc], eax
call fcn.00405ac5
call fcn.0048ff14
ret
Function at 0x40e673
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8a62
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4eb664]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
push edi
mov eax, dword [0x4eb664]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x10]
je 0x40e6e6
cmp dword [edi + 0xc], eax
jne 0x40e6fa
mov eax, dword [edi + 0x2c]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x40e6cf
mov eax, dword [eax]
push 5
xor esi, esi
push esi
push str.__restore_last_session
push eax
push 0x4d3ae8
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [edi - 0x38]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.00428042
jmp 0x40e7fc
cmp eax, dword [edi + 0x24]
jne 0x40e777
push str.tencent:__message__uin
lea ecx, [esp + 0x18]
call fcn.0040513a
xor esi, esi
mov dword [esp + 0x190], esi
mov eax, dword [edi + 0x2c]
add eax, 0xc0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0040e830
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
call fcn.00409050
push esi
push 1
lea ecx, [esp + 0x34]
call fcn.00405ac5
cmp dword [esp + 0x28], 8
push 5
push esi
push esi
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push 0x4d3ae8
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [esp + 0x1c]
call fcn.00405ac5
jmp 0x40e7fc
cmp eax, dword [edi + 0x20]
jne 0x40e789
mov edx, dword [edi + 0x2c]
add edx, 8
call fcn.00422376
jmp 0x40e7fc
cmp eax, dword [edi + 0x28]
jne 0x40e7fc
push 0x138
xor esi, esi
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004921d0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x9c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40e7fc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x40e7fc
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 5
push esi
push esi
lea eax, [esp + 0x50]
push eax
push 0x4d3ae8
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.0048f059
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed23
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
xor esi, esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004921d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.00401984
mov edi, eax
cmp edi, 0xffffffff
je 0x40ee08
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40ee08
push ebx
push 0x4d54f8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40ee07
push edi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40ee07
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x40ee00
push 0x2b0
lea eax, [ebp - 0x4bc]
push esi
push eax
mov dword [ebp - 0x4c0], esi
call fcn.004921d0
add esp, 0xc
lea eax, [ebp - 0x4c0]
push 0x100
push 0x2b4
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
cmovne esi, dword [ebp - 0x4c0]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048f059
leave
ret
Function at 0x41066c
Capabilities:
Read .ini file

Disassembly:
push 0x2c
mov eax, 0x4b8d1d
call fcn.0048ff65
mov dword [ebp - 0x38], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push 0x4d3b10
mov byte [ebp - 4], 1
call fcn.00405113
pop ecx
push eax
push 0x4d3b10
lea ecx, [ebp - 0x28]
call fcn.0040509a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004104f7
cmp eax, 9
jb 0x4107a9
mov esi, dword [ebp - 0x34]
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x4106e2
mov eax, dword [esi]
jmp 0x4106e4
mov eax, esi
push dword [esi + 0x10]
lea ecx, [edi + 0x110]
push eax
push 0x28
pop edx
call fcn.00401b8e
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], ebx
jb 0x410700
mov eax, dword [eax]
push dword [esi + 0x28]
lea ecx, [edi + 0x160]
push eax
push 0x28
pop edx
call fcn.00401b8e
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], ebx
jb 0x41071c
mov eax, dword [eax]
push dword [esi + 0x40]
lea ecx, [edi + 0x70]
push eax
push 0x28
pop edx
call fcn.00401b8e
lea eax, [esi + 0x48]
cmp dword [eax + 0x14], ebx
jb 0x410735
mov eax, dword [eax]
push dword [esi + 0x58]
lea ecx, [edi + 0xc0]
push eax
push 0x28
pop edx
call fcn.00401b8e
lea eax, [esi + 0x90]
cmp dword [eax + 0x14], ebx
jb 0x410754
mov eax, dword [eax]
push eax
call fcn.00492c7d
mov dword [edi], eax
mov eax, dword [esi + 0xd0]
add esi, 0xc0
pop ecx
cmp dword [esi + 0x14], ebx
jb 0x410770
mov esi, dword [esi]
push eax
push esi
push 0x28
lea ecx, [edi + 0x20]
pop edx
call fcn.00401b8e
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x28]
add eax, 0x68
cmp dword [eax + 0x14], ebx
jb 0x41078d
mov eax, dword [eax]
push eax
push 0xc
lea eax, [edi + 8]
push eax
push 0
push str.Value
push str.DumpKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ebx, ebx
inc ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00405ac5
lea ecx, [ebp - 0x34]
call fcn.004046b7
mov eax, ebx
call fcn.0048ff14
ret 8

Function at 0x4115a4
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x5e0], 1
mov dword [edi + 0x248], 0x1000
jne 0x4115ec
push str.Force_Upload...
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
mov ecx, edi
mov esi, eax
call fcn.00410ead
test esi, esi
je 0x4115e5
push 5
jmp 0x4115e7
push 0
push dword [edi + 4]
call ebx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x4116bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x24c]
push eax
push dword [esi + 4]
mov dword [ebp - 0x250], esi
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi + 0x28]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004921d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0048f059
leave
ret 0x10
Function at 0x4119ad
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4eb664]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x28]
push eax
push dword [edi + 4]
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_BeginPaint]
push 0x10
pop esi
push 0
push 0
push 0xf2
push dword [edi + 4]
mov ebx, eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
mov eax, 0x210
cmovne esi, eax
and dword [esp + 0x18], 0
xor eax, eax
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push 4
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.004921d0
add esp, 0xc
lea eax, [esp + 0x68]
push 0x104
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffffa
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov edi, eax
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
sub eax, 0x1e
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
push eax
call ebx
imul eax, eax, 0xe
mov esi, dword [esp + 0x1c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
sub eax, 0x18
push eax
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [eax + 0x24]
push esi
call edi
mov esi, eax
lea eax, [esp + 0x68]
push eax
call ebx
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call ebx
imul eax, eax, 0xe
mov ebx, dword [esp + 0x20]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
add eax, 0x14
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push ebx
call edi
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048f059
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411e18
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4b8c32
call fcn.0048ff65
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.0040513a
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x28]
add eax, 0xc0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e830
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00409050
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00405ac5
cmp dword [ebp - 0x14], 8
push 5
push edi
push edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x4d3ae8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00405ac5
xor eax, eax
call fcn.0048ff14
ret 0x10

Function at 0x411e96
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4b8ce8
call fcn.0048ff65
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.0040513a
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x28]
add eax, 0xc0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e830
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00409050
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00405ac5
cmp dword [ebp - 0x14], 8
push 5
push edi
push edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x4d3ae8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00405ac5
xor eax, eax
call fcn.0048ff14
ret 0x10

Function at 0x411f14
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0x224
mov eax, 0x4b8cb8
call fcn.0048ff65
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2e0], ebx
je 0x411fdf
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x26
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x411f85
lea eax, [ebp - 0x218]
push eax
call fcn.00405113
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040509a
mov edi, str.Internet_Exploreriexplore.exe
push edi
call fcn.00405113
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.004046dd
lea ecx, [esi + 0x2d0]
cmp dword [ecx + 0x14], 8
jb 0x411fac
mov ecx, dword [ecx]
cmp dword [ebp - 0x21c], 8
push 5
push ebx
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x4d3ae8
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00405ac5
xor eax, eax
call fcn.0048ff14
ret 0x10