joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f518
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x14]
call fcn.004022c0
push 8
xor esi, esi
push str._setting
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00402ab0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push ecx
push SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x404cbb
mov eax, dword [ebp - 0x10]
push 4
lea edx, [ebp + 8]
push edx
push 4
push esi
push str.bossotherwKey
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x404d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498e88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x21
mov esi, ecx
xor eax, eax
push str.SoftwareHuofengHuofengGameWorld
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004027c0
push 8
push str._setting
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004026a0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404d70
mov ecx, dword [ebp - 0x2c]
sub eax, edx
sar eax, 1
add eax, eax
cmp dword [ebp - 0x18], 8
jae 0x404d8d
lea ecx, [ebp - 0x2c]
push eax
push esi
push 1
push str.bosskey
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x18], 8
mov esi, eax
jb 0x404db7
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x405bf0
Capabilities:
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11014
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xffff
lea eax, [ebp - 0x11007]
push 0
push eax
mov byte [ebp - 0x11008], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
push 0xffe
push ecx
lea edx, [ebp - 0x1006]
push edx
mov word [ebp - 0x1008], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0
call fcn.0045b1e0
add esp, 0xc
test eax, eax
je 0x405d76
cmp dword [0x4cb524], 8
mov eax, dword [0x4cb510]
jae 0x405c74
mov eax, 0x4cb510
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
push eax
lea ecx, [ebp - 0x1008]
push 0x800
push ecx
call esi
add esp, 0xc
push 0
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [0x4cb540], 8
mov eax, dword [0x4cb52c]
jae 0x405cae
mov eax, 0x4cb52c
push eax
lea eax, [ebp - 0x1008]
push 0x800
push eax
call esi
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea ecx, [ebp - 0x1008]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405d6f
push 0
lea edx, [ebp - 0x1100c]
push edx
push 0x10000
lea eax, [ebp - 0x11008]
push eax
push esi
mov dword [ebp - 0x1100c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1100c], 0
jbe 0x405d6f
mov edx, 0x4ab7d8
lea ecx, [ebp - 0x11008]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405d44
test al, al
je 0x405d40
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405d44
add ecx, 2
add edx, 2
test al, al
jne 0x405d24
xor eax, eax
jmp 0x405d49
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405d6f
sub esp, 0x1c
lea edx, [ebp - 0x11008]
mov ecx, esp
mov dword [ebp - 0x11010], esp
push edx
call fcn.004037c0
call fcn.00405b40
push eax
call fcn.00406ab0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x406740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ff88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._installtype
lea eax, [ebp - 0x2c]
push 0x4cb4d8
push eax
mov dword [ebp - 4], 1
call fcn.00408d40
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x40679c
lea edx, [ebp + 8]
mov eax, edx
lea esi, [eax + 2]
xor ebx, ebx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4067a3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 0xa
push str.clientqd
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov edx, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x4067d6
lea edx, [ebp + 0x24]
mov eax, edx
lea esi, [eax + 2]
jmp 0x4067e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4067e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004026a0
push 0x1c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov edi, 7
cmp eax, ebx
je 0x40681c
xor ecx, ecx
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], ebx
mov word [eax], cx
mov esi, eax
jmp 0x40681e
xor esi, esi
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00402530
lea eax, [ebp - 0x30]
push eax
push ebx
push esi
push 0x405d90
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x406892
cmp dword [ebp - 0x18], 8
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x406858
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
add esp, 4
xor edx, edx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
jb 0x406873
mov eax, dword [ebp + 8]
push eax
call esi
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], cx
jb 0x40688e
mov edx, dword [ebp + 0x24]
push edx
call esi
add esp, 4
xor al, al
jmp 0x4068e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 8
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x4068ae
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
jb 0x4068c9
mov edx, dword [ebp + 8]
push edx
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
jb 0x4068e4
mov ecx, dword [ebp + 0x24]
push ecx
call esi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x406910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d980
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x18]
push 0x4ab248
push eax
push edi
lea ecx, [ebp + 8]
call fcn.00409200
test eax, eax
jne 0x4069a1
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x40696f
mov ecx, dword [ebp + 8]
push ecx
call ebx
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], edi
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], esi
jb 0x40698d
mov eax, dword [ebp + 0x24]
push eax
call ebx
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov ebx, 7
cmp eax, edi
je 0x4069d0
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], edi
xor ecx, ecx
mov word [eax], cx
xor edx, edx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x2c], edi
mov word [eax + 0x1c], dx
mov esi, eax
jmp 0x4069d2
xor esi, esi
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x24]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402530
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call fcn.00402530
mov edx, dword [ebp + 0x40]
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0x406670
push edi
push edi
mov dword [esi + 0x38], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x406a59
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x406a23
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], edi
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], esi
jb 0x40698d
mov eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x406a79
mov ecx, dword [ebp + 8]
push ecx
call ebx
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], edi
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], esi
jb 0x406a97
mov eax, dword [ebp + 0x24]
push eax
call ebx
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cba8
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0xffe
push eax
lea ecx, [ebp - 0x100e]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x1010], ax
call sub.MSVCR100.dll_memset
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0
call fcn.0045b1e0
add esp, 0x18
test eax, eax
jne 0x4078f6
cmp dword [ebp + 0x1c], 0x10
jb 0x4078ef
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x4079b3
cmp dword [0x4cb524], 8
mov eax, dword [0x4cb510]
jae 0x407909
mov eax, 0x4cb510
mov esi, dword [sym.imp.MSVCR100.dll_wcscat_s]
push eax
lea ecx, [ebp - 0x1010]
push 0x800
push ecx
call esi
mov eax, dword [0x4cb52c]
add esp, 0xc
cmp dword [0x4cb540], 8
jae 0x407934
mov eax, 0x4cb52c
push eax
lea edx, [ebp - 0x1010]
push 0x800
push edx
call esi
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407997
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1014], 0
jae 0x407982
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp - 0x1014]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 0x10
jb 0x4079b1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40d100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0
push 0
mov esi, eax
mov ecx, dword [esi + 0x54]
lea eax, [ebp - 4]
push eax
push 0x400
push ecx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 0x50]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 0x54]
push ecx
push edx
mov ebx, eax
push str.CustomURLProtocol::Failed_with_error__d:__s
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, eax
shr ecx, 1
call fcn.0040cf90
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d164
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esi + 0x58]
call fcn.004026a0
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
call esi
push ebx
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d1a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0xa
mov esi, 0x4ad420
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x834], 0
movsw word es:[edi], word [esi]
call fcn.00456df0
cmp eax, 9
jl 0x40d31e
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push 0x4ab4fc
lea edx, [ebp - 0x830]
call fcn.0040d640
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 8
lea eax, [ebp - 0x834]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x830]
push ecx
push SysReAllocString
call ebx
test eax, eax
je 0x40d245
push 0
lea edx, [ebp - 0x834]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x830]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x40d282
push 4
lea ecx, [ebp - 0x838]
push ecx
push 4
push 0
lea edx, [ebp - 0x30]
push edx
push eax
mov dword [ebp - 0x838], 1
call esi
mov eax, dword [ebp - 0x834]
push eax
call edi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x4ab4fc
lea edx, [ebp - 0x830]
mov dword [ebp - 0x834], 0
call fcn.0040d640
add esp, 8
lea ecx, [ebp - 0x834]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x830]
push edx
push SysReAllocString
call ebx
pop ebx
test eax, eax
je 0x40d2ed
push 0
lea eax, [ebp - 0x834]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x830]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x834]
test eax, eax
je 0x40d31e
push 4
lea edx, [ebp - 0x838]
push edx
push 4
push 0
lea ecx, [ebp - 0x30]
push ecx
push eax
mov dword [ebp - 0x838], 0x270f
call esi
mov edx, dword [ebp - 0x834]
push edx
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00497792
mov esp, ebp
pop ebp
ret
Function at 0x40d6e0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XL_Init
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_UnInit
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push str.XL_CreateTask
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.XL_DeleteTask
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_StartTask
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push str.XL_StopTask
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.XL_QueryTaskInfo
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_QueryTaskInfoEx
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 4]
push str.XL_SetSpeedLimit
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.XL_SetUploadSpeedLimit
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_DelTempFile
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi + 4]
push str.XL_SetProxy
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.XL_SetUserAgent
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_GetFileSizeWithUrl
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 4]
push str.XL_ParseThunderPrivateUrl
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push str.XL_SetAdditionInfo
push eax
call edi
mov ecx, dword [esi + 4]
push str.XL_SetFileIdAndSize
push ecx
mov dword [esi + 0x44], eax
call edi
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
ret

