joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ba60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18c0
call fcn.004ff310
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x18b4], edi
cmp word [edi], 0
jne 0x44ba9a
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp word [edi + 0x208], 0
jne 0x44bab7
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 8], 0
je 0x44bad1
mov dword [edi + 0x1670], 0
mov dword [edi + 0x165c], 0
push ebx
push esi
mov esi, dword [edi + 0x1670]
lea ecx, [edi + 0x1670]
push 1
push esi
push edi
mov dword [ebp - 0x18bc], esi
call fcn.0044b650
push edi
mov ecx, edi
call fcn.0044b480
cmp esi, dword [edi + 0x1670]
jge 0x44bcb5
imul ebx, esi, 0x208
mov dword [ebp - 0x18b0], ebx
nop
push 0xffffffffffffffff
lea eax, [edi + 0x208]
push eax
lea eax, [ebp - 0x165c]
push 0xa28
push eax
call fcn.00512a62
add esp, 0x10
lea esi, [ebp - 0x165c]
cmp word [ebp - 0x165c], 0
je 0x44bc90
movzx eax, word [edi + 0x1658]
push eax
push esi
call fcn.00500d0a
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18c0], ebx
test ebx, ebx
je 0x44bb63
xor eax, eax
mov word [ebx], ax
mov eax, dword [edi + 0x1674]
push esi
mov esi, dword [ebp - 0x18b0]
add eax, esi
push eax
push 0x5a3e20
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044bcd0
add esp, 0x14
lea eax, [ebp - 0x18ac]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18b8], eax
cmp eax, 0xffffffff
je 0x44bc71
lea ebx, [edi + 0x165c]
nop word [eax + eax]
lea eax, [ebp - 0x1880]
push eax
mov eax, dword [edi + 0x1674]
add eax, esi
push eax
push 0x5a3e20
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044bcd0
xor esi, esi
add esp, 0x14
cmp dword [ebx], esi
jle 0x44bc24
xor edi, edi
mov eax, dword [ebp - 0x18b4]
lea ecx, [ebp - 0x20c]
push ecx
mov eax, dword [eax + 0x1660]
add eax, edi
push eax
call fcn.00512ae9
add esp, 8
test eax, eax
je 0x44bc1e
inc esi
add edi, 0x208
cmp esi, dword [ebx]
jl 0x44bbf1
mov edi, dword [ebp - 0x18b4]
mov eax, dword [ebx]
cmp esi, eax
jne 0x44bc44
test byte [ebp - 0x18ac], 0x10
jne 0x44bc44
push 1
push eax
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0044b650
lea eax, [ebp - 0x18ac]
push eax
push dword [ebp - 0x18b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x18b0]
test eax, eax
jne 0x44bbc0
mov eax, dword [ebp - 0x18b8]
mov ebx, dword [ebp - 0x18c0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x44bc8a
cmp word [ebx + 2], 0
lea esi, [ebx + 2]
jne 0x44bb41
mov ebx, dword [ebp - 0x18b0]
mov eax, dword [ebp - 0x18bc]
add ebx, 0x208
inc eax
mov dword [ebp - 0x18b0], ebx
mov dword [ebp - 0x18bc], eax
cmp eax, dword [edi + 0x1670]
jl 0x44bb10
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x165c]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 4
Function at 0x44c450
Capabilities:
Create thread

Disassembly:
push 0
push 0x118
push 0x9122a8
push 0xffffffffffffffff
push str._DFC_UpdateCheck
call fcn.0042d500
mov eax, dword [0x9123bc]
add esp, 0x14
test eax, eax
jne 0x44c47d
mov byte [0x9123b9], 1
jmp 0x44c482
cmp eax, 7
jg 0x44c48c
mov dword [0x9123bc], 7
cmp byte [0x9123b9], 0
je 0x44c4d0
push 0
call fcn.0050d930
add esp, 4
sub eax, dword [0x9123b0]
mov ecx, eax
sbb edx, dword [0x9123b4]
call fcn.004ff430
movd xmm1, dword [0x9123bc]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x617198]
comisd xmm0, xmm1
ja fcn.0044c390
ret

Function at 0x44c880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x120
push 0x9123c8
push 0xffffffffffffffff
push str._DFC_Archive
call fcn.0042d500
add esp, 0x14
cmp dword [0x9124dc], 1
jge 0x44c8b2
mov dword [0x9124dc], 0xe
cmp dword [0x9124e0], 1
jge 0x44c8c5
mov dword [0x9124e0], 0x1e
cmp byte [0x9124d8], 0
je 0x44c954
push 0
call fcn.0050d930
add esp, 4
sub eax, dword [0x9124d0]
mov ecx, eax
sbb edx, dword [0x9124d4]
call fcn.004ff430
movd xmm2, dword [0x9124dc]
cvtdq2pd xmm2, xmm2
mulsd xmm2, qword [0x617068]
mulsd xmm2, qword [0x617090]
mulsd xmm2, qword [0x617090]
comisd xmm0, xmm2
jbe 0x44c954
cmp byte [0x9124e9], 0
jne 0x44c954
lea eax, [ebp - 4]
mov byte [0x9124e9], 1
push eax
push 0
push 0
push fcn.0044c960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44c94d
mov byte [0x9124e9], al
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x44d380
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor eax, eax
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x44d51b
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x44d51b
mov ecx, dword [ebx]
test ecx, ecx
je 0x44d51b
add ecx, 2
mov eax, 0x55555556
imul ecx
mov eax, 0x6bca1af3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
shl ecx, 2
imul ecx
add ecx, 2
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax*2]
push eax
call fcn.00503e6e
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x44d511
push edi
mov edi, dword [ebx]
test edi, edi
jle 0x44d50c
mov ebx, dword [ebp + 8]
mov eax, ebx
not eax
mov dword [ebp - 8], 2
mov dword [ebp - 0x18], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 3]
mov dword [ebp - 0x14], 0xfffffffe
lea edx, [ebx + 2]
sub dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov bl, byte [edx - 2]
mov ecx, dword [ebp - 0x18]
add ecx, edx
mov byte [ebp - 1], bl
xor bl, bl
mov byte [ebp + 0xb], 0
cmp ecx, edi
mov ecx, dword [ebp - 0xc]
jge 0x44d44c
mov bl, byte [edx - 1]
mov byte [ebp + 0xb], bl
xor bl, bl
cmp eax, edi
jge 0x44d44c
mov bl, byte [edx]
mov bh, byte [ebp + 0xb]
mov al, bl
shr al, 6
and bh, 0xf
shl bh, 2
and bl, 0x3f
or bh, al
movzx eax, byte [ebp - 1]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], al
mov al, byte [ebp - 1]
and al, 3
shl al, 4
movzx ecx, al
movzx eax, byte [ebp + 0xb]
shr eax, 4
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], al
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add ecx, 2
add ecx, esi
add eax, edx
mov dword [ebp + 8], ecx
cmp eax, edi
jge 0x44d4b0
movzx eax, bh
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x44d4b2
mov al, 0x3d
mov ecx, dword [ebp + 8]
mov byte [ecx], al
cmp dword [ebp - 8], edi
jge 0x44d4c7
movzx eax, bl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x44d4c9
mov al, 0x3d
mov ecx, dword [ebp - 0x20]
mov byte [ecx + esi], al
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, 0x13
mov ecx, dword [ebp - 0xc]
jne 0x44d4ed
mov word [ecx + esi + 4], 0xa0d
add esi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xc]
add edx, 3
mov eax, dword [ebp - 0x14]
add esi, 4
add dword [ebp - 8], 3
add eax, edx
mov edi, dword [ebx]
cmp eax, edi
mov eax, dword [ebp - 8]
jl 0x44d426
mov byte [ecx + esi], 0
pop edi
mov dword [ebx], esi
mov eax, ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ddb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [esi + 0x608]
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], edx
mov ebx, eax
test edi, edi
jg 0x44ded1
cmp dword [esi + 0x10], 0
jle 0x44de84
push 0x5dc
push ecx
push dword [esi + 0x610]
xor edi, edi
call fcn.00458a20
add esp, 0xc
mov dword [esi + 0x608], eax
test eax, eax
jg 0x44de1f
push eax
push dword [esi + 0x610]
call fcn.00458410
mov edi, eax
add esp, 8
cmp edi, 2
jne 0x44de1f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [ebp - 4]
cmp edx, ecx
ja 0x44de43
jb 0x44de32
cmp eax, ebx
jae 0x44de43
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
sub eax, ebx
sbb edx, ecx
test edx, edx
ja 0x44deb8
jb 0x44de52
cmp eax, dword [esi + 0x1c]
ja 0x44deb8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x44de5e
cmp byte [eax], 0
jne 0x44de78
mov eax, dword [esi + 0x608]
test eax, eax
jg 0x44de74
lea ecx, [esi + 0x2c]
cmp edi, 2
je 0x44dde1
test edi, edi
je 0x44deaf
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xa
mov ecx, esi
call fcn.0044d900
cmp eax, 0xffffffff
je 0x44de78
test eax, eax
je 0x44dec6
push 0
push 0x5dc
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x18]
call sub.WSOCK32.dll_recv
mov dword [esi + 0x608], eax
test eax, eax
jle 0x44de78
jmp 0x44ddbb
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, dword [ebp + 0xc]
cmovg edi, dword [ebp + 0xc]
push edi
push ecx
push dword [ebp + 8]
call fcn.00500630
mov ecx, dword [esi + 0x608]
lea eax, [esi + 0x2c]
sub ecx, edi
push ecx
lea ecx, [esi + 0x2c]
add ecx, edi
push ecx
push eax
call fcn.00500630
add esp, 0x18
mov eax, edi
sub dword [esi + 0x608], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44f130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
add eax, 0xfffffdff
xor edi, edi
cmp eax, 7
ja case.0x44f145.515
jmp dword [eax*4 + 0x44f1a4]
mov edi, 1
jmp case.0x44f145.515
mov edi, 2
jmp case.0x44f145.515
mov edi, 4
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
shr eax, 0xf
mov esi, edi
or esi, 1
and al, 1
push 2
cmove esi, edi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 2
test al, 1
push 4
cmove edi, esi
call ebx
movzx ecx, ax
mov eax, edi
shr ecx, 0xf
or eax, 4
test cl, 1
cmove eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4515f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov ecx, 0x90fe00
mov dword [ebp - 0x2c], eax
movzx eax, ax
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], 0
call fcn.0043d180
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45163b
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x45163d
xor eax, eax
mov dword [ebp - 0x1c], 0x46000000
test eax, eax
jne 0x45165c
test byte [ebx + 0x1e], 0x10
mov ecx, 0x86c40000
mov edx, 0x86cc0000
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
cmp byte [ebp + 0x1c], 0
je 0x45172b
test byte [ebx + 0x1e], 8
je 0x451682
mov ecx, dword [ebx + 0x24]
cmp ecx, 2
je 0x451679
cmp ecx, 3
jne 0x451682
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x24]
cmp ecx, 2
je 0x45168f
cmp ecx, 3
jne 0x4516a8
test eax, eax
jne 0x4516a8
push 0
push dword [ebx]
mov eax, esi
mov esi, edi
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
or eax, 0xffffffff
jmp 0x4516c3
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x18], 0
jne 0x4516bd
or eax, 0xffffffff
jmp 0x4516c3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
push dword [ebp - 0x1c]
mov dword [ebx + 0x24], eax
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [ebp - 0x18]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push edi
push esi
mov ecx, ebx
call fcn.004508a0
cmp dword [ebx + 0x24], 0xffffffff
movzx esi, word [ebx + 0x14]
movzx edi, word [ebx + 0x16]
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x24], esi
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x20], edi
jne 0x451717
movzx eax, word [ebx + 0xa]
mov ecx, 0x90fe00
push eax
call fcn.004448c0
mov eax, dword [eax + 0x5c]
jmp 0x451719
xor eax, eax
push 0
push eax
push dword [ebx]
mov ecx, 0x90fe00
call fcn.00443830
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x451774
push edi
push esi
push eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebx]
mov ecx, 0x90fe00
call fcn.0043fde0
push eax
push 0x80
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 0x90fe00
push eax
call fcn.0043d100
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
movzx eax, word [ebx + 0x1e]
mov edi, dword [ebp + 0x10]
and eax, 0x20
mov esi, dword [ebp + 0xc]
or eax, 2
add eax, eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
push esi
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov word [ebx + 0x14], ax
xor ecx, ebp
mov eax, dword [ebp + 0x18]
mov word [ebx + 0x12], di
pop edi
mov word [ebx + 0x10], si
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 0x2c]
pop esi
mov word [ebx + 0xc], ax
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0x18
Function at 0x452bf0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0xac]
mov byte [esi + 0xb0], 0
test ecx, ecx
je 0x452c13
call fcn.00452bf0
mov dword [esi + 0xac], 0
push 0
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x452c6d
push edi
nop dword [eax]
mov eax, dword [esi + 0xc0]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x452c53
mov ecx, edi
call fcn.0044e500
push 0xac
push edi
call fcn.004fec1b
add esp, 8
mov ecx, dword [esi + 0xbc]
lea eax, [ecx - 1]
test ecx, ecx
jle 0x452c6c
mov ecx, eax
mov dword [esi + 0xbc], eax
test ecx, ecx
jg 0x452c30
pop edi
cmp dword [0x911318], esi
jne 0x452c7f
mov dword [0x911318], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop esi
ret
Function at 0x456090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
push 0xe
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x456228
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x456228
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x456228
movaps xmm0, xmmword [0x5a4130]
lea edx, [ecx + 6]
push ebx
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x88], edx
movups xmmword [ebp - 0x9c], xmm0
test ebx, ebx
js 0x45613f
movzx edi, word [ecx + 4]
xor eax, eax
test edi, edi
je 0x45613a
add edx, 6
movzx ecx, word [edx]
cmp ecx, dword [ebp + ebx*4 - 0x9c]
jne 0x456126
mov dword [ebp + esi*4 - 0x84], eax
inc esi
inc eax
add edx, 0xe
cmp eax, edi
jl 0x456112
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
dec ebx
test esi, esi
je 0x456101
test esi, esi
jle 0x4561b9
xor ebx, ebx
mov edi, edx
mov edx, dword [ebp + 0x10]
xor ecx, ecx
movzx eax, byte [edi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [ebp + ecx*4 - 0x44], eax
je 0x45616f
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x45616f
inc ecx
add edi, 0xe
cmp ecx, esi
jl 0x456150
cmp ecx, esi
jne 0x45619c
xor edx, edx
xor edi, edi
nop word [eax + eax]
lea ecx, [edx*4]
mov eax, dword [ebp + ecx - 0x44]
cmp eax, dword [ebp + edi - 0x44]
jge 0x456195
mov ebx, edx
mov edi, ecx
inc edx
mov ecx, ebx
cmp edx, esi
jl 0x456180
mov eax, dword [ebp + ecx*4 - 0x84]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x88]
movzx eax, word [eax + ecx*2 + 0xc]
jmp 0x4561c9
mov eax, dword [ebp + 0x10]
push 0
push eax
push eax
push 1
push ecx
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
push 3
movzx eax, ax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
pop ebx
test esi, esi
je 0x456228
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x456228
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x456228
push 0
push 0
push 0
push 0x30000
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x456cc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0
push 3
push 0
push 3
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x456cee
mov eax, 3
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 2
call fcn.00503dee
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x456d1f
push edi
lea esi, [eax + 3]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456e05
cmp esi, dword [ebp - 4]
jne 0x456e05
push ebx
mov byte [esi + ebx], 0
call fcn.0043a5a0
push str._License_
push ebx
call fcn.005000e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x456d67
mov esi, 4
jmp 0x456e0a
cmp byte [esi + 9], 0x3d
jne 0x456d5d
push 0x104
push str.DeskSoft_License
push str._Product_
push ebx
mov byte [esi + 9], 0
call fcn.0043b140
add esp, 0x10
test al, al
je 0x456d5d
push 0x104
push 0x912520
push str._Version_
push ebx
call fcn.0043b140
add esp, 0x10
test al, al
je 0x456d5d
push 0x104
push 0x912628
push str._ExpDate_
push ebx
call fcn.0043b140
add esp, 0x10
test al, al
je 0x456d5d
lea eax, [esi + 0xa]
push eax
push ebx
call fcn.0043ba00
neg eax
push str.DesktopPlant
sbb esi, esi
push str.DeskSoft_License
and esi, 2
call fcn.005000e0
add esp, 0x10
test eax, eax
je 0x456e0a
push str.DesktopPlant
push 0x104
push str.DeskSoft_License
call fcn.00503df9
add esp, 0xc
jmp 0x456e0a
mov esi, 3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00503e53
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4720b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.004ff310
mov eax, dword [0x62acc0]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb4]
push ebp
push esi
mov esi, dword [esp + 0xc4]
xor ebp, ebp
mov eax, dword [eax + 4]
push edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
sub eax, edi
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x472116
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.0052a940
add esp, 0xc
cmp edi, 0x40
jbe 0x472132
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.0052a940
add esp, 0xc
lea eax, [esp + 0x34]
neg eax
lea ebx, [esp + 0x34]
and eax, 0x3f
add ebx, eax
lea eax, [edi + 0x100]
mov dword [esp + 0x1c], ebx
cmp esi, eax
jbe 0x472159
mov ebp, esi
sub ebp, edi
sub ebp, 0x100
mov eax, edi
xor edx, edx
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, dword [esp + 0x10]
div edi
push edi
mov esi, edx
push 0
push ebx
mov dword [esp + 0x38], esi
call fcn.00500bb0
add esp, 0xc
mov dword [esp + 0x18], 0
cmp ebp, dword [esp + 0xc8]
jae 0x47224f
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ebx, dword [esp + 0x14]
mov esi, ebx
mov eax, dword [esp + 0xc0]
sub esi, ecx
shr edx, 0x1f
mov dword [esp + 0x24], edx
mov edx, ebx
shr edx, 0x1f
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], edx
mov edx, ebp
sub edx, ebx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x1c]
add eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x20]
mov ecx, ebp
mov eax, dword [esp + 0x24]
inc ebp
shr ecx, 0x1f
lea ebx, [ebx + edx]
shr edx, 0x1f
xor dl, byte [esp + 0x14]
shr ebx, 0x1f
xor bl, al
xor al, cl
or bl, al
mov al, cl
xor al, byte [esp + 0x14]
xor bl, cl
or dl, al
dec bl
mov eax, dword [esp + 0x10]
xor dl, cl
mov ecx, dword [esp + 0x28]
dec dl
not dl
mov al, byte [ecx + eax]
mov ecx, dword [esp + 0x18]
and dl, al
and dl, bl
or byte [ecx + esi], dl
mov edx, ecx
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp ebp, dword [esp + 0xc8]
jb 0x4721d0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
xor edx, edx
test edi, edi
je 0x47228a
mov ebp, dword [esp + 0x30]
nop dword [eax]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + ebx]
movzx eax, byte [esi + ebx]
inc esi
mov byte [edx + ebp], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x472260
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fe8dc
add esp, 0xa8
ret
Function at 0x472d00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.004ff310
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
inc ebp
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 1
je 0x472d4a
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 4]
lea eax, [ecx + ebp]
cmp eax, edx
jbe 0x472d3d
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub edx, ecx
mov dword [esi + 4], edx
jmp 0x472d4f
cmp ebp, dword [esi + 4]
ja 0x472d34
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + eax - 1]
je 0x472da2
cmp dword [edi + 0x88], 0
jne 0x472da2
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x5aa000
push eax
call fcn.0052a5d0
add esp, 0xc
test eax, eax
jne 0x472d95
test bl, 1
jne 0x472d95
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov eax, dword [edi + 0x58]
test byte [eax], 8
je 0x472da2
test ebx, ebx
je 0x472da2
dec ebx
mov eax, dword [edi + 0x80]
push dword [eax]
call fcn.00458550
add esp, 4
test eax, 0x200000
je 0x472dce
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 4], eax
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
add esp, 8
ret
lea ecx, [ebx + ebp]
mov ebp, dword [esi + 4]
mov edx, ebp
mov dword [esp + 0x14], ebp
sub edx, ecx
mov eax, ebp
xor edx, ecx
xor eax, ecx
or edx, eax
mov ecx, 0xff
xor edx, ebp
lea eax, [ebp - 1]
shr edx, 0x1f
dec edx
cmp eax, ecx
mov dword [esp + 0x1c], edx
cmovb ecx, eax
xor edi, edi
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x472e59
mov ecx, ebx
dec ebp
shr ecx, 0x1f
add ebp, dword [esi + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov al, byte [esp + 0x28]
lea ebp, [ebp - 1]
mov edx, ebx
mov ecx, edi
sub edx, edi
shr ecx, 0x1f
shr edx, 0x1f
xor al, cl
xor dl, cl
inc edi
or dl, al
movzx eax, byte [ebp + 1]
xor dl, byte [esp + 0x28]
xor eax, ebx
dec dl
movzx ecx, dl
mov edx, dword [esp + 0x1c]
and ecx, eax
not ecx
and edx, ecx
mov dword [esp + 0x1c], edx
cmp edi, esi
jb 0x472e16
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
not edx
movzx eax, dl
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [ebx + 1]
neg ecx
and eax, ecx
sub ebp, eax
shl eax, 8
or dword [esi], eax
mov eax, ecx
pop ebx
pop edi
mov dword [esi + 4], ebp
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebp
add esp, 8
ret