joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e90e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movups xmm0, xmmword [0x606044]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x84], eax
mov eax, dword [0x606064]
movups xmmword [ebp - 0x34], xmm0
push esi
movups xmm0, xmmword [0x606054]
mov dword [ebp - 0x14], eax
mov ax, word [0x606068]
push edi
mov byte [ebp - 0x65], 0
mov dword [ebp - 0xc], 0x3a0020
mov dword [ebp - 8], 0x5c
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x6c], esi
mov dl, bl
test dl, dl
jne 0x4e92d7
mov eax, 1
mov ecx, edi
shl eax, cl
test esi, eax
je 0x4e92cd
lea eax, [edi + 0x41]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4e918e
cmp eax, 6
jne 0x4e92ca
push 0
push 0
push 3
push 0
lea eax, [ebx + 0x30]
inc ebx
push 7
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x34]
push 0xc0000000
push eax
mov dword [ebp - 0x70], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4e92c7
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push 0x18
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x74080
push ebx
movups xmmword [ebp - 0x64], xmm0
movq qword [ebp - 0x54], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4e92c0
push 0x221
call fcn.005ad9be
mov esi, eax
add esp, 4
test esi, esi
je 0x4e92bd
push 0
lea eax, [ebp - 0x78]
mov byte [esi + 0xa], 0xec
push eax
push 0x221
push esi
push 0x21
push esi
push 0x7c088
push ebx
mov dword [ebp - 0x78], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4e92b4
lea eax, [esi + 0x10]
test eax, eax
je 0x4e92b4
cmp dword [esi], 0x2e
jbe 0x4e92b4
push 0x13
push 0xa
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004e8060
mov ecx, dword [ebp - 0x7c]
add esp, 0x10
push eax
call fcn.004b85a0
lea ecx, [ebp - 0x4c]
call fcn.004b3140
push 0x2e
push 0x1b
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004e8060
mov ecx, dword [ebp - 0x80]
add esp, 0x10
push eax
call fcn.004b85a0
lea ecx, [ebp - 0x4c]
call fcn.004b3140
push 0x1a
push 0x17
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004e8060
mov ecx, dword [ebp - 0x84]
add esp, 0x10
push eax
call fcn.004b85a0
lea ecx, [ebp - 0x4c]
call fcn.004b3140
mov byte [ebp - 0x65], 1
push esi
call fcn.005ad75d
add esp, 4
mov esi, dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x70]
mov dl, byte [ebp - 0x65]
inc edi
cmp edi, 0x20
jl 0x4e9156
mov ecx, dword [ebp - 4]
mov al, dl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret
Function at 0x4eafa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
lea eax, [esi + 0x18]
push eax
call fcn.0058c8f0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x58], 0
pop esi
pop ebp
ret
Function at 0x4ee200
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edbfd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], 1
call fcn.0058c8f0
mov bl, byte [ebp + 0xc]
add esp, 0xc
mov ecx, 0x1a
test bl, bl
mov eax, 0x23
cmovne eax, ecx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4ee360
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ee2c7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00449bc0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
mov dword [ebp - 4], 1
call fcn.0044ed80
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00449860
mov ecx, esi
test bl, bl
je 0x4ee330
push 0x13
push str.TencentDeskUpdate
jmp 0x4ee337
push 0x10
push str.TencentDesktop
call fcn.0044ed80
push esi
call fcn.004eef40
add esp, 4
test al, al
jne 0x4ee352
push esi
call fcn.004eda40
add esp, 4
push 0xa
push 0x606494
mov ecx, esi
call fcn.0044ed80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret
Function at 0x4ee380
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edc38
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004ee200
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], 0
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ee4b6
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004ee200
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x290]
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call esi
cmp eax, 0xffffffff
je 0x4ee433
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4ee48a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call esi
cmp eax, 0xffffffff
je 0x4ee48a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4ee48a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call edi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00449860
cmp esi, 0xffffffff
je 0x4ee4f9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x10
jb 0x4ee4f2
push 0
lea eax, [ebp - 0x298]
push eax
push edi
push dword [ebp - 0x294]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ee4f2
cmp dword [ebp - 0x298], edi
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4ee52f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ee525
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ee54f
push edx
push ecx
call fcn.0050ed4e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret 4
call fcn.005978c6
int3
Function at 0x4efb60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ede60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0050ed1e
mov edi, eax
add esp, 4
test edi, edi
je 0x4efc0b
push 1
mov dword [ebp - 4], 0
call fcn.004f3d4d
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x52d240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x12c], 0
je 0x52d3e9
push edi
mov edi, dword [esi + 0x258]
test edi, edi
je 0x52d3e8
mov eax, dword [esi + 0x4cc]
add eax, dword [esi + 0x10c]
mov ecx, dword [edi + 0x78]
mov edx, dword [esi + 0x108]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x74]
sub ecx, eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], edx
test ecx, 0xfffffffc
jle 0x52d377
nop
mov ecx, dword [eax + ebx*4]
test byte [ecx], 1
jne 0x52d360
mov ecx, dword [esi + 0x258]
cmp dword [ecx + 0x84], 0
je 0x52d2d2
push dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
push edx
add eax, 0xc
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0x74]
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
push edx
add eax, 0x1c
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esi + 0x258]
cmp dword [edx + 0x2c], 2
jne 0x52d30b
mov eax, dword [edx + 0x74]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov eax, dword [eax + ebx*4]
add eax, 0x3c
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esi + 0x258]
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + ebx*4]
test dword [ecx], 0x3442100
je 0x52d35d
mov eax, dword [edx + 0x74]
push 0
push dword [ebp - 0x18]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 0x58]
sub edx, dword [ecx + 0x50]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x258]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 0x50]
add eax, edx
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x258]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + ebx*4]
add eax, 0x4c
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0x74]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x78]
inc ebx
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jl 0x52d2a0
mov edi, dword [esi + 0x258]
push 0
mov ecx, edi
call fcn.005376a0
mov ebx, dword [ebp - 0x18]
test eax, eax
jne 0x52d3a5
push dword [ebp - 0x1c]
mov ecx, dword [esi + 0x258]
push ebx
push eax
call fcn.00537630
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
add eax, 0x14
push eax
call edi
jmp 0x52d3ab
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [esi + 0x2c0], 0
je 0x52d3e7
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea ecx, [esi + 0x290]
movups xmmword [ebp - 0x14], xmm0
call fcn.00519780
test eax, eax
je 0x52d3e7
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push ebx
push eax
call edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x290]
call fcn.0051a690
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret
Function at 0x539910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x539921
mov eax, 8
jmp 0x539947
cmp eax, 1
jne 0x53992d
mov eax, 0x3c
jmp 0x539947
cmp eax, 2
jne 0x539939
mov eax, 0x70
jmp 0x539947
cmp eax, 3
jne 0x5399c2
mov eax, 0xa4
push edi
lea edi, [ecx + eax]
test edi, edi
je 0x5399c1
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5399c0
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5399c0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5399a5
cmp dword [ebp + 0xc], 0
jne 0x5399c0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push esi
push eax
call fcn.0051f770
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x539994
xorps xmm0, xmm0
movups xmmword [edi + 0x24], xmm0
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop edi
xor eax, eax
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 0
je 0x5399c0
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x14]
push esi
call fcn.005397f0
add esp, 8
pop esi
pop edi
xor eax, eax
pop ebp
ret 0x10

