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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4dbe29
add esp, 0xfffffff0
call fcn.00404364
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406334
xor eax, eax
push ebp
push 0x4dbfad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x24], eax
mov byte [ebx + 0x21], 0
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0xffffffff
lea eax, [ebx + 0x18]
xor edx, edx
call fcn.0040634c
mov byte [ebx + 0x22], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0043867c
lea eax, [ebx + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
call fcn.00403e80
mov dl, 1
mov eax, dword [0x4dad30]
call fcn.004293f0
mov esi, eax
mov dword [ebx + 0x14], esi
lea eax, [ebx + 0xc]
sub eax, 4
mov dword [eax], esi
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 4]
call fcn.0040634c
cmp dword [ebx + 0x10], 0
je 0x4dbf7c
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.004dbb1c
mov eax, dword [ebx + 0x10]
call fcn.0040d89c
test al, al
jne 0x4dbf72
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.0040ddf4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4dbef4
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4dbef4
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040572c
test eax, eax
je 0x4dbefd
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4dbf09
mov eax, dword [ebp - 4]
call fcn.004dbc50
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov eax, dword [ebx + 0x10]
call fcn.004063d8
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x4dbf72
cmp dword [ebp + 8], 0
je 0x4dbf6c
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00407b9c
test eax, eax
jle 0x4dbf6c
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407b9c
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebx + 0x24], 0
je 0x4dbf7c
mov byte [ebx + 0x21], 1
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], 0x4dbd74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbfb4
lea eax, [ebp - 8]
mov edx, dword [0x40afc4]
call fcn.00407d70
lea eax, [ebp - 4]
call fcn.0040633c
ret
Function at 0x4deef8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4def74
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
mov edx, dword [ebp - 8]
inc edx
lea eax, [ebp - 4]
call fcn.00406298
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004060b8
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x4def55
mov edx, dword [ebp - 8]
dec edx
lea eax, [ebp - 4]
call fcn.00406298
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004065b4
jmp 0x4def5e
mov eax, ebx
xor edx, edx
call fcn.0040634c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4def7b
lea eax, [ebp - 4]
call fcn.00405edc
ret
Function at 0x4def80
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4df1e3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004063a0
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, 0x11c
call fcn.004036f4
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
lea eax, [ebp - 0x144]
xor ecx, ecx
mov edx, 0x24
call fcn.004036f4
push 0x4df1f0
push 0x4df218
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040930c
test eax, eax
je 0x4df00a
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x4df016
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp dword [ebp - 0x110], 2
jne 0x4df1c3
test bl, bl
je 0x4df046
call fcn.004df390
mov edx, dword [eax]
mov dword [ebp - 0x11c], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x118], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffffd
sub eax, 2
jae 0x4df061
lea eax, [ebp - 4]
mov edx, 0x4df240
call fcn.004063a0
cmp dword [ebp - 0x11c], 5
jne 0x4df085
cmp dword [ebp - 0x118], 0
jne 0x4df085
lea eax, [ebp - 4]
mov edx, 0x4df264
call fcn.004063a0
jmp 0x4df1c3
cmp dword [ebp - 0x11c], 5
jne 0x4df0a9
cmp dword [ebp - 0x118], 1
jne 0x4df0a9
lea eax, [ebp - 4]
mov edx, 0x4df28c
call fcn.004063a0
jmp 0x4df1c3
cmp dword [ebp - 0x11c], 5
jne 0x4df0ef
cmp dword [ebp - 0x118], 2
jne 0x4df0ef
cmp byte [ebp - 6], 1
jne 0x4df0dd
cmp word [ebp - 0x144], 9
jne 0x4df0dd
lea eax, [ebp - 4]
mov edx, 0x4df28c
call fcn.004063a0
jmp 0x4df1c3
lea eax, [ebp - 4]
mov edx, 0x4df2b0
call fcn.004063a0
jmp 0x4df1c3
cmp dword [ebp - 0x11c], 6
jne 0x4df113
cmp dword [ebp - 0x118], 0
jne 0x4df113
lea eax, [ebp - 4]
mov edx, 0x4df2e4
call fcn.004063a0
jmp 0x4df1c3
cmp dword [ebp - 0x11c], 6
jne 0x4df137
cmp dword [ebp - 0x118], 1
jne 0x4df137
lea eax, [ebp - 4]
mov edx, 0x4df30c
call fcn.004063a0
jmp 0x4df1c3
cmp dword [ebp - 0x11c], 6
jne 0x4df15d
mov eax, dword [ebp - 0x118]
add eax, 0xfffffffe
sub eax, 2
jae 0x4df15d
lea eax, [ebp - 4]
mov edx, 0x4df32c
call fcn.004063a0
jmp 0x4df1c3
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x4df182
mov edx, dword [ebp - 0x118]
sub edx, 4
jne 0x4df182
lea eax, [ebp - 4]
mov edx, 0x4df34c
call fcn.004063a0
jmp 0x4df1c3
cmp eax, 0xa
jne 0x4df1b1
cmp dword [ebp - 0x114], 0x55f0
jae 0x4df1a2
lea eax, [ebp - 4]
mov edx, 0x4df34c
call fcn.004063a0
jmp 0x4df1c3
lea eax, [ebp - 4]
mov edx, 0x4df370
call fcn.004063a0
jmp 0x4df1c3
cmp eax, 0xb
jb 0x4df1c3
lea eax, [ebp - 4]
mov edx, 0x4df370
call fcn.004063a0
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040634c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df1ea
lea eax, [ebp - 4]
call fcn.0040633c
ret

