joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fd1
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x4037f0
call fcn.00403264
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x404590
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x402d88
cmp eax, esi
jne 0x402d7b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x402d8b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402d62
xor esi, esi
inc esi
mov eax, dword [0x40458c]
cmp eax, esi
jne 0x402d9e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x402dcd
mov eax, dword [0x40458c]
test eax, eax
jne 0x402dc7
mov dword [0x40458c], esi
push 0x401140
push 0x401134
call fcn.00402cc7
pop ecx
pop ecx
test eax, eax
je 0x402dcd
jmp 0x402ef5
mov dword [0x404254], esi
mov eax, dword [0x40458c]
cmp eax, esi
jne 0x402df1
push 0x401130
push 0x401128
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40458c], 2
test ebx, ebx
jne 0x402dfd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x404594], 0
je 0x402e21
push 0x404594
call fcn.004031d9
pop ecx
test eax, eax
je 0x402e21
push 0
push 2
push 0
call dword [0x404594]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x402e7d
test al, al
je 0x402e3b
cmp dword [ebp - 0x1c], 0
jne 0x402e7d
mov al, byte [esi]
test al, al
je 0x402e4b
cmp al, 0x20
ja 0x402e4b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402e3b
test byte [ebp - 0x3c], 1
je 0x402e57
movzx eax, word [ebp - 0x38]
jmp 0x402e5a
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x404250], eax
cmp dword [0x404244], 0
jne 0x402ed1
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x402e8c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x402e9f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x402e28
cmp dword [0x404254], 0
jne 0x402ee0
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x404250]
jmp 0x402f01
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.004032a9
ret
call fcn.004033b1
jmp 0x402d28
Function at 0x1001af90
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001afcf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001afcf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001afcf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001afcf
cmp dword [ecx + 0x74], 0xe
jbe 0x1001afcf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001dc8d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001dd2a
push ebx
push esi
call fcn.1001dc56
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001dbea
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001dcd7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001dd29
push edi
push eax
call fcn.1001bccd
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001dcf7
call fcn.1001c732
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001dd28
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001dbea
add esp, 0x20
test eax, eax
jne 0x1001dd16
push edi
call fcn.1001c732
jmp 0x1001dd1e
push ebx
call fcn.1001c732
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001df97
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d10
push 0x10025d08
push str.FlsAlloc
push 0x1f
call fcn.1001deb3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dfcb
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
jmp 0x1001dfd1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001e015
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d20
push 0x10025d18
push str.FlsGetValue
push 0x21
call fcn.1001deb3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e04c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001e054
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d28
push 0x10025d20
push str.FlsSetValue
push 0x22
call fcn.1001deb3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e08e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023640
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002366d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002366d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x70fe61
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
jmp 0x70ff60
not cx
dec ah
jb 0x70ff27
lea edx, [edi*4]
jmp 0x70ff2e
rdtsc
jmp 0x70fea0
not ch
rcl ch, 3
sbb eax, eax
jmp 0x70fef2
lea esp, [esp + 0x10]
xor ebp, 0x24af11d4
and dh, 0x6d
je 0x70fe98
rdtsc
not ch
rcl ch, 3
sbb eax, eax
jmp 0x70fef2
add ebp, dword [esi]
mov dx, di
xchg dx, cx
mov al, 0x75
jmp 0x70ff06
sub ebp, 0x1c39cda7
mov ecx, edx
lea edx, reloc.WINMM.dll_midiStreamRestart
bswap edx
xchg cl, ah
jmp 0x70fed1
jmp 0x70ff46
lea edx, [edi*4]
jmp 0x70feb7
movzx ecx, byte [ebp]
call fcn.0070ff08
sbb eax, 0x996a0f9f
adc dword [ebp - 0x10], esi
add ax, si
inc ecx
insd dword es:[edi], dx
jl 0x70ffad
salc
inc ecx
ror ebp, 0
mov ah, 0xe6
xchg ecx, eax
mov ax, 0x5722
setle ch
mov dl, 0x80
jmp 0x70fe6a
add edi, dword [esi + 0x1f]
mov eax, ebx
jmp 0x70ffd8
stc
cmc
lea esp, [esp + 3]
jmp 0x710260
mov eax, dword [esp]
lea eax, [edx + edx]
mov ax, word [esp]
lea eax, [ebx + esi]
jmp 0x710142
jle 0x710033
jg 0x710033
xchg esi, eax
adc byte [esi + 0x8a210e1], al
lea ebx, reloc.WINMM.dll_midiStreamRestart
out dx, eax
mul cl
and byte [ebx - 0xa], ah
shl byte [esi + 0x11], cl
fmul dword [edi]
mov esp, dword [ebx + reloc.WINMM.dll_midiStreamRestart]
mov bl, byte [ebp - 0x75000000]
invalid
not dl
adc ax, bx
jnp 0x7100e1
jp 0x7100e1
mov eax, edi
lea eax, [ebx*4]
jmp 0x7100a4
dec ax
push esp
mov ah, 0x79
jmp 0x71007b
dec ax
push esp
mov ah, 0x79
call 0x710082
aas
push es
jmp 0x7100c7
mov ax, word [esp]
jmp 0x71008e
mov al, byte [esp]
lea eax, [esi*4]
mov al, 0x90
jmp 0x7100fc
lea esp, [esp + 4]
dec dl
bsf eax, eax
jae 0x710076
jb 0x710060
mov al, byte [esp]
lea eax, [esi*4]
mov al, 0x90
jmp 0x7100e6
rol dl, 0
lea eax, reloc.WINMM.dll_midiStreamRestart
rcl eax, 0x11
je 0x710084
mov ax, word [esp]
jmp 0x7100b1
call 0x71005a
lea eax, reloc.WINMM.dll_midiStreamRestart
jmp 0x710102
lea eax, reloc.WINMM.dll_midiStreamRestart
rcl ah, cl
ror dl, 0
lea eax, [ecx + 0xf9]
mov eax, 0x68a275c4
call 0x710119
xchg ebp, eax
add al, 0xe9
mov es, word [eax]
add byte [eax], al
lea esp, [esp + 2]
add bl, dl
jmp 0x7101ed
mov edx, 0x613a8da3
mov dx, word [esp]
mov ah, 0x74
jmp 0x71021a
sub dl, 0x8c
mov ax, word [esp]
mov eax, ebx
mov eax, esi
clc
jmp 0x71001d
ja 0x71012a
mov edx, 0x613a8da3
mov dx, word [esp]
jmp 0x710230
inc ebp
add dx, 0x56fc
js 0x710234
push ecx
mov ah, 0xde
bswap edx
sub esp, 9
jmp 0x710500
mov ah, 0x74
jmp 0x71021a
push ecx
jmp 0x71023b
mov ah, 0xde
bswap edx
sub esp, 9
jmp 0x71088b
mov dl, cl
jmp 0x70ffe3
dec eax
Function at 0x7377bf
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x737737
mov dword [edi], eax
jmp 0x7376ae
lea eax, reloc.WINMM.dll_midiStreamRestart
not ax
jmp 0x7376e5
push esi
jmp 0x73774f
mov eax, dword [ecx + 8]
push eax
xor eax, ebx
jmp 0x7376cf
mov ebx, ebp
xchg ebx, eax
mov ebx, 0xfad8d0e5
mov bx, di
jmp 0x73772f
dec ebx
mov dword [ecx + 0x18], eax
mov bx, 0x7be2
xor edx, eax
jmp 0x73770d
push esi
mov esi, ecx
add esi, 0x1c
jmp 0x73776f
mov dl, byte [esp]
lea eax, [edi*4]
mov al, 0x73
jmp 0x737759
mov esi, ecx
add esi, 0x14
mov dword [esi], ebx
pop esi
jmp 0x737723
pushal
bsf bp, di
rcl ax, cl
bswap esi
mov esi, 0x218574fd
jmp 0x737796
mov dword [esi], edx
pop esi
mov ebx, 0x70a358
lea esp, [esp + 0xc]
jmp 0x7371ca
mov edx, dword [eax + 0xc]
call 0x7377bf
insd dword es:[edi], dx
out dx, eax
jg 0x7377a6
jmp 0x9673fcd2
mov cl, 0x3d
or al, 0x89
jl 0x7377bd
mov dword [esp + 0x1c], edi
popal
sbb al, 0x61
sub esp, 0x18
lea edx, reloc.WINMM.dll_midiStreamRestart
btr ecx, esp
jmp 0x737780
loope 0x737793
xlatb
mov bx, 0x6835
mov dword [esp + 0x18], edx
popal
sbb edi, esi
mov di, 0xcd28
jmp 0x73781c
nop
adc eax, dword [ebx + reloc.WINMM.dll_midiStreamRestart]
and al, 1
pushal
neg bp
jmp 0x7377a9
and ecx, esi
jmp 0x737845
mov edi, edx
jmp 0x7377ef
mov edi, 0xb7a00d88
shr ecx, 8
lea edi, [eax*4]
dec di
jmp 0x737805
shr edi, 0x10
call fcn.00737fe7
adc bl, byte [ebx + 0x259d6e0b]
js 0x73783b
popfd
and eax, 0xf592fc78
xchg edx, eax
cmc
add al, 0xb2
dec ecx
call 0x550084d4
mov esi, dword [eax]
mov ecx, dword [ecx*4 + reloc.WINMM.dll_midiStreamRestart]
clc
sub esp, 0xa
lea esp, [esp + 2]
jmp 0x73782f

