joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e504c
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 0x4e511b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4e48b0]
call fcn.004e5144
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e50f4
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, 0x4e5134
call fcn.00419bbc
mov edx, dword [ebp - 8]
mov eax, dword [0x540e6c]
mov eax, dword [eax]
call fcn.0048886c
call fcn.004e4918
call sub.user32.dll_GetFocus
mov edx, dword [0x540e6c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x170]
jne 0x4e50d7
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4e50de
call sub.user32.dll_WaitMessage
jmp 0x4e50b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e50fb
mov eax, dword [ebp - 4]
call fcn.00404098
ret

Function at 0x4ea734
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4ea73c
push ecx
push ebx
xor eax, eax
push ebp
push 0x4ea886
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00490cf0
mov edx, dword [ebp - 0x10]
mov eax, 0x547dc4
call fcn.00406448
lea eax, [ebp - 0x14]
mov ecx, dword [0x547dc4]
mov edx, 0x4ea8a0
call fcn.00406914
mov eax, dword [ebp - 0x14]
call fcn.004bd824
mov eax, dword [0x540f34]
cmp byte [eax], 0
je 0x4ea797
mov eax, dword [0x547dc4]
call fcn.004bcf2c
lea edx, [ebp - 0x18]
mov eax, dword [0x547dc4]
call fcn.0048abd4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4ea8e8
call fcn.00406914
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4ea82d
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.0048f0cc
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.00418ac0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0048d1c0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x68
call fcn.0048f09c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x416460]
call fcn.0041d294
call fcn.00404a74
lea eax, [ebp - 8]
call fcn.004be0d4
cmp dword [ebp - 8], 0
je 0x4ea85e
lea eax, [ebp - 0xc]
mov ecx, 0x4ea904
mov edx, dword [ebp - 4]
call fcn.00406914
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004ea6dc
mov eax, dword [ebp - 0xc]
call fcn.004be12c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea88d
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00406440
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00406440
ret
Function at 0x4ed160
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x54809d], 1
call fcn.00492b28
test al, al
jne 0x4ed1b2
push 5
mov eax, dword [0x540e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x540e6c]
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 [0x540e7c]
mov eax, dword [eax + 0x124]
mov cl, 2
xor edx, edx
call fcn.004ed044
ret

Function at 0x4f06ac
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 0x4f06d1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4f2484
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x4f248d
call fcn.004f1178
mov eax, 0xa
call fcn.0048d5c4
call fcn.004f1178
call fcn.004f2424
test al, al
jne 0x4f2462
pop ebx
ret

Function at 0x4f29b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x540a08]
cmp dword [eax], 0
je 0x4f2a5b
mov eax, dword [0x540a08]
mov eax, dword [eax]
call fcn.00470700
test al, al
je 0x4f2a5b
mov eax, dword [0x540a08]
mov eax, dword [eax]
cmp byte [eax + 0x1e2], 0
je 0x4f2a05
cmp byte [ebx + 0x389], 0
jne 0x4f2a05
mov eax, dword [0x540e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f2a09
xor eax, eax
jmp 0x4f2a0b
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x540a08]
mov eax, dword [eax]
call fcn.00470354
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x4f2a5b
test bl, bl
je 0x4f2a47
push 5
mov eax, dword [0x540a08]
mov eax, dword [eax]
call fcn.00470354
push eax
call sub.user32.dll_ShowWindow
jmp 0x4f2a5b
push 0
mov eax, dword [0x540a08]
mov eax, dword [eax]
call fcn.00470354
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4f2b0c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x548056], 0
push 0x4f2be4
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x4f2c00
push ebx
call fcn.00409620
test eax, eax
je 0x4f2b98
lea edx, [esp + 4]
push edx
call eax
push 0x4f2c28
push ebx
call fcn.00409620
mov esi, eax
test esi, esi
je 0x4f2ba2
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x4f2ba2
cmp dword [esp], 0
je 0x4f2ba2
call fcn.0048f9cc
test al, al
je 0x4f2ba2
push 0x4f2c48
push ebx
call fcn.00409620
test eax, eax
je 0x4f2ba2
push 0x4f2c7c
push 0x4f2c9c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
test eax, eax
je 0x4f2ba2
mov byte [0x548056], 1
jmp 0x4f2ba2
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [esp + 4]
sub ax, 1
jb 0x4f2bbb
sub ax, 5
je 0x4f2bc4
sub ax, 3
je 0x4f2bcd
jmp 0x4f2bd6
mov byte [0x54048c], 1
jmp 0x4f2bdd
mov byte [0x54048c], 3
jmp 0x4f2bdd
mov byte [0x54048c], 2
jmp 0x4f2bdd
mov byte [0x54048c], 0
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x4f2cb8
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, 0x4f2d28
mov edx, 0x80000002
xor eax, eax
call fcn.0048c664
test eax, eax
jne 0x4f2d21
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 0x4f2d7c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4f2d18
cmp dword [ebp - 0xc], 4
jne 0x4f2d18
cmp dword [ebp - 8], 4
jne 0x4f2d18
movzx eax, word [ebp - 0x10]
mov word [0x54806c], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret

