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

Disassembly:
push 0xc
mov eax, 0x5a3df0
call fcn.0052ca12
mov edi, ecx
mov esi, 0x6618f8
xor ebx, ebx
push str.KeepAliveManager
mov ecx, esi
mov dword [ebp - 0x10], ebx
call fcn.0041023a
test eax, eax
je 0x526fc6
mov ecx, esi
call fcn.004102eb
mov ecx, eax
call fcn.0054a4bd
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.00526df6
mov esi, dword [ebp + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0047fea6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0054ee54
push dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
push dword [ebp + 0xc]
mov ecx, dword [esi]
push eax
call fcn.0052822e
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi]
mov edi, dword [edi + 0x20]
call fcn.0052825c
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
cmp eax, ebx
mov dword [ebp - 4], 2
jne 0x52707a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x52704e
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00452fcd
jmp 0x527092
push 8
call fcn.00401009
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x52706b
push edi
call fcn.005245c1
jmp 0x52706d
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0047f964
mov ecx, esi
call fcn.0054ee54
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00452fcd
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], bl
call fcn.0054ee54
mov eax, dword [ebp + 8]
call fcn.0052caea
ret 0x1c
Function at 0x5271ce
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x5a3e9c
call fcn.0052ca12
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [esi + 0x1c], bl
jne 0x527248
mov eax, dword [ebp + 0x14]
push ebx
push eax
push dword [ebp + 0xc]
mov dword [eax], ebx
push dword [ebp + 0x10]
mov esi, dword [esi + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x52723b
push 8
call fcn.00401009
pop ecx
mov dword [ebp + 0x14], eax
cmp eax, ebx
mov dword [ebp - 4], 1
je 0x527228
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.005245c1
jmp 0x52722a
xor eax, eax
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], bl
call fcn.004a9c1e
jmp 0x527305
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x527308
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0x14]
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [edi], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi + 0x2c]
mov ecx, esi
push dword [esi + 0x28]
mov dword [ebp - 4], 2
push eax
call fcn.00526e32
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x5272b2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00528552
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0047fea6
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0054ee54
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x5272c3
mov eax, dword [edi]
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], ebx
jmp 0x5272db
call fcn.0048bd6a
cmp eax, 0x26
jne 0x5272db
lea ecx, [ebp - 0x18]
call fcn.0054ee54
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00452fcd
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.0054ee54
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0054ee54
mov eax, dword [ebp + 8]
call fcn.0052caea
ret 0x10