Function at 0x7378a2
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x73789a
jmp 0x737882
and edx, esi
call 0x7378a2
mov fs, word [esi - 0x71]
add al, 0x24
lea esp, [esp + 2]
jmp 0x7378df
lea ebx, reloc.WINMM.dll_midiStreamRestart
mov edx, dword [ebx]
pop ebx
sub esp, 0x11
lea esp, [esp + 1]
jmp 0x737a38
push ebx
mov ebx, edx
lea ebx, [ebx*4]
jmp 0x7378c9
and edx, ebp
xor ecx, edx
lea esp, [esp + 0x28]
xor ecx, dword [ebx]
jmp 0x737911
push bp
lea esp, [esp]
sub esp, 0xa
xor ecx, edi
jmp 0x737927
shr edi, 0x18
push bx
lea esp, [esp + 2]
movzx edi, byte [edi*4 + 0x708b54]
jmp 0x73794d

Function at 0xb1262d
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esi, reloc.WINMM.dll_midiStreamRestart
bsf cx, sp
popal
lea esi, [edx + edx]
rdtsc
jmp 0xb12672
sub esp, 0xb
mov bh, 0x98
mov ebx, dword [esp + 3]
stc
mov byte [esp + 7], ch
jmp 0xb12715
inc ebx
mov dh, 0x5e
mov esi, ebp
rdtsc
rdtsc
bts edi, esp
jmp 0xb1265c
pop dx
cld
xchg dword [esp + 4], edi
shl ah, cl
sub esp, 0x16
bts si, dx
jmp 0xb12680
mov cl, 0xcf
mov word [esp + 5], bx
push word [esp + 6]
cmc
mov ah, byte [esp]
push word [esp + 0xb]
jmp 0xb12696
mov dword [esp + 1], edi
mov ax, 0x9bc4
mov di, 0xda0c
mov ax, di
inc dl
mov byte [esp + 6], bh
jmp 0xb126c3
Function at 0xb12944
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bh, byte [esp + 8]
mov dword [esp], edx
xchg dword [esp + 1], edi
jmp 0xb1297f
mov word [esp + 4], bp
cmc
mov bx, 0xc6b
lea esp, [esp + 6]
mov byte [esp], al
mov ecx, 0xaba5e76c
jmp 0xb12969

