joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e8f0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d612d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x47e999
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x47e999
push edi
call esi
test eax, eax
je 0x47e999
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x47e950
push edi
call ebx
test eax, eax
jne 0x47e999
lea ecx, [ebp - 0x10]
call fcn.00405070
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push str._s._lu
push eax
call fcn.0041f6f0
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
lea ecx, [ebp - 0x10]
call fcn.00403400
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d68fe
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x485257
mov ebx, dword [esi + 4]
mov ecx, ebx
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebp - 0x14]
cmp edi, ecx
jae 0x485200
lea eax, [edx + edi]
jmp 0x485227
jbe 0x48522a
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x485216
push ecx
push edi
mov ecx, esi
call fcn.00478750
jmp 0x48522a
sub edi, ecx
push edi
push 0
push ebx
call fcn.004a15c0
add esp, 0xc
lea eax, [edi + ebx]
mov dword [esi + 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x485257
mov eax, dword [esi + 4]
xor ecx, ecx
mov edx, dword [esi]
sub eax, edx
je 0x48525a
mov dword [esi + 4], edx
jmp 0x48525a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x485263
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4855a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4855b0
sub esi, ecx
mov edi, ebx
sar esi, 1
test edx, edx
je 0x4855ee
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x485616
mov edi, dword [ebp - 4]
lea eax, [esi*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp edi, ebx
je 0x485614
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485b50
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.0049fe60
mov eax, dword [0x5010c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x485ca7
push ebx
push esi
push edi
xor esi, esi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00485620
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
je 0x485c6b
push 0x2710
lea eax, [ebp - 0x2cfc]
mov dword [ebp - 0x2d0c], ebx
push ebx
push eax
mov dword [ebp - 0x2d00], ebx
mov dword [ebp - 0x2d08], ebx
mov dword [ebp - 0x2d04], ebx
call fcn.004a15c0
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x485c64
push 0x3e8
lea eax, [ebp - 0x5ec]
push ebx
push eax
call fcn.004a15c0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0048f010
mov ecx, dword [ebp - 0x2d10]
lea eax, [ebp - 0x5ec]
add esp, 8
lea edx, [ebx + 0x64]
push eax
call fcn.00477070
test eax, eax
je 0x485c88
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x485b80
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret
Function at 0x486550
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
mov eax, edx
push 1
push SysReAllocString
push ecx
mov dword [eax], 0
mov dword [ebp - 4], eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4865c3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
test eax, eax
je 0x4865ff
cmp eax, 0xffffffff
je 0x4865ff
add eax, 8
push 0x4dc036
push eax
call fcn.0049fc4a
mov ebx, dword [ebp - 4]
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x4865cc
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
add eax, 8
push eax
push 0
push ecx
call fcn.004a15c0
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push dword [edi]
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, dword [edi]
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4871c0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6afd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], ecx
test edi, edi
je 0x48738f
push 0x4dc036
push 0x100
call fcn.0049fc4a
add esp, 8
mov dword [ebp - 0x34], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x30], 0
test eax, eax
je 0x487226
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x48723b
mov ebx, dword [esi + 4]
sub ebx, dword [esi]
jmp 0x48723d
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x14], 0
call fcn.0048c630
mov ecx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x48725b
test eax, eax
je 0x487267
test esi, esi
je 0x487267
push eax
mov ecx, esi
call fcn.00478280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [edi + 0x10]
push 0x100
push dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x487362
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x487388
test esi, esi
je 0x487313
mov edx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x18], edx
mov edi, ecx
sub edx, dword [esi]
add edi, ebx
adc eax, dword [ebp - 0x14]
test eax, eax
jb 0x4872fc
ja 0x4872bd
cmp edi, edx
jbe 0x4872fc
lea edi, [ebx + ecx]
cmp edi, edx
jae 0x4872c8
mov eax, dword [esi]
jmp 0x4872f7
jbe 0x4872fc
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp edi, eax
jbe 0x4872e1
push ecx
push edi
mov ecx, esi
call fcn.00478750
mov ecx, dword [ebp - 0x10]
jmp 0x4872fc
sub edi, edx
push edi
push 0
push dword [ebp - 0x18]
call fcn.004a15c0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add eax, edi
mov dword [esi + 4], eax
mov eax, dword [esi]
push ecx
push dword [ebp - 0x30]
add eax, ebx
push eax
call fcn.004a1040
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add ebx, ecx
push ecx
adc eax, 0
push eax
push ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
push 0
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x28]
call fcn.0048e4f0
add esp, 0x24
test eax, eax
je 0x487362
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [edi + 0x10]
push 0x100
push dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x487293
xor esi, esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x487374
push eax
call fcn.0049fc53
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x487364
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x487e2a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487e2a
mov dword [ebp - 0x1c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov ecx, esi
call fcn.00486550
mov esi, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x487e08
cmp dword [ebp - 0x10], 0
je 0x487e08
mov edx, edi
mov ecx, esi
call fcn.004880d0
mov edi, eax
jmp 0x487e0a
xor edi, edi
test esi, esi
je 0x487e17
push esi
call fcn.0049fc53
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48a480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7148
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5010c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov eax, dword [0x501e34]
cmp eax, edi
jne 0x48a4e6
push ecx
call fcn.0040adb0
add esp, 4
test al, al
je 0x48a4da
mov dword [0x501e34], 1
jmp 0x48a4ea
mov dword [0x501e34], 0
jmp 0x48a4fc
test eax, eax
je 0x48a4fc
push dword [ebp + 8]
call fcn.0048b630
mov ebx, eax
test ebx, ebx
jne 0x48a611
mov ebx, dword [ebp + 8]
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x48a650
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push 0x4ecb48
push str.Windows
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.0041f6f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a15c0
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
add esp, 0x1c
mov dword [ebp - 0x424], 0x104
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
je 0x48a59e
mov ebx, 1
jmp 0x48a5f6
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a15c0
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
mov dword [ebp - 0x428], 1
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
cmp word [ebp - 0x420], bx
setne bl
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48a611
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x48a630
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404d50
int3
Function at 0x48b910
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7416
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5010c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x48bb43
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x4ecb48
push str.Windows
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.0041f6f0
add esp, 0x10
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x2001f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
mov edi, dword [ebp - 0x21c]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045d1a0
or ebx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x234]
jne 0x48bafa
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x48bb4d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x224]
push dword [esi + 8]
push dword [esi]
push str.__s___s
push eax
call fcn.0041f6f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a15c0
add esp, 0x1c
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48ba81
mov eax, dword [ebp - 0x238]
cmp eax, 1
je 0x48ba6f
cmp eax, 2
jne 0x48ba81
cmp dword [ebp - 0x220], 0
jne 0x48ba81
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004b5b44
add esp, 8
test eax, eax
je 0x48bad2
test esi, esi
je 0x48bad2
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48baa4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48baed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
mov esi, 1
jmp 0x48bafc
xor esi, esi
test eax, eax
je 0x48bb07
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48bb23
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404d50
push 0x80004005
call fcn.00404d50
int3
Function at 0x48bb60
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d744d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5010c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x516550], 0
jne 0x48bba6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x516550
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x48bc10
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x516550
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004048d0
test al, al
jne 0x48bbfc
mov ecx, 0x516550
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48bbe0
sub ecx, edx
sar ecx, 1
push ecx
push 0x516550
mov ecx, esi
call fcn.00404b80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404d50
int3
Function at 0x48e750
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x48e7ee
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 0x30]
mov ecx, edi
push 0
call fcn.0048e920
mov esi, dword [edi + 0xc]
sub esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x48e7cc
nop word [eax + eax]
test esi, esi
js 0x48e7f7
cmp esi, dword [edi + 0xc]
jge 0x48e7f7
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x48e7be
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
sub esi, 1
jns 0x48e790
push dword [edi + 0x40]
call ebx
lea esi, [edi + 0x14]
mov dword [edi + 0x40], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x8000000b
call fcn.00404d50
int3
Function at 0x48ee80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x5010c0]
xor eax, esp
mov dword [esp + 0x838], eax
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48ef6e
push 0x800
push eax
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
push eax
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x28], 0x400000
call fcn.004a15c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4ecc50
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.004674d0
add esp, 0x10
mov dword [esp + 0x10], 0x48efa0
lea eax, [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48ef86
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret

Function at 0x48f210
Capabilities:
Hash data with md5

Disassembly:
push esi
push edi
mov edi, ecx
push 0x40
push 0
lea esi, [edi + 0x5c]
mov dword [edi], vtable.MD5_CTX.0
push esi
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.004a15c0
add esp, 0xc
mov byte [esi], 0x80
mov eax, edi
pop edi
pop esi
ret
Function at 0x48f370
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5010c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov edi, dword [ebp + 8]
lea edx, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ebp + eax - 0xc], cl
movzx ecx, byte [edx - 5]
mov byte [ebp + eax - 0xb], cl
movzx ecx, byte [edx - 4]
mov byte [ebp + eax - 0xa], cl
movzx ecx, byte [edx - 3]
mov byte [ebp + eax - 9], cl
add eax, 4
cmp eax, 8
jb 0x48f390
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x78
and edx, 0x3f
mov eax, 0x38
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.0048f290
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.0048f290
lea ecx, [edi + 2]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 5], al
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 3]
mov byte [ecx - 3], al
sub edi, 1
jne 0x48f400
push 0x9c
push edi
push esi
call fcn.004a15c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 4], 0x67452301
xor ecx, ebp
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
pop edi
mov dword [esi + 0x10], 0x10325476
pop esi
mov byte [ebx], 0x80
pop ebx
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret 4