Function at 0x52a758
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x64c194]
jne 0x52a762
repz ret
jmp fcn.00535d14
Function at 0x5306b3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x5306f0
cmp dword [ebp + 0x14], edi
je 0x5306f0
cmp ecx, edi
jne 0x5306f7
call fcn.005322e9
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0052b2fc
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x53070b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x53072c
cmp ebx, 0xffffffff
je 0x53071b
push ebx
push edi
push ecx
call fcn.0052b5c0
add esp, 0xc
cmp esi, edi
je 0x5306d8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x5306d8
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x530748
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x53074f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x530840
test word [esi + 0xc], 0x10c
je 0x5307a3
mov eax, dword [esi + 4]
test eax, eax
je 0x5307a3
jl 0x5308a1
cmp ebx, eax
mov edi, ebx
jb 0x530774
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x530848
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0052ae4a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x530838
cmp ebx, dword [ebp - 0xc]
jb 0x530810
cmp dword [ebp - 0xc], 0
je 0x5307cd
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x5307c2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x5307c9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x5307d8
mov eax, SysReAllocString
cmp ebx, eax
ja 0x5307d8
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x530874
push eax
push dword [ebp - 8]
push esi
call fcn.005393b5
pop ecx
push eax
call fcn.0053af64
add esp, 0xc
test eax, eax
je 0x5308b3
cmp eax, 0xffffffff
je 0x5308a1
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x530838
push esi
call fcn.0053a19a
cmp eax, 0xffffffff
pop ecx
je 0x5308a5
cmp dword [ebp - 4], 0
je 0x530874
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x530757
mov eax, dword [ebp + 0x14]
jmp 0x5306f2
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x53085f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0052b5c0
add esp, 0xc
call fcn.005322e9
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5306e8
cmp dword [ebp + 0xc], 0xffffffff
je 0x53088a
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0052b5c0
add esp, 0xc
call fcn.005322e9
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5306e8
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5306f2
or dword [esi + 0xc], 0x10
jmp 0x5308a5
Function at 0x535efc
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x64cd80]
je 0x535f17
inc edi
cmp edi, 0x17
jb 0x535f08
cmp edi, 0x17
jae 0x536097
push ebp
push 3
call fcn.0053d6d0
cmp eax, 1
pop ecx
je 0x536063
push 3
call fcn.0053d6d0
test eax, eax
pop ecx
jne 0x535f4b
cmp dword [0x64c4d8], 1
je 0x536063
cmp ebx, 0xfc
je 0x536096
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x65fb20
push ebp
call fcn.005353b8
add esp, 0xc
test eax, eax
je 0x535f81
push esi
push esi
push esi
push esi
push esi
call fcn.0052b200
add esp, 0x14
push 0x104
mov esi, 0x65fb39
push esi
push 0
mov byte [0x65fc3d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x535fc5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.005353b8
add esp, 0xc
test eax, eax
je 0x535fc5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0052b200
add esp, 0x14
push esi
call fcn.0052b110
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x53600a
push esi
call fcn.0052b110
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x65fe34
push 0x5d33cc
sub ecx, eax
push ecx
push eax
call fcn.0053c31b
add esp, 0x14
test eax, eax
je 0x53600a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0052b200
add esp, 0x14
jmp 0x53600c
xor esi, esi
push 0x5c46d0
push ebx
push ebp
call fcn.0053c2aa
add esp, 0xc
test eax, eax
je 0x53602c
push esi
push esi
push esi
push esi
push esi
call fcn.0052b200
add esp, 0x14
push dword [edi*8 + 0x64cd84]
push ebx
push ebp
call fcn.0053c2aa
add esp, 0xc
test eax, eax
je 0x53604e
push esi
push esi
push esi
push esi
push esi
call fcn.0052b200
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0053d513
add esp, 0xc
jmp 0x536096
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x536096
cmp ebp, 0xffffffff
je 0x536096
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x64cd84]
push dword [esi]
call fcn.0052b110
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x53d513
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00534ed6
xor ebx, ebx
cmp dword [0x6600f4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x53d5e9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x53d6c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x53d6c9
push eax
call fcn.00534e68
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6600f4], eax
call esi
push eax
call fcn.00534e68
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6600f8], eax
call esi
push eax
call fcn.00534e68
mov dword [0x6600fc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0052abd7
test eax, eax
pop ecx
pop ecx
je 0x53d5b7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0052b200
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x53d5e9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00534e68
cmp eax, ebx
pop ecx
mov dword [0x660104], eax
je 0x53d5e9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00534e68
pop ecx
mov dword [0x660100], eax
mov eax, dword [0x660100]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x53d66e
cmp dword [0x660104], ecx
je 0x53d66e
push eax
call fcn.00534edf
push dword [0x660104]
mov esi, eax
call fcn.00534edf
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x53d66e
cmp edi, ebx
je 0x53d66e
call esi
cmp eax, ebx
je 0x53d63b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x53d63b
test byte [ebp - 0x18], 1
jne 0x53d66e
lea eax, [ebp - 0x10]
push eax
call fcn.0052ac0e
test eax, eax
pop ecx
je 0x53d656
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0052b200
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x53d665
or dword [ebp + 0x10], 0x200000
jmp 0x53d6a9
or dword [ebp + 0x10], 0x40000
jmp 0x53d6a9
mov eax, dword [0x6600f8]
cmp eax, dword [ebp - 8]
je 0x53d6a9
push eax
call fcn.00534edf
cmp eax, ebx
pop ecx
je 0x53d6a9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x53d6a9
mov eax, dword [0x6600fc]
cmp eax, dword [ebp - 8]
je 0x53d6a9
push eax
call fcn.00534edf
cmp eax, ebx
pop ecx
je 0x53d6a9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6600f4]
call fcn.00534edf
cmp eax, ebx
pop ecx
je 0x53d6c9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x53d6cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5455f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
push str.computeGenericCrc32
lea ecx, [esp + 0x10]
call fcn.005207fb
cmp byte [esp + 0x24], 0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea eax, [ecx + edi]
je 0x545649
cmp ecx, eax
mov ebx, dword [esp + 0x14]
je 0x5456c9
mov edx, dword [esp + 0x20]
movzx esi, byte [ecx]
movzx edi, bl
xor esi, edi
shr ebx, 8
xor ebx, dword [edx + esi*4]
add ecx, 1
cmp ecx, eax
jne 0x545624
lea ecx, [esp + 0xc]
call fcn.0051f8d9
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov esi, edi
and esi, 0xfffffffc
add esi, ecx
cmp ecx, esi
not eax
je 0x5456a1
mov edi, edi
xor eax, dword [ecx]
add ecx, 4
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
cmp ecx, esi
jne 0x545660
and edi, 3
add edi, ecx
mov esi, edi
cmp ecx, esi
je 0x5456c5
lea esp, [esp]
movzx edi, byte [ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edx + edi*4]
add ecx, 1
cmp ecx, esi
jne 0x5456b0
not eax
mov ebx, eax
lea ecx, [esp + 0xc]
call fcn.0051f8d9
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x5456e0
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push esi
push str.computeCrc32
lea ecx, [esp + 8]
call fcn.005207fb
cmp byte [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jne 0x545725
push 0
push 0x64dc50
push eax
push ecx
push edx
call fcn.005455f0
add esp, 0x14
lea ecx, [esp + 4]
mov esi, eax
call fcn.0051f8d9
mov eax, esi
pop esi
pop ecx
ret
push 0x64dc50
push eax
push ecx
push edx
call fcn.0054b2f0
add esp, 0x10
lea ecx, [esp + 4]
mov esi, eax
call fcn.0051f8d9
mov eax, esi
pop esi
pop ecx
ret

Function at 0x54b2f0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, ecx
xor eax, eax
shr ecx, 2
je 0x54b334
xor edx, dword [edi]
add edi, 4
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
dec ecx
jne 0x54b30c
mov ecx, ebx
and ecx, 3
je 0x54b349
xor dl, byte [edi]
inc edi
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
dec ecx
jne 0x54b33b
pop ebx
pop esi
pop edi
mov eax, edx
ret

Function at 0x54b34f
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x54c6c3
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x64c194]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x48
mov eax, 0x5a51ab
call fcn.0052ca12
mov esi, dword [ebp + 0x24c]
push str.determineFilesystemType
push dword [0x64e09c]
lea ecx, [ebp - 0x10]
call fcn.005207dc
lea eax, [ebp]
push esi
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0054bfda
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0x10
mov ecx, dword [ebp + 4]
mov byte [ebp - 4], 1
jae 0x54c721
lea ecx, [ebp + 4]
mov eax, 0x104
push eax
lea edx, [ebp + 0x13c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
push eax
lea eax, [ebp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x54c785
push 2
pop esi
push edi
push 1
lea ecx, [ebp]
call fcn.0040eb93
lea ecx, [ebp - 0x10]
call fcn.0051f8d9
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 + 0x240]
xor ecx, ebp
call fcn.0052a758
add ebp, 0x244
leave
ret
lea eax, [ebp + 0x13c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e6dd
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.005498e1
pop ecx
pop ecx
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040eb93
push str.NTFS
lea ecx, [ebp + 0x1c]
call fcn.0040f8d5
test eax, eax
lea ecx, [ebp + 0x1c]
jne 0x54c7d8
push edi
push esi
call fcn.0040edcc
jmp 0x54c74d
push 3
push edi
lea eax, [ebp - 0x54]
push eax
call fcn.0040ea2a
push 0x5ccbcc
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040f8d5
mov ebx, eax
neg ebx
push edi
sbb bl, bl
push esi
lea ecx, [ebp - 0x54]
inc bl
call fcn.0040edcc
push edi
lea ecx, [ebp + 0x1c]
push esi
call fcn.0040edcc
test bl, bl
je 0x54c74a
xor esi, esi
jmp 0x54c74d

Function at 0x560af5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x64c194]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 3]
push eax
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0x41
mov byte [ebp - 7], 0x54
mov byte [ebp - 6], 0x52
mov byte [ebp - 5], 0x53
call fcn.0052ce85
add esp, 0xc
test eax, eax
jne 0x560b5f
push esi
call fcn.004f102c
test al, al
pop ecx
je 0x560b5f
xor eax, eax
inc eax
jmp 0x560b61
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052a758
leave
ret
Function at 0x5678b3
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x5a9a08
call fcn.0052ca7b
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
call fcn.0040e9d2
lea eax, [ebp - 0x2c]
push eax
call fcn.00527b47
add esp, 0x20
xor ecx, ecx
cmp dword [edi + 0x18], 8
mov dword [ebp - 4], ecx
jb 0x5678ef
mov eax, dword [edi + 4]
jmp 0x5678f2
lea eax, [edi + 4]
push ecx
push 0x60000000
push 3
push ecx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x56791b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x567922
jmp 0x567987
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebx + 0x10]
push esi
push dword [esi + 8]
lea ecx, [ebp - 0x44]
call fcn.00412f98
push esi
push dword [esi + 8]
lea ecx, [ebp - 0x34]
call fcn.00412f98
push esi
push dword [esi + 4]
lea ecx, [ebp - 0x3c]
call fcn.00412f98
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
call fcn.0047909c
add esp, 0x18
mov ecx, eax
call fcn.00412a72
test al, al
je 0x567987
push edi
mov ecx, ebx
call fcn.0042f00e
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0042f00e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040edcc
call fcn.0052cafe
ret 8

