joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498b60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov eax, dword [ebx]
mov edi, dword [eax + 0x150]
mov eax, dword [edi + esi*4 + 8]
sub eax, 0
je 0x498c02
sub eax, 2
je 0x498bb6
sub eax, 1
jne 0x498be4
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x498baa
sub eax, 1
jne 0x498be4
mov dword [edi + esi*4 + 8], 1
mov dword [edi + esi*4 + 0x408], eax
pop edi
pop esi
pop ebx
ret
mov dword [edi + esi*4 + 8], 0
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x498be8
sub eax, 1
jne 0x498be4
mov dword [edi + esi*4 + 8], 3
mov dword [edi + esi*4 + 0x1008], eax
push esi
mov edx, 0xfc
call fcn.004988a0
add esp, 4
pop edi
pop esi
pop ebx
ret
cmp dword [edi + esi*4 + 0x1808], 1
mov dword [edi + esi*4 + 8], 1
jne 0x498be4
pop edi
pop esi
pop ebx
jmp fcn.004995a0
cmp dword [edi + esi*4 + 0x808], 1
jne 0x498c38
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.004988a0
add esp, 4
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x498be4
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.004995a0
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x498bd6
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.004988a0
add esp, 4
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.004995a0
Function at 0x4995a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
push ebx
push esi
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push edi
mov ebx, dword [eax + 0x150]
cmp edx, 0x1f
jne 0x499703
lea eax, [ebx + 0x1cb0]
lea edi, [ebx + 0x1eb0]
mov dword [edi], eax
cmp eax, edi
jae 0x4995e3
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4995ee
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4995f9
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebx + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
mov word [ebp - 0xc], ax
movzx eax, word [ebx + 0x1caa]
push eax
call esi
mov ecx, dword [edi]
mov word [ebp - 0x14], ax
cmp ecx, edi
jae 0x499628
mov al, byte [ebp - 0xc]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x499635
mov al, byte [ebp - 0xb]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x499642
mov al, byte [ebp - 0x14]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x49964f
mov al, byte [ebp - 0x13]
mov byte [ecx], al
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x49965a
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x499665
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
lea esi, [ebx + 0x1cb0]
mov dword [ebx + 0x1eb4], eax
mov edx, 0x3e
sub eax, esi
mov dword [edi], esi
mov edi, dword [ebp - 0x18]
sub eax, 2
push eax
lea eax, [ebx + 0x1cb2]
mov ecx, edi
push eax
call fcn.00498d00
add esp, 8
push 0
push 3
push esi
mov esi, dword [ebp - 0x1c]
push dword [esi + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4996c1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0046c5e0
add esp, 0xc
push 4
lea edx, [ebx + 0x1cb3]
mov ecx, esi
call fcn.00499c80
add esp, 4
lea eax, [ebx + 0x1cb7]
push 0
push 2
push eax
push dword [esi + 0x1a8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x499703
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0046c5e0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x49e440
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x741726], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x164], ebx
jne 0x49e477
call fcn.00509ba0
test eax, eax
je 0x49e48a
mov byte [0x741726], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x44c]
test eax, eax
je 0x49e4ab
push 0x400
push eax
call fcn.005071e0
add esp, 8
call fcn.00509ba0
test eax, eax
jne 0x49e477
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, 2
mov dword [ebp - 0x158], 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x154], eax
nop
call ebx
mov ecx, eax
mov dword [ebp - 0x184], 0
mov eax, 0x10624dd3
mul ecx
push 1
mov esi, edx
shr esi, 6
imul eax, esi, 0x3e8
mov dword [ebp - 0x188], esi
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [ebp - 0x180], eax
movups xmm0, xmmword [ebp - 0x188]
movups xmmword [ebp - 0x178], xmm0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
push esi
lea eax, [edi - 1]
push 0
push eax
call fcn.0065e4b0
imul edi, dword [ebp - 0x170]
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], edi
call esi
mov edi, eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x150], eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
shr edx, 6
imul ecx, edx, 0x3e8
mul edi
sub esi, ecx
xor ecx, ecx
imul esi, esi, 0x3e8
shr edx, 6
push 0
push dword [ebp - 0x150]
add esi, edx
adc ecx, ecx
push ecx
push esi
call fcn.0065e4b0
shld edx, eax, 8
shl eax, 8
xor ebx, eax
mov eax, dword [ebp - 0x15c]
xor eax, edx
mov dword [ebp - 0x178], ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x174], eax
call ebx
mov edi, eax
call ebx
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
shr edx, 6
imul ecx, edx, 0x3e8
mul edi
mov eax, dword [ebp - 0x14c]
sub esi, ecx
imul ecx, esi, 0x3e8
add eax, 2
shr edx, 6
add ecx, edx
imul ecx, eax
mov eax, dword [ebp - 0x160]
shl ecx, 0x10
xor eax, ecx
mov dword [ebp - 0x170], eax
movups xmm0, xmmword [ebp - 0x178]
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x14c], edi
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [ebp - 0x158], 1
mov dword [ebp - 0x154], eax
jne 0x49e4d0
movsd xmm0, qword [0x6fd838]
lea eax, [ebp - 0x48]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.00509970
add esp, 0x10
call fcn.00509ba0
test eax, eax
je 0x49e4b1
lea eax, [ebp - 0x148]
mov byte [ebp - 0x148], 0
push 0x100
push eax
call fcn.00507030
add esp, 8
cmp byte [ebp - 0x148], 0
je 0x49e69d
lea eax, [ebp - 0x148]
push 0x400
push eax
call fcn.005071e0
add esp, 8
call fcn.00509ba0
test eax, eax
jne 0x49e477
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [ebp - 0x164]
call fcn.0046c560
add esp, 8
call fcn.00509ba0
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
and eax, 0xffffffdd
pop esi
add eax, 0x23
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x49ebb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
push 1
lea eax, [ebp - 5]
push eax
push dword [ecx + 0x1a8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x49ec3f
cmp eax, 1
jne 0x49ebf0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
cmp eax, 0xffffffff
jne 0x49ec4f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x49ebdd
cmp eax, 0xb
je 0x49ebdd
cmp eax, 0x2733
je 0x49ebdd
cmp eax, 0x2746
je 0x49ec3f
cmp eax, 0x2745
je 0x49ec3f
cmp eax, 0x2742
je 0x49ec3f
cmp eax, 0x2744
je 0x49ec3f
cmp eax, 0x274a
je 0x49ec3f
cmp eax, 0x274c
je 0x49ec3f
cmp eax, 0x2749
jne 0x49ec4f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x4a3c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x201c
call fcn.0065e090
mov eax, dword [0x70e00c]
xor eax, esp
mov dword [esp + 0x2018], eax
mov ecx, dword [ebp + 0x10]
lea edx, [esp]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
xor ecx, ecx
mov dword [esp + 0x20], edi
call fcn.004a4000
add esp, 0xc
test eax, eax
jne 0x4a3da6
mov esi, dword [esp + 0xc]
mov ebx, esi
mov dword [esp + 0x18], esi
test esi, esi
je 0x4a3da4
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
cmp eax, 4
je 0x4a3cd8
cmp eax, 3
je 0x4a3cd8
push dword [ebx + 0xc]
push dword [ebx + 8]
push edi
call esi
add esp, 0xc
cmp dword [ebx + 0xc], eax
je 0x4a3d6a
lea ecx, [esp + 0xc]
call fcn.004a3bf0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2018]
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
xor edi, edi
nop word [eax + eax]
cmp dword [ebx + 4], 3
jne 0x4a3cea
xor esi, esi
jmp 0x4a3d45
test edi, edi
jne 0x4a3d08
push 0x6e9f40
push dword [ebx + 8]
call fcn.0060b364
mov edi, eax
add esp, 8
test edi, edi
je 0x4a3dc8
push edi
push 0x2000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.006254e3
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a3d34
test edi, edi
je 0x4a3d32
push edi
call fcn.0060b444
add esp, 4
xor edi, edi
mov ebx, dword [ebx]
cmp esi, 0xffffffff
je 0x4a3dbb
cmp esi, 0x2000
ja 0x4a3dbb
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
call dword [esp + 0x1c]
add esp, 0xc
cmp esi, eax
jne 0x4a3dbb
test esi, esi
jne 0x4a3ce0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ebx, dword [ebx]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x4a3c95
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4a3da4
cmp dword [esi + 4], 2
mov edi, dword [esi]
jg 0x4a3d94
push dword [esi + 8]
call dword [0x725400]
add esp, 4
push esi
call dword [0x725400]
add esp, 4
mov esi, edi
test edi, edi
jne 0x4a3d80
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2018]
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4a3dc8
push edi
call fcn.0060b444
add esp, 4
mov esi, dword [esp + 0xc]
nop dword [eax]
cmp dword [esi + 4], 2
mov edi, dword [esi]
jg 0x4a3de4
push dword [esi + 8]
call dword [0x725400]
add esp, 4
push esi
call dword [0x725400]
add esp, 4
mov esi, edi
test edi, edi
jne 0x4a3dd0
mov ecx, dword [esp + 0x2024]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x4a4610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x4a463b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4a462e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x4a466d
cmp dword [esi + 8], 0
jne 0x4a465f
push 0x6e9f40
push dword [eax + 8]
call fcn.0060b364
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4a465f
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call fcn.006254e3
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4a468f
mov eax, dword [esi + 8]
test eax, eax
je 0x4a4689
push eax
call fcn.0060b444
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4a6fb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x214]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4a6fd9
mov eax, dword [esi + 0x30]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
movups xmm1, xmmword [esi + 0x20]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
movaps xmm0, xmm1
movd esi, xmm1
psrldq xmm0, 8
psrldq xmm1, 4
push 0
mov eax, edx
shr eax, 6
mov dword [ebp - 0xc], eax
imul eax, eax, 0x3e8
push 0x3e8
sub ecx, eax
movd eax, xmm0
imul ecx, ecx, 0x3e8
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
movd ecx, xmm1
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, dword [ebp - 0xc]
cdq
sbb ecx, 0
mov edi, eax
push ecx
push esi
mov ebx, edx
call fcn.0065e4b0
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 4]
sub ecx, edi
cdq
sbb esi, ebx
add ecx, eax
mov eax, dword [ebp - 8]
adc esi, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
cmp dword [eax + 0x208], 0
je 0x4a7107
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
push 0
mov eax, edx
shr eax, 6
imul ecx, eax, 0x3e8
mov dword [ebp - 0xc], eax
mov eax, 0x10624dd3
push 0x3e8
sub esi, ecx
mov ecx, dword [ebp - 0x10]
imul esi, esi, 0x3e8
movups xmm1, xmmword [ecx + 0x188]
movaps xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
sub esi, ecx
imul esi
movd esi, xmm1
psrldq xmm1, 4
movd ecx, xmm1
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, dword [ebp - 0xc]
cdq
sbb ecx, 0
mov edi, eax
push ecx
push esi
mov ebx, edx
call fcn.0065e4b0
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 8]
sub ecx, edi
sbb esi, ebx
mov eax, dword [eax + 0x208]
cdq
add ecx, eax
adc esi, edx
mov edx, dword [ebp - 0x14]
cmp edx, esi
jl 0x4a7112
jg 0x4a7107
mov eax, dword [ebp - 4]
cmp eax, ecx
jb 0x4a710b
mov edx, esi
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9880
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xd4
mov edi, edx
call dword [0x7253b8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a98b8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], fcn.004fe6f0
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 0x5c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp ebx, 0x40
jbe 0x4a98fd
push ecx
call fcn.004fe6f0
push ebx
push edi
push dword [esi + 4]
call fcn.004fe750
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 0x5c
push edi
call fcn.004fe5d0
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push dword [esi + 4]
call fcn.004fe6f0
push dword [esi + 8]
call fcn.004fe6f0
add esp, 8
xor eax, eax
test ebx, ebx
je 0x4a9960
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
nop dword [eax]
movzx eax, byte [edi]
xor al, 0x36
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 4]
call fcn.004fe750
movzx eax, byte [edi]
lea edi, [edi + 1]
xor al, 0x5c
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 8]
call fcn.004fe750
add esp, 0x18
sub ebx, 1
jne 0x4a9920
cmp dword [ebp + 8], 0x40
jae 0x4a9996
mov eax, dword [ebp - 0x10]
mov edi, 0x40
sub edi, eax
nop word [eax + eax]
push 1
push str.6SOFTWAREHuorongESCenter
push dword [esi + 4]
call fcn.004fe750
push 1
push 0x6d35bf
push dword [esi + 8]
call fcn.004fe750
add esp, 0x18
sub edi, 1
jne 0x4a9970
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004aa758
mov esp, ebp
pop ebp
ret

