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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x5bc324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x80
lea eax, [ebp - 0x108]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x910], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x88]
push 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [edi]
add esp, 0xc
mov edx, 0x3c
mov dword [ebp - 0x90c], ebx
mov ecx, ebx
mov esi, dword [ebx + 0x168]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
add eax, 2
push eax
lea eax, [esi + 0x1cb0]
push eax
call fcn.004bce90
mov eax, dword [esi + 0x1eb0]
add esp, 8
mov cl, byte [eax]
inc eax
mov dword [esi + 0x1eb0], eax
cmp cl, 0x18
je 0x4bd6ce
cmp cl, 0x23
je 0x4bd6ab
cmp cl, 0x27
jne 0x4bd767
push 0
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x908]
push 0x800
push eax
call fcn.004a0a20
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x4bd64a
mov edx, dword [esi]
mov eax, edx
lea ebx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bd5d0
sub eax, ebx
lea ebx, [edi + 1]
add ebx, eax
cmp ebx, 0x7fa
jae 0x4bd638
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
push str._127_____127s
push edx
call fcn.004727e0
add esp, 0x10
test eax, eax
je 0x4bd638
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x108]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.004a0a20
add esp, 0x1c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x4bd5c7
mov ebx, dword [ebp - 0x90c]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push 0x59aa68
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.004a0a20
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x908]
push eax
mov eax, dword [ebp - 0x910]
push dword [eax + 0x154]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4bd6a5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.004909c0
add esp, 0xc
push edi
jmp 0x4bd751
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd6b6
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x4bd6f6
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd6e0
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x908]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.004a0a20
add esp, 0x28
lea eax, [ebp - 0x908]
push 0
push esi
push eax
push dword [edi + 0x154]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4bd74d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.004909c0
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x906]
mov edx, 0x3e
push eax
mov ecx, ebx
call fcn.004bce90
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00523a6a
mov esp, ebp
pop ebp
ret
Function at 0x4bd780
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push edi
mov eax, dword [eax + 0x168]
mov dword [ebp - 0xc], eax
cmp edx, 0x1f
jne 0x4bd8dc
lea ebx, [eax + 0x1cb0]
lea edi, [eax + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x4bd7c0
mov byte [ebx], 0xff
inc dword [edi]
mov ecx, dword [edi]
jmp 0x4bd7c2
mov ecx, ebx
cmp ecx, edi
jae 0x4bd7d6
mov byte [ecx], 0xfa
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x4bd7d6
mov byte [ecx], 0x1f
inc dword [edi]
movzx eax, word [eax + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x1caa]
push eax
call esi
mov edx, dword [ebp - 8]
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x4bd841
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4bd841
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4bd841
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4bd841
shr ecx, 8
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4bd841
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x4bd841
mov byte [eax], 0xf0
mov eax, dword [edi]
inc eax
mov esi, dword [ebp - 0xc]
mov edx, 0x3e
mov dword [edi], ebx
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov dword [esi + 0x1eb4], eax
sub eax, ebx
sub eax, 2
push eax
lea eax, [esi + 0x1cb2]
push eax
call fcn.004bce90
mov eax, dword [ebp - 4]
add esp, 8
push 0
push 3
push ebx
push dword [eax + 0x154]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x4bd89a
call ebx
push eax
push str.Sending_data_failed___d_
push edi
call fcn.004909c0
add esp, 0xc
mov ecx, dword [ebp - 4]
lea edx, [esi + 0x1cb3]
push 4
call fcn.004be070
add esp, 4
lea eax, [esi + 0x1cb7]
push 0
push 2
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x154]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4bd8dc
call ebx
push eax
push str.Sending_data_failed___d_
push edi
call fcn.004909c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bf6c0
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4bf6cb
jmp dword [eax*4 + 0x4bf724]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret
Function at 0x4bf790
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov bl, byte [esi]
test bl, bl
je 0x4bf839
mov cl, byte [edi]
test cl, cl
je 0x4bf839
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4bf7b6
jmp dword [eax*4 + 0x4bf858]
mov bl, 0x41
jmp case.default.0x4bf7b6
mov bl, 0x42
jmp case.default.0x4bf7b6
mov bl, 0x43
jmp case.default.0x4bf7b6
mov bl, 0x44
jmp case.default.0x4bf7b6
mov bl, 0x45
jmp case.default.0x4bf7b6
mov bl, 0x46
jmp case.default.0x4bf7b6
mov bl, 0x47
jmp case.default.0x4bf7b6
mov bl, 0x48
jmp case.default.0x4bf7b6
mov bl, 0x49
jmp case.default.0x4bf7b6
mov bl, 0x4a
jmp case.default.0x4bf7b6
mov bl, 0x4b
jmp case.default.0x4bf7b6
mov bl, 0x4c
jmp case.default.0x4bf7b6
mov bl, 0x4d
jmp case.default.0x4bf7b6
mov bl, 0x4e
jmp case.default.0x4bf7b6
mov bl, 0x4f
jmp case.default.0x4bf7b6
mov bl, 0x50
jmp case.default.0x4bf7b6
mov bl, 0x51
jmp case.default.0x4bf7b6
mov bl, 0x52
jmp case.default.0x4bf7b6
mov bl, 0x53
jmp case.default.0x4bf7b6
mov bl, 0x54
jmp case.default.0x4bf7b6
mov bl, 0x55
jmp case.default.0x4bf7b6
mov bl, 0x56
jmp case.default.0x4bf7b6
mov bl, 0x57
jmp case.default.0x4bf7b6
mov bl, 0x58
jmp case.default.0x4bf7b6
mov bl, 0x59
jmp case.default.0x4bf7b6
mov bl, 0x5a
call fcn.004bf6c0
cmp bl, al
jne 0x4bf839
mov bl, byte [esi + 1]
inc esi
inc edi
test bl, bl
jne 0x4bf7a1
mov cl, byte [esi]
call fcn.004bf6c0
mov cl, byte [edi]
mov dl, al
call fcn.004bf6c0
xor ecx, ecx
cmp dl, al
pop edi
sete cl
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x4bf8c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov bl, byte [edi]
test bl, bl
je 0x4bf984
nop dword [eax]
mov cl, byte [edx]
test cl, cl
je 0x4bf984
test esi, esi
je 0x4bf988
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4bf8fd
jmp dword [eax*4 + 0x4bf9b8]
mov bl, 0x41
jmp case.default.0x4bf8fd
mov bl, 0x42
jmp case.default.0x4bf8fd
mov bl, 0x43
jmp case.default.0x4bf8fd
mov bl, 0x44
jmp case.default.0x4bf8fd
mov bl, 0x45
jmp case.default.0x4bf8fd
mov bl, 0x46
jmp case.default.0x4bf8fd
mov bl, 0x47
jmp case.default.0x4bf8fd
mov bl, 0x48
jmp case.default.0x4bf8fd
mov bl, 0x49
jmp case.default.0x4bf8fd
mov bl, 0x4a
jmp case.default.0x4bf8fd
mov bl, 0x4b
jmp case.default.0x4bf8fd
mov bl, 0x4c
jmp case.default.0x4bf8fd
mov bl, 0x4d
jmp case.default.0x4bf8fd
mov bl, 0x4e
jmp case.default.0x4bf8fd
mov bl, 0x4f
jmp case.default.0x4bf8fd
mov bl, 0x50
jmp case.default.0x4bf8fd
mov bl, 0x51
jmp case.default.0x4bf8fd
mov bl, 0x52
jmp case.default.0x4bf8fd
mov bl, 0x53
jmp case.default.0x4bf8fd
mov bl, 0x54
jmp case.default.0x4bf8fd
mov bl, 0x55
jmp case.default.0x4bf8fd
mov bl, 0x56
jmp case.default.0x4bf8fd
mov bl, 0x57
jmp case.default.0x4bf8fd
mov bl, 0x58
jmp case.default.0x4bf8fd
mov bl, 0x59
jmp case.default.0x4bf8fd
mov bl, 0x5a
call fcn.004bf6c0
cmp bl, al
jne 0x4bf984
mov bl, byte [edi + 1]
inc edi
inc edx
dec esi
mov dword [ebp - 4], edx
test bl, bl
jne 0x4bf8e0
test esi, esi
jne 0x4bf994
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [edi]
call fcn.004bf6c0
mov dl, al
mov eax, dword [ebp - 4]
mov cl, byte [eax]
call fcn.004bf6c0
xor ecx, ecx
cmp dl, al
pop edi
sete cl
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb380
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov ecx, dword [esi]
cmp dword [ecx + 4], 2
jne 0x4cb3a9
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4cb39c
pop edi
pop esi
pop ebp
ret
push dword [ecx + 8]
push dword [ebp + 8]
push 1
push edi
call eax
jmp 0x4cb3dc
mov eax, dword [esi + 8]
test eax, eax
jne 0x4cb3cf
push 0x59c49c
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4cb3cf
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push eax
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4cb3ff
mov eax, dword [esi + 8]
test eax, eax
je 0x4cb3f9
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x4cb660
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x22c]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4cb689
mov eax, dword [ebx + 0x28]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov esi, dword [ebx + 0x20]
mov eax, 0x10624dd3
mul ecx
mov edi, edx
shr edi, 6
imul eax, edi, 0x3e8
sub esi, edi
sub ecx, eax
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
sub ecx, dword [ebx + 0x24]
imul ecx
imul ecx, esi, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [ebp - 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
cmp dword [eax + 0x220], 0
je 0x4cb741
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
mov ebx, edx
mov edx, dword [ebp - 0xc]
shr ebx, 6
imul ecx, ebx, 0x3e8
mov edi, dword [edx + 0x144]
sub edi, ebx
sub esi, ecx
imul ecx, esi, 0x3e8
sub ecx, dword [edx + 0x148]
imul ecx
imul eax, edi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x220]
cmp dword [ebp - 4], eax
cmovl eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cd4b0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4cd4e2
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
pop ebp
ret