Function at 0x56b602
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x6618f8
call fcn.00413a12
mov edi, eax
mov al, byte [esi + 4]
cmp al, byte [esi + 7]
jae 0x56b66d
xor ebx, ebx
jmp 0x56b657
cmp byte [esi + 6], 8
jae 0x56b651
movzx ecx, byte [esi + 6]
mov eax, dword [edi]
push ebx
push ecx
movzx ecx, byte [esi + 5]
push ecx
movzx ecx, byte [esi + 4]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp ax, 0xffff
jne 0x56b675
mov al, byte [esi + 6]
cmp al, bl
je 0x56b651
inc al
cmp al, 8
mov byte [esi + 6], al
jb 0x56b624
inc byte [esi + 5]
mov byte [esi + 6], bl
mov al, byte [esi + 5]
cmp al, byte [esi + 8]
jb 0x56b61e
inc byte [esi + 4]
mov byte [esi + 5], bl
mov al, byte [esi + 4]
cmp al, byte [esi + 7]
jb 0x56b657
xor al, al
pop edi
pop esi
pop ebx
ret 0xc
mov al, byte [esi + 4]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov al, byte [esi + 5]
mov ecx, dword [esp + 0x14]
mov byte [ecx], al
mov al, byte [esi + 6]
mov ecx, dword [esp + 0x18]
mov byte [ecx], al
mov al, byte [esi + 6]
cmp al, bl
jne 0x56b6bc
movzx ecx, byte [esi + 5]
mov eax, dword [edi]
push 0xe
push ebx
push ecx
movzx ecx, byte [esi + 4]
push ecx
mov ecx, edi
call dword [eax + 0x10]
test al, al
js 0x56b6b7
inc byte [esi + 5]
mov byte [esi + 6], bl
jmp 0x56b6c1
inc byte [esi + 6]
jmp 0x56b6c1
inc al
mov byte [esi + 6], al
mov al, 1
jmp 0x56b66f
Function at 0x57674d
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov al, byte [esi + 0x1d]
push edi
xor ebp, ebp
xor edi, edi
cmp bl, 0x13
mov cl, al
mov byte [esp + 0x18], cl
je 0x5767aa
cmp bl, 0x21
jne 0x576815
cmp al, 0x3d
je 0x576797
cmp al, 0x44
jne 0x576815
movzx eax, byte [esi + 0x1c]
dec eax
dec eax
jne 0x576815
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
jmp 0x57680b
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.00576a38
mov edi, eax
jmp 0x576813
cmp cl, 2
jb 0x576815
cmp cl, 3
jbe 0x576802
cmp cl, 0x41
jbe 0x576815
cmp cl, 0x44
jbe 0x5767df
cmp cl, 0x48
je 0x5767df
cmp cl, 0x50
je 0x5767d4
cmp cl, 0xff
jne 0x576815
mov edi, 0x6601c4
jmp 0x576815
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x22]
jmp 0x5767a0
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.00576a38
mov edi, eax
mov al, byte [esi + 0x1d]
cmp al, 0x42
pop ecx
pop ecx
je 0x5767fd
cmp al, 0x43
jne 0x576815
mov ebp, dword [edi + 4]
jmp 0x576815
movzx eax, word [esi + 0x10]
push eax
movzx eax, word [esi + 0x22]
push eax
call fcn.00576a38
mov ebp, eax
pop ecx
pop ecx
push edi
push ebp
xor eax, eax
push esi
push ebx
mov word [esi + 0x30], ax
mov word [esi + 0x2e], ax
mov word [esi + 0x20], ax
call sub.Int86_32.dll__W32Int86_16
cmp bl, 0x13
jne 0x57684d
cmp byte [esp + 0x18], 0xff
jne 0x57684d
lea eax, [esi + 0x10]
push eax
add esi, 0x22
push esi
push 0x6601c4
call fcn.00576a48
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x57789f
Capabilities:
Get disk information

