joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb640
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 0x4bb8a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004062cc
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, 0x11c
call fcn.00403678
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.00403678
push 0x4bb8b0
push 0x4bb8d8
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.004091d0
test eax, eax
je 0x4bb6ca
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x4bb6d6
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp dword [ebp - 0x110], 2
jne 0x4bb883
test bl, bl
je 0x4bb706
call fcn.004bba50
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 0x4bb721
lea eax, [ebp - 4]
mov edx, 0x4bb900
call fcn.004062cc
cmp dword [ebp - 0x11c], 5
jne 0x4bb745
cmp dword [ebp - 0x118], 0
jne 0x4bb745
lea eax, [ebp - 4]
mov edx, 0x4bb924
call fcn.004062cc
jmp 0x4bb883
cmp dword [ebp - 0x11c], 5
jne 0x4bb769
cmp dword [ebp - 0x118], 1
jne 0x4bb769
lea eax, [ebp - 4]
mov edx, 0x4bb94c
call fcn.004062cc
jmp 0x4bb883
cmp dword [ebp - 0x11c], 5
jne 0x4bb7af
cmp dword [ebp - 0x118], 2
jne 0x4bb7af
cmp byte [ebp - 6], 1
jne 0x4bb79d
cmp word [ebp - 0x144], 9
jne 0x4bb79d
lea eax, [ebp - 4]
mov edx, 0x4bb94c
call fcn.004062cc
jmp 0x4bb883
lea eax, [ebp - 4]
mov edx, 0x4bb970
call fcn.004062cc
jmp 0x4bb883
cmp dword [ebp - 0x11c], 6
jne 0x4bb7d3
cmp dword [ebp - 0x118], 0
jne 0x4bb7d3
lea eax, [ebp - 4]
mov edx, 0x4bb9a4
call fcn.004062cc
jmp 0x4bb883
cmp dword [ebp - 0x11c], 6
jne 0x4bb7f7
cmp dword [ebp - 0x118], 1
jne 0x4bb7f7
lea eax, [ebp - 4]
mov edx, 0x4bb9cc
call fcn.004062cc
jmp 0x4bb883
cmp dword [ebp - 0x11c], 6
jne 0x4bb81d
mov eax, dword [ebp - 0x118]
add eax, 0xfffffffe
sub eax, 2
jae 0x4bb81d
lea eax, [ebp - 4]
mov edx, 0x4bb9ec
call fcn.004062cc
jmp 0x4bb883
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x4bb842
mov edx, dword [ebp - 0x118]
sub edx, 4
jne 0x4bb842
lea eax, [ebp - 4]
mov edx, 0x4bba0c
call fcn.004062cc
jmp 0x4bb883
cmp eax, 0xa
jne 0x4bb871
cmp dword [ebp - 0x114], 0x55f0
jae 0x4bb862
lea eax, [ebp - 4]
mov edx, 0x4bba0c
call fcn.004062cc
jmp 0x4bb883
lea eax, [ebp - 4]
mov edx, 0x4bba30
call fcn.004062cc
jmp 0x4bb883
cmp eax, 0xb
jb 0x4bb883
lea eax, [ebp - 4]
mov edx, 0x4bba30
call fcn.004062cc
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00406278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb8aa
lea eax, [ebp - 4]
call fcn.00406268
ret
Function at 0x4bc450
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.00406260
xor eax, eax
push ebp
push 0x4bc5e5
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.004bb244
mov esi, eax
mov dword [ebp - 0x234], 0x22c
lea edx, [ebp - 0x234]
mov eax, esi
call fcn.004bb264
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4bc5b1
lea eax, [ebp - 0x240]
lea edx, [ebp - 0x210]
mov ecx, 0x104
call fcn.00406478
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.0040ddf8
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.0040c484
mov eax, dword [ebp - 0x238]
push eax
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 4]
call fcn.0040c484
mov edx, dword [ebp - 0x244]
pop eax
call fcn.00406a1c
je 0x4bc57b
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x210]
mov ecx, 0x104
call fcn.00406478
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0040c484
mov eax, dword [ebp - 0x248]
push eax
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 4]
call fcn.0040c484
mov edx, dword [ebp - 0x250]
pop eax
call fcn.00406a1c
jne 0x4bc59e
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.004bb284
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4bc4d6
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc5ec
lea eax, [ebp - 0x250]
mov edx, 7
call fcn.00406270
lea eax, [ebp - 4]
call fcn.00406268
ret
Function at 0x4bde88
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.00406278
xor edx, edx
push ebp
push 0x4bdee0
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.00406478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdefe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bdf44
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 0x4be04c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0040db60
cmp dword [ebp - 4], 0
je 0x4bdf88
mov eax, dword [ebp - 4]
mov edx, 0x4be068
call fcn.00406a1c
jne 0x4bdf9c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov edx, 0x4be078
call fcn.0040674c
jmp 0x4be00b
xor eax, eax
push ebp
push 0x4bdfd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x65
mov eax, dword [ebp - 4]
call fcn.0040d650
test al, al
jne 0x4bdfc6
mov eax, dword [ebp - 4]
call fcn.0040d674
dec ebx
jne 0x4bdfaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be00b
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.00406304
push eax
call sub.kernel32.dll_GetFileAttributesW
test al, 1
setne al
test al, al
je 0x4be036
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
call fcn.0040d79c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be053
lea eax, [ebp - 4]
call fcn.00406268
ret
Function at 0x4c4b94
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 0x4c4e46
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5ac4d8], 0
je 0x4c4bcc
mov edx, dword [0x5ac4d8]
mov eax, esi
call fcn.004c3c64
cmp dword [0x5ac4e8], 0
je 0x4c4c10
mov eax, dword [0x5ac4e8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4c4c06
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [0x5ac4e8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004c3c64
dec ebx
cmp ebx, 0xffffffff
jne 0x4c4be7
mov eax, dword [0x5ac4e8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004168cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040db24
mov edx, dword [ebp - 0xc]
mov eax, 0x5ac4f8
call fcn.00406278
cmp byte [ebp - 1], 0
je 0x4c4e2b
cmp dword [0x562250], 0
je 0x4c4e2b
mov eax, dword [0x566910]
cmp byte [eax], 0
je 0x4c4cc3
push 0x4c4e60
mov eax, dword [0x5ac4e0]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x18]
call fcn.0040ce8c
push dword [ebp - 0x18]
push 0x4c4e9c
mov eax, dword [0x5ac4e4]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x1c]
call fcn.0040ce8c
push dword [ebp - 0x1c]
push 0x4c4eb8
push dword [0x5ac4d4]
push 0x4c4ed8
push dword [0x5ac4d8]
push 0x4c4ef4
push dword [0x5ac4f8]
lea eax, [ebp - 0x14]
mov edx, 0xa
call fcn.00406830
mov eax, dword [ebp - 0x14]
call fcn.00406304
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [0x562250]
call fcn.004369a8
mov eax, dword [0x562254]
call fcn.004369a8
call fcn.004a7288
mov ebx, dword [0x5ac4e0]
call fcn.00404348
mov eax, ebx
call fcn.00404668
or edx, 0xffffffff
call fcn.004043f4
xor edx, edx
push ebp
push 0x4c4d26
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5ac4e0]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4d2d
mov eax, dword [0x5ac4e0]
call fcn.004045d8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4e4d
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00406270
ret
Function at 0x4de8c0
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.00406260
xor eax, eax
push ebp
push 0x4deade
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403714
mov esi, eax
lea eax, [ebp - 0x2d0]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00403678
cmp dword [ebp + 0x20], 0
je 0x4de97b
cmp dword [ebp - 0x10], 0
je 0x4de97b
mov eax, dword [ebp + 0x20]
call fcn.0040d608
test al, al
jne 0x4de931
mov eax, dword [ebp + 0x20]
call fcn.0040d650
test al, al
je 0x4de954
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00406304
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x4de975
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00406304
push eax
call sub.shell32.dll_SHGetFileInfoW
mov esi, dword [ebp - 0x2cc]
cmp byte [ebp + 0x1c], 0
je 0x4de9a2
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0x4deaf0
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
jmp 0x4de9c1
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0x4deaf0
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.00408e28
test bl, bl
je 0x4dea09
cmp byte [ebp + 0x14], 0
jne 0x4dea09
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0043bf30
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 4]
call fcn.004df544
test byte [ebp + 0x14], bl
je 0x4deac8
mov dl, 1
mov eax, dword [0x4394a4]
call fcn.00440244
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4deac1
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.00440b5c
call fcn.0043bf30
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.004034b8
add eax, dword [ebp - 8]
mov dword [ebp - 0x2d8], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.004034b8
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.004de7e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4deac8
mov eax, dword [ebp - 0x1c]
call fcn.00403dac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4deae5
lea eax, [ebp + 0x20]
call fcn.00406268
ret
Function at 0x4ec728
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 0x4ec741
xor esi, esi
jmp 0x4ec748
movzx esi, byte [ebx + 0x296]
xor ebp, ebp
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x4ec75a
movzx edi, byte [eax + 0x5e]
jmp 0x4ec75f
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 0x4ec782
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 0x4ec7be
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
add esi, dword [esp + 4]
cmp edi, esi
jge 0x4ec7a7
mov esi, edi
mov eax, esi
mov byte [ebx + 0x296], al
push ebx
push fcn.004ec2a8
mov eax, dword [esp + 8]
call fcn.00430c58
push 2
call sub.kernel32.dll_Sleep_1
mov eax, dword [esp]
cmp byte [eax + 0xd], 0
jne 0x4ec7f8
mov eax, dword [0x566c58]
mov eax, dword [eax]
cmp byte [eax + 0xa0], 0
jne 0x4ec7f8
cmp dword [ebx + 0x270], 0
je 0x4ec7f8
mov eax, dword [0x566c58]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x4ec7f8
cmp edi, esi
jg 0x4ec782
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4ec934
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 0x4ec956
movzx ecx, byte [eax + 0x5e]
jmp 0x4ec95b
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 0x4ec97b
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 0x4ec9b5
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
sub edi, dword [esp]
cmp edi, dword [esp]
jge 0x4ec9a0
xor edi, edi
mov eax, edi
mov byte [esi + 0x296], al
push esi
push fcn.004ec368
mov eax, ebx
call fcn.00430c58
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 0x4eca02
mov edx, dword [0x566c58]
mov edx, dword [edx]
cmp byte [edx + 0xa0], 0
jne 0x4eca02
mov edx, dword [0x566c58]
mov edx, dword [edx]
test byte [edx + 0x1c], 8
jne 0x4eca02
cmp dword [eax + 0x4c], 1
je 0x4eca02
test edi, edi
jg 0x4ec97b
push esi
mov edx, dword [esi]
mov edx, dword [edx + 0xf8]
push edx
call fcn.00430948
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fcc64
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.00406278
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.00406478
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4fccac
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.00406278
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 0x4fcce9
mov eax, ebx
lea edx, [ebp - 0x20c]
call fcn.00406424
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fccf0
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 0x4fcd6c
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 0x4fcd53
push ebx
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00406478
mov eax, dword [ebp - 0x20c]
mov ecx, 2
mov edx, 1
call fcn.00406a24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcd73
lea eax, [ebp - 0x20c]
call fcn.00406268
ret
Function at 0x4fd3a0
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 0x4fd503
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fd41e
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.00406478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd449
xor eax, eax
push ebp
push 0x4fd48b
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.00406478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd4b6
lea edx, [ebp - 0x224]
xor eax, eax
call fcn.00403428
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.0040db24
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd50a
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.00406270
ret