Function at 0x40e570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4e9c10]
cmp eax, 0x1c00
jle 0x40e5aa
push 0
lea eax, [ebp - 4]
push eax
push 0x4db008
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 8]
add eax, eax
push eax
push 0x4db008
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov dword [0x4e9c10], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push ecx
lea edx, [eax*2 + 0x4db008]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
add dword [0x4e9c10], eax
mov esp, ebp
pop ebp
ret
Function at 0x40e5d0
Capabilities:
Create process memory minidump
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bfca0
push 0x497f61
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp esi, edi
jne 0x40e671
mov dword [ebp - 4], edi
push 0x4adae0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push edi
push edi
push SysStringLen
call dword [sym.imp.KERNEL32.dll_RaiseException]
push str.writing_minidump_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
push edi
push edi
lea edx, [ebp - 0x24]
push edx
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40eab0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esp + 0x38]
xor edx, edx
mov eax, 0x40000000
div edi
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 1
mov ebx, eax
add ebx, ebx
add ebx, ebx
cmp ebx, esi
jbe 0x40eb54
lea esp, [esp]
mov edx, esi
imul edx, edi
push 0x1c
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor edx, edx
test eax, eax
je 0x40eb47
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40eb47
div edi
add esi, eax
cmp dword [esp + 0x28], 0x1000
jne 0x40eb50
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x14]
jbe 0x40eb50
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push eax
mov dword [esp + 0x18], edx
call fcn.0040e740
add esp, 4
test al, al
je 0x40eb50
inc dword [esp + 0x10]
jmp 0x40eb50
mov eax, 0x10000
div edi
add esi, eax
cmp esi, ebx
jb 0x40eaf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f060
Capabilities:
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x798
mov eax, dword [0x4cc99c]
xor eax, esp
mov dword [esp + 0x794], eax
push esi
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea esi, [esp + 0x138]
call fcn.0040e6c0
mov eax, esi
push eax
push str.Error_occurred_at__s._r_n
push ebx
call fcn.0040e570
push 0x410
lea ecx, [esp + 0x3a0]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0x20
push 0x208
lea edx, [esp + 0x38c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x40f0f0
push str.Unknown
lea eax, [esp + 0x38c]
push eax
call esi
push 0x190
lea ecx, [esp + 0x1fc]
push 0
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1fc]
push eax
mov dword [esp + 0x14], 0xc6
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x40f135
push str.Unknown
lea ecx, [esp + 0x1fc]
push ecx
call esi
lea edx, [esp + 0x1f8]
push edx
lea eax, [esp + 0x38c]
push eax
push str._s__run_by__s._r_n
push ebx
call fcn.0040e570
lea ecx, [esp + 0xd8]
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x74]
call fcn.004146d0
lea edx, [esp + 0xdc]
push edx
mov eax, esi
push eax
push str.Operating_system:___s___s_._r_n
push ebx
call fcn.0040e570
add esp, 0x24
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push str._d_processor_s___type__d._r_n
push ebx
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x44]
push edx
push str._d___memory_in_use._r_n
push ebx
call fcn.0040e570
mov eax, dword [esp + 0x54]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_physical_memory._r_n
push ebx
call fcn.0040e570
mov ecx, dword [esp + 0x64]
add ecx, 0xfffff
shr ecx, 0x14
push ecx
push str._d_MBytes_physical_memory_free._r_n
push ebx
call fcn.0040e570
mov edx, dword [esp + 0x74]
add edx, 0xfffff
shr edx, 0x14
push edx
push str._d_MBytes_paging_file._r_n
push ebx
call fcn.0040e570
mov eax, dword [esp + 0x84]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_paging_file_free._r_n
push ebx
call fcn.0040e570
mov ecx, dword [esp + 0x94]
add ecx, 0xfffff
shr ecx, 0x14
push ecx
push str._d_MBytes_user_address_space._r_n
push ebx
call fcn.0040e570
mov edx, dword [esp + 0xa4]
add esp, 0x48
add edx, 0xfffff
shr edx, 0x14
push edx
push str._d_MBytes_user_address_space_free._r_n
push ebx
call fcn.0040e570
mov ecx, dword [esp + 0x7a8]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.00497792
mov esp, ebp
pop ebp
ret