Function at 0x4cd570
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push esi
push edi
push 0xf0000000
push 1
push 0
push 0
push eax
mov esi, edx
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4cd5ab
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cd5b0
push 0
sub ecx, edx
push ecx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 4]
push 0
push eax
push 0
push 2
push dword [ebp - 8]
mov dword [ebp - 4], 0
call esi
cmp dword [ebp - 4], 0x10
jne 0x4cd5f6
push 0
lea eax, [ebp - 4]
push eax
push edi
push 2
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4cd604
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4cd614
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d14de
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x56dcb6
call fcn.00523ab2
mov esi, ecx
mov ecx, dword [0x5c1360]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
lea ecx, [eax + 0x90]
cmp dword [ecx + 0x14], 8
jb 0x4d150c
mov ecx, dword [ecx]
mov eax, dword [esi]
push dword [eax + 0xc4]
add eax, 0xc8
push ecx
push str._s_s.exe
push eax
call fcn.0042ccc0
mov eax, dword [esi]
add esp, 0x10
push dword [eax + 0xc8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi]
mov ecx, edx
neg ecx
push 0x2710
sbb ecx, ecx
lea eax, [edx + 0x2c]
and ecx, eax
mov dword [edx + 0x3c], ecx
mov edx, dword [esi]
push 0
lea ecx, [edx + 0x38]
lea eax, [edx + 0x28]
neg edx
sbb edx, edx
sub esp, 0x18
and edx, eax
mov dword [ebp - 0x10], esp
mov dword [ecx], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0xc8]
mov eax, esp
push ecx
push eax
call fcn.0044e800
mov eax, dword [esi]
sub esp, 0x10
and dword [ebp - 4], 0
mov ecx, dword [eax + 0xc0]
mov eax, esp
push ecx
push eax
call fcn.0044e800
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [esi]
add ecx, 0x38
call fcn.00489a40
call fcn.00523a7b
ret
Function at 0x4d15a2
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x56dce9
call fcn.00523ae6
mov ebx, ecx
mov ecx, dword [0x5c1360]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a1a0
mov ecx, dword [0x5c1360]
and dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00440540
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push str._S__D
push eax
call fcn.00471e10
add esp, 0x14
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [edx + 4]
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x4d1621
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4d1629
mov edi, dword [edi]
mov ecx, dword [ebx]
push 0
push eax
push edi
push dword [ecx + 0xc8]
mov ecx, dword [ecx + 0x20]
push str.open
call fcn.004d8c45
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x40]
call fcn.0043eac0
lea ecx, [ebp - 0x58]
call fcn.0043eac0
lea ecx, [ebp - 0x28]
call fcn.0043eac0
call fcn.00523a90
ret
Function at 0x4d275e
Capabilities:
Create process on windows

