joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486abe
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d104d
call fcn.004cc470
sub esp, 0xc
push ebx
push esi
push 0x1b8
push 0x258
mov ecx, edi
call fcn.00486843
mov eax, edi
call fcn.00486cdb
push str.scene5_logo
push str.skin
lea esi, [edi + 0x28]
mov ebx, 0x25a
push ebx
mov ecx, esi
call fcn.0040e6ec
push str.16_0
push 0x4e35ec
push ebx
mov ecx, esi
call fcn.0040e6ec
push 1
push ebx
mov eax, esi
call fcn.0040d0c2
push str.scene5_bg
push str.skin
push 3
mov ecx, esi
call fcn.0040e6ec
push str.0_0__0__0
mov ebx, 0x4e35ec
push ebx
push 3
mov ecx, esi
call fcn.0040e6ec
push str.0__105__0__15
push ebx
push 0xc8
mov ecx, esi
call fcn.0040e6ec
push 1
push 0x262
mov eax, esi
call fcn.0040d0c2
lea eax, [ebp - 0x10]
push str.softtemprory.png
lea ecx, [edi + 0x634]
push eax
call fcn.0041c66b
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486ba2
push dword [ebp - 0x10]
mov ebx, 0x264
push str.filepath
push ebx
push esi
call fcn.0040d062
push 1
push ebx
jmp 0x486ba9
push 1
push 0x265
mov eax, esi
call fcn.0040d0c2
push 1
push 0x263
mov eax, esi
call fcn.0040d0c2
push 0x64
lea eax, [ebp - 0x14]
push eax
call fcn.0048706c
mov byte [ebp - 4], 1
push dword [eax]
mov eax, esi
push 0x266
call fcn.0040d01b
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
push 0x65
lea eax, [ebp - 0x14]
push eax
call fcn.0048706c
mov byte [ebp - 4], 2
push dword [eax]
push esi
call fcn.0048734e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, edi
call fcn.004870f0
xor eax, eax
lea ebx, [edi + 0x5e4]
cmp dword [ebx], eax
sete al
push eax
push 0x267
mov eax, esi
call fcn.0040d0c2
cmp dword [ebx], 0
jne 0x486c47
push 0
push 0x53
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x486c5d
push str.0_268__0_300
push 0x4e35ec
push 0x1fb
mov ecx, esi
call fcn.0040e6ec
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4875d6
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x487607
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4875fa
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
xor eax, eax
inc eax
ret 4
Function at 0x487b85
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x4e
push edi
jne 0x487bc5
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x487c8e
xor edi, edi
inc edi
mov dword [esi + 0x590], edi
call fcn.00487ae4
mov dword [ebx], eax
cmp dword [esi + 0x590], 0
je 0x487c8e
mov eax, edi
jmp 0x487caa
cmp eax, 0x113
jne 0x487c13
xor edi, edi
inc edi
mov eax, 0x2711
cmp dword [ebp + 0x10], eax
mov dword [esi + 0x590], edi
jne 0x487c0e
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x59c]
push 0x3ed
push 0x476
push dword [esi + 0x594]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx], 0
jmp 0x487bb1
cmp eax, 0x110
jne 0x487c37
push 0
push 0
xor edi, edi
push 0x473
push dword [esi + 4]
inc edi
mov dword [esi + 0x590], edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x487c0e
cmp eax, 0x473
jne 0x487c56
call fcn.00487eaa
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
xor eax, eax
inc eax
jmp 0x487caa
cmp eax, 0x477
jne 0x487c74
push dword [ebp + 0x10]
xor edi, edi
inc edi
push esi
mov dword [esi + 0x590], edi
call fcn.00487d1c
jmp 0x487baf
cmp eax, 0x478
jne 0x487c8e
xor edi, edi
inc edi
mov dword [esi + 0x590], edi
call fcn.00487d7e
jmp 0x487baf
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cfea
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x487f40
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x487fb2
push edi
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
pop edi
je 0x487fb2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x4ef760]
fnstsw ax
test ah, 1
jne 0x487fb2
inc esi
mov eax, esi
pop esi
leave
ret
Function at 0x487feb
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
xor edx, edx
cmp dword [ebp + 0x18], edx
push edi
mov edi, eax
je 0x488050
cmp dword [ebp + 0x18], 0x12d
jne 0x4881da
cmp dword [ebp + 0xc], 0x100
jne 0x4881da
movzx esi, word [ebp + 0x10]
push 0x11
mov dword [edi + 0x590], edx
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0x61
movzx eax, ax
je 0x488032
cmp esi, 0x41
jne 0x488041
test al, al
jns 0x488041
lea esi, [edi + 0x598]
call fcn.0048732b
and dword [ebx], 0
cmp dword [edi + 0x590], 0
jmp 0x4881d4
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4e
jne 0x4880a3
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x4881bc
xor esi, esi
inc esi
mov dword [edi + 0x590], esi
cmp dword [eax + 8], esi
jne 0x488085
cmp dword [eax + 0xc], 0x12e
jne 0x488085
call fcn.00488362
mov eax, esi
jmp 0x48808d
mov dword [edi + 0x590], edx
xor eax, eax
mov dword [ebx], eax
cmp dword [edi + 0x590], 0
je 0x4881bc
mov eax, esi
jmp 0x4881dc
cmp ecx, 0x110
jne 0x4880dc
lea esi, [edi + 0x590]
push edi
mov dword [esi], 1
call fcn.004884f8
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [esi], 0
je 0x4881bc
xor eax, eax
inc eax
jmp 0x4881dc
cmp ecx, 0x465
jne 0x488103
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.004882be
mov dword [ebx], eax
cmp dword [edi + 0x590], 0
jmp 0x4880ce
cmp ecx, 0x466
jne 0x48811e
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.00488309
jmp 0x4880f8
mov eax, 0x46c
cmp ecx, eax
jne 0x48813a
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.004887a9
jmp 0x4880f8
cmp ecx, 0x46f
jne 0x488165
push dword [edi + 0x5c0]
lea esi, [edi + 0x590]
push dword [edi + 0x598]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4880c8
cmp ecx, 0x10
jne 0x48818d
push 0
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x590]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4880c8
cmp ecx, 0x111
jne 0x4881bc
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
cmp cx, 0x300
mov dword [edi + 0x590], edx
jne 0x4881b4
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx], 0
jmp 0x4880fa
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cfea
test eax, eax
jne 0x4880d4
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x488362
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4d05de
call fcn.004cc470
sub esp, 0x43c
mov eax, dword [0x50dc24]
push ebx
xor ebx, ebx
push esi
mov ecx, 0x50dc24
mov dword [ebp - 0x18], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, 0x206
push esi
lea eax, [ebp - 0x23e]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x240], bx
call fcn.00495180
push esi
lea eax, [ebp - 0x446]
push ebx
push eax
mov word [ebp - 0x448], bx
call fcn.00495180
add esp, 0x18
lea eax, [ebp - 0x448]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x4ee3cc
push esi
call fcn.00495089
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.00401400
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 0x34], eax
call fcn.004011f9
mov dword [ebp - 0x30], eax
xor ebx, ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], 0x4ee3d8
mov dword [ebp - 0x28], 0x8041
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp dword [ebp - 0x10], ebx
mov esi, eax
jne 0x488443
xor eax, eax
jmp 0x48844c
push dword [ebp - 0x10]
call fcn.00495089
pop ecx
lea edx, [ebp - 0x10]
call fcn.004011d8
cmp esi, ebx
je 0x4884d2
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x240]
push eax
call fcn.00495089
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x14]
call fcn.0047e843
pop ecx
pop ecx
push str.kingsoft_antivirus_
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.00432697
push dword [ebp - 0x14]
push dword [edi + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edi
mov eax, esi
call fcn.004886b6
push eax
push 0x46c
push dword [edi + 0x594]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4884f8
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
sub esp, 0x20c
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x12d
push ecx
mov eax, esp
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push dword [eax + 4]
lea ebx, [eax + 0x598]
call fcn.004874de
push 0x4ee824
push 0x20
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x64
push esi
push esi
push esi
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx]
call edi
push esi
push 0x96
push 0xc5
push dword [ebx]
call edi
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x216]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x218], si
call fcn.00495180
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4885d5
push str.c:program_files
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049510c
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._skingsoftkingsoft_antivirus_
lea eax, [ebp - 0x10]
call fcn.004328d6
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 8]
add edi, 0x5c0
lea eax, [ebp - 0x10]
call fcn.004013bf
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4886b6
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
push dword [edi]
lea esi, [ebp - 8]
call fcn.0047e843
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [edi]
xor ebx, ebx
push 3
pop esi
inc ebx
cmp dword [eax - 0xc], esi
jl 0x48878d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x488706
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x48878d
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.004327b5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.004011c0
test bl, bl
je 0x488737
mov dword [ebp - 4], 2
jmp 0x488790
call fcn.00488621
test eax, eax
je 0x488745
mov dword [ebp - 4], esi
jmp 0x488790
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.004327b5
push dword [eax]
call fcn.00487f40
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004011c0
test bl, bl
je 0x488779
mov dword [ebp - 4], 4
jmp 0x488790
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x488790
mov dword [ebp - 4], 5
jmp 0x488790
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x594]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x488b7e
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x488bc5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x488bbe
cmp dword [esp + 4], 0x1b
jne 0x488ba5
push 0
push 2
jmp 0x488bb0
cmp dword [esp + 4], 0xd
jne 0x488bbe
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x520], 0
ret 4
Function at 0x48b4ef
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.0046222d
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x48b500
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
push 0x44a869
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0xc], edx
call fcn.004998ba
add esp, 0x18
ret

