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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0x8c], 0x121
mov dword [ebp - 8], 0x14c
mov dword [ebp - 4], 0x100
mov dword [ebp - 0x68], 0x18f
mov dword [ebp - 0x90], 0x264
mov dword [ebp - 0x80], 0x308
mov dword [ebp - 0x74], 0x3ae
mov dword [ebp - 0x70], 0x392
mov dword [ebp - 0xc], 0x79
mov dword [ebp - 0x84], 0x1d4
mov dword [ebp - 0x24], 0x227
mov dword [ebp - 0x94], 0xad
mov dword [ebp - 0x6c], 0x7e
mov dword [ebp - 0x4c], 0xe7
mov dword [ebp - 0x10], 0x226
mov dword [ebp - 0x98], 0x26c
mov dword [ebp - 0x5c], 0x241
mov dword [ebp - 0x9c], 0x116
mov dword [ebp - 0x3c], 0x15a
mov dword [ebp - 0x38], 0x4e
mov dword [ebp - 0xa0], 0x2b4
mov dword [ebp - 0xa4], 0x98
mov dword [ebp - 0x34], 0x35
mov dword [ebp - 0x88], 0x395
mov dword [ebp - 0x14], 0
jmp 0x46e05e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x38]
sub ecx, 0x4d
cmp dword [ebp - 0x14], ecx
jge 0x46e0b7
mov edx, dword [0x50cdec]
imul edx, dword [0x50cde0]
cmp edx, dword [ebp - 8]
jge 0x46e084
mov dword [ebp - 0x28], 1
jmp 0x46e08b
mov dword [ebp - 0x28], 0
mov eax, dword [0x50cdf0]
add eax, dword [0x50cdf8]
and eax, dword [ebp - 0x28]
je 0x46e0b5
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x68]
jge 0x46e0b5
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x46e055
mov dword [ebp - 0x18], 0
jmp 0x46e0c9
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 0x159
cmp dword [ebp - 0x18], edx
jge 0x46e129
mov eax, dword [0x50cde8]
cmp eax, dword [ebp - 0x34]
jge 0x46e0ea
mov dword [ebp - 0x2c], 1
jmp 0x46e0f1
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x4c]
add ecx, dword [0x50cdec]
cmp ecx, dword [0x50cdcc]
jge 0x46e10b
mov dword [ebp - 0x30], 1
jmp 0x46e112
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x2c]
or edx, dword [ebp - 0x30]
je 0x46e127
mov eax, dword [0x50cdf0]
sub eax, 1
mov dword [0x50cdf0], eax
jmp 0x46e0c0
mov ecx, dword [0x50cdd4]
nop
nop
inc ecx
mov dword [0x50cdd4], ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x47ed41
Capabilities:
Parse pe header

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

Function at 0x48b3f4
Capabilities:
Parse pe header

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

Function at 0x4ab079
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aaf4d
Function at 0x4abb74
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x514380]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4abbbf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004ac014
test al, al
jne 0x4abbb9
sub edx, 2
cmp edx, edi
jne 0x4abb9f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4abbe1
lea eax, [edi + 2]
cmp edx, eax
je 0x4abbe1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004ab83b
add esp, 0x10
jmp 0x4abcdb
push esi
lea ecx, [ebp - 0x255]
call fcn.004ac014
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4abc24
push dword [ebp - 0x25c]
jmp 0x4abbd1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4abc61
cmp word [ebp - 0x226], 0
je 0x4abc82
cmp word [ebp - 0x226], ax
jne 0x4abc61
cmp word [ebp - 0x224], 0
je 0x4abc82
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004ab83b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4abcce
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4abc3b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4abcb6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4abcdb
push 0x4ab28b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004b6df0
add esp, 0x10
jmp 0x4abcab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f2b9
leave
ret
Function at 0x4ad55b
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 0x4ad5f8
push ebx
push esi
call fcn.004ad517
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.004ad454
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4ad5a5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4ad5f7
push edi
push eax
call fcn.004afd5e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4ad5c5
call fcn.004ab239
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4ad5f6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004ad454
add esp, 0x20
test eax, eax
jne 0x4ad5e4
push edi
call fcn.004ab239
jmp 0x4ad5ec
push ebx
call fcn.004ab239
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 0x4ad5fb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4ad60c
pop esi
ret
push ebx
push edi
push esi
call fcn.004ad517
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004afd5e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4ad634
push ebx
push esi
push edi
call fcn.00487e60
add esp, 0xc
push 0
call fcn.004ab239
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4adf23
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ad8a9

