joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
mov esi, ecx
test eax, eax
je 0x4e2cde
xor ecx, ecx
cmp cx, word [eax]
je 0x4e2cde
cmp dword [esi + 0x28], ecx
je 0x4e2c40
mov eax, 0xb7
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0xa0
push edi
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x4e2c76
cmp ecx, 0xffffffff
je 0x4e2c76
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jne 0x4e2c93
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ebx, eax
mov dword [esi + 0x28], 0
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp edi, 3
jne 0x4e2cb0
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp edi, 2
je 0x4e2cba
cmp edi, 1
jne 0x4e2cd3
push 0
lea ecx, [ebp - 8]
mov word [ebp - 4], 0xfeff
push ecx
push 2
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x57
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4e4270
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x4e429c
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esi + 0x54]
mov ebx, 0x57
mov ecx, esi
call dword [0x5a0478]
mov ecx, dword [ebp - 4]
call esi
mov esi, dword [ebp - 4]
test al, al
je 0x4e4369
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4e4369
xor ecx, ecx
cmp cx, word [eax]
je 0x4e4369
mov ecx, esi
call fcn.004e2cf0
mov ebx, eax
test ebx, ebx
je 0x4e42eb
cmp ebx, 0xb7
jne 0x4e4369
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e13b0
mov edi, dword [ebp - 8]
mov ebx, eax
test ebx, ebx
jne 0x4e4369
test edi, edi
jne 0x4e431b
lea ebx, [eax + 0xe]
jmp 0x4e4369
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4320
sub ecx, edx
lea eax, [ebp - 0x10]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [esi + 0x44], 1
mov dword [ebp - 0xc], eax
je 0x4e435d
xor ecx, ecx
cmp cx, word [edi]
je 0x4e435d
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4e4369
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x28], 0
test eax, eax
je 0x4e4383
cmp eax, 0xffffffff
je 0x4e4383
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4e4390
push edi
call fcn.0055e84d
add esp, 4
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4e439e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4e70f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5970cd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61094c]
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 ecx, dword [ebp + 0x10]
mov eax, ecx
mov ebx, dword [ebp + 8]
mov edi, ecx
xor edi, 8
and al, 8
cmove edi, ecx
test ebx, ebx
jne 0x4e7135
xor eax, eax
jmp 0x4e71a2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
push 0x5c2b88
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
test eax, eax
jns 0x4e7163
xor edi, edi
jmp 0x4e7195
push ebx
push esi
lea eax, [ebp - 0x28]
push 0x5bd3f4
push eax
call fcn.004ac050
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00424580
test esi, esi
je 0x4e71a0
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
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.00553d2a
mov esp, ebp
pop ebp
ret

Function at 0x4e77d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e77f5
xor ecx, ecx
cmp cx, word [eax]
je 0x4e77f5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e77f5
test al, 0x10
je 0x4e77f5
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x4e7d10
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59720d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4e7e35
xor eax, eax
cmp ax, word [esi]
je 0x4e7e35
mov ecx, 0x5bd418
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4e7d7d
test dx, dx
je 0x4e7d79
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4e7d7d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4e7d57
xor eax, eax
jmp 0x4e7d82
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e7e35
mov ecx, 0x5c9560
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4e7db7
test dx, dx
je 0x4e7db3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4e7db7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4e7d91
xor eax, eax
jmp 0x4e7dbc
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e7e35
push esi
call fcn.004e77d0
add esp, 4
test al, al
je 0x4e7e35
push esi
lea eax, [ebp - 0x28]
push str._s.
push eax
call fcn.004ac050
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.004e7310
add esp, 0x14
test al, al
jne 0x4e7e0b
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.00424580
mov al, bl
jmp 0x4e7e37
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.00424580
mov al, bl
jmp 0x4e7e37
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
Function at 0x4e83d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59661d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.004224a0
mov edi, eax
test edi, edi
je 0x4e8506
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5a0478]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
xor edi, edi
nop dword [eax]
lea edx, [edi + 1]
test edx, edx
js 0x4e84fc
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x4e8458
push edx
lea ecx, [ebp - 0x10]
call fcn.004d56e0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x4e846c
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004d55a0
mov esi, dword [ebp - 0x10]
push esi
push dword [esi - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x4e84b5
push dword [esi - 8]
push esi
call fcn.00560629
add esp, 8
test eax, eax
js 0x4e84fc
cmp eax, dword [esi - 8]
jg 0x4e84fc
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, dword [esi - 0xc]
ja 0x4e8430
add esi, 0xfffffff0
push esi
call fcn.004df7d0
mov ebx, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [ebx], eax
jmp 0x4e84c7
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x5bb418
call fcn.004e08b0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e84e8
mov edi, dword [esi]
push esi
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x5a0478]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0042d7b0
push 0x80004005
call fcn.0042d7b0
int3