Function at 0x4f2f24
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffdd0
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4f2fd3
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 [0x548068], eax
cmp byte [0x548055], 0
je 0x4f2fd3
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4f2fc4
mov dword [esp + 0x114], 0x11c
lea eax, [esp + 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4f2fd3
movzx eax, byte [esp + 0x228]
shl eax, 8
movzx edx, byte [esp + 0x22a]
or ax, dx
mov word [0x54806c], ax
movzx eax, byte [esp + 0x22e]
mov byte [0x54806e], al
movzx eax, word [esp + 0x22c]
mov word [0x548070], ax
jmp 0x4f2fd3
cmp eax, 4
jne 0x4f2fd3
call fcn.004f2cb8
call fcn.004f2d94
add esp, 0x230
ret
Function at 0x4fe2f0
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 0x4fe4c2
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 + 0x540908]
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.0048c664
test eax, eax
jne 0x4fe4a7
xor eax, eax
push ebp
push 0x4fe49c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.0049d680
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x4fe381
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x4fe3ae
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 0x4fe3d0
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 0x4fe446
sub eax, 0xe9
je 0x4fe3ea
sub eax, 0x19
je 0x4fe485
jmp 0x4fe43f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4fe401
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x4fe414
call fcn.00404b68
jmp 0x4fe4a7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4fe42b
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 0x4fe375
call fcn.00404b68
jmp 0x4fe4a7
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.0049d680
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.004ae810
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.0049b818
inc ebx
jmp 0x4fe375
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe4a3
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 0x4fe4c9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x503ee4
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 0x503f68
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x503f50
mov ebx, esi
test ebx, ebx
je 0x503f16
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, 0x503f84
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 0x503f52
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503f6f
lea eax, [ebp - 8]
call fcn.00406438
ret

Function at 0x5080b0
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 0x5081f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x50820c
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 0x5081cd
xor eax, eax
push ebp
push 0x5081c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x508228
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.004198e8
test eax, eax
jne 0x508197
test byte [ebp - 0x258], 0x10
jne 0x508197
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 0x508189
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 0x508121
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5081cd
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 0x5081fa
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00406440
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x508234
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 0x508334
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.0048b168
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, 0x508350
call fcn.00419bbc
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 0x5082d4
test esi, 0x10
jne 0x508304
test esi, 1
je 0x5082d4
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 0x5082fe
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406448
jmp 0x508311
inc edi
cmp edi, 0xa
je 0x508311
inc ebx
cmp ebx, 0x3e8
jne 0x508275
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50833b
lea eax, [ebp - 0x14]
call fcn.00406438
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x5091f4
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 0x50929c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5092b8
push ebx
push 0x5092c8
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 0x50927a
mov eax, dword [0x540e7c]
mov eax, dword [eax + 0x1a8]
call fcn.0050914c
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 0x5092a3
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x509c3c
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 0x509e2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0048c20c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00490b74
test al, al
jne 0x509ca9
xor eax, eax
push ebp
push 0x509c9f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.00491064
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x509ca9
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x54816c]
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x509cd8
mov eax, dword [0x540e7c]
mov eax, dword [eax + 0x1a4]
call fcn.0050914c
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 [0x544b50]
push eax
push 0
mov ecx, 0x509e38
mov edx, 0x509e3c
xor eax, eax
call fcn.0040a124
mov dword [ebp - 8], eax
push 0x50930c
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x548198], eax
xor eax, eax
push ebp
push 0x509df3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x540e6c]
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.0048bbe0
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, 0x509e58
call fcn.00419bbc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0048bac0
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406854
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005091f4
mov dword [ebp - 0xc], eax
call fcn.005092d0
test al, al
jne 0x509dd3
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x509db1
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 0x509dfa
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x50b178
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 0x50b432
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x540e6c]
mov eax, dword [eax]
mov edx, 0x50b44c
call fcn.0048886c
push 5
mov eax, dword [0x540e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x50b3f9
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004ed3ec
lea eax, [ebp - 0x10]
call fcn.0048c084
mov eax, dword [ebp - 0x10]
call fcn.00419668
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0048bbe0
mov edx, dword [ebp - 0x14]
mov eax, 0x54816c
call fcn.00406448
call fcn.00509504
lea ecx, [ebp - 0x18]
mov edx, 0x50b46c
mov eax, dword [0x54816c]
call fcn.0048acc4
mov edx, dword [ebp - 0x18]
mov eax, 0x548170
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x50b484
mov eax, dword [0x54816c]
call fcn.0048acc4
mov edx, dword [ebp - 0x1c]
mov eax, 0x548174
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x54816c]
mov dl, 1
mov eax, dword [0x48dcb8]
call fcn.0048dff8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50b2d0
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.0048dfb8
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.0048df90
cmp dword [ebp - 0xc], 0x67734d49
je 0x50b2ab
mov cl, 1
xor edx, edx
mov eax, dword [0x548174]
call fcn.0048f27c
jmp 0x50b2ba
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x54816c]
call fcn.0048f27c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b2d7
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x100018e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x10]
push ebx
mov ebx, eax
sub esp, 0x1c
mov dword [ebp - 0x14], edx
mov esi, dword [sym.imp.shlwapi.dll_UrlEscapeA]
mov dword [esp + 4], edx
mov dword [ebp - 0x10], 1
mov dword [esp + 0xc], 0x3000
mov dword [esp + 8], edi
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x14]
sub esp, 0x10
cmp eax, 0x80004003
je 0x10001930
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x100019aa
mov dword [esp + 0xc], 0x3000
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [ebp - 0x14], eax
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x14]
sub esp, 0x10
test eax, eax
je 0x10001920
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, ebx
sub esp, 0xc
jmp 0x10001920
mov edx, ebx
jmp 0x10001920