joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436f70
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push str.SoftwareNeoCell
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410c9d
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push str.SetupPath
push eax
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
call fcn.00403290
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cf67
mov esp, ebp
pop ebp
ret

Function at 0x410cc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x410d59
push esi
push edi
push ebx
push 2
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp + 8]
push edi
push ebx
push edx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x4d4c6c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0xc]
movzx edx, word [eax + 0x10]
movzx ecx, word [eax + 0x12]
movzx edi, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
push edi
push edx
mov edx, dword [ebp + 0xc]
push ecx
push str._d._d._d._d
call fcn.0040be80
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410e30
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x438], 0x22c
mov word [ebp - 0x20c], ax
call fcn.00436f70
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410e8e
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
push esi
lea edx, [ebp - 0x438]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x410ed6
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x410eb0
lea eax, [ebp - 0x414]
push eax
push str.NeoCell.exe
call fcn.0042f261
add esp, 8
test eax, eax
je 0x410ef2
lea ecx, [ebp - 0x438]
push ecx
push edi
call esi
test eax, eax
jne 0x410eb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 0x4d4b10
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x430]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x410f51
lea eax, [ebp - 0x440]
push eax
push 4
lea ecx, [ebp - 0x43c]
push ecx
push esi
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x440], 0
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 0x43c]
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
lea eax, [ebp - 0x20c]
pop edi
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
Function at 0x410f70
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436f70
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x1658]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x410fe0
add edi, 0x1860
lea eax, [ebp - 0x20c]
mov edx, edi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411001
push str.7z.dll
push 0x104
push esi
call fcn.0042f66d
push str.Client7z.dll
push 0x104
push edi
call fcn.0042f66d
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
push esi
call ebx
test eax, eax
je 0x411047
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push 0x89
call fcn.004100d0
push edi
call ebx
test eax, eax
je 0x411060
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 0x8a
call fcn.004100d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
Function at 0x411080
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
mov dword [ebp - 0x41c], eax
call esi
test eax, eax
jne 0x4111c9
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.00436f70
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436f70
add esp, 0x18
lea edx, [ebp - 0x414]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
push str.retmp
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 3
lea edx, [ebp - 0x20c]
push edx
push ebx
call edi
test eax, eax
jne 0x4111bb
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
lea esi, [ebp - 0x418]
call fcn.00403290
mov ecx, dword [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x414]
push edx
mov eax, esi
push eax
call fcn.0040a110
mov esi, dword [ebp - 0x418]
push 3
push esi
push ebx
call edi
test eax, eax
je 0x41117f
push 3
lea ecx, [ebp - 0x20c]
push ecx
push esi
call edi
test eax, eax
jne 0x41118d
push 5
push 0
push ebx
call edi
push 3
push 0
push esi
call edi
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4111c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4
push 5
push 0
lea ecx, [ebp - 0x20c]
push ecx
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4
Function at 0x4111e0
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x4fa2a0]
xor eax, esp
mov dword [esp + 0x268], eax
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
push edi
mov ecx, 0x4fb44c
call edx
add eax, 0x10
push esi
push str._s.
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00403de0
mov ecx, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x41134f
mov ecx, 0x4d59ac
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411278
test dx, dx
je 0x411274
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411278
add eax, 4
add ecx, 4
test dx, dx
jne 0x411252
xor eax, eax
jmp 0x41127d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411330
mov ecx, 0x4d59b0
lea eax, [esp + 0x4c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4112b6
test dx, dx
je 0x4112b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4112b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x411290
xor eax, eax
jmp 0x4112bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411330
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fb44c
call eax
lea ecx, [esp + 0x4c]
push ecx
add eax, 0x10
push esi
push str._s_s
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00403de0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test byte [esp + 0x20], 0x10
push ebx
je 0x411304
mov ecx, dword [esp + 0x1c]
call fcn.004111e0
jmp 0x411314
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411314
push esi
call fcn.00411080
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411249
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411376
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4
Function at 0x411510
Capabilities:
Get common file path
Get program files directory
Identify system language via api
Query environment variable
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
call fcn.0040c930
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
jne 0x411543
xor edi, edi
jmp 0x411556
push 0xf01ff
push 0x4d5c50
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x228]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x104
lea ecx, [ebx + 0x1c70]
push ecx
push str._localappdata_NeoCell
call edi
push 0x104
lea edx, [ebx + 0x1e78]
push edx
push str._localappdata_GamePPSdk
call edi
mov ecx, ebx
call fcn.0040fdf0
push esi
push ebx
call fcn.00410340
mov ecx, ebx
call fcn.00410520
lea eax, [ebx + 0x820]
lea esi, [ebp - 0x22c]
call fcn.00403290
mov esi, dword [ebp - 0x22c]
cmp dword [esi - 0xc], 0
jne 0x4115e3
push 0x4d4de0
lea eax, [ebx + 0x820]
push 0x104
push eax
call fcn.004303dc
add esp, 0xc
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4115ff
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 0
push 0
push 0
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.00410d60
mov ecx, ebx
call fcn.00410f70
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00436f70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str._localappdata_NeoCell
call edi
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [ebp - 0x22c]
push edx
push 0x26
push 0
mov dword [ebp - 0x22c], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41169d
mov ecx, dword [ebp - 0x22c]
lea eax, [ebx + 0x618]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebx + 0x618]
lea edi, [eax - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4116a6
mov ecx, dword [0x4d4c6c]
mov dword [edi], ecx
pop edi
add eax, 0xfffffffe
pop esi
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4116c0
mov edx, dword [0x4d4de0]
mov dword [eax], edx
mov ecx, dword [0x4d4de4]
mov dword [eax + 4], ecx
mov edx, dword [0x4d4de8]
mov dword [eax + 8], edx
mov ecx, dword [0x4d4dec]
mov dword [eax + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 4]
mov edx, 0x804
cmp ax, dx
sete al
xor ecx, ebp
mov byte [ebx + 0x24d0], al
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
Function at 0x411720
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x234], esi
cmp esi, 0xffffffff
je 0x4117d3
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4117cc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x411780
lea ecx, [ebp - 0x20c]
push ecx
push str.NeoCell.exe
call fcn.0042f261
add esp, 8
test eax, eax
jne 0x4117b8
mov edx, dword [ebp - 0x228]
push edx
push eax
push 1
call edi
mov esi, eax
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411780
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042cf67
mov esp, ebp
pop ebp
ret