Function at 0x4e9910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], ebx
call fcn.004d0dc0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push edi
push dword [esi]
push dword [ebp + 0x10]
push 0
push dword [ebp - 4]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp ebx, 0xea
jne 0x4e9983
push dword [esi]
call fcn.00469760
mov dword [esi], 0
push 0x5af620
push dword [edi]
call fcn.005545eb
add esp, 0xc
mov dword [esi], eax
push edi
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push 0
push dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4e99aa
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5a0478]
mov ecx, edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e99c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597435
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4e9b0a
mov ebx, dword [ebp + 0x14]
cmp ebx, 1
jb 0x4e9b0a
xor esi, esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
cmp ecx, 1
jne 0x4e9a5f
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.004e9320
mov ebx, eax
test ebx, ebx
jne 0x4e9a7b
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp + 0x10], esi
lea eax, [ebx + 0x20]
push eax
mov dword [ebp - 0x1c], eax
call fcn.005541f3
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x4e9a9d
lea ebx, [eax + 8]
jmp 0x4e9ae2
cmp ecx, 7
jne 0x4e9a3b
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.004e9160
mov ebx, eax
test ebx, ebx
je 0x4e9a32
mov esi, dword [ebp - 0x10]
push esi
call fcn.00469760
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 0x20]
push eax
push edi
push dword [ebp + 0xc]
push ebx
push dword [ebp + 0x10]
call fcn.004e9530
mov ebx, eax
test ebx, ebx
jne 0x4e9ae2
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004d0dc0
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edi
push 3
push ebx
push dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.004d0d90
push edi
call fcn.00469760
add esp, 4
push esi
call fcn.00469760
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4ed260
Capabilities:
Delete registry key

Disassembly:
mov dword [ecx], vtable.CoreTech::internal::CRegKeyImpl.0
jmp fcn.004ed290

