joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1830
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e18ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4e1094]
call fcn.004e1928
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e18d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4e1918
call fcn.004163d8
mov edx, dword [ebp - 8]
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
call fcn.004840a8
call fcn.004e10fc
call sub.user32.dll_GetFocus
mov edx, dword [0x51fe6c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x170]
jne 0x4e18bb
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4e18c2
call sub.user32.dll_WaitMessage
jmp 0x4e1895
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e18df
mov eax, dword [ebp - 4]
call fcn.00404098
ret

Function at 0x4e6f18
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4e6f20
push ecx
push ebx
xor eax, eax
push ebp
push 0x4e706a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0048dca8
mov edx, dword [ebp - 0x10]
mov eax, 0x526dc4
call fcn.00406448
lea eax, [ebp - 0x14]
mov ecx, dword [0x526dc4]
mov edx, 0x4e7084
call fcn.00406914
mov eax, dword [ebp - 0x14]
call fcn.004ba008
mov eax, dword [0x51ff34]
cmp byte [eax], 0
je 0x4e6f7b
mov eax, dword [0x526dc4]
call fcn.004b9710
lea edx, [ebp - 0x18]
mov eax, dword [0x526dc4]
call fcn.00486cb0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4e70cc
call fcn.00406914
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4e7011
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.0048ad9c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.004152dc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0048929c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x68
call fcn.0048ad6c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x412c7c]
call fcn.00419ab0
call fcn.00404a74
lea eax, [ebp - 8]
call fcn.004ba8b8
cmp dword [ebp - 8], 0
je 0x4e7042
lea eax, [ebp - 0xc]
mov ecx, 0x4e70e8
mov edx, dword [ebp - 4]
call fcn.00406914
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004e6ec0
mov eax, dword [ebp - 0xc]
call fcn.004ba910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7071
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00406440
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00406440
ret
Function at 0x4e9944
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x52709d], 1
call fcn.0048fae0
test al, al
jne 0x4e9996
push 5
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x51fe7c]
mov eax, dword [eax + 0x124]
mov cl, 2
xor edx, edx
call fcn.004e9828
ret

Function at 0x4ece90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x4eceb5
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4eec68
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x4eec71
call fcn.004ed95c
mov eax, 0xa
call fcn.004896a0
call fcn.004ed95c
call fcn.004eec08
test al, al
jne 0x4eec46
pop ebx
ret

Function at 0x4ef194
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x51fa08]
cmp dword [eax], 0
je 0x4ef23f
mov eax, dword [0x51fa08]
mov eax, dword [eax]
call fcn.0046bf3c
test al, al
je 0x4ef23f
mov eax, dword [0x51fa08]
mov eax, dword [eax]
cmp byte [eax + 0x1e2], 0
je 0x4ef1e9
cmp byte [ebx + 0x389], 0
jne 0x4ef1e9
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4ef1ed
xor eax, eax
jmp 0x4ef1ef
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x51fa08]
mov eax, dword [eax]
call fcn.0046bb90
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x4ef23f
test bl, bl
je 0x4ef22b
push 5
mov eax, dword [0x51fa08]
mov eax, dword [eax]
call fcn.0046bb90
push eax
call sub.user32.dll_ShowWindow
jmp 0x4ef23f
push 0
mov eax, dword [0x51fa08]
mov eax, dword [eax]
call fcn.0046bb90
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4ef2f0
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x527056], 0
push 0x4ef3c8
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x4ef3e4
push ebx
call fcn.00409620
test eax, eax
je 0x4ef37c
lea edx, [esp + 4]
push edx
call eax
push 0x4ef40c
push ebx
call fcn.00409620
mov esi, eax
test esi, esi
je 0x4ef386
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x4ef386
cmp dword [esp], 0
je 0x4ef386
call fcn.0048c984
test al, al
je 0x4ef386
push 0x4ef42c
push ebx
call fcn.00409620
test eax, eax
je 0x4ef386
push 0x4ef460
push 0x4ef480
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
test eax, eax
je 0x4ef386
mov byte [0x527056], 1
jmp 0x4ef386
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 4]
sub ax, 1
jb 0x4ef39f
sub ax, 5
je 0x4ef3a8
sub ax, 3
je 0x4ef3b1
jmp 0x4ef3ba
mov byte [0x51f48c], 1
jmp 0x4ef3c1
mov byte [0x51f48c], 3
jmp 0x4ef3c1
mov byte [0x51f48c], 2
jmp 0x4ef3c1
mov byte [0x51f48c], 0
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x4ef49c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x4ef50c
mov edx, 0x80000002
xor eax, eax
call fcn.00488740
test eax, eax
jne 0x4ef505
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4ef560
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4ef4fc
cmp dword [ebp - 0xc], 4
jne 0x4ef4fc
cmp dword [ebp - 8], 4
jne 0x4ef4fc
movzx eax, word [ebp - 0x10]
mov word [0x52706c], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret

Function at 0x4ef708
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4ef7b7
movzx eax, byte [esp + 4]
shl eax, 0x18
movzx edx, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x527068], eax
cmp byte [0x527055], 0
je 0x4ef7b7
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4ef7a8
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4ef7b7
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x52706c], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x52706e], al
movzx eax, word [esp + 0x22c]
mov word [0x527070], ax
jmp 0x4ef7b7
cmp eax, 4
jne 0x4ef7b7
call fcn.004ef49c
call fcn.004ef578
add esp, 0x230
ret
Function at 0x4faad4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4faca6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.00406584
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x51f908]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.00488740
test eax, eax
jne 0x4fac8b
xor eax, eax
push ebp
push 0x4fac80
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.00499e64
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x4fab65
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x4fab92
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x4fabb4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x4fac2a
sub eax, 0xe9
je 0x4fabce
sub eax, 0x19
je 0x4fac69
jmp 0x4fac23
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4fabe5
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x4fabf8
call fcn.00404b68
jmp 0x4fac8b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4fac0f
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406584
jmp 0x4fab59
call fcn.00404b68
jmp 0x4fac8b
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.00499e64
lea eax, [ebp - 4]
call fcn.00406eb8
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00406584
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.004aaff4
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00497ffc
inc ebx
jmp 0x4fab59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fac87
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4facad
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x5006c8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x50074c
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x500734
mov ebx, esi
test ebx, ebx
je 0x5006fa
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004064d4
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x500768
call fcn.00406914
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x500736
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500753
lea eax, [ebp - 8]
call fcn.00406438
ret

Function at 0x504cd4
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x504e17
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x504e30
mov edx, ebx
call fcn.00406914
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x504df1
xor eax, eax
push ebp
push 0x504dea
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x504e4c
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.00416104
test eax, eax
jne 0x504dbb
test byte [ebp - 0x258], 0x10
jne 0x504dbb
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00406640
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406914
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x504dad
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x504d45
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504df1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504e1e
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00406440
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x504e58
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x504f58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00406448
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00487244
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x504f74
call fcn.004163d8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00406914
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x504ef8
test esi, 0x10
jne 0x504f28
test esi, 1
je 0x504ef8
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x504f22
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406448
jmp 0x504f35
inc edi
cmp edi, 0xa
je 0x504f35
inc ebx
cmp ebx, 0x3e8
jne 0x504e99
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504f5f
lea eax, [ebp - 0x14]
call fcn.00406438
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x5059d8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x505a80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x505a9c
push ebx
push 0x505aac
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004069f8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403540
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x505a5e
mov eax, dword [0x51fe7c]
mov eax, dword [eax + 0x1a8]
call fcn.00505930
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505a87
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x506420
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50660e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.004882e8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0048db2c
test al, al
jne 0x50648d
xor eax, eax
push ebp
push 0x506483
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.0048e01c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50648d
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x52716c]
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x5064bc
mov eax, dword [0x51fe7c]
mov eax, dword [eax + 0x1a4]
call fcn.00505930
push 0x80
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x523b50]
push eax
push 0
mov ecx, 0x50661c
mov edx, 0x506620
xor eax, eax
call fcn.0040a124
mov dword [ebp - 8], eax
push 0x505af0
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x527198], eax
xor eax, eax
push ebp
push 0x5065d7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00487cbc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x50663c
call fcn.004163d8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.00487b9c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406854
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005059d8
mov dword [ebp - 0xc], eax
call fcn.00505ab4
test al, al
jne 0x5065b7
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x506595
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5065de
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x50795c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x507c16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
mov edx, 0x507c30
call fcn.004840a8
push 5
mov eax, dword [0x51fe6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x507bdd
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e9bd0
lea eax, [ebp - 0x10]
call fcn.00488160
mov eax, dword [ebp - 0x10]
call fcn.00415e84
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00487cbc
mov edx, dword [ebp - 0x14]
mov eax, 0x52716c
call fcn.00406448
call fcn.00505ce8
lea ecx, [ebp - 0x18]
mov edx, 0x507c50
mov eax, dword [0x52716c]
call fcn.00486da0
mov edx, dword [ebp - 0x18]
mov eax, 0x527170
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x507c68
mov eax, dword [0x52716c]
call fcn.00486da0
mov edx, dword [ebp - 0x1c]
mov eax, 0x527174
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x52716c]
mov dl, 1
mov eax, dword [0x489988]
call fcn.00489cc8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x507ab4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.00489c88
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.00489c60
cmp dword [ebp - 0xc], 0x67734d49
je 0x507a8f
mov cl, 1
xor edx, edx
mov eax, dword [0x527174]
call fcn.0048af4c
jmp 0x507a9e
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x52716c]
call fcn.0048af4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507abb
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x1809be86
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x19c], ebx
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1a0], eax
mov byte [ebx], 0
call fcn.1809c2ca
and dword [ebp - 8], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
push 0xc02
lea ecx, [ebp - 8]
call fcn.180076c8
xor eax, eax
mov dword [ebp - 0x44], 0x1819c374
push 0x14c
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x198]
push eax
call fcn.1812f700
add esp, 0xc
lea eax, [ebp - 0x44]
push esi
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.1810e43c
lea ecx, [ebp - 0x198]
call fcn.1810e5c4
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809bf64
push 4
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete cl
test eax, eax
mov byte [ebx], cl
setne bl
jmp 0x1809bfa9
push 0
lea ecx, [ebp - 0x194]
call fcn.1800bc14
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x181d10e8
call fcn.180269b1
lea ecx, [ebp - 0x44]
call fcn.1809b8fb
mov ecx, dword [ebp - 0x19c]
mov al, byte [ebp - 0x68]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1a0]
mov al, byte [ebp - 0x67]
mov byte [ecx], al
lea ecx, [ebp - 0x198]
call fcn.1810e515
lea ecx, [ebp - 0x44]
call fcn.180448a3
lea ecx, [edi - 0x10]
call fcn.18006f52
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret