joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ba30
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 0x49ba6e
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 0x49ba62
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.0058cfa0
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 0x49baa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x49baae
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x49bb6d
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 + 0x5d5300]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
sub edi, 1
jne 0x49bac6
pop edi
test esi, esi
je 0x49bb8b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5d5300]
sub esi, 1
jne 0x49bb71
not eax
pop esi
pop ebp
ret
Function at 0x49c960
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 0x49c994
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 0x49c98f
mov byte [esi + 8], 1
mov edi, dword [ebp - 4]
jmp 0x49c9c0
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x49c9a6
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.0058cfa0
add esp, 0xc
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
pop ebx
cmp edi, 1
jne 0x49c9d6
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 0x49c9ce
cmp byte [esi + 8], 0
je 0x49c9ce
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a20c0
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 0x4a2133
cmp eax, edi
jne 0x4a212b
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 0x4a213b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4a213b
cmp eax, edi
jne 0x4a213b
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.004b4110
push 0x18
push edi
call fcn.0053a186
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b4560
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 0x4b45c8
mov eax, esi
jmp 0x4b45cc
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x4b45e9
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x4b45de
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
jmp 0x4b45c0
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 0x4c0800
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 [0x62a8dc], 0
jne 0x4c08f9
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 + 0x62a8d8], ecx
inc ebx
cmp ebx, 0x100
jl 0x4c0830
mov ecx, dword [ebp + 0xc]
lea ebx, [ecx + 4]
xor esi, esi
test ebx, ebx
jle 0x4c0921
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 + 0x62a8d8]
cmp esi, ebx
jl 0x4c0905
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 0x4c9510
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 0x4c952c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4c9548
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4c9537
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 0x4c9581
cmp eax, edi
jne 0x4c9579
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 0x4c9589
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4c9589
cmp eax, edi
jne 0x4c9589
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.004c9670
push 0x28
push edi
call fcn.0053a186
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 0x4ca2a0
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 0x4ca2c1
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x4ca2e1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4ca2d0
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 0x4ca30b
mov eax, edi
jmp 0x4ca30f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4ca384
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x4ca323
mov eax, dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x4ca32e
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0xc]
jne 0x4ca365
test ecx, ecx
je 0x4ca36f
movzx edx, word [ebx]
movzx edi, word [eax]
cmp dx, di
jb 0x4ca35f
sub ebx, eax
cmp dx, di
ja 0x4ca35f
cmp ecx, 1
je 0x4ca36c
movzx edx, word [ebx + eax + 2]
add eax, 2
dec ecx
movzx edi, word [eax]
cmp dx, di
jae 0x4ca347
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x4ca303
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.004c96f0
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 0x4ca4b0
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 0x4ca640
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
jle 0x4ca634
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 0x4ca5de
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 0x4ca558
mov dword [edi], 0
jmp 0x4ca55e
cmp esi, ecx
jle 0x4ca55e
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 0x4ca543
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 0x4ca513
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
inc ebx
mov dword [ebp + 0x28], ebx
cmp ebx, eax
jl 0x4ca4f5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cdbd4
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x388
jmp fcn.004d5900
Function at 0x4d55e0
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 0x4d561c
mov eax, dword [edi]
sub eax, 9
cmp eax, 0x10
ja 0x4d561c
mov ecx, dword [esi + 0x2b4]
push edi
test ecx, ecx
je 0x4d5719
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 0x4d568e
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x2bd], 0
je 0x4d568e
cmp dword [edi], 0xf
jne 0x4d568e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d5720
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 0x4d5683
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 0x4d5639
cmp eax, 0xe
jne 0x4d56d1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d5720
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.0047c9e0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
je 0x4d5720
cmp eax, 0xb
jne 0x4d56f9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x140]
call eax
test al, al
je 0x4d56f9
or dword [esi + 0x294], 8
mov ecx, esi
call fcn.004cdff0
cmp dword [edi], 0xa
jne 0x4d5718
mov eax, dword [esi + 0x294]
test al, 8
je 0x4d5718
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x294], eax
call fcn.004cdff0
push edi
mov ecx, esi
call fcn.004d5200
pop edi
pop esi
pop ebp
ret 4
Function at 0x4dd0c0
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.00474e70
movzx eax, al
lea ecx, [edi + 0x14]
push eax
call fcn.0047e210
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474e40
movzx eax, al
lea ecx, [edi + 0x14]
push eax
call fcn.0047d540
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474460
test eax, eax
jne 0x4dd14d
mov eax, 3
jmp 0x4dd15d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474460
push eax
lea ecx, [edi + 0x14]
call fcn.0047da30
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00473a20
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 0x4dd19f
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.0047d230
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00474970
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], 0x5fcef8
mov dword [ecx + 4], 0
mov ecx, edi
call fcn.00480180
mov esi, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4dd21c
nop
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4dd210
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 0x4e3900
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 0x4e3a49
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 0x4e39d4
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x134]
call eax
test al, al
je 0x4e39b8
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 0x4e39b8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
jne 0x4e3970
jmp 0x4e39d4
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.00474970
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], 0x5fcef8
mov dword [eax + 4], 0
call fcn.00480350
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.004c2a20
push eax
mov ecx, esi
call fcn.00474050
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 0x4e3a75
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.0053a175
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x4e41b0
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 0x4e424d
push 0xff
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0058dad0
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 0x4e424d
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.0053a175
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0053a175
mov esp, ebp
pop ebp
ret

Function at 0x4e43b0
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 0x4e448b
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 0x4e4460
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.00474970
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], 0x5fcef8
mov dword [eax + 4], 0
call fcn.00480350
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.004c2a20
push eax
mov ecx, esi
call fcn.00474050
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 0x4e44b6
call fcn.004e41b0
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.0053a175
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4