Function at 0x4ed290
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4ed2ca
cmp byte [esi + 0xc], 0
je 0x4ed2b3
push 0x5bb418
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret
xor eax, eax
mov dword [esi + 8], eax
pop esi
ret
Function at 0x4ee080
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
push ebx
mov dword [ebp - 0x210], eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
cmp dword [ebp + 0x14], 0
je 0x4ee190
test eax, eax
jne 0x4ee190
push edi
xor edi, edi
push esi
nop word [eax + eax]
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005561e0
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x4ee166
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ee16e
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x208]
call fcn.004ee080
push dword [ebp - 0x208]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ee16e
cmp esi, 0x103
je 0x4ee18c
inc edi
test esi, esi
je 0x4ee0d0
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret 0x10
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00553d2a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ee4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
test edx, edx
je 0x4ee606
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ee606
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jb 0x4ee606
cmp dword [esi + 0xc], 0
je 0x4ee606
cmp dword [esi + 0x10], 0
je 0x4ee606
test ecx, ecx
jle 0x4ee5fa
sub edx, eax
push ebx
mov dword [ebp + 8], edx
push edi
mov ebx, dword [esi + 0x10]
mov edx, ebx
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edx
test ecx, ecx
jle 0x4ee58d
mov ecx, dword [esi]
call fcn.004ee780
mov byte [edi], al
lea edi, [edi + 1]
mov ecx, dword [esi]
call fcn.004ee780
mov byte [ebx], al
lea ebx, [ebx + 1]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 4]
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
cmp eax, ecx
jl 0x4ee553
mov ebx, dword [esi + 0x10]
mov edx, ebx
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
dec ecx
mov eax, dword [ebp + 0xc]
mov al, byte [ebx + eax]
mov ebx, dword [esi + 8]
add edx, ebx
test ecx, ecx
jle 0x4ee5d5
mov ecx, dword [ebp - 0x10]
sub ecx, ebx
sub ecx, dword [ebp - 8]
dec ecx
add ecx, edx
sub ebx, edx
lea esi, [ebx + edi]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
nop dword [eax]
sub al, byte [edx]
lea edx, [edx - 1]
xor al, byte [ebx + edx + 1]
dec ecx
test ecx, ecx
jg 0x4ee5c0
mov ecx, dword [ebp - 4]
mov edx, edi
jmp 0x4ee5db
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
sub al, byte [ecx]
xor al, byte [edx]
mov ecx, dword [ebp + 0xc]
xor al, byte [esi + 0x15]
mov byte [ecx], al
inc ecx
xor byte [esi + 0x15], al
sub dword [ebp + 0x10], 1
mov dword [ebp + 0xc], ecx
jne 0x4ee531
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4eea00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x4ef260
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597bed
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.004224a0
mov edi, eax
test edi, edi
je 0x4ef339
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5a0478]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
sub ecx, 0
je 0x4ef302
sub ecx, 1
je 0x4ef2d9
sub ecx, 1
je 0x4ef2d2
mov eax, str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x4ef2de
mov eax, str._s__d_:__ERROR_:___s_:__s_n
jmp 0x4ef2de
mov eax, 0x5a1694
mov esi, dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004df960
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4ef326
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5a0478]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.0042d7b0
int3
Function at 0x4f02a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp byte [esi + 0x10], 0
jne 0x4f0357
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0xc], 0
cmp dword [edi + 0x14], 8
jb 0x4f02cc
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4f0357
mov eax, dword [esi + 8]
add esi, 4
mov ecx, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov edx, dword [esi]
sub ecx, edx
cmp ebx, ecx
jae 0x4f02fa
lea eax, [edx + ebx]
mov dword [esi + 4], eax
jmp 0x4f032f
jbe 0x4f032f
mov eax, dword [esi + 8]
sub eax, edx
cmp ebx, eax
jbe 0x4f0313
lea eax, [ebp - 1]
mov ecx, esi
push eax
push ebx
call fcn.00469130
jmp 0x4f032f
mov esi, ebx
sub esi, ecx
mov ecx, dword [ebp - 0x10]
add esi, ecx
push esi
push ecx
call fcn.00469330
mov eax, dword [ebp - 8]
add esp, 8
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0x14], 8
jb 0x4f0337
mov edi, dword [edi]
push dword [esi]
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [ebp - 8]
cmp eax, 1
pop edi
sete al
pop esi
mov byte [ecx + 0x10], al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f7fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x4c], 0xffffffff
je 0x4f80fc
test dword [ebx + 0x50], 0x10000
je 0x4f8004
movzx eax, word [ebx + 0x48]
push eax
call fcn.004f8970
test al, al
jne 0x4f801d
test dword [ebx + 0x50], 0x8000
je 0x4f8029
movzx eax, word [ebx + 0x48]
mov ecx, ebx
push eax
call fcn.004f89e0
test al, al
je 0x4f8029
mov ecx, ebx
call fcn.004fa180
jmp 0x4f80e0
movzx eax, word [ebx + 0x48]
cmp eax, 0x63
jne 0x4f8086
test dword [ebx + 0x50], 0x40000
je 0x4f80c6
push esi
push edi
mov ecx, ebx
call fcn.004fa180
mov eax, dword [ebx + 0x3c]
movzx edx, word [ebx + 0x48]
push edx
push 0x103
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x5a0478]
mov ecx, edi
call esi
pop edi
pop esi
test al, al
je 0x4f80fc
movzx eax, word [ebx + 0x48]
mov ecx, ebx
and eax, 0x1f
mov dword [ebx + 0x44], eax
call fcn.004fa180
jmp 0x4f80e0
cmp eax, 0x78
jne 0x4f80a6
test dword [ebx + 0x50], 0x1000
je 0x4f80c6
mov ecx, ebx
call fcn.004fa180
push 2
mov ecx, ebx
call fcn.004f9850
jmp 0x4f80e0
cmp eax, 0x75
jne 0x4f80c6
test dword [ebx + 0x50], 0x800
je 0x4f80c6
mov ecx, ebx
call fcn.004fa180
push 4
mov ecx, ebx
call fcn.004f9850
jmp 0x4f80e0
test dword [ebx + 0x50], 0x2000
je 0x4f80f4
mov ecx, ebx
call fcn.004fa1b0
test al, al
je 0x4f80f4
cmp dword [ebx + 0x44], 0
je 0x4f80fc
mov eax, dword [ebx + 0x44]
cmp eax, 0xffff
ja 0x4f80fc
movzx eax, ax
mov dword [ebx + 0x44], eax
mov al, 1
pop ebx
ret
mov ecx, ebx
pop ebx
jmp 0x4f9880
push 2
mov ecx, ebx
call fcn.004f9430
int3
inc eax
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
call dword [esi - 0x3a]
test dword [ecx + 0x56fffffc], edi

Function at 0x4f9460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004f9054
push eax
push esi
push dword [ebp + 8]
call fcn.004f9009
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004f9044
mov byte [ebp + 3], bl
sbb al, 0x88
popfd
jl 0x4f94c9
invalid
invalid
Function at 0x4f9c70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004f9054
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004f9009
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004f9044
ret 0x7b87