Function at 0x4df4c0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push esp
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040654c
add esp, 0x200
pop ebx
ret
Function at 0x4dfdbc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406334
xor eax, eax
push ebp
push 0x4dff51
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.004de960
mov esi, eax
mov dword [ebp - 0x234], 0x22c
lea edx, [ebp - 0x234]
mov eax, esi
call fcn.004de980
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4dff1d
lea eax, [ebp - 0x240]
lea edx, [ebp - 0x210]
mov ecx, 0x104
call fcn.0040654c
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.0040e08c
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0040c718
mov eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 4]
call fcn.0040c718
mov edx, dword [ebp - 0x244]
pop eax
call fcn.00406af0
je 0x4dfee7
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x210]
mov ecx, 0x104
call fcn.0040654c
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0040c718
mov eax, dword [ebp - 0x248]
push eax
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 4]
call fcn.0040c718
mov edx, dword [ebp - 0x250]
pop eax
call fcn.00406af0
jne 0x4dff0a
mov eax, dword [ebp - 0x22c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 0
push edi
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
push edi
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x234]
mov eax, esi
call fcn.004de9a0
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4dfe42
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dff58
lea eax, [ebp - 0x250]
mov edx, 7
call fcn.00406344
lea eax, [ebp - 4]
call fcn.0040633c
ret
Function at 0x4e17f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, ebx
xor edx, edx
call fcn.0040634c
xor edx, edx
push ebp
push 0x4e184c
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push 0
push esi
lea edx, [ebp - 0x20e]
push edx
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040654c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e186a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e18b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e19b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0040ddf4
cmp dword [ebp - 4], 0
je 0x4e18f4
mov eax, dword [ebp - 4]
mov edx, 0x4e19d4
call fcn.00406af0
jne 0x4e1908
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov edx, 0x4e19e4
call fcn.00406820
jmp 0x4e1977
xor eax, eax
push ebp
push 0x4e193c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x65
mov eax, dword [ebp - 4]
call fcn.0040d8e4
test al, al
jne 0x4e1932
mov eax, dword [ebp - 4]
call fcn.0040d908
dec ebx
jne 0x4e191b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1977
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.004063d8
push eax
call sub.kernel32.dll_GetFileAttributesW
test al, 1
setne al
test al, al
je 0x4e19a2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
call fcn.0040da30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e19bf
lea eax, [ebp - 4]
call fcn.0040633c
ret
Function at 0x4ebed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x4ec182
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x61a4dc], 0
je 0x4ebf08
mov edx, dword [0x61a4dc]
mov eax, esi
call fcn.004eafa0
cmp dword [0x61a4ec], 0
je 0x4ebf4c
mov eax, dword [0x61a4ec]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4ebf42
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [0x61a4ec]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004eafa0
dec ebx
cmp ebx, 0xffffffff
jne 0x4ebf23
mov eax, dword [0x61a4ec]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00416c34
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040ddb8
mov edx, dword [ebp - 0xc]
mov eax, 0x61a4fc
call fcn.0040634c
cmp byte [ebp - 1], 0
je 0x4ec167
cmp dword [0x5c946c], 0
je 0x4ec167
mov eax, dword [0x5d464c]
cmp byte [eax], 0
je 0x4ebfff
push 0x4ec19c
mov eax, dword [0x61a4e4]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x18]
call fcn.0040d120
push dword [ebp - 0x18]
push 0x4ec1d8
mov eax, dword [0x61a4e8]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x1c]
call fcn.0040d120
push dword [ebp - 0x1c]
push 0x4ec1f4
push dword [0x61a4d8]
push 0x4ec214
push dword [0x61a4dc]
push 0x4ec230
push dword [0x61a4fc]
lea eax, [ebp - 0x14]
mov edx, 0xa
call fcn.00406904
mov eax, dword [ebp - 0x14]
call fcn.004063d8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [0x5c946c]
call fcn.004387b8
mov eax, dword [0x5c9470]
call fcn.004387b8
call fcn.004ca258
mov ebx, dword [0x61a4e4]
call fcn.0040441c
mov eax, ebx
call fcn.0040473c
or edx, 0xffffffff
call fcn.004044c8
xor edx, edx
push ebp
push 0x4ec062
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x61a4e4]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec069
mov eax, dword [0x61a4e4]
call fcn.004046ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec189
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00406344
ret
Function at 0x505df0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd20
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00406334
xor eax, eax
push ebp
push 0x50600e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403790
mov esi, eax
lea eax, [ebp - 0x2d0]
xor ecx, ecx
mov edx, 0x2b4
call fcn.004036f4
cmp dword [ebp + 0x20], 0
je 0x505eab
cmp dword [ebp - 0x10], 0
je 0x505eab
mov eax, dword [ebp + 0x20]
call fcn.0040d89c
test al, al
jne 0x505e61
mov eax, dword [ebp + 0x20]
call fcn.0040d8e4
test al, al
je 0x505e84
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.004063d8
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x505ea5
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.004063d8
push eax
call sub.shell32.dll_SHGetFileInfoW
mov esi, dword [ebp - 0x2cc]
cmp byte [ebp + 0x1c], 0
je 0x505ed2
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0x506020
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
jmp 0x505ef1
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0x506020
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00408f28
test bl, bl
je 0x505f39
cmp byte [ebp + 0x14], 0
jne 0x505f39
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0043de8c
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 4]
call fcn.00506a74
test byte [ebp + 0x14], bl
je 0x505ff8
mov dl, 1
mov eax, dword [0x43b2b4]
call fcn.004422dc
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x505ff1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00442bf4
call fcn.0043de8c
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2dc], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00403534
add eax, dword [ebp - 8]
mov dword [ebp - 0x2d8], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00403534
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2e0]
mov eax, dword [ebp - 4]
call fcn.00505d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505ff8
mov eax, dword [ebp - 0x1c]
call fcn.00403e80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506015
lea eax, [ebp + 0x20]
call fcn.0040633c
ret
Function at 0x519fcc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
cmp byte [ebx + 0x2aa], 0
je 0x519fe5
xor esi, esi
jmp 0x519fec
movzx esi, byte [ebx + 0x296]
xor ebp, ebp
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x519ffe
movzx edi, byte [eax + 0x5e]
jmp 0x51a003
mov edi, 0xff
movzx eax, byte [ebx + 0x29c]
push eax
mov eax, edi
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x51a026
mov dword [esp + 4], 1
call sub.kernel32.dll_GetTickCount_1
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebx + 0x298]
jl 0x51a062
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add esi, dword [esp + 4]
cmp edi, esi
jge 0x51a04b
mov esi, edi
mov eax, esi
mov byte [ebx + 0x296], al
push ebx
push fcn.00519b4c
mov eax, dword [esp + 8]
call fcn.00432780
push 2
call sub.kernel32.dll_Sleep_1
mov eax, dword [esp]
cmp byte [eax + 0xd], 0
jne 0x51a09c
mov eax, dword [0x5d49bc]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x51a09c
cmp dword [ebx + 0x270], 0
je 0x51a09c
mov eax, dword [0x5d49bc]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x51a09c
cmp edi, esi
jg 0x51a026
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov esi, eax
movzx edi, byte [esi + 0x296]
xor ebp, ebp
mov eax, dword [esi + 0x270]
test eax, eax
je 0x51a1fa
movzx ecx, byte [eax + 0x5e]
jmp 0x51a1ff
mov ecx, 0xff
movzx eax, byte [esi + 0x29c]
push eax
mov eax, ecx
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp], eax
cmp dword [esp], 0
jne 0x51a21f
mov dword [esp], 1
call sub.kernel32.dll_GetTickCount_1
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esi + 0x298]
jl 0x51a259
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
sub edi, dword [esp]
cmp edi, dword [esp]
jge 0x51a244
xor edi, edi
mov eax, edi
mov byte [esi + 0x296], al
push esi
push fcn.00519c0c
mov eax, ebx
call fcn.00432780
mov eax, dword [ebx + 0x44]
mov edx, 2
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
cmp byte [eax + 0xd], 0
jne 0x51a2a6
mov edx, dword [0x5d49bc]
mov edx, dword [edx]
cmp byte [edx + 0xa0], 0
jne 0x51a2a6
mov edx, dword [0x5d49bc]
mov edx, dword [edx]
test byte [edx + 0x1c], 8
jne 0x51a2a6
cmp dword [eax + 0x4c], 1
je 0x51a2a6
test edi, edi
jg 0x51a21f
push esi
mov edx, dword [esi]
mov edx, dword [edx + 0xf8]
push edx
call fcn.00432470
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x544ee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.0040634c
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.0040654c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x544f28
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.0040634c
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x544f65
mov eax, ebx
lea edx, [ebp - 0x20c]
call fcn.004064f8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x544f6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x544fe8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x544fcf
push ebx
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.0040654c
mov eax, dword [ebp - 0x20c]
mov ecx, 2
mov edx, 1
call fcn.00406af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544fef
lea eax, [ebp - 0x20c]
call fcn.0040633c
ret
Function at 0x54561c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54577f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54569a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp - 4]
add eax, 8
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.0040654c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5456c5
xor eax, eax
push ebp
push 0x545707
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x1a
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp - 4]
add eax, 4
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.0040654c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x545732
lea edx, [ebp - 0x224]
xor eax, eax
call fcn.00403430
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.0040ddb8
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.0040634c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545786
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.00406344
ret

Function at 0x5487ec
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.005493a4
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x5492a0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x5492e5
lea eax, [ebp - 0x60]
call fcn.005487ec
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.00548814
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005488e8
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x5492e7
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x549310
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x549316
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x5492f5
lea eax, [ebp - 0x60]
call fcn.005487ec
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00548814
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00549188
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005488e8
lea eax, [ebp - 0x60]
call fcn.005487ec
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00548814
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.00548814
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.005488e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8