Function at 0x4117f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411833
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x411872
lea ecx, [ebp - 0x20c]
push ecx
push ebx
call fcn.0042f261
add esp, 8
test eax, eax
je 0x41186d
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411845
jmp 0x411872
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
Function at 0x411890
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa80
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x806]
push ecx
mov ebx, edx
mov word [ebp - 0x808], ax
call fcn.00436f70
lea edx, [ebp - 0x808]
add esp, 0xc
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4118d1
lea eax, [ebp - 0x808]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4118f0
mov edx, dword [str..]
mov ecx, dword [0x4d59a4]
mov dword [eax], edx
mov dx, word [0x4d59a8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa7c], eax
cmp eax, 0xffffffff
jne 0x411956
push 0x4d5cc4
call fcn.0042fb7a
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
mov esi, 8
jmp 0x411960
mov ecx, 0x4d59ac
lea eax, [ebp - 0xa4c]
jmp 0x411970
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411996
test dx, dx
je 0x411992
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411996
add eax, 4
add ecx, 4
test dx, dx
jne 0x411970
xor eax, eax
jmp 0x41199b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411a53
mov ecx, 0x4d59b0
lea eax, [ebp - 0xa4c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4119d6
test dx, dx
je 0x4119d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4119d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4119b0
xor eax, eax
jmp 0x4119db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411a53
test byte [ebp - 0xa78], 0x10
je 0x411a53
xor edx, edx
lea eax, [ebp - 0xa4c]
mov word [ebp - 0x824], dx
mov dword [ebp - 0x810], 7
mov dword [ebp - 0x814], 0
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411a10
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xa4c]
lea ecx, [ebp - 0x824]
call fcn.00412500
lea eax, [ebp - 0x824]
call fcn.00412090
cmp dword [ebp - 0x810], esi
jb 0x411a53
mov eax, dword [ebp - 0x824]
push eax
call fcn.0042d950
add esp, 4
mov edx, dword [ebp - 0xa7c]
lea ecx, [ebp - 0xa78]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411960
mov eax, dword [ebp - 0xa7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret

Function at 0x412f10
Capabilities:
Create thread

Disassembly:
xor edx, edx
push edi
mov edi, 0x413160
lea eax, [esi + 8]
test edi, edi
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], 0x413160
mov dword [esi + 0x1c], ecx
mov dword [esi + 4], edx
mov dword [eax], 0xffffffff
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
pop edi
je 0x412f57
push eax
push edx
push ecx
push 0x413160
push edx
push edx
call fcn.00430504
add esp, 0x18
mov dword [esi + 4], eax
mov eax, esi
ret
Function at 0x413080
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4130a5
test byte [ebp - 4], 7
je 0x4130a5
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esp, ebp
pop ebp
ret 4