Function at 0xb1457a
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.00b1405e
push eax
jmp 0xb14059
mov eax, dword [ebp]
pop ebp
jmp 0xb1428d
pushal
mov dword [esp + 8], eax
popal
lea ebp, [ebp + 8]
jmp 0xb142a3
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
push ebp
jmp 0xb142bc
mov dword [esp + 0x3c], edi
lea esp, [esp + 0x3c]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xb14343
mov dword [esp + 2], ebx
pop word [esp + 3]
lea esp, [esp + 2]
jmp 0xb14397
Function at 0x402b5c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403b60
test esi, esi
jne 0x402b93
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00403c50
jmp 0x402bb4
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004029f8
mov dword [esp], eax
test esi, esi
je 0x402bb4
cmp dword [ebx], 0
je 0x402bb4
dec esi
jmp 0x402b9b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403078
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403110
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030f0
xor eax, eax
push ebp
push 0x4030e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40312c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030f0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x4039dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43d044], 0
je 0x403a3d
cmp word [0x43d218], 0xd7b2
jne 0x403a05
cmp dword [0x43d220], 0
jbe 0x403a05
mov eax, 0x43d214
call dword [0x43d230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403a64
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
pop edx
ret
cmp byte [0x409020], 0
jne 0x403a59
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4047b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404816
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403da8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c6c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404800
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40481d
lea eax, [ebp - 0x10]
call fcn.00403b60
ret

Function at 0x406628
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x406661
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c50
jmp 0x40666a
mov eax, ebx
mov edx, esi
call fcn.00403bb4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406674
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x406695
mov al, byte [esp]
jmp 0x406697
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406d2c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406b94
mov eax, dword [0x43bfb0]
cmp byte [eax], 0
je 0x406da8
mov eax, dword [0x43bf08]
call fcn.00402c08
call fcn.00402968
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405afc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406df0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x406dde
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x43bee8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x43d660]
call fcn.00404180
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x4077cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407830
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403da8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004059c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407837
lea eax, [ebp - 0xc]
call fcn.00403b60
ret
Function at 0x408348
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x43d79c
mov eax, ebx
mov edx, 8
test al, 1
je 0x408364
shr eax, 1
xor eax, 0xedb88320
jmp 0x408366
shr eax, 1
dec edx
jne 0x408357
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x408350
pop ebx
ret