Function at 0x4fff6c
Capabilities:
Hash data with md5

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

Function at 0x500a20
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 0x500a65
lea eax, [ebp - 0x60]
call fcn.004fff6c
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.004fff94
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00500068
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x500a67
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x500a90
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 0x500a96
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x500a75
lea eax, [ebp - 0x60]
call fcn.004fff6c
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.004fff94
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00500908
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00500068
lea eax, [ebp - 0x60]
call fcn.004fff6c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.004fff94
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.004fff94
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00500068
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x50ba64
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x50ba6d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x50bc33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0050bdc8
xor eax, eax
push ebp
push 0x50bc04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x50babd
call fcn.00404d38
jmp 0x50bc0b
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x50bb92
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x50bb12
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x50bb12
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0050b9b8
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406830
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x50bb51
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0050b9b8
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00406830
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.00406304
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x50bbee
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0050b9b8
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x50bc50
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406830
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0050b9d8
jmp 0x50bbee
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x50bbb5
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x50bbb5
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x50bbcb
mov eax, ebx
call fcn.00406304
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x50bbee
lea eax, [ebp - 0x28]
mov ecx, 0x50bc50
mov edx, ebx
call fcn.0040674c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0050b9d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bc0b
mov eax, dword [ebp - 4]
call fcn.0050bdd0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bc3a
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00406270
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406270
ret
Function at 0x50ff9c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x50ffb0
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x50ffaf
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.00405d10
xor ebx, ebx
cmp esi, dword [esp]
jge 0x510114
inc ebx
mov eax, edi
call fcn.00405ca4
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + 0x565f00]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x5100cd
inc ebx
mov eax, edi
call fcn.00405ca4
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x565f00]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x51009c
inc ebx
mov eax, edi
call fcn.00405ca4
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x565f00]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405ca4
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x565f00]
mov byte [eax + ebx - 1], dl
jmp 0x510108
inc ebx
mov eax, edi
call fcn.00405ca4
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + 0x565f00]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405ca4
mov byte [eax + ebx - 1], 0x3d
jmp 0x510108
inc ebx
mov eax, edi
call fcn.00405ca4
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + 0x565f00]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405ca4
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00405ca4
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x50ffe4
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret