joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467818
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46782f
add esp, 0xfffffff0
call fcn.00403ba0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422a60
mov eax, dword [0x4a7e18]
cmp word [eax + 2], 0
jne 0x467857
mov eax, dword [0x4a7e18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468f08
mov eax, dword [0x4a7f38]
cmp word [eax + 2], 0
jne 0x467871
mov eax, dword [0x4a7f38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00469100
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a2c4]
call fcn.0040384c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a2c4]
call fcn.0040384c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424fb4]
call fcn.0042c4b8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4679f8
mov eax, dword [0x4a7c94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c888
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4696a0
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a7c94]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dc1c
test eax, eax
je 0x467966
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409600
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dc44
test eax, eax
je 0x46797a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00404900
mov eax, dword [0x4a7ac0]
cmp byte [eax], 0
jne 0x4679ae
mov eax, ebx
call fcn.00467b20
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046987c
mov eax, ebx
call fcn.0046a240
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4679ee
call fcn.00403bf8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467da0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a9be8]
cmp dword [eax + 0x30], 0
je 0x467e4a
cmp dword [ebx + 0x94], 0
jne 0x467e44
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467d30
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467e44
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x467e0a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467e44
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c874
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467e19
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4689ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4689e1
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404780
jmp 0x4689ee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x469a58
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x469a99
mov eax, esi
call fcn.00450180
test al, al
je 0x469a99
mov eax, dword [ebx + 0x84]
call fcn.0044fe7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x469a99
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044fe7c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46cee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
test dl, dl
je 0x46cef1
add esp, 0xfffffff0
call fcn.00403ba0
mov ebx, edx
mov esi, eax
cmp byte [ebp + 8], 0
je 0x46cf09
cmp word [ecx], 0x25ff
jne 0x46cf09
add ecx, 2
mov eax, dword [ecx]
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0xc]
sub eax, ecx
sub eax, 5
mov byte [esi + 8], 0xe9
mov edx, eax
and dl, 0xff
mov byte [esi + 9], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + 0xa], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [esi + 0xb], dl
shr eax, 0x18
and al, 0xff
mov byte [esi + 0xc], al
mov eax, dword [esi + 0x14]
mov al, byte [eax]
mov byte [esi + 0xd], al
mov eax, dword [esi + 0x14]
mov al, byte [eax + 1]
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x14]
mov al, byte [eax + 2]
mov byte [esi + 0xf], al
mov eax, dword [esi + 0x14]
mov al, byte [eax + 3]
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x14]
mov al, byte [eax + 4]
mov byte [esi + 0x11], al
lea eax, [esi + 4]
push eax
push 0x40
push 5
mov eax, dword [esi + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x46cf84
call fcn.0040e398
mov eax, esi
call fcn.0046d014
mov eax, esi
test bl, bl
je 0x46cfa0
call fcn.00403bf8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x470720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426a64
cmp ebx, dword [ebp - 8]
jge 0x470783
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426d74
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426d74
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426da0
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x470749
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47078c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426a64
cmp ebx, dword [ebp - 8]
jge 0x4707ef
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426d74
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426d74
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426da0
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4707b5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x495c78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x495df9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a7a3c], 0
jne 0x495dd6
push 0x4a9d7c
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x495dcf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a7a3c], 0
jne 0x495db7
mov dword [ebp - 4], 0x100
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cdc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b50
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0040898c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x495e10
call fcn.00409ca0
mov eax, dword [ebp - 0xc]
call fcn.00404b50
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x495d38
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cdc
jmp 0x495d6f
lea eax, [ebp - 8]
mov edx, 0x495e30
call fcn.00404728
xor eax, eax
push ebp
push 0x495d65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0047be08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495d6f
mov eax, dword [ebp - 8]
call fcn.00404b50
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a7a3c], eax
cmp dword [0x4a7a3c], 0
jne 0x495da2
mov ecx, dword [0x4a7de0]
mov dl, 1
mov eax, dword [0x407d10]
call fcn.0040ce4c
call fcn.004040cc
push 0x495e3c
mov eax, dword [0x4a7a3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a9d94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495dd6
push 0x4a9d7c
call sub.kernel32.dll_LeaveCriticalSection_1
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495e00
lea eax, [ebp - 0x18]
call fcn.00404690
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046b4
ret
Function at 0x4a12fc
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4a1337
cmp dword [ebx + 0x5c], 0
je 0x4a1337
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.004999e0
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4a1482
cmp dword [ebx + 0x7c], 0
jne 0x4a135d
mov dl, 1
mov eax, dword [0x41a380]
call fcn.0040384c
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4a145b
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4a1488]
push eax
mov al, byte [0x4a148c]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4a7e08]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x491d0c]
call fcn.00493b78
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a1454
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004999e0
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.004999e0
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x49729c]
call fcn.00405b40
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4a1427
mov edx, dword [0x4a8038]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4a1438
cmp eax, 0x1007
jne 0x4a1434
mov byte [ebx + 0x74], 0x18
jmp 0x4a1438
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1482
mov eax, dword [ebp - 4]
call fcn.0040387c
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004999e0
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43d890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
jmp 0x43d8aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43d8b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43d8a0
mov eax, 1
add ebx, ebx
jne 0x43d8c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43d8b8
jne 0x43d8d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d8b8
xor ecx, ecx
sub eax, 3
jb 0x43d8e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43d95a
mov ebp, eax
add ebx, ebx
jne 0x43d8f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43d900
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43d924
inc ecx
add ebx, ebx
jne 0x43d910
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43d905
jne 0x43d921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d905
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43d944
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43d935
jmp 0x43d8a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43d944
add edi, ecx
jmp 0x43d8a6
pop esi
mov edi, esi
mov ecx, 0x293
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43d962
cmp byte [edi], 5
jne 0x43d962
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 0x43d967
lea edi, [esi + 0x3b000]
mov eax, dword [edi]
or eax, eax
je 0x43d9d6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x509c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x509ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43d994
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x509f4]
or eax, eax
je 0x43d9d0
mov dword [ebx], eax
add ebx, 4
jmp 0x43d9b1
call dword [esi + 0x509f0]
mov ebp, dword [esi + 0x509f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x43da0a
sub esp, 0xffffff80
jmp 0x4022b8
Function at 0x401bd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x7ab5a8
push 0x104
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
push 0x422700
push str.TName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
jne 0x401c26
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409948
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x41d2a0
push 1
push 0
push 0x41d2c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401c76
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
mov ecx, 1
cmovns esi, ecx
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00409948
mov esp, ebp
pop ebp
ret

Function at 0x401c90
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040be50
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4226fc
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00409a21
add esp, 0xc
lea eax, [ebp - 0x210]
push str.7k7kLegend_
push 0x104
push eax
call fcn.00409a21
add esp, 0xc
lea eax, [ebp - 0x210]
push str.WeiDuanN_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x7ab7b0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x401d50
push 0x7ab5a8
push 0x104
push 0x7ab7b0
push 0x422700
push str.StartMenuPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x7ab7b0
call fcn.004019a0
call fcn.00401bd0
lea ecx, [ebp - 0x210]
call fcn.004019a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409948
mov esp, ebp
pop ebp
ret
Function at 0x406c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x340
call fcn.0040a24e
mov edi, eax
add esp, 4
test edi, edi
je 0x406c42
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x134], 0xffffffff
jmp 0x406c44
xor edi, edi
cmp dword [edi], 0
jne 0x406c9a
cmp dword [edi + 4], 0xffffffff
jne 0x406c9a
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4226fc
push 0x104
push esi
call fcn.00409a21
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
call fcn.004053c0
add esp, 8
test eax, eax
jne 0x406c8a
mov eax, dword [ebp - 4]
jmp 0x406c9f
mov ecx, eax
call fcn.00405780
mov dword [edi], eax
mov eax, dword [0x7ab9c0]
jmp 0x406c9f
mov eax, 0x1000000
mov dword [0x7ab9bc], eax
test eax, eax
je 0x406cb9
push edi
call fcn.00409943
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 8
call fcn.0040a24e
add esp, 4
mov dword [eax + 4], edi
pop edi
mov dword [eax], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406e00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x406f4f
push ebx
mov bl, byte [ebp + 0xa]
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x406e20
mov dl, byte [esi + str.aWtsaXQ]
cmp dl, 0x2b
jne 0x406e2f
mov dl, 0x3e
jmp 0x406e5d
cmp dl, 0x2f
jne 0x406e38
mov dl, 0x3f
jmp 0x406e5d
cmp dl, 0x39
jg 0x406e42
add dl, 4
jmp 0x406e5d
cmp dl, 0x3d
je 0x406e5b
cmp dl, 0x5a
jg 0x406e51
sub dl, 0x41
jmp 0x406e5d
cmp dl, 0x7a
jg 0x406e5b
sub dl, 0x47
jmp 0x406e5d
mov dl, 0x40
mov cl, byte [esi + 0x4228b1]
cmp cl, 0x2b
jne 0x406e6c
mov cl, 0x3e
jmp 0x406e9a
cmp cl, 0x2f
jne 0x406e75
mov cl, 0x3f
jmp 0x406e9a
cmp cl, 0x39
jg 0x406e7f
add cl, 4
jmp 0x406e9a
cmp cl, 0x3d
je 0x406e98
cmp cl, 0x5a
jg 0x406e8e
sub cl, 0x41
jmp 0x406e9a
cmp cl, 0x7a
jg 0x406e98
sub cl, 0x47
jmp 0x406e9a
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228b2]
cmp al, 0x3d
je 0x406ef7
mov bl, al
cmp bl, 0x2b
jne 0x406ec0
mov bl, 0x3e
jmp 0x406ee9
cmp bl, 0x2f
jne 0x406ec9
mov bl, 0x3f
jmp 0x406ee9
cmp bl, 0x39
jg 0x406ed3
add bl, 4
jmp 0x406ee9
cmp bl, 0x5a
jg 0x406edd
sub bl, 0x41
jmp 0x406ee9
cmp bl, 0x7a
jg 0x406ee7
sub bl, 0x47
jmp 0x406ee9
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228b3]
cmp al, 0x3d
je 0x406f36
cmp al, 0x2b
jne 0x406f09
mov al, 0x3e
jmp 0x406f2b
cmp al, 0x2f
jne 0x406f11
mov al, 0x3f
jmp 0x406f2b
cmp al, 0x39
jg 0x406f19
add al, 4
jmp 0x406f2b
cmp al, 0x5a
jg 0x406f21
sub al, 0x41
jmp 0x406f2b
cmp al, 0x7a
jg 0x406f29
sub al, 0x47
jmp 0x406f2b
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [edi + edx], cl
inc edi
add esi, 4
cmp esi, 8
jb 0x406e20
mov byte [edi + edx], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x4078a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x10b8
call fcn.0040a24e
mov edi, eax
add esp, 4
test edi, edi
je 0x4079bd
push str.http:__tj.wudiyou.com:8800_
push 0x824
push edi
call fcn.00409a8d
add esp, 0xc
lea eax, [edi + 0x104c]
push str.7k7k_REPORT
push 0x32
push eax
call fcn.00409a8d
add esp, 0xc
mov dword [edi + 0x10b0], 0x1b
call fcn.004079d0
push 1
mov dword [edi + 0x10b4], eax
call fcn.0040a24e
add esp, 4
mov dword [0x7ab9c4], eax
mov ecx, edi
call fcn.00407e50
push 0x7ab5a8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4079bd
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040be50
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [edi + 0x1048]
push 0x424784
push eax
call fcn.004086e0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x7ab5a8
push eax
push str.Service_Value
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [edi + 0x10b4]
lea eax, [ebp - 0x210]
push 0x424784
push eax
call fcn.004086e0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x7ab5a8
push eax
push str.InstallID
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00409948
mov esp, ebp
pop ebp
ret