Disassembly:
push 0x3c
mov eax, 0x56e0e3
call fcn.00523ae6
mov ebx, ecx
mov byte [ebx + 0x34], 0
mov ecx, dword [0x5c1360]
mov eax, dword [ecx]
call dword [eax + 8]
push 1
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, eax
call fcn.004d28ec
mov ecx, dword [ebx + 0x20]
push str.sldDown
call fcn.004d81d1
push 0x64
mov ecx, eax
call fcn.004e109a
mov ecx, dword [ebx + 0x20]
push str.lblDown
call fcn.004d81d1
mov edi, eax
call fcn.00422040
push eax
lea ecx, [ebp - 0x44]
call fcn.0042a720
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push 0x5774f8
push eax
call fcn.004d013a
push dword [eax]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
call fcn.0042ccc0
mov ecx, dword [ebp - 0x48]
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00421db0
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp - 0x44]
push esi
call dword [eax + 0x30]
push 0x7d0
call fcn.004342f0
pop ecx
mov ecx, dword [0x5c1360]
mov eax, dword [ecx]
call dword [eax + 4]
push 0x577518
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ecx, eax
call fcn.004cf6c9
push str.UIMainProxy::OnUpdateSucceed
push str.mainexe
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x5c3338
call fcn.00484b10
push 8
pop edi
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], edi
jb 0x4d285e
mov eax, dword [eax]
push ecx
push eax
push 0x5c3338
call fcn.00486b00
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0043eac0
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00440540
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [ecx + 0x14], edi
jb 0x4d289c
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebx + 0x20]
push str._autorun__tipver
push eax
push str.open
call fcn.004d8c45
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0043eac0
mov ecx, ebx
call fcn.004d18b0
lea ecx, [ebp - 0x28]
call fcn.0043eac0
lea ecx, [esi - 0x10]
call fcn.00421db0
call fcn.00523a90
ret
Function at 0x4d40e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x4d493f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4d67cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov esi, 0x11b29719
mov edi, 0x7f7
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
jle 0x4d6807
movsx eax, byte [ecx + ebx]
or eax, 0x80
cdq
xor esi, eax
xor edi, edx
inc ecx
cmp ecx, dword [ebp - 4]
jl 0x4d67f3
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4d8ef2
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 0x4d8f15
or esi, 1
push 1
call edi
test ax, ax
jns 0x4d8f21
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4d8f2d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4d8f39
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x4db7f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [edi + 0x1c]
je 0x4db819
cmp esi, dword [edi + 0x114]
je 0x4db819
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x114], 0
je 0x4db877
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x14
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x114]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x114]
call fcn.004db377
and dword [edi + 0x114], 0
test esi, esi
je 0x4db8f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp eax, edi
jne 0x4db8f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test al, al
je 0x4db8f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe4]
test al, al
je 0x4db8f6
xorps xmm0, xmm0
mov dword [edi + 0x114], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x114]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x114]
call fcn.004db377
pop edi
pop esi
leave
ret 4
Function at 0x4dd9fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dda2e
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x4dee27
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x4dee64
test al, 8
jne 0x4dee64
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4dee64
mov cl, byte [esi + 0xc]
or cl, 4
mov byte [esi + 0xc], cl
test eax, 0x21000000
jne 0x4dee64
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x4dee81
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.004dee91
jmp 0x4dee8c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4