Function at 0x4b0423
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call fcn.004affdc
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4b0447
push 2
pop eax
jmp 0x4b04ab
push ebx
push edi
call fcn.004affdc
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x4b0460
push 0xd
pop esi
jmp 0x4b04a1
push edi
call fcn.004affdc
push eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, eax
test ecx, ecx
je 0x4b045b
mov eax, dword [ebp + 0x14]
push 8
pop edx
cmp ecx, dword [eax]
mov dword [eax], ecx
cmova esi, edx
test esi, esi
jne 0x4b04a1
cmp dword [ebp + 0x10], esi
jne 0x4b048d
push 0x57
jmp 0x4b045d
push ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
push eax
push dword [ebp + 0x10]
call fcn.005f40c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4b04af
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x94
mov eax, 0x663053
call fcn.0065df0b
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
call fcn.004afff1
push eax
lea ecx, [ebp - 0x94]
call fcn.004b4620
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.004b4a84
push edi
push 0x80
push 3
push edi
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.0041fc50
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b0523
push 2
pop esi
jmp 0x4b0586
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4b0536
push 0xd
pop esi
jmp 0x4b057f
mov eax, dword [ebp - 0x9c]
xor esi, esi
push 8
pop ecx
cmp edi, dword [eax]
mov dword [eax], edi
cmova esi, ecx
test esi, esi
jne 0x4b057f
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x4b055a
push 0x57
jmp 0x4b0533
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [ebp - 0x98], edi
push 0xc
pop eax
cmovne esi, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x94]
call fcn.004b474b
mov eax, esi
call fcn.0065deb5
ret