Function at 0x53a3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x14]
cmp dword [eax - 0xc], 0
jne 0x53a425
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x53a425
test esi, esi
jne 0x53a3e7
xor ecx, ecx
jmp 0x53a3ff
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x53a3f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebx + 0x14]
call fcn.004c0470
mov eax, dword [ebx + 0x14]
cmp dword [eax - 0xc], 0
je 0x53a425
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x53a425
pop edi
pop esi
pop ebx
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0055c6f0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x545d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f31e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004bc730
mov ecx, dword [eax]
or ebx, 0xffffffff
mov esi, dword [edi + 0xc]
sub esi, 0x10
mov dword [ebp - 4], 0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x545da1
cmp dword [esi + 0xc], 0
jl 0x545d95
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x545d95
push edx
call fcn.004bfdc0
add esp, 4
mov dword [ebp + 8], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x545d8d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [edi + 0xc], eax
jmp 0x545da1
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0xc]
call fcn.004c0470
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x545dc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0xc]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x545dd7
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
test esi, esi
jne 0x545ddf
lea ecx, [edi + 0xc]
call fcn.004bd3a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x548600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x548622
push 1
push 0
push 0
push eax
push 0x5ff750
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 4
Function at 0x548630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3588
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x5487a0
call fcn.004bfba0
mov ecx, eax
test ecx, ecx
je 0x5487b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x60ada8
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004c4a30
test al, al
jne 0x5486a6
push 3
push 0x60ada8
lea ecx, [ebp - 0x10]
call fcn.004c0470
mov dword [ebp - 4], 1
call fcn.004bfba0
mov ecx, eax
test ecx, ecx
je 0x5487bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push str.http:__pyhelp.qq.com_cgi_bin_pyidjump.so_
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004c4a30
test al, al
jne 0x5486eb
push 0x29
push str.http:__pyhelp.qq.com_cgi_bin_pyidjump.so_
lea ecx, [ebp + 8]
call fcn.004c0470
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004bc8d0
push esi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.004bc8d0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
add esp, 0x18
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x548733
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x548751
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x548772
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0
push 0
push dword [ebp - 0x14]
push 0x5ff750
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x5487a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004b3510
push 0x80004005
call fcn.004b3510
int3
Function at 0x54a220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3961
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
mov edi, 1
jne 0x54a374
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x54a27d
mov eax, dword [ecx]
push edi
call dword [eax]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], 0
test ecx, ecx
je 0x54a27d
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [esi + 0xc], 0
push 0x1f8
call fcn.0050ed1e
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x54a2a1
mov ecx, eax
call fcn.00548cd0
jmp 0x54a2a3
xor eax, eax
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x54a2c4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], 0
push str.XML_FILE
push 0x2135
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x54a374
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x54a2f2
xor edi, edi
jmp 0x54a374
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x54a374
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x54a311
xor edi, edi
jmp 0x54a374
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x54a325
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], 0
push 0x48
call fcn.0050ed1e
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x54a348
mov ecx, eax
call fcn.00458450
mov ecx, eax
jmp 0x54a34a
xor ecx, ecx
push 1
mov dword [esi + 8], ecx
mov eax, dword [ecx]
push 0
push ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 8]
push dword [esi + 8]
mov ecx, esi
call fcn.0054cd40
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, 1
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x54a38a
add ecx, 4
push ecx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.005498d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5698b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4de0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004bc730
add edi, 0x18
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004bfcd0
mov edx, dword [ebp + 8]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x569919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x56996c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
test esi, esi
je 0x56996c
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00567f60
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004bfcd0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x569973
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x569973
mov ecx, edi
call fcn.004bd3a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4