joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466480
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 0x4665b9
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x260]
test dword [eax + 0x48], 0x800
jne 0x4665b9
push 0x80
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push 0
push eax
call fcn.004f3280
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 0x466546
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.0041d6d0
push eax
push esi
push 0x55da9c
push ebx
call fcn.00433540
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00472272
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.004356c0
add esp, 0x10
test al, al
jne 0x4665b9
call fcn.0050156a
mov esi, eax
call fcn.0050156a
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push dword [esi]
call fcn.0041d6d0
push eax
push dword [edi]
push 0x55dac4
push ebx
call fcn.00433540
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00472272
add esp, 0x188
ret
mov ecx, dword [esp + 0x190]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472272
add esp, 0x188
ret

Function at 0x466840
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 0x46688f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push 0x55d8c8
jmp 0x4668fd
push dword [esi + 0x640]
mov dword [esp + 0x14], 1
call fcn.00421150
push dword [esi + 0x644]
imul eax, eax, 0x3e8
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
call fcn.00421150
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 0x466906
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push 0x55d8f8
push esi
call fcn.00433610
add esp, 0x10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.00472272
add esp, 0x18
ret
Function at 0x466920
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 0x466985
push 0x100
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0041d6d0
push eax
push 0x55d8a8
push esi
call fcn.00433610
add esp, 0x18
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.00472272
add esp, 0x108
ret
Function at 0x46c280
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.00445970
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x46c2f8
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d7c0
push eax
push edi
push 0x55eb00
push ebp
call fcn.00433540
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x46c437
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 0x46c34a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d7c0
push eax
push edi
push 0x55eb34
push ebp
call fcn.00433540
add esp, 0x1c
mov esi, 0x4d
jmp 0x46c437
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x46c38a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d7c0
push eax
push edi
push 0x55eb60
push ebp
call fcn.00433540
add esp, 0x1c
mov esi, 0x4d
jmp 0x46c42d
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x46c3b8
jg 0x46c39e
cmp edi, 0x100000
jbe 0x46c3b8
push 0x100000
push 0x55eb98
push ebp
call fcn.00433540
add esp, 0xc
mov esi, 0x4d
jmp 0x46c42d
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46c3d0
lea esi, [eax + 0x1b]
jmp 0x46c42d
test edi, edi
je 0x46c414
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 0x46c471
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46c46d
add esi, eax
cmp esi, edi
jb 0x46c3e0
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.0046c080
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 0x46c452
push eax
call fcn.004fa6b9
add esp, 4
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00472272
add esp, 0x120
ret
mov edi, esi
jmp 0x46c414
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d7c0
push eax
push dword [esp + 0x24]
push 0x55ebc8
push ebp
call fcn.00433540
add esp, 0x1c
mov esi, 0x4d
jmp 0x46c42d
Function at 0x4711b0
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 0x4711d7
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 0x47121f
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 0x471223
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 0x471285
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 0x471244
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x4712b7
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 0x471290
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x471430
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 0x471455
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 0x471485
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.00421160
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.004713d0
add esp, 8
xor eax, eax
add esp, 8
ret
Function at 0x4768f0
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 0x476911
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 0x476929
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 0x476941
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 0x476957
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 0x47696f
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 0x47f070
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]
mov dword [ebp - 0x24], 0
xor edx, 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 0x47f14a
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x47f14a
cmp dword [ebp - 0x20], 0x10
jne 0x47f116
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 4]
jne 0x47f116
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.0047e530
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x47f13d
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 0x47f145
jmp 0x47f14a
jmp 0x47f0c1
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 0x47f170
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 0x4b62d0
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 0x4b6383
cmp dword [ebp + 8], 0x100
jne 0x4b634f
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x4b634f
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x6a2]
test eax, eax
je 0x4b6326
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4b634f
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x6a3]
test eax, eax
jne 0x4b634f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
je 0x4b634b
push 1
push 0
push 0
push 0
push 0x562bc4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5c]
call fcn.0047c8b0
xor eax, eax
jmp 0x4b6388
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 0x4b6388
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ddf10
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.004872e0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6d0], 0
je 0x4ddfac
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6d0]
call fcn.004dcdc0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4ddf7d
push 0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6d0]
call fcn.004c6440
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ddfac
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.004c6440
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ddfd0
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 0x4ddff5
xor eax, eax
jmp 0x4de0be
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x4de005
xor eax, eax
jmp 0x4de0be
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.0054c080
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x4de038
xor eax, eax
jmp 0x4de0be
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.00484760
push 1
push 0
push 0
push 0
push 0x562bac
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.0047c8b0
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.00476700
movzx ecx, al
test ecx, ecx
je 0x4de0bc
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
call fcn.00487050
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4df240
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.00489b30
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6d0], 0
je 0x4df2f0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6d0]
call fcn.004dcdc0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4df2c1
push 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6d0]
call fcn.004c6440
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4df2f0
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.004c6440
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4e44b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55019b
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 0x4e45c4
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004e3e40
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.004762f0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0047ecb0
push 1
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.004d30d0
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.00475dd0
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.004852d0
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00484630
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x4e4641
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.00472272
mov esp, ebp
pop ebp
ret 4
Function at 0x4e46b0
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.004872e0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6e8], 0
je 0x4e474c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6e8]
call fcn.004e3e40
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4e471d
push 0
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x6e8]
call fcn.004c6440
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e474c
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.004c6440
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e48b0
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.00489b30
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6e8], 0
je 0x4e4960
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6e8]
call fcn.004e3e40
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4e4931
push 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6e8]
call fcn.004c6440
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e4960
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.004c6440
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0x14
Function at 0x50f70b
Capabilities:
Read file on windows

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

Function at 0x510d3c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005109fc
Function at 0x519c50
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 0x519c80
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
xor esi, esi
test ebp, ebp
je 0x519cd4
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 0x519cc0
inc esi
cmp esi, ebp
jb 0x519ca0
mov eax, dword [esp + 0x20]
pop edi
pop esi
shr ebx, 2
pop ebp
mov dword [eax + 0x10c], ebx
pop ebx
pop ecx
ret