Function at 0x4b06a8
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x4b06cb
or esi, 1
push 1
call edi
test ax, ax
jns 0x4b06d7
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4b06e3
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4b06ef
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4b207b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xec]
call fcn.0064a060
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4b20dc
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [esi + 0xec]
mov byte [ebp + 0xf], 0
call fcn.004b48d0
lea ecx, [ebp + 0xf]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push ebx
push edi
call dword [edx]
cmp byte [ebp + 0xf], 0
jne 0x4b213b
inc dword [ebp - 4]
lea ecx, [esi + 0xec]
call fcn.0064a060
mov ecx, dword [ebp - 4]
cmp ecx, eax
jl 0x4b20a2
sub edi, 0x100
je 0x4b2196
sub edi, 4
je 0x4b2142
dec edi
sub edi, 1
jne 0x4b21e2
xor eax, eax
push ebx
mov dword [ebp + 0xc], eax
call fcn.0060fa9b
pop ecx
mov ecx, dword [esi + 0x6c]
lea edx, [ebp + 0xc]
push reloc.WS2_32.dll_ioctlsocket
mov word [ebp + 0xc], ax
push edx
mov eax, dword [ecx]
push 0x4b4419
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4b21e2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x4b2211
cmp dword [esi + 0x70], 0
je 0x4b21e2
xor eax, eax
lea edi, [ebp - 0x20]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x24], 6
mov word [ebp - 0x10], bx
mov dword [ebp - 0x14], eax
call fcn.004b06a8
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esi + 0x70]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
jmp 0x4b21e2
cmp ebx, 9
jne 0x4b2205
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4b21e6
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4b21e6
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4b21e6
mov ecx, dword [esi + 0x70]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.005f91e9
pop ecx
pop ecx
test eax, eax
je 0x4b21e6
mov ecx, dword [esi + 0x70]
call fcn.004ceb38
test al, al
je 0x4b21e6
xor al, al
jmp 0x4b2211
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi + 0x344]
test ax, ax
setns al
movzx eax, al
push eax
call fcn.004cb4bb
jmp 0x4b2211
mov ecx, dword [esi + 0x344]
push ebx
call fcn.004cb1c9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c9144
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
push 0x66b2b0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x14]
push 0x6ec3a4
mov dword [ebp - 0x128], eax
call edi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call esi
push 0x66b2c0
push 0x66b2d4
mov dword [ebp - 0x124], eax
call edi
push eax
call esi
mov esi, eax
test esi, esi
je 0x4c939d
push ebx
push 0x24
xor ebx, ebx
lea eax, [ebp - 0x158]
push ebx
push eax
call fcn.005f46f0
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
push ebx
push eax
call fcn.005f46f0
mov eax, dword [ebp - 0x124]
add esp, 0x18
mov dword [ebp - 0x120], edi
test eax, eax
je 0x4c91fc
lea ecx, [ebp - 0x120]
push ecx
call eax
test eax, eax
jns 0x4c9211
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4c939c
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x4c922c
push edi
lea ecx, [ebp - 0x120]
push ecx
push eax
call fcn.005f40c0
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
call esi
movzx esi, word [ebp - 0xc]
xor ecx, ecx
cmp dword [ebp - 0x140], 0x21d8
push 2
sete cl
pop edx
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x110], edx
jne 0x4c9342
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x4c9285
cmp dword [ebp - 0x118], ebx
jne 0x4c9375
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x11
jmp 0x4c9375
cmp eax, 6
jne 0x4c92e9
mov eax, dword [ebp - 0x118]
cmp eax, 3
jne 0x4c92a6
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xf
jmp 0x4c9375
cmp eax, edx
jne 0x4c92bb
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xd
jmp 0x4c9375
cmp eax, 1
jne 0x4c92d0
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 0xb
jmp 0x4c9375
test eax, eax
jne 0x4c9375
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 9
jmp 0x4c9375
cmp eax, 5
jne 0x4c9338
mov eax, dword [ebp - 0x118]
cmp eax, edx
jne 0x4c9327
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4c9308
push 8
jmp 0x4c931e
cmp byte [ebp - 6], 1
jne 0x4c931c
cmp word [ebp - 0x158], 9
jne 0x4c931c
push 6
jmp 0x4c931e
push 7
mov ecx, dword [ebp - 0x124]
pop ebx
jmp 0x4c9375
cmp eax, 1
jne 0x4c9330
push 6
jmp 0x4c933f
test eax, eax
jne 0x4c9375
push 5
jmp 0x4c933f
cmp eax, 4
ja 0x4c9375
push 4
pop ebx
jmp 0x4c9375
cmp dword [ebp - 0x110], 1
jne 0x4c9375
cmp dword [ebp - 0x11c], 4
jne 0x4c9375
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x4c9363
xor ebx, ebx
inc ebx
jmp 0x4c9375
cmp eax, 0xa
jne 0x4c936c
mov ebx, edx
jmp 0x4c9375
push 3
cmp eax, 0x5a
pop edx
cmove ebx, edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4c9381
mov dword [eax], ebx
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4c938d
mov dword [eax], esi
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x4c9399
mov dword [eax], ecx
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004aa758
mov esp, ebp
pop ebp
ret