Function at 0x407bc0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2888
call fcn.00415880
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x407c9d
lea eax, [ebp - 0x2888]
mov dword [ebp - 0x2888], 0x2880
push eax
lea eax, [ebp - 0x2884]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x407c9d
lea eax, [ebp - 0x2884]
nop
cmp byte [eax + 0x194], 0
jne 0x407c5d
cmp byte [eax + 0x195], 0
jne 0x407c5d
cmp byte [eax + 0x196], 0
jne 0x407c5d
cmp byte [eax + 0x197], 0
jne 0x407c5d
cmp byte [eax + 0x198], 0
jne 0x407c5d
cmp byte [eax + 0x199], 0
jne 0x407c5d
mov eax, dword [eax]
test eax, eax
jne 0x407c10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409948
mov esp, ebp
pop ebp
ret 4
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02X__02X__02X__02X__02X__02X
push 0x32
push esi
call fcn.0040b1c1
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00409948
mov esp, ebp
pop ebp
ret 4
Function at 0x408e60
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
mov dword [0x7ab9f4], 1
mov byte [0x7ab9c8], 0
call fcn.00409957
add esp, 4
mov dword [0x7ab9ec], eax
test eax, eax
je 0x408ebc
mov ecx, esi
mov dword [0x7ab9f0], eax
mov dword [0x7aba00], 0x67452301
mov dword [0x7aba04], 0xefcdab89
mov dword [0x7aba08], 0x98badcfe
mov dword [0x7aba0c], 0x10325476
pop esi
jmp fcn.00409710
pop esi
ret