joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4776b8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4170c4]
call fcn.00404d7c
xor eax, eax
push ebp
push 0x4777fc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5440d0], 0
jne 0x47770b
mov ecx, dword [0x548060]
mov dl, 1
mov eax, dword [0x407cac]
call fcn.0040cb54
call fcn.00403dd4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fd4
mov eax, ebx
call fcn.00404c2c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47780c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f40
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c3c
test eax, eax
jle 0x4777a3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47779c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404620
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404608
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b58
test eax, eax
jne 0x47779c
mov ebx, 0x15
jmp 0x4777a8
mov ebx, 0x10
jmp 0x4777a8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5440d0]
call fcn.00477610
mov eax, dword [ebp - 8]
call fcn.00477610
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477803
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043bc
lea eax, [ebp - 0x10]
mov edx, dword [0x4170c4]
call fcn.00404e4c
ret

Function at 0x478750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4787ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x103]
call fcn.00409b0c
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dl, 1
call fcn.00475b80
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004043ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4787d1
lea eax, [ebp - 0x108]
call fcn.00404398
ret
Function at 0x4787d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478852
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x103]
call fcn.00409b0c
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dl, 1
call fcn.00475b80
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004043ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478859
lea eax, [ebp - 0x108]
call fcn.00404398
ret
Function at 0x478860
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478a02
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0xc], 0
jne 0x4788a8
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 0xe]
jmp 0x4788ac
mov byte [ebp - 0xe], 0
cmp dword [ebp - 0xc], 0
jne 0x4788ee
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x478a1c
call fcn.004792b8
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 4]
mov edx, 0x478a40
call fcn.004046a4
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov dl, 1
call fcn.004762e0
jmp 0x4789ec
cmp dword [ebp + 8], 0
jne 0x47890e
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00404858
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x4789c0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
push 0x64
call sub.kernel32.dll_Sleep_1
cmp byte [ebp - 0xd], 0
je 0x4789c0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4789c0
call fcn.0040ac6c
fstp qword [ebp - 0x20]
wait
jmp 0x4789ba
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x2c], 0x1388
jbe 0x478979
push 0x1388
call sub.kernel32.dll_Sleep_1
jmp 0x478982
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_Sleep_1
call fcn.0040ac6c
fstp qword [ebp - 0x28]
wait
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
fild dword [ebp - 8]
fdiv dword [0x478a64]
fcompp
fnstsw ax
sahf
jb 0x4789c0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4789c0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jb 0x4789c0
cmp dword [ebp - 0x40], 4
jne 0x47895e
cmp byte [ebp - 0xe], 0
je 0x4789e4
cmp dword [ebp + 8], 0
je 0x4789d5
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0xc], 0
je 0x4789e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0x40], 4
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478a09
lea eax, [ebp - 0x50]
call fcn.00404398
ret
Function at 0x478a68
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478bdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0xc], 0
jne 0x478aad
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 0x15]
jmp 0x478ab1
mov byte [ebp - 0x15], 0
cmp dword [ebp - 0xc], 0
jne 0x478ad8
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 4]
mov edx, 0x478bf8
call fcn.004046a4
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dl, 1
call fcn.004762e0
jmp 0x478bc7
cmp dword [ebp + 8], 0
jne 0x478af5
push 0x24
mov eax, dword [ebp - 4]
call fcn.00404858
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jbe 0x478b9b
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_ControlService
test eax, eax
je 0x478b9b
push 0x64
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x478b9b
call fcn.0040ac6c
fstp qword [ebp - 0x20]
wait
jmp 0x478b95
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], 0x1388
jbe 0x478b54
push 0x1388
call sub.kernel32.dll_Sleep_1
jmp 0x478b5d
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_Sleep_1
call fcn.0040ac6c
fstp qword [ebp - 0x28]
wait
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
fild dword [ebp - 8]
fdiv dword [0x478c1c]
fcompp
fnstsw ax
sahf
jb 0x478b9b
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x478b9b
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jb 0x478b9b
cmp dword [ebp - 0x40], 1
jne 0x478b39
cmp byte [ebp - 0x15], 0
je 0x478bbf
cmp dword [ebp + 8], 0
je 0x478bb0
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0xc], 0
je 0x478bbf
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0x40], 1
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478be4
lea eax, [ebp - 0x48]
call fcn.00404398
ret
Function at 0x4792b8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479311
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409ffc
mov eax, dword [ebp - 0x10]
call fcn.00404858
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479318
lea eax, [ebp - 0x10]
call fcn.00404398
ret