Function at 0x48b813
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.00495180
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x48b85a
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4ee8f4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043295b
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48b8a3
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x48b855
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push str.switch
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x48b8cf
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x48b8bf

Function at 0x48ba1e
Capabilities:
Delete file

Disassembly:
mov eax, 0x4d1007
call fcn.004cc470
sub esp, 0xc
push ebx
push edi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.0047e8d0
pop ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x12c
push 0
push dword [ebp + 0xc]
lea eax, [esi + 0x28]
push edi
push eax
call fcn.004807be
mov ecx, dword [ebp + 8]
add esp, 0x14
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x48baab
lea eax, [ebx - 0x10]
call fcn.004011c0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc edi
jmp 0x48ba8a
Function at 0x48baef
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d1007
call fcn.004cc470
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
push esi
call fcn.0047e8d0
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48bb3f
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s__update:0
mov byte [ebp - 4], 1
call fcn.004328d6
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.0047d920
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x48bb92
lea eax, [ebx - 0x10]
call fcn.004011c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x48bb2f
inc esi
jmp 0x48bb7f

Function at 0x48bb95
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d0fed
call fcn.004cc470
sub esp, 0x214
mov eax, dword [0x50dc24]
push ebx
push esi
mov esi, 0x50dc24
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x50dc24]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x21e]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x220], di
call fcn.00495180
add esp, 0xc
push edi
call fcn.00497ff8
pop ecx
push edx
push eax
push str.http:__2398.35go.net_defend_o1_jcqgx.ini
lea eax, [ebp - 0x14]
call fcn.00426c62
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0043368d
test eax, eax
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
jne 0x48bc8d
cmp dword [ebx - 0xc], edi
je 0x48bc8d
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x48bc8d
push str.jcqgx.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
add edi, 0x24
push edi
call fcn.00432935
push dword [edi]
lea eax, [ebp - 0x10]
call fcn.0047d527
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x48bc78
add eax, 0xfffffff0
jmp 0x48bc90
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [esi - 0x10]
call fcn.004011c0
xor eax, eax
inc eax
jmp 0x48bc9f
lea eax, [ebx - 0x10]
call fcn.004011c0
lea eax, [esi - 0x10]
call fcn.004011c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x48c599
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4cf4e3
call fcn.004cc470
sub esp, 0x260
push ebx
push esi
push edi
push 0x4e3074
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov edi, ecx
mov dword [ebp - 0x20], esi
call fcn.0043295b
mov dword [ebp - 4], esi
call fcn.0044ec11
movzx eax, byte [eax + 0x20]
mov dword [ebp - 0x14], esi
cmp eax, esi
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x48c5fe
cmp dword [edi + 0x14], esi
jne 0x48c5fe
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20119
push esi
push eax
push ecx
mov dword [ebp - 0x10], esi
call ebx
cmp eax, esi
je 0x48c61d
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20219
push esi
push eax
push ecx
mov dword [ebp - 0x10], esi
call ebx
cmp eax, esi
jne 0x48c6c4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x208
lea eax, [ebp - 0x26a]
mov byte [ebp - 4], 2
push esi
push eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x26c], si
call fcn.00495180
mov edi, dword [edi + 0xc]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48c74e
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x48c715
cmp eax, 2
je 0x48c715
cmp eax, 7
je 0x48c715
cmp eax, 4
jne 0x48c6e9
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x26c]
call fcn.0049cf0f
lea eax, [ebp - 0x60]
push eax
call fcn.00495089
add esp, 0x14
lea ecx, [ebp - 0x60]
jmp 0x48c728
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401367
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x48c796
cmp eax, 0xb
jne 0x48c733
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.0049d037
lea eax, [ebp - 0x60]
push eax
call fcn.00495089
add esp, 0x18
jmp 0x48c6bf
lea eax, [ebp - 0x26c]
push eax
call fcn.00495089
pop ecx
lea ecx, [ebp - 0x26c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00401400
lea ecx, [ebp - 0x10]
call fcn.0047da2c
lea ecx, [ebp - 0x10]
call fcn.0047db18
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x18]
call fcn.004013bf
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x48c761
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [ebp - 0x14], esi
je 0x48c789
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x49118c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [esi], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [edi], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x491215
push eax
call fcn.0049391c
pop ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x491207
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e3bf8
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x491207
cmp dword [ebp - 0xc], ebx
je 0x491207
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], ebx
je 0x491215
push dword [ebp - 4]
call fcn.004951fa
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x491251
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ce8b0
call fcn.004cc470
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x50dc24
mov dword [ebp - 0x10], edi
call fcn.004014c8
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.00495180
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00432935
push esi
call fcn.0047c50f
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret