joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bd20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
imul ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x49bd5e
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49bd52
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp + 8]
call fcn.0058cce0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x49bd90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x49bd9e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x49be5d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
sub edi, 1
jne 0x49bdb6
pop edi
test esi, esi
je 0x49be7b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5340]
sub esi, 1
jne 0x49be61
not eax
pop esi
pop ebp
ret
Function at 0x49cc50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
cmp byte [esi], 0
je 0x49cc84
push 0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xb]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49cc7f
mov byte [esi + 8], 1
mov edi, dword [ebp - 4]
jmp 0x49ccb0
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x49cc96
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp + 0xb]
push eax
call fcn.0058cce0
add esp, 0xc
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
pop ebx
cmp edi, 1
jne 0x49ccc6
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0xb]
mov dword [eax], ecx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x49ccbe
cmp byte [esi + 8], 0
je 0x49ccbe
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a23b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x4a2423
cmp eax, edi
jne 0x4a241b
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4a242b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4a242b
cmp eax, edi
jne 0x4a242b
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 8]
call fcn.004b43f0
push 0x18
push edi
call fcn.00539e76
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b4840
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
lea eax, [ecx*8]
mov ecx, dword [eax + edx]
add edx, 4
add eax, edx
mov edx, ecx
mov dword [ebp + 0xc], eax
nop
cmp edx, esi
jne 0x4b48a8
mov eax, esi
jmp 0x4b48ac
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x4b48c9
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x4b48be
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
jmp 0x4b48a0
pop edi
pop esi
mov dword [ebx], ecx
mov eax, ebx
pop ebx
pop ebp
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4c0ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp - 8], eax
sub eax, ecx
mov dword [ebp - 4], eax
or eax, 0xffffffff
cmp dword [0x62a8fc], 0
jne 0x4c0bd9
xor ebx, ebx
nop dword [eax + eax]
mov ecx, ebx
and cl, 1
movzx edx, cl
mov ecx, ebx
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
and cl, 1
movzx esi, cl
neg esi
sbb esi, esi
shr edx, 1
and esi, 0xedb88320
xor esi, edx
mov ecx, esi
and cl, 1
movzx edx, cl
neg edx
sbb edx, edx
shr esi, 1
and edx, 0xedb88320
xor edx, esi
mov ecx, edx
and cl, 1
movzx esi, cl
neg esi
sbb esi, esi
shr edx, 1
and esi, 0xedb88320
xor esi, edx
mov ecx, esi
and cl, 1
movzx edx, cl
neg edx
sbb edx, edx
shr esi, 1
and edx, 0xedb88320
xor edx, esi
mov ecx, edx
and cl, 1
movzx esi, cl
neg esi
sbb esi, esi
shr edx, 1
and esi, 0xedb88320
xor esi, edx
mov ecx, esi
and cl, 1
movzx edx, cl
neg edx
sbb edx, edx
shr esi, 1
and edx, 0xedb88320
xor edx, esi
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov dword [ebx*4 + 0x62a8f8], ecx
inc ebx
cmp ebx, 0x100
jl 0x4c0b10
mov ecx, dword [ebp + 0xc]
lea ebx, [ecx + 4]
xor esi, esi
test ebx, ebx
jle 0x4c0c01
mov edi, dword [ebp - 4]
movzx edx, byte [edi + esi - 4]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x62a8f8]
cmp esi, ebx
jl 0x4c0be5
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 8]
not eax
mov ecx, eax
shr ecx, 0x18
mov byte [edx], cl
mov edx, eax
mov ecx, dword [edi]
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
mov ecx, dword [edi]
shr edx, 8
mov byte [ecx + 2], dl
mov ecx, dword [edi]
mov byte [ecx + 3], al
add dword [edi], 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c97a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x4c97bc
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4c97d8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4c97c7
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4c9811
cmp eax, edi
jne 0x4c9809
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4c9819
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4c9819
cmp eax, edi
jne 0x4c9819
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.004c9900
push 0x28
push edi
call fcn.00539e76
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ca530
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
jb 0x4ca551
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x4ca571
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4ca560
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edi, dword [ebx + 4]
mov dword [ebp - 4], edi
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, edi
jne 0x4ca59b
mov eax, edi
jmp 0x4ca59f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4ca614
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x4ca5b3
mov eax, dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x4ca5be
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0xc]
jne 0x4ca5f5
test ecx, ecx
je 0x4ca5ff
movzx edx, word [ebx]
movzx edi, word [eax]
cmp dx, di
jb 0x4ca5ef
sub ebx, eax
cmp dx, di
ja 0x4ca5ef
cmp ecx, 1
je 0x4ca5fc
movzx edx, word [ebx + eax + 2]
add eax, 2
dec ecx
movzx edi, word [eax]
cmp dx, di
jae 0x4ca5d7
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x4ca593
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c9980
test al, al
cmove edi, esi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ca740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x28]
lea edx, [ebp + 0x28]
push ebx
test eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
cmove ecx, dword [ebp + 0x10]
dec ecx
test eax, eax
mov eax, dword [ebp + 0x10]
push edi
lea edi, [ebp - 4]
mov dword [ebp - 8], ecx
cmovne edx, edi
lea edi, [ebp - 0xc]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x10]
cmovne edi, edx
xor ebx, ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0x28], ebx
test eax, eax
jle 0x4ca8d0
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
jle 0x4ca8c4
mov eax, dword [ebp + 0x20]
mov esi, ebx
neg eax
imul esi, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esi
mov eax, edx
mov dword [ebp - 0xc], ebx
imul eax, dword [ebp + 0x1c]
xorps xmm2, xmm2
mov ebx, dword [ebp - 0x14]
xorps xmm3, xmm3
xorps xmm4, xmm4
mov dword [ebp - 0x10], edx
xorps xmm5, xmm5
add esi, eax
mov dword [ebp - 0x20], esi
cmp ebx, dword [ebp + 0x20]
jg 0x4ca86e
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
add esi, ebx
mov eax, ebx
mov dword [edi], esi
cdq
xor eax, edx
sub eax, edx
test esi, esi
jns 0x4ca7e8
mov dword [edi], 0
jmp 0x4ca7ee
cmp esi, ecx
jle 0x4ca7ee
mov dword [edi], ecx
mov edx, dword [ebp - 0xc]
inc ebx
imul edx, dword [ebp + 0x18]
inc esi
mov ecx, dword [ebp - 0x10]
imul ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
add edx, dword [ebp + 8]
movsd xmm1, qword [edi + eax*8]
mov edi, dword [ebp - 0x1c]
movzx eax, byte [ecx + edx]
movd xmm0, eax
movzx eax, byte [ecx + edx + 1]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm2, xmm0
movd xmm0, eax
movzx eax, byte [ecx + edx + 2]
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm3, xmm0
movd xmm0, eax
movzx eax, byte [ecx + edx + 3]
cvtdq2pd xmm0, xmm0
mov ecx, dword [ebp - 8]
mulsd xmm0, xmm1
addsd xmm4, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
addsd xmm5, xmm0
cmp ebx, dword [ebp + 0x20]
jle 0x4ca7d3
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
cvttsd2si eax, xmm2
mov byte [esi + ecx], al
cvttsd2si eax, xmm3
mov byte [esi + ecx + 1], al
cvttsd2si eax, xmm4
mov byte [esi + ecx + 2], al
mov eax, dword [ebp + 8]
cvttsd2si ecx, xmm5
mov bl, byte [esi + eax + 3]
movzx eax, bl
cmp cl, bl
movzx edx, cl
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x28]
cmovbe edx, eax
mov eax, dword [ebp + 0x14]
mov byte [esi + eax + 3], dl
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x24]
inc edx
mov dword [ebp - 4], edx
cmp edx, dword [ebp + 0xc]
jl 0x4ca7a3
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
inc ebx
mov dword [ebp + 0x28], ebx
cmp ebx, eax
jl 0x4ca785
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cda64
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x388
jmp fcn.004d5620
Function at 0x4d5300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x148]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x4d533c
mov eax, dword [edi]
sub eax, 9
cmp eax, 0x10
ja 0x4d533c
mov ecx, dword [esi + 0x2b4]
push edi
test ecx, ecx
je 0x4d5439
mov eax, dword [ecx]
call dword [eax + 0x40]
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x2b4]
test ecx, ecx
je 0x4d53ae
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x2bd], 0
je 0x4d53ae
cmp dword [edi], 0xf
jne 0x4d53ae
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d5440
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [esi + 0x288]
lea esi, [esi + 0x288]
mov ecx, 0x8000
and ax, cx
mov ecx, esi
je 0x4d53a3
mov eax, dword [edi + 0x18]
call eax
test al, al
mov ecx, esi
sete al
push eax
call dword [edi + 0x20]
pop edi
pop esi
pop ebp
ret 4
push 1
call dword [edi + 0x1c]
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0xd
je 0x4d5359
cmp eax, 0xe
jne 0x4d53f1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d5440
mov ecx, dword [esi + 0x68]
push 0
push 0
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], str.itemclick
mov dword [eax + 4], 9
call fcn.0047c9b0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
je 0x4d5440
cmp eax, 0xb
jne 0x4d5419
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d5419
or dword [esi + 0x294], 8
mov ecx, esi
call fcn.004cde80
cmp dword [edi], 0xa
jne 0x4d5438
mov eax, dword [esi + 0x294]
test al, 8
je 0x4d5438
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x294], eax
call fcn.004cde80
push edi
mov ecx, esi
call fcn.004d4f20
pop edi
pop esi
pop ebp
ret 4
Function at 0x4dcdc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [esi + 0x360]
mov dword [ebp - 0x10], edi
mov byte [edi + 0x534], 0
mov dword [edi + 0x528], esi
mov dword [edi + 0x52c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov dword [edi + 0x530], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474d60
movzx eax, al
lea ecx, [edi + 0x14]
push eax
call fcn.0047e1e0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474d30
movzx eax, al
lea ecx, [edi + 0x14]
push eax
call fcn.0047d510
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474350
test eax, eax
jne 0x4dce4d
mov eax, 3
jmp 0x4dce5d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474350
push eax
lea ecx, [edi + 0x14]
call fcn.0047da00
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00473910
mov cl, byte [eax + 0x26]
mov dl, byte [eax + 0x25]
mov dword [ebp + 8], ecx
mov cl, byte [eax + 0x24]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x20]
add eax, 4
mov dword [ebp - 8], ecx
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
jb 0x4dce9f
mov eax, dword [eax]
push 0
push ecx
push edx
push dword [ebp - 4]
lea ecx, [edi + 0x14]
push dword [ebp - 8]
push dword [ebp - 0xc]
push eax
call fcn.0047d200
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474860
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80
push SysReAllocString
sub esp, 8
mov ecx, esp
push eax
mov dword [ecx], 0x5fcdf8
mov dword [ecx + 4], 0
mov ecx, edi
call fcn.00480070
mov esi, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4dcf1c
nop
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4dcf10
mov eax, dword [ebp - 0x10]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4e3660
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x10], eax
mov dword [eax + 0x318], 0
cmp dword [edi + 4], 0
jne 0x4e37a9
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
xorps xmm0, xmm0
movaps xmmword [ebp - 0x30], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
je 0x4e3734
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x134]
call eax
test al, al
je 0x4e3718
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x64]
call eax
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4e3718
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
jne 0x4e36d0
jmp 0x4e3734
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x20]
mov eax, dword [ecx]
movups xmmword [ebp - 0x30], xmm0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474860
movups xmm0, xmmword [ebp - 0x30]
push 0
sub esp, 0x10
mov edx, eax
mov ecx, esp
push 0
push 0x40000000
sub esp, 8
mov eax, esp
movups xmmword [ecx], xmm0
mov ecx, edi
push edx
mov dword [eax], 0x5fcdf8
mov dword [eax + 4], 0
call fcn.00480240
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x10]
mov esi, eax
call fcn.004c2d00
push eax
mov ecx, esi
call fcn.00473f40
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
lea ecx, [ebp - 0x4c]
mov esi, dword [eax + 0x10]
call fcn.00405f7b
test esi, esi
jne 0x4e37d5
mov eax, dword [edi + 0x10]
add eax, 0x308
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x308
push eax
push 0
push 0x1002
movups xmm0, xmmword [eax]
push dword [edi + 4]
movups xmmword [edi + 0x1a], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov byte [edi + 0x18], 1
xor ecx, ebp
pop edi
pop esi
call fcn.00539e65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x4e3f10
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4e3fad
push 0xff
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0058d810
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4e3fad
mov eax, dword [eax + 0xc]
push ebx
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, ebx
shr eax, 8
mov ecx, ebx
movzx edx, al
movzx eax, bl
shl eax, 8
add eax, edx
shr ecx, 0x10
shl eax, 8
movzx ecx, cl
add eax, ecx
shr ebx, 0x18
shl eax, 8
add eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret

Function at 0x4e4110
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x10], eax
mov dword [eax + 0x310], 0
cmp dword [edi + 4], 0
jne 0x4e41eb
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 8
push eax
mov dword [ebp - 0x2c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4e41c0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [eax]
mov eax, dword [ecx]
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474860
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov edx, eax
mov ecx, esp
push 0
push 0x40030000
sub esp, 8
mov eax, esp
movups xmmword [ecx], xmm0
mov ecx, edi
push edx
mov dword [eax], 0x5fcdf8
mov dword [eax + 4], 0
call fcn.00480240
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x10]
mov esi, eax
call fcn.004c2d00
push eax
mov ecx, esi
call fcn.00473f40
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
lea ecx, [ebp - 0x28]
mov esi, dword [eax + 0x10]
call fcn.00405f7b
test esi, esi
jne 0x4e4216
call fcn.004e3f10
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x308], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x308]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov byte [edi + 0x18], 1
xor ecx, ebp
pop edi
pop esi
call fcn.00539e65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4