joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40efe0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*4]
sub ecx, eax
neg ecx
add ecx, ecx
lea edx, [ecx + ecx]
mov ecx, 0xc
sub ecx, edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
push ecx
xor esi, esi
call fcn.0043e93e
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x40f039
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 2
jle 0x40f0c2
lea edx, [edi - 3]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx*4]
sub eax, edx
neg eax
add edi, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], edi
movzx eax, byte [ebx]
movzx edi, byte [ebx + 1]
mov edx, eax
shr edx, 2
movzx edx, byte [edx + 0x4691c0]
mov byte [ecx + esi], dl
and eax, 3
add eax, eax
mov edx, edi
shr edx, 4
movzx eax, byte [edx + eax*8 + 0x4691c0]
mov byte [ecx + esi + 1], al
movzx eax, byte [ebx + 2]
mov edx, eax
shr edx, 6
and edi, 0xf
movzx edx, byte [edx + edi*4 + 0x4691c0]
and eax, 0x3f
movzx eax, byte [eax + 0x4691c0]
mov byte [ecx + esi + 2], dl
mov byte [ecx + esi + 3], al
add esi, 4
add ebx, 3
dec dword [ebp - 4]
jne 0x40f062
mov edi, dword [ebp + 8]
test edi, edi
je 0x40f122
movzx edi, byte [ebx]
mov edx, edi
shr edx, 2
mov al, byte [edx + 0x4691c0]
and edi, 3
cmp dword [ebp + 8], 1
mov byte [ecx + esi], al
jle 0x40f10b
movzx eax, byte [ebx + 1]
mov edx, eax
shr edx, 4
add edi, edi
mov dl, byte [edx + edi*8 + 0x4691c0]
and eax, 0xf
mov al, byte [eax*4 + 0x4691c0]
mov byte [ecx + esi + 1], dl
mov byte [ecx + esi + 2], al
mov byte [ecx + esi + 3], 0x3d
jmp 0x40f11f
shl edi, 4
mov dl, byte [edi + 0x4691c0]
mov byte [ecx + esi + 1], dl
mov word [ecx + esi + 2], 0x3d3d
add esi, 4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40f12b
mov dword [eax], esi
pop edi
mov byte [ecx + esi], 0
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f2f0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x400
mov edi, ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ebx
call fcn.0043e1b9
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40f37e
push 0x5c
lea ecx, [ebp - 0x60]
push ebx
push ecx
call fcn.00442420
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push edi
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40f391
push esi
call fcn.0043f601
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x64]
push edx
push 0x400
push esi
push edi
call ebx
test eax, eax
je 0x40f3d8
lea esp, [esp]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40f3d8
push eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0041e740
add esp, 0xc
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0x400
push esi
push edi
call ebx
test eax, eax
jne 0x40f3b0
push 0x400
push 0
push esi
call fcn.00442420
lea edx, [ebp - 0x60]
push edx
push esi
call fcn.0041ea90
movzx eax, byte [esi + 0xf]
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push ecx
movzx ecx, byte [esi + 0xb]
push edx
movzx edx, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push ecx
movzx ecx, byte [esi + 8]
push edx
movzx edx, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push ecx
movzx ecx, byte [esi + 5]
push edx
movzx edx, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
push edx
movzx edx, byte [esi + 1]
push eax
movzx eax, byte [esi]
push ecx
mov ecx, dword [ebp - 0x68]
push edx
push eax
push 0x45af78
push 0x23
push ecx
call fcn.0043f233
add esp, 0x60
push esi
call fcn.0043f601
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x4100b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push 0x208
lea ecx, [ebp - 0x20e]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x210], ax
call fcn.00442420
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
push 0x20019
push ebx
push str.SOFTWARETencentQQPCMgr
push closesocket
mov dword [ebp - 0x228], 0x104
xor esi, esi
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x410190
mov eax, dword [ebp - 0x214]
push edi
push str.InstallDir
lea ecx, [ebp - 0x224]
push ecx
lea edi, [ebp - 0x228]
lea esi, [ebp - 0x210]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
call fcn.004073d0
pop edi
test eax, eax
jne 0x41017d
push str.QQPCMgr.exe
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [ebx + 1]
test eax, eax
jne 0x41017f
mov esi, ebx
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x410190
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x413470
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
push ecx
mov dword [ebp - 0x1c], eax
call ebx
mov edx, dword [edi + 4]
push edx
mov esi, eax
call ebx
mov edi, eax
xor ebx, ebx
mov eax, dword [ebx + str.37k_IF__y_d]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + ebx - 0x14], eax
add ebx, 4
cmp ebx, 0x10
jl 0x4134a2
xor eax, eax
mov dword [ebp - 0x18], 0x10
mov ecx, edi
shr ecx, 5
add ecx, dword [ebp - 0x10]
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x14]
sub eax, 0x61c88647
xor ecx, edx
lea edx, [eax + edi]
xor ecx, edx
add esi, ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [ebp - 8]
mov edx, esi
shl edx, 4
add edx, dword [ebp - 0xc]
xor ecx, edx
lea edx, [eax + esi]
xor ecx, edx
add edi, ecx
dec dword [ebp - 0x18]
jne 0x4134c4
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov ebx, dword [ebp - 0x1c]
push edi
mov dword [ebx], eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret

Function at 0x413530
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
push ecx
mov dword [ebp - 0x1c], eax
call ebx
mov edx, dword [esi + 4]
push edx
mov edi, eax
call ebx
mov esi, eax
xor ebx, ebx
mov eax, dword [ebx + str.37k_IF__y_d]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + ebx - 0x14], eax
add ebx, 4
cmp ebx, 0x10
jl 0x413562
mov eax, 0xe3779b90
mov dword [ebp - 0x18], 0x10
mov ecx, edi
shr ecx, 5
add ecx, dword [ebp - 8]
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0xc]
xor ecx, edx
lea edx, [eax + edi]
xor ecx, edx
sub esi, ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [ebp - 0x10]
mov edx, esi
shl edx, 4
add edx, dword [ebp - 0x14]
xor ecx, edx
lea edx, [eax + esi]
xor ecx, edx
sub edi, ecx
add eax, 0x61c88647
dec dword [ebp - 0x18]
jne 0x413587
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov ebx, dword [ebp - 0x1c]
push esi
mov dword [ebx], eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x413bd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x5c
push eax
mov byte [esi + 0x20], al
lea eax, [ebp - 0x60]
push eax
mov ebx, ecx
call fcn.00442420
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
jb 0x413c4b
mov ebx, dword [ebx]
push eax
lea ecx, [ebp - 0x60]
push ebx
push ecx
call fcn.0041e740
lea edx, [ebp - 0x60]
push edx
push edi
call fcn.0041ea90
add esp, 0x14
xor ebx, ebx
mov dword [ebp - 0x64], esi
movzx eax, byte [edi + ebx]
mov ecx, dword [ebp - 0x64]
push eax
push 0x45cf80
push 2
push 3
push ecx
call fcn.0043f251
add dword [ebp - 0x64], 2
inc ebx
add esp, 0x14
cmp ebx, 0x10
jb 0x413c68
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [esi + 0x20], 0
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x4145e0
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455060
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x468100]
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
push 0
lea edi, [ebp - 0x48]
mov byte [ebp - 0x299], 0
call fcn.00414840
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x414634
mov eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 3
push 0
push 1
push closesocket
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x41473a
push 1
lea edi, [ebp - 0x2c]
call fcn.00414840
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x414678
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x298]
push ecx
push eax
call esi
cmp eax, 0xffffffff
je 0x414696
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4146ed
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4146a1
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x298]
push edx
push eax
call esi
cmp eax, 0xffffffff
je 0x4146ed
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4146c2
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4146cd
lea eax, [ebp - 0x2c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4146ed
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4146e6
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4146f8
lea eax, [ebp - 0x2c]
push 0
push 0
push 3
push 0
push 1
push closesocket
push eax
call ebx
mov byte [ebp - 4], 0
mov esi, eax
cmp dword [ebp - 0x18], edi
jb 0x414721
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043e7d7
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp esi, 0xffffffff
je 0x414787
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jb 0x414778
push 0
lea edx, [ebp - 0x2a0]
push edx
push 0x10
push section..QMGuid
push esi
mov dword [ebp - 0x2a0], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414778
cmp dword [ebp - 0x2a0], 0x10
mov bl, 1
je 0x41477e
mov bl, byte [ebp - 0x299]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414789
mov bl, cl
cmp dword [ebp - 0x34], 8
jb 0x41479b
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043e7d7
add esp, 4
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.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x414840
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45501d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov esi, 7
xor eax, eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x240], edi
mov word [edi], ax
push 0x208
lea ecx, [ebp - 0x21c]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov dword [ebp - 0x23c], 1
call fcn.00442420
movzx edx, byte [ebp + 8]
add esp, 0xc
neg edx
sbb edx, edx
push 1
and edx, 0xfffffff7
add edx, 0x23
push edx
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41497f
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4148f2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x238]
call fcn.004017a0
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
mov esi, edi
mov dword [ebp - 4], 1
call fcn.00401470
mov byte [ebp - 4], bl
cmp dword [ebp - 0x224], 8
jb 0x414943
mov eax, dword [ebp - 0x238]
push eax
call fcn.0043e7d7
add esp, 4
mov ecx, edi
cmp byte [ebp + 8], bl
je 0x414953
push 0x13
mov eax, str.TencentDeskUpdate
jmp 0x41495a
push 0x10
mov eax, str.TencentDesktop
call fcn.00401560
mov ecx, edi
call fcn.004149a0
test al, al
jne 0x414971
mov ecx, edi
call fcn.00414ad0
push 0xa
mov eax, str.Global.db
mov ecx, edi
call fcn.00401560
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x416ab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45435b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x468100]
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 esi, esi
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
push 0x410
lea edx, [ebp - 0x422]
xor ecx, ecx
push esi
mov dword [ebp - 4], esi
push edx
mov word [ebp - 0x424], cx
call fcn.00442420
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x20019
push esi
push str.SOFTWARETencentQQ2009
push closesocket
mov dword [ebp - 0x428], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x416b8b
mov ebx, dword [ebp - 0x428]
push str.Install
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x430], esi
push ecx
lea edi, [ebp - 0x428]
lea esi, [ebp - 0x424]
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x428], 0x208
call fcn.004073d0
test eax, eax
je 0x416b8f
test ebx, ebx
je 0x416b8b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x416c00
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x416ba4
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 0x434], ebx
lea edx, [ebp - 0x424]
push edx
mov dword [ebp - 0x430], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416bca
test ebx, ebx
je 0x416bc6
push ebx
call edi
xor eax, eax
jmp 0x416c00
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416bd3
mov esi, dword [ebp - 0x438]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x424]
call fcn.004017a0
test ebx, ebx
je 0x416bfb
push ebx
call edi
mov eax, 1
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.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x417030
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x400
mov edi, ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ebx
call fcn.0043e1b9
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4170be
push 0x5c
lea ecx, [ebp - 0x60]
push ebx
push ecx
call fcn.00442420
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push edi
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4170d1
push esi
call fcn.0043f601
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x64]
push edx
push 0x400
push esi
push edi
call ebx
test eax, eax
je 0x417118
lea esp, [esp]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x417118
push eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0041e740
add esp, 0xc
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0x400
push esi
push edi
call ebx
test eax, eax
jne 0x4170f0
push 0x400
push 0
push esi
call fcn.00442420
lea edx, [ebp - 0x60]
push edx
push esi
call fcn.0041ea90
movzx eax, byte [esi + 0xf]
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push ecx
movzx ecx, byte [esi + 0xb]
push edx
movzx edx, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push ecx
movzx ecx, byte [esi + 8]
push edx
movzx edx, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push ecx
movzx ecx, byte [esi + 5]
push edx
movzx edx, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
push edx
movzx edx, byte [esi + 1]
push eax
movzx eax, byte [esi]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 0x68]
push eax
push 0x45af78
push ecx
push edx
call fcn.0043f233
add esp, 0x60
push esi
call fcn.0043f601
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret
Function at 0x417d10
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x468100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
push ecx
mov dword [ebp - 0x1c], eax
call ebx
mov edx, dword [esi + 4]
push edx
mov edi, eax
call ebx
mov esi, eax
xor ebx, ebx
mov eax, dword [ebx + 0x45a680]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + ebx - 0x14], eax
add ebx, 4
cmp ebx, 0x10
jl 0x417d42
mov eax, 0xe3779b90
mov dword [ebp - 0x18], 0x10
mov ecx, edi
shr ecx, 5
add ecx, dword [ebp - 8]
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0xc]
xor ecx, edx
lea edx, [eax + edi]
xor ecx, edx
sub esi, ecx
mov ecx, esi
shr ecx, 5
add ecx, dword [ebp - 0x10]
mov edx, esi
shl edx, 4
add edx, dword [ebp - 0x14]
xor ecx, edx
lea edx, [eax + esi]
xor ecx, edx
sub edi, ecx
add eax, 0x61c88647
dec dword [ebp - 0x18]
jne 0x417d67
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov ebx, dword [ebp - 0x1c]
push esi
mov dword [ebx], eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret

Function at 0x418000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x45de58
push eax
lea ecx, [ebp - 4]
xor esi, esi
push ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call fcn.0044083e
mov eax, dword [ebp - 4]
add esp, 0xc
cmp eax, esi
jne 0x41802f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 2
push esi
push eax
call fcn.00440d6f
mov edx, dword [ebp - 4]
push edx
call fcn.00440c80
mov esi, eax
add esp, 0x10
cmp esi, 0x2800
jge 0x4180dd
cmp esi, 0xffffffff
je 0x4180dd
push ebx
push edi
push esi
call fcn.0043e1b9
mov edi, eax
lea eax, [esi + 0x40]
push eax
mov dword [ebp - 8], eax
call fcn.0043e1b9
push esi
push 0
push edi
mov ebx, eax
call fcn.00442420
mov eax, dword [ebp - 8]
push eax
push 0
push ebx
call fcn.00442420
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
call fcn.00440d6f
mov edx, dword [ebp - 4]
push edx
push esi
push 1
push edi
call fcn.00440acf
lea eax, [ebp - 8]
push eax
push ebx
mov edx, esi
mov ecx, edi
call fcn.00417dd0
add esp, 0x44
test al, al
je 0x4180cc
mov ecx, dword [ebp + 8]
push ecx
mov eax, ebx
call fcn.004157c0
add esp, 4
mov dword [ebp - 0xc], 1
push ebx
call fcn.0043f601
push edi
call fcn.0043f601
add esp, 8
pop edi
pop ebx
mov edx, dword [ebp - 4]
push edx
call fcn.00440e58
mov eax, dword [ebp - 0xc]
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x463388
push 0x446280
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x468100]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x430], ax
push 0x410
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x42e]
push ecx
call fcn.00442420
add esp, 0xc
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x43c], ebx
push 0x208
lea edx, [ebp - 0x430]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
je 0x4181ca
lea ecx, [edi + 4]
push ecx
call fcn.0043e93e
add esp, 4
mov esi, eax
mov dword [ebp - 0x434], esi
cmp esi, ebx
je 0x4181ca
push esi
push edi
push ebx
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4181d6
push esi
call fcn.0043e904
add esp, 4
mov dword [ebp - 0x434], ebx
mov dword [ebp - 4], 0xfffffffe
jmp 0x418258
mov dword [ebp - 0x438], ebx
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x438]
push ecx
push 0x45b4a4
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4181bb
mov eax, dword [ebp - 0x438]
movzx edx, word [eax + 0xa]
mov dword [0x49efbc], edx
movzx ecx, word [eax + 8]
mov dword [0x49efc0], ecx
movzx edx, word [eax + 0xe]
mov dword [0x49efc4], edx
movzx eax, word [eax + 0xc]
mov dword [0x49efc8], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x41825a
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043e1c4
mov esp, ebp
pop ebp
ret