Function at 0x413240
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [esi], 0
mov eax, dword [ebp + 8]
je 0x4132ee
test eax, eax
je 0x413291
cmp word [eax], 0
je 0x413291
push 0
push 0
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x4132ee
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00436f70
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [ebp - 0x414]
push edx
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
js 0x4132ee
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 4

Function at 0x414790
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebx]
push esi
mov esi, dword [ecx - 0x10]
push edi
xor edi, edi
lea eax, [ecx - 0x10]
mov dword [ebp - 4], edi
cmp dword [eax + 4], edi
je 0x4147f1
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x4147cd
cmp dword [ecx - 8], edi
jge 0x4147c1
push 0x80070057
call fcn.00403050
mov dword [ecx - 0xc], edi
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
jmp 0x4147f1
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4147e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x41480d
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.0042f894
mov esi, eax
add esp, 4
test esi, esi
je 0x414805
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41486b
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0x4d4c6c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
mov edi, ebx
call fcn.00403de0
add esp, 0x14
push esi
call fcn.0042f81a
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4154b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fb44c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fb44c
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00436f70
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x20019
push 0
push str.SoftwareNeoCell
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415586
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push str.ChannelID
push eax
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415566
push ebx
sub eax, edx
lea edx, [ebp - 0x20c]
sar eax, 1
push edx
push esi
mov ebx, eax
call fcn.00403540
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
Function at 0x41b310
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea ebx, [eax - 1]
xor edx, edx
lea ecx, [ebx + 1]
mov eax, 0x34
div ecx
push edi
mov edi, dword [esi]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edi
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
cmp ebx, 1
jb 0x41b3f7
test eax, eax
je 0x41b3f7
lea esp, [esp]
shr eax, 2
and eax, 3
mov dword [ebp - 0xc], eax
mov ecx, ebx
test ebx, ebx
je 0x41b3a7
nop
mov edx, dword [esi + ecx*4 - 4]
mov ebx, edi
shr ebx, 3
add edi, edi
mov eax, edx
shl eax, 4
xor eax, ebx
add edi, edi
mov ebx, edx
shr ebx, 5
xor ebx, edi
mov edi, ecx
and edi, 3
xor edi, dword [ebp - 0xc]
add eax, ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + edi*4]
xor edi, edx
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 8]
add edi, edx
xor eax, edi
sub dword [esi + ecx*4], eax
dec ecx
mov edi, dword [esi + ecx*4 + 4]
mov dword [ebp - 8], edi
jne 0x41b360
mov ebx, dword [ebp - 0x10]
mov ebx, dword [esi + ebx*4]
mov eax, ebx
shl eax, 4
mov edx, edi
shr edx, 3
xor eax, edx
and ecx, 3
xor ecx, dword [ebp - 0xc]
shr ebx, 5
lea edx, [edi*4]
xor ebx, edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp - 4]
add eax, ebx
mov ebx, dword [ebp - 0x10]
xor ecx, dword [esi + ebx*4]
xor edx, edi
add ecx, edx
xor eax, ecx
sub dword [esi], eax
mov eax, dword [ebp - 4]
mov edi, dword [esi]
add eax, 0x61c88647
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
jne 0x41b350
pop edi
mov eax, esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cf67
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fa2a0]
jne 0x42cf71
repz ret
jmp fcn.00433674