Disassembly:
push 0x50
mov eax, 0x5ac580
call fcn.0052ca7b
mov edi, dword [ebp + 8]
xor ebx, ebx
push str.getRootDirectories
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], ebx
call fcn.005207fb
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
push ebx
mov byte [ebp - 4], 2
call esi
cmp eax, ebx
jmp 0x577903
mov eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], eax
call fcn.00401009
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00477db8
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
call esi
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
ja 0x5778e2
cmp eax, ebx
jne 0x57796f
push 8
call fcn.00401009
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x577930
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.005245c1
jmp 0x577932
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004a9c1e
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], str...RootDirectoryEnumerator.cpp
mov dword [ebp - 0x3c], 0x33
call fcn.00522690
push 0x5ef8b0
lea eax, [ebp - 0x34]
push eax
call fcn.0052aec5
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x50], 1
jmp 0x5779b9
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040e6dd
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00470040
mov ecx, edi
call fcn.0046ecd0
mov eax, dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0x2c]
lea esi, [esi + eax + 1]
mov byte [ebp - 4], 2
call fcn.0040eb93
cmp byte [esi], bl
jne 0x577984
lea ecx, [ebp - 0x48]
call fcn.00477d8a
lea ecx, [ebp - 0x4c]
call fcn.0051f8d9
mov eax, edi
call fcn.0052cafe
ret