joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466540
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [esi + 0x98]
cmp edi, 0xffffffff
je 0x466679
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x260]
test dword [eax + 0x48], 0x800
jne 0x466679
push 0x80
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push 0
push eax
call fcn.004f3400
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x466606
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.0041d7a0
push eax
push esi
push 0x55da9c
push ebx
call fcn.004335f0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00472312
add esp, 0x188
ret
lea eax, [esi + 0x11c]
push eax
lea eax, [esi + 0xea]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.004357c0
add esp, 0x10
test al, al
jne 0x466679
call fcn.0050176b
mov esi, eax
call fcn.0050176b
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push dword [esi]
call fcn.0041d7a0
push eax
push dword [edi]
push 0x55dac4
push ebx
call fcn.004335f0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00472312
add esp, 0x188
ret
mov ecx, dword [esp + 0x190]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0x188
ret

Function at 0x466900
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
xor eax, eax
push edi
mov edi, dword [esp + 0x28]
push 4
cmp byte [esi + 0x6a5], al
setne al
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x46694f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push 0x55d8c8
jmp 0x4669bd
push dword [esi + 0x640]
mov dword [esp + 0x14], 1
call fcn.00421230
push dword [esi + 0x644]
imul eax, eax, 0x3e8
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
call fcn.00421230
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x28]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x4669c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push 0x55d8f8
push esi
call fcn.004336c0
add esp, 0x10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.00472312
add esp, 0x18
ret
Function at 0x4669e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x108
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
lea eax, [esp + 4]
push 4
push eax
push 1
push 6
push dword [esp + 0x124]
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x466a45
push 0x100
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0041d7a0
push eax
push 0x55d8a8
push esi
call fcn.004336c0
add esp, 0x18
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.00472312
add esp, 0x108
ret
Function at 0x46c310
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.00445a60
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x46c388
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d890
push eax
push edi
push 0x55eb00
push ebp
call fcn.004335f0
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x46c4c7
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x46c3da
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d890
push eax
push edi
push 0x55eb34
push ebp
call fcn.004335f0
add esp, 0x1c
mov esi, 0x4d
jmp 0x46c4c7
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x46c41a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d890
push eax
push edi
push 0x55eb60
push ebp
call fcn.004335f0
add esp, 0x1c
mov esi, 0x4d
jmp 0x46c4bd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x46c448
jg 0x46c42e
cmp edi, 0x100000
jbe 0x46c448
push 0x100000
push 0x55eb98
push ebp
call fcn.004335f0
add esp, 0xc
mov esi, 0x4d
jmp 0x46c4bd
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46c460
lea esi, [eax + 0x1b]
jmp 0x46c4bd
test edi, edi
je 0x46c4a4
nop dword [eax]
nop dword [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46c501
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46c4fd
add esi, eax
cmp esi, edi
jb 0x46c470
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.0046c110
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x1341004]
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x46c4e2
push eax
call fcn.004fa841
add esp, 4
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0x120
ret
mov edi, esi
jmp 0x46c4a4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d890
push eax
push dword [esp + 0x24]
push 0x55ebc8
push ebp
call fcn.004335f0
add esp, 0x1c
mov esi, 0x4d
jmp 0x46c4bd
Function at 0x4712b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4712d7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x47131f
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x20], ebx
jmp 0x471323
mov ebp, dword [esp + 0x1c]
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x471385
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x471344
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4713b7
nop word [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x5600d5
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x5600d6
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x471390
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x471530
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
lea eax, [esp]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x471555
mov eax, 0x1b
add esp, 8
ret
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x471585
push eax
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
add esp, 8
ret
push dword [esp + 0x14]
call fcn.00522850
add esp, 4
push 0
push eax
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea ecx, [esp]
push ecx
push dword [esp + 0x10]
call fcn.004714d0
add esp, 8
xor eax, eax
add esp, 8
ret
Function at 0x4769b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4769d1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4769e9
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x476a01
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x476a17
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x476a2f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47f060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f136
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x47f136
cmp dword [ebp - 0x20], 0x10
jne 0x47f102
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
jne 0x47f102
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x10], eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x24]
push eax
call fcn.0047e510
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x47f129
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x20], 0x12
jne 0x47f131
jmp 0x47f136
jmp 0x47f0ad
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x20], 0x12
jne 0x47f15c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4b6b30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x69c], 0
je 0x4b6be3
cmp dword [ebp + 8], 0x100
jne 0x4b6baf
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x4b6baf
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x6a2]
test eax, eax
je 0x4b6b86
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4b6baf
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x6a3]
test eax, eax
jne 0x4b6baf
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
je 0x4b6bab
push 1
push 0
push 0
push 0
push 0x562de4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5c]
call fcn.0047c8d0
xor eax, eax
jmp 0x4b6be8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x69c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x4b6be8
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4de7b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00489d00
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6d0], 0
je 0x4de84c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6d0]
call fcn.004dd5a0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4de81d
push 0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6d0]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4de84c
push 0x54
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6d0]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472312
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4de860
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4de885
xor eax, eax
jmp 0x4de94e
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x4de895
xor eax, eax
jmp 0x4de94e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.0054c1e0
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x4de8c8
xor eax, eax
jmp 0x4de94e
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
add ecx, 0x1e4
call fcn.00484670
push 1
push 0
push 0
push 0
push 0x562dcc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.0047c8d0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004767c0
movzx ecx, al
test ecx, ecx
je 0x4de94c
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
call fcn.00489a70
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472312
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4dfad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
call fcn.0048c490
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6d0], 0
je 0x4dfb80
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6d0]
call fcn.004dd5a0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4dfb51
push 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6d0]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dfb80
push 0x54
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6d0]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472312
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4e46d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550650
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov dword [eax + 0x6e0], 0
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 4], 0
jne 0x4e47e4
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004e4060
mov dword [ebp - 0xb0], 0x40000000
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0xb0]
push eax
push 0
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xa8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004763b0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0047ec90
push 1
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004d9db0
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00475e80
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
call fcn.004851d0
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00484540
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x4e4861
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
add ecx, 0x6d0
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
add eax, 0x6d0
push eax
push 0
push 0x1002
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xa8]
mov byte [ecx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472312
mov esp, ebp
pop ebp
ret 4
Function at 0x4e48d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00489d00
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6e8], 0
je 0x4e496c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6e8]
call fcn.004e4060
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4e493d
push 0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6e8]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e496c
push 0x54
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6e8]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472312
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e4ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x18]
call fcn.0048c490
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6e8], 0
je 0x4e4b80
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6e8]
call fcn.004e4060
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4e4b51
push 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6e8]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e4b80
push 0x54
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6e8]
call fcn.00488690
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472312
mov esp, ebp
pop ebp
ret 0x14
Function at 0x50f8eb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050f76a

Function at 0x510f1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00510bda
Function at 0x519db0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov eax, 1
push ebx
push ebp
push esi
mov edx, dword [ecx + 0x10c]
push edi
lea edi, [ecx + 0x114]
mov dword [esp + 0x10], 0x3020100
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
nop dword [eax + eax]
add ecx, 0x4040404
mov dword [edi + eax*4], ecx
inc eax
cmp eax, edx
jbe 0x519de0
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
xor esi, esi
test ebp, ebp
je 0x519e34
or edx, 0xffffffff
sub edx, edi
nop
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
movzx ecx, byte [esi + eax]
or ebx, ecx
mov al, byte [ecx + edi]
mov byte [esi + ebp], al
mov ebp, dword [esp + 0x1c]
mov byte [edi - 1], al
lea eax, [edi + 1]
add eax, ecx
mov cl, byte [eax - 2]
lea eax, [eax - 1]
mov byte [eax], cl
lea ecx, [edx + eax]
test ecx, ecx
jns 0x519e20
inc esi
cmp esi, ebp
jb 0x519e00
mov eax, dword [esp + 0x20]
pop edi
pop esi
shr ebx, 2
pop ebp
mov dword [eax + 0x10c], ebx
pop ebx
pop ecx
ret