Function at 0x47db3c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff94
push ebx
xor ebx, ebx
mov dword [ebp - 0x106c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404848
mov eax, dword [ebp - 8]
call fcn.00404848
xor eax, eax
push ebp
push 0x47dc51
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1058]
xor ecx, ecx
mov edx, 0x44
call fcn.00402fd4
lea eax, [ebp - 0x1068]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fd4
mov dword [ebp - 0x1058], 0x44
lea eax, [ebp - 0x1011]
mov ecx, 0x1000
mov edx, dword [ebp - 8]
call fcn.004099b4
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1058]
push eax
lea edx, [ebp - 0x106c]
mov eax, dword [ebp - 4]
call fcn.004096cc
mov eax, dword [ebp - 0x106c]
call fcn.00404858
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1011]
push eax
mov eax, dword [ebp - 4]
call fcn.00404858
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x47dc24
mov eax, dword [ebp - 0x1068]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x1064]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x47dc2b
mov dword [ebp - 0xc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dc58
lea eax, [ebp - 0x106c]
call fcn.00404398
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043bc
ret
Function at 0x47ebc8
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47ebd1
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404848
xor eax, eax
push ebp
push 0x47edf0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
jne 0x47ec62
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004089b4
mov edx, dword [ebp - 0x18]
mov eax, 0x47ee04
call fcn.0040499c
test eax, eax
jne 0x47ec62
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004089b4
mov edx, dword [ebp - 0x1c]
mov eax, 0x47ee18
call fcn.0040499c
test eax, eax
jne 0x47ec62
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004089b4
mov edx, dword [ebp - 0x20]
mov eax, 0x47ee2c
call fcn.0040499c
test eax, eax
jne 0x47ec62
lea eax, [ebp - 4]
mov edx, 0x47ee40
call fcn.00404430
push 0x47ee58
push 0
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
call fcn.00475e48
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
or ecx, 0xffffffff
call fcn.00475c38
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.00404430
mov eax, dword [ebp - 0x10]
call fcn.004092e8
test al, al
je 0x47ed19
call fcn.00402b8c
mov edx, 0xf423f
mov eax, 0x1b207
call fcn.0042dfa0
lea edx, [ebp - 0x2c]
call fcn.00408cc8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov ecx, 0x47ee70
call fcn.004046a4
mov eax, dword [ebp - 0x14]
push eax
push 0
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
call fcn.00475e48
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x28]
or ecx, 0xffffffff
call fcn.00475c38
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.00404430
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404858
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404858
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404430
mov eax, dword [ebp - 0x10]
call fcn.004092e8
test al, al
jne 0x47ed56
lea eax, [ebp - 0x10]
mov edx, 0x47ee80
call fcn.00404430
mov eax, dword [ebp - 0x10]
call fcn.004092e8
test al, al
jne 0x47ed56
lea eax, [ebp - 0x38]
call fcn.004787d8
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov ecx, 0x47ee58
call fcn.004046a4
mov eax, dword [ebp - 0x10]
call fcn.004092e8
test al, al
je 0x47edb0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x47eeb8
call fcn.00409ffc
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
call fcn.00404430
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404858
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404858
push eax
push 0x47eec0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47edcd
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404858
push eax
push 0x47eec0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47edf7
lea eax, [ebp - 0x3c]
mov edx, 0xc
call fcn.004043bc
lea eax, [ebp - 4]
call fcn.00404398
ret
Function at 0x48cce8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48cd16
mov eax, ebx
call fcn.0048d79c
cmp dword [ebx + 0x40], 0
je 0x48cd0f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48cd87
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48cd79
cmp dword [ebx + 8], 0
je 0x48cd38
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48cd4a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48cd79
cmp dword [ebx + 8], 0
je 0x48cd2b
cmp eax, 3
je 0x48cd5d
dec eax
jne 0x48cd2b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48cd2b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48cd2b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48cda5
cmp dword [ebx + 0x14], 0xcc
je 0x48cda5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048cdb0
pop ebx
ret