Function at 0x4084cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x4085a1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
add eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
jne 0x408590
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 0xc], eax
jmp 0x408590
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x408582
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
test edi, 0x80000000
je 0x40855d
and edi, 0xffff
push edi
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [esi]
mov dword [edx], eax
jmp 0x408570
add edi, ebx
add edi, 2
push edi
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [esi]
mov dword [edx], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
cmp dword [eax], 0
je 0x4085bb
add dword [ebp - 0xc], 4
add dword [esi], 4
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x408526
mov eax, dword [ebp - 8]
add eax, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x4085b7
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x4084ea
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4019b5
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x41ad0c
call fcn.0040e4a6
mov esi, dword [ebp + 8]
xor edi, edi
push 0x206
lea eax, [ebp - 0x216]
push edi
mov dword [ebp - 0x21c], edi
push eax
mov word [ebp - 0x218], di
call fcn.0040e680
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x401a0e
push 0x41d450
mov ecx, esi
call fcn.00401974
jmp 0x401a40
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00401974
push str.TencentQQMusic_
push eax
push esi
mov dword [ebp - 4], edi
call fcn.0040187f
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040118b
mov eax, esi
call fcn.0040e529
ret

Function at 0x402101
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x30], eax
jne 0x40211d
xor eax, eax
jmp 0x402144
push ebx
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x401dc7
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, edi
jne 0x402141
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x403df9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x403e18
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
pop esi
leave
ret

Function at 0x404b97
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x42ac40]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x41b045
call fcn.0040e43d
mov esi, ecx
lea ebx, [esi + 4]
push 0x41d450
mov ecx, ebx
call fcn.0040403d
test eax, eax
jne 0x404bd7
xor eax, eax
jmp 0x404c67
mov eax, dword [esi]
test eax, eax
ja 0x404c67
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x404bd0
lea ecx, [ebp]
push ecx
push eax
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x404c4c
push 0x42bd0c
lea ecx, [ebp - 0x14]
call fcn.00401239
and dword [ebp - 4], 0
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401812
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
push edi
push eax
call fcn.0040eb15
test eax, eax
pop ecx
pop ecx
lea ecx, [edi - 0x10]
je 0x404c52
or dword [ebp - 4], 0xffffffff
call fcn.0040118b
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x404c05
jmp 0x404c5c
mov eax, dword [ebp + 8]
mov dword [esi], eax
call fcn.0040118b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.0040e42e
add ebp, 0x230
leave
ret