joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ad84
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
nop
nop
push ebp
mov ebp, esp
add esp, 9
add esp, 0xfffffff7
add esp, 4
add esp, 0xfffffffc
push 0x2d1b
mov esp, ebp
nop
nop
pop ebp
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
nop
push ebp
mov ebp, esp
inc ecx
dec ecx
add esp, 4
add esp, 0xfffffffc
push ebx
pop ebx
add esp, 6
add esp, 0xfffffffa
nop
mov esp, ebp
nop
pop ebp
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor ecx, ecx
mov cx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x1000adfc
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
jge 0x1000af55
push ebp
nop
mov ebp, esp
add esp, 2
sub esp, 2
add esp, 1
add esp, 0xffffffff
add esp, 8
add esp, 0xfffffff8
nop
mov esp, ebp
nop
pop ebp
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x1000aebf
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x1000aeba
nop
nop
push ebp
nop
nop
mov ebp, esp
add esp, 9
sub esp, 9
add esp, 6
add esp, 0xfffffffa
add esp, 6
sub esp, 6
nop
nop
mov esp, ebp
nop
pop ebp
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
nop
push ebp
nop
mov ebp, esp
inc ecx
dec ecx
add esp, 3
sub esp, 3
add esp, 7
sub esp, 7
inc ecx
dec ecx
nop
mov esp, ebp
nop
nop
pop ebp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x1000adea
push ebp
mov ebp, esp
test esi, esi
add esp, 0xe
add esp, 0xfffffff2
inc ecx
dec ecx
mov esp, ebp
pop ebp
push 4
push 0x1000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
nop
push ebp
nop
nop
mov ebp, esp
inc ecx
dec ecx
add esp, 5
add esp, 0xfffffffb
mov esp, ebp
nop
pop ebp
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1000ace0
add esp, 0xc
nop
nop
push ebp
nop
mov ebp, esp
inc ecx
dec ecx
inc ecx
dec ecx
test esi, esi
push ebx
pop ebx
nop
nop
mov esp, ebp
pop ebp
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
nop
nop
push ebp
nop
mov ebp, esp
add esp, 0xa
add esp, 0xfffffff6
inc ecx
dec ecx
test esi, esi
test esi, esi
mov esp, ebp
pop ebp
jmp 0x1000adea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003af6d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100c3630
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003afa9
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003b3f5
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003b431
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003d180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3de1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1003cee3
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1003d2e0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CQQChannelDownload.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], vtable.CQQChannelDownload.1.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.100016a6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10046628
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x100dd3e0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, ecx
push edi
je 0x10046695
cmp dword [ebp + 0xc], ecx
jle 0x10046695
cmp ebx, ecx
je 0x10046695
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10046753
pop ecx
lea edi, [esp + 8]
call fcn.100467fa
mov al, 1
jmp 0x10046697
xor al, al
mov ecx, dword [esp + 0x64]
pop edi
pop ebx
xor ecx, esp
call fcn.1006e001
mov esp, ebp
pop ebp
ret

Function at 0x1004e831
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x100b71a6
call fcn.10075f18
mov esi, ecx
push str.CDownload::Init__
push 3
call fcn.10055a24
xor edi, edi
cmp dword [esi + 0xc], edi
pop ecx
pop ecx
je 0x1004e85c
xor eax, eax
inc eax
jmp 0x1004e8e6
cmp dword [esi + 0x64], edi
mov dword [esi + 0xb8], 0x5dc
jne 0x1004e8a4
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x68], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x6c], eax
call ebx
mov dword [esi + 0x70], eax
lea eax, [esi + 0x74]
push eax
push edi
push esi
push 0x1004ff67
push edi
push edi
call fcn.1007179c
add esp, 0x18
mov dword [esi + 0x64], eax
lea eax, [esi + 0x8c]
mov dword [ebp - 0x10], eax
add eax, 4
push eax
mov dword [ebp - 0x14], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
inc edi
lea eax, [esi + 0x78]
mov dword [ebp - 0x1c], edi
call fcn.1005059e
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea esi, [ebp - 0x14]
call fcn.10050ab4
mov eax, edi
call fcn.10075fb7
ret
Function at 0x1004e967
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push 0x10
mov eax, 0x100b71a6
call fcn.10075f18
push str.CDownload::Uninit__
push 3
call fcn.10055a24
pop ecx
lea eax, [edi + 0x8c]
mov dword [ebp - 0x10], eax
pop ecx
add eax, 4
push eax
mov dword [ebp - 0x14], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0x78]
mov dword [ebp - 0x1c], 2
call fcn.1005059e
push dword [edi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
call ebx
lea esi, [ebp - 0x14]
call fcn.10050ab4
push dword [edi + 0x68]
call ebx
push dword [edi + 0x70]
call ebx
cmp dword [edi + 0x64], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1004ea0f
push 0x7530
push dword [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1004ea06
push 0x3ff
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.Uninit::TerminateThread
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi + 0x64]
call esi
and dword [edi + 0x64], 0
push dword [edi + 0x70]
call esi
push dword [edi + 0x68]
call esi
push dword [edi + 0x6c]
call esi
call fcn.10075fb7
ret

Function at 0x1005027f
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x238
lea ebp, [esp - 4]
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp + 0x238], eax
push 0x20
mov eax, 0x100b5c17
call fcn.10075f18
and word [ebp + 0x2c], 0
push 0x208
lea eax, [ebp + 0x2e]
push 0
push eax
call fcn.10070ca0
add esp, 0xc
lea eax, [ebp]
push eax
push str.DownloadProxy.Downloader.1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
sub esp, 0x10
lea esi, [ebp]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 0x2c]
movsd dword es:[edi], dword [esi]
call fcn.1005573d
add esp, 0x10
test eax, eax
je 0x1005037e
lea ecx, [ebp + 0x10]
call fcn.100016a6
and dword [ebp - 4], 0
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x10]
call fcn.10009d16
lea edi, [ebp + 0x10]
call fcn.100503a1
push eax
push 0
mov ecx, edi
call fcn.1000177e
push 0xffffffffffffffff
mov ebx, edi
call fcn.10050402
inc eax
push eax
mov ecx, edi
call fcn.1000177e
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.10001817
mov esi, eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.10001839
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.10001817
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.100513cc
add esp, 0x1c
mov ecx, ebx
call fcn.10004cdf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, ebx
mov esi, eax
call fcn.1000173d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.1006e001
add ebp, 0x23c
leave
ret
Function at 0x100514dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test eax, eax
je 0x100514fa
cmp word [eax], 0
je 0x100514fa
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100514fa
and al, 0x10
cmp al, 0x10
setne al
ret
xor al, al
ret
Function at 0x100aa559
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100aa589
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100aa5a7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100aa582
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x100aa5b8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100aa60f
mov eax, dword [ebp - 0x1c]
sub eax, 0x61c88647
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x100aa5b1
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret

Function at 0x100ab4c5
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x5c
push 0
push dword [ebp + 8]
call fcn.10070ca0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
pop ebp
ret
Function at 0x1008ce5
Capabilities:
Listen for remote procedure calls

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test byte [0x100a07c], 2
push ebx
push esi
push edi
mov edi, 0x100263c
je 0x1008d18
cmp byte [0x100a079], 4
jb 0x1008d18
push edi
push 0x1a
push dword [0x100a074]
push dword [0x100a070]
call fcn.010028c1
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x1008d26
mov ebx, fcn.0100833e
jmp 0x1008d4a
cmp eax, 1
jne 0x1008d32
mov ebx, 0x10088a4
jmp 0x1008d4a
cmp eax, 2
jne 0x1008d3e
mov ebx, 0x1008a19
jmp 0x1008d4a
cmp eax, 3
jne 0x1008ec2
mov ebx, dword [ebp + 0x14]
test byte [0x100a07c], 2
je 0x1008d79
cmp byte [0x100a079], 5
jb 0x1008d79
push dword [0x100a148]
push dword [ebp + 0xc]
push edi
push 0x1b
push dword [0x100a074]
push dword [0x100a070]
call fcn.0100828d
push 0
push dword [ebp + 0xc]
push 0xa
push dword [0x100a148]
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x1008db4
test byte [0x100a07c], 2
je 0x1008ec5
cmp byte [0x100a079], 2
jb 0x1008ec5
push esi
push edi
push 0x1c
jmp 0x1008de7
push ebx
push eax
push 8
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
mov esi, eax
test esi, esi
je 0x1008dfd
test byte [0x100a07c], 2
je 0x1008ec5
cmp byte [0x100a079], 2
jb 0x1008ec5
push esi
push edi
push 0x1d
push dword [0x100a074]
push dword [0x100a070]
call fcn.0100528f
jmp 0x1008ec5
mov ebx, 0x100a18c
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test byte [0x100a07c], 2
mov dword [ebp + 0x10], eax
je 0x1008e5e
cmp byte [0x100a079], 5
jb 0x1008e35
push dword [ebp + 0xc]
push edi
push 0x1e
push dword [0x100a074]
push dword [0x100a070]
call fcn.010028e7
test byte [0x100a07c], 2
je 0x1008e5e
cmp byte [0x100a079], 5
jb 0x1008e5e
push dword [ebp + 0x10]
push edi
push 0x1f
push dword [0x100a074]
push dword [0x100a070]
call fcn.0100528f
cmp dword [ebp + 0x10], 1
jne 0x1008ed5
push 1
push 0x4d2
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
cmp esi, 0x6b1
jne 0x1008e7f
xor esi, esi
test esi, esi
je 0x1008ed5
test byte [0x100a07c], 2
je 0x1008eaa
cmp byte [0x100a079], 2
jb 0x1008eaa
push esi
push edi
push 0x20
push dword [0x100a074]
push dword [0x100a070]
call fcn.0100528f
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x1008ec5
push 0x57
pop esi
test esi, esi
jle 0x1008ed5
and esi, 0xffff
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41b320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x12000]
push edi
jmp 0x41b33a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b330
mov eax, 1
add ebx, ebx
jne 0x41b353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b348
jne 0x41b364
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b348
xor ecx, ecx
sub eax, 3
jb 0x41b378
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b3ea
mov ebp, eax
add ebx, ebx
jne 0x41b383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b390
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b3b4
inc ecx
add ebx, ebx
jne 0x41b3a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b395
jne 0x41b3b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b395
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b3d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b3c5
jmp 0x41b336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b3d4
add edi, ecx
jmp 0x41b336
pop esi
mov edi, esi
mov ecx, 0x2b4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b3f2
cmp byte [edi], 0xa
jne 0x41b3f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41b3f7
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b466
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b2a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b330]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b424
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b334]
or eax, eax
je 0x41b460
mov dword [ebx], eax
add ebx, 4
jmp 0x41b441
call dword [esi + 0x1b344]
mov ebp, dword [esi + 0x1b338]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41b49a
sub esp, 0xffffff80
jmp 0x406e6d
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x6ed4697a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x8097a72
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403a10
Capabilities:
Get common file path
Get disk information
Receive http response

Disassembly:
sub esp, 0x800
cmp dword [0x5e220c], 0x400
jne 0x403a7d
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push 0
lea eax, [esp + 4]
push eax
push 0x403258
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
call fcn.00403ec1
push 0
push 0
call fcn.004044da
push 0
call fcn.00404475
push 0
call fcn.004046fa
push 0
push 0
push 0
call fcn.00404611
push 0
call fcn.0040476e
add esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
mov edi, edi
cmp esi, 0x97f
jge 0x403aa6
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
call edi
cmp esi, 0x160d5c2
jg 0x403ac1
inc esi
cmp esi, 0x33cd5b9
jl 0x403a90
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
nop
call edi
call ebx
cmp esi, 0x12e8a06
jg 0x403ae5
inc esi
cmp esi, 0x30375
jl 0x403ad0
mov ecx, dword [0x43f74c]
mov dword [0x5e220c], ecx
call fcn.004036c0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5e220c], ebx
jne 0x403b17
lea edx, [esp + 0xc]
push edx
push 0
call esi
dec edi
jne 0x403b06
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x800
ret 0x10

Function at 0x40952e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43cd68]
jne 0x409538
repz ret
jmp fcn.0040c107