Function at 0x4b2076
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004aa593
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b20e5
cmp esi, dword [ebp - 4]
je 0x4b20e0
cmp dword [ebp + 0xc], 0
je 0x4b20e0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b20bd
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004b1bc8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4b20e7
xor eax, eax
inc eax
jmp 0x4b20e7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4b214c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x514380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004aa593
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004aa593
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4b21c3
cmp word [ecx], dx
je 0x4b21c3
mov eax, dword [0x5023a4]
push edi
dec eax
push eax
push 0x502290
call fcn.004b20eb
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4b2236
cmp word [eax], dx
je 0x4b2236
mov eax, dword [edi]
test eax, eax
je 0x4b21e7
cmp word [eax], dx
je 0x4b21e7
lea eax, [ebp - 0x10]
push eax
call fcn.004b1ace
jmp 0x4b21f0
lea eax, [ebp - 0x10]
push eax
call fcn.004b1b69
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4b2260
mov eax, dword [0x50228c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x501f80
call fcn.004b20eb
add esp, 0xc
test al, al
je 0x4b2260
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4b222b
cmp word [eax], di
je 0x4b222b
lea eax, [ebp - 0x10]
push eax
call fcn.004b1ace
pop ecx
jmp 0x4b2262
lea eax, [ebp - 0x10]
push eax
call fcn.004b1b69
jmp 0x4b2228
mov eax, dword [edi]
test eax, eax
je 0x4b224d
cmp word [eax], dx
je 0x4b224d
lea eax, [ebp - 0x10]
push eax
call fcn.004b1a65
pop ecx
jmp 0x4b2260
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4b232b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004b1f70
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4b232b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4b232b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4b232b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b22b8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
sub eax, 0xfffffdb0
push eax
push dword [ebp - 0xc]
call fcn.004b3039
test ebx, ebx
je 0x4b2326
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004b3039
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b232b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b232b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004b82b3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4b232d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f2b9
leave
ret
Function at 0x4b2cab
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5035cc
push 0x5035c4
push str.FlsAlloc
push 0x1f
call fcn.004b2979
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b2cdf
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c8208]
call esi
jmp 0x4b2ce5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4b2d29
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5035dc
push 0x5035d4
push str.FlsGetValue
push 0x21
call fcn.004b2979
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b2d60
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c8208]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4b2d68
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5035e4
push 0x5035dc
push str.FlsSetValue
push 0x22
call fcn.004b2979
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b2da2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4c8208]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4bf41b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x515d10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4bf45b
cmp byte [ebx], 0xa
jne 0x4bf45b
or byte [edi + eax + 0x28], 4
jmp 0x4bf460
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4bf55f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4bf542
inc eax
cmp dl, 0xd
je 0x4bf48c
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4bf4b2
cmp eax, ecx
jae 0x4bf4c0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4bf474
jmp 0x4bf55f
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4bf53d
cmp dword [ebp - 0x10], 0
je 0x4bf53d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x515d10]
test byte [eax + edi + 0x28], 0x48
je 0x4bf517
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4bf502
mov byte [esi], dl
jmp 0x4bf513
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x515d10]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4bf55f
cmp byte [ebp - 1], 0xa
jne 0x4bf526
cmp esi, ebx
jne 0x4bf526
mov byte [esi], 0xa
jmp 0x4bf55e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004bf26d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4bf55f
mov byte [esi], 0xd
jmp 0x4bf55e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x515d10]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4bf55c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4bf55f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4bf568
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x515d10]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4bf5ae
cmp word [ebx], dx
jne 0x4bf5ae
or byte [eax + edi + 0x28], 4
jmp 0x4bf5b3
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4bf716
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4bf6f6
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4bf5f4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4bf62a
cmp eax, edx
jae 0x4bf638
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4bf5cf
jmp 0x4bf716
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4bf6f1
cmp dword [ebp - 0x18], 0
je 0x4bf6f1
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x515d10]
test byte [eax + edi + 0x28], 0x48
je 0x4bf6c7
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4bf68b
mov word [esi], cx
jmp 0x4bf6c2
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x515d10]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x515d10]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x515d10]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4bf716
pop eax
cmp word [ebp - 4], ax
jne 0x4bf6d7
cmp esi, ebx
jne 0x4bf6d7
mov word [esi], ax
jmp 0x4bf713
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004bf26d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4bf716
push 0xd
pop eax
jmp 0x4bf6d2
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x515d10]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4bf710
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4bf716
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c4100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4c412d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4c412d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp int.00401219
Function at 0x401c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401c8b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401cc4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401cc0
jmp 0x401cb0
cmp esi, eax
jae 0x401cc4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401cb0
cmp esi, eax
jb 0x401ccb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4020b0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42864b
mov eax, dword fs:[0]
push eax
mov eax, 0x1224
call fcn.004279a0
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0x208
lea eax, [ebp - 0x21a]
push esi
push eax
mov word [ebp - 0x21c], si
call sub.MSVCR80.dll_memset
mov edx, dword [0x44cc80]
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffe
lea eax, [ebp - 0x121a]
push esi
push eax
mov word [ebp - 0x121c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x7ff
lea ecx, [ebp - 0x121c]
push ecx
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebp - 0x121c]
push edx
push 0x42dac4
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x1224], esp
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
lea ecx, [ebp - 0x1224]
push ecx
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::FS::GetParentDir_class_CTXStringW_]
push eax
lea edx, [ebp - 0x1228]
push 0x22
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_wchar_t__class_CTXStringW_const__]
add esp, 0x14
mov esi, dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
push eax
lea eax, [ebp - 0x1230]
push eax
mov byte [ebp - 4], 1
call esi
add esp, 0xc
push eax
lea ecx, [ebp - 0x122c]
push ecx
mov byte [ebp - 4], 2
call esi
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0x1220]
call fcn.00401e80
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x122c]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x1230]
mov byte [ebp - 4], 6
call esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1228]
call esi
lea ecx, [ebp - 0x1224]
mov byte [ebp - 4], 8
call esi
mov edx, dword [ebp - 0x1220]
push edx
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [ebp - 0x1220]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402240
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret
Function at 0x40aef0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429140
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4308a4
call fcn.00401e80
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.0040a5d0
mov eax, dword [esi + 0x34]
test eax, eax
lea edi, [esi + 0x30]
je 0x40af48
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
jne 0x40af5c
push 0xb0
push str..FixWnd.cpp
push str.Assert_failed___File:_s__line:_d__operation:m_vtSeqIds.size__
jmp 0x40b034
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40b025
cmp dword [esi + 8], 0
je 0x40b025
test eax, eax
je 0x40b025
mov edx, dword [eax]
push 1
push eax
mov eax, dword [edx + 0x104]
call eax
mov eax, dword [edi + 4]
test eax, eax
je 0x40af97
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
jne 0x40afab
push 0xb4
push str..FixWnd.cpp
push str.Assert_failed___File:_s__line:_d__operation:m_vtSeqIds.size__
jmp 0x40b034
lea ecx, [ebp + 8]
call fcn.004014e0
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004127f0
mov ecx, eax
mov eax, dword [esi + 0x40]
imul eax, eax, 0x64
xor edx, edx
div ecx
lea edx, [ebp + 8]
push eax
push 0x4307f4
push edx
call fcn.004017c0
mov eax, dword [ebp + 8]
mov esi, dword [esi + 0x10]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00401220
mov edx, dword [eax]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x32c]
push edx
push esi
mov byte [ebp - 4], 1
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp + 8]
call fcn.00412f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xb1
push str..FixWnd.cpp
push str.Assert_failed___File:_s__line:_d__operation:m_pRepairBtnm_pRestartBtnm_pRepairBtn
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4