Function at 0x4a353c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a35f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404aa4
mov eax, dword [0x548544]
cmp dword [eax], 2
jne 0x4a35ab
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404d18
mov eax, dword [ebx]
call fcn.00404c3c
push eax
mov eax, dword [ebx]
call fcn.00404c2c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404c3c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404d18
jmp 0x4a35dd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409b0c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a35fd
lea eax, [ebp - 0x3f0]
call fcn.00404398
ret
Function at 0x4abd24
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x60], 0
jne 0x4abd3c
mov eax, ebx
call fcn.004abaec
cmp dword [ebx + 0x54], 0
jne 0x4abd49
mov eax, ebx
call fcn.004aba20
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4abee0
cmp dword [ebx + 0x54], 0
je 0x4abee0
mov edx, esp
mov eax, esi
call fcn.0051bef4
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004ab9a4
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4abdaf
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4abd98
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4abda4
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x4abdc5
call fcn.00458204
mov esi, eax
jmp 0x4abdc8
mov esi, dword [ebx + 0x64]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4abddd
or esi, 0xffffffff
jmp 0x4abde7
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x54]
call fcn.0045113c
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
call fcn.00451160
mov edx, dword [esp]
mov eax, dword [ebx + 0x54]
call fcn.00451188
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x54]
call fcn.004511ac
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0051bf40
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x60]
call fcn.0042bbfc
call fcn.00427080
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.00458204
push eax
call dword [0x54b4f4]
push 4
mov eax, dword [ebx + 0x54]
call fcn.00458204
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae298
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x4ae2ca
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.004ae1ac
mov dword [ebp - 8], eax
mov al, byte [ebp + 8]
mov byte [ebp - 5], al
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0051cd24
test al, al
je 0x4ae3c5
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.0042dedc
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0042de18
dec eax
pop edx
sub eax, edx
jl 0x4ae3c5
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x30]
xor eax, eax
call fcn.0042dedc
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.0042de18
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4ae3b9
inc edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 6]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 7]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 8]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp - 5]
mov byte [ecx + 3], al
inc dword [ebp - 0x18]
dec edi
jne 0x4ae34f
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4ae31c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ec040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404848
xor eax, eax
push ebp
push 0x4ec268
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x4ec278
mov edx, dword [ebp - 4]
mov eax, 4
call fcn.004e8104
mov edx, 4
call fcn.0042de18
mov al, byte [eax + 0x5479a0]
push eax
lea ecx, [ebp - 0x18]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004eb9c0
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 4]
call fcn.004eb950
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 4]
call fcn.004eb950
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 4]
call fcn.004eb950
push eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f2dd0
mov esi, eax
mov edi, esi
shl edi, 4
sub edi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x78b4]
lea ebx, [eax + edi*4]
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 4]
call fcn.004eb950
mov word [ebx + 0x2c], ax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 4]
call fcn.004eb950
mov word [ebx + 0x2e], ax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004eb950
mov word [ebx + 0x30], ax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 4]
call fcn.004eb950
mov word [ebx + 0x32], ax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 4]
call fcn.004eb950
mov word [ebx + 0x20], ax
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x4ec228
cmp word [ebx + 0x20], 0
je 0x4ec1e3
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x4ec228
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.0051bfa4
movsx edx, word [ebx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.0051bfb8
movsx edx, word [ebx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x78b4]
lea edx, [eax + edi*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004e81f4
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec26f
lea eax, [ebp - 0x1c]
call fcn.00404398
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043bc
ret