joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54c21c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x16c
mov eax, dword [0x6d15dc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x44]
call fcn.005a9b68
push 0xa9
push esi
lea ecx, [ebp - 0x44]
call fcn.005a9b76
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x44]
call fcn.005a9b8a
push 0x10
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x24]
xor ebx, ebx
push eax
mov byte [ebp + 0x54], 0x5b
mov byte [ebp + 0x55], 0x4d
mov byte [ebp + 0x56], 0xe9
mov byte [ebp + 0x57], 0xc1
mov byte [ebp + 0x58], 0x56
mov byte [ebp + 0x59], 0x7b
mov byte [ebp + 0x5a], 0xa2
mov byte [ebp + 0x5b], 0x94
mov byte [ebp + 0x5c], bl
mov byte [ebp + 0x5d], 0xa
mov byte [ebp + 0x5e], 0x6f
mov byte [ebp + 0x5f], 0x8c
mov byte [ebp + 0x60], 0xf7
mov byte [ebp + 0x61], 0x91
mov byte [ebp + 0x62], 0xb1
mov byte [ebp + 0x63], 0xaf
call fcn.0057bb4c
add esp, 0xc
test eax, eax
jne 0x54c2b5
cmp byte [esi + 0xda], bl
jne 0x54c2ae
cmp byte [esi + 0xdb], bl
jne 0x54c2ae
inc eax
jmp 0x54c3db
xor eax, eax
jmp 0x54c3db
push edi
lea ecx, [ebp - 0x9c]
call fcn.005a9b68
mov edi, 0xda
push edi
push esi
lea ecx, [ebp - 0x9c]
call fcn.005a9b76
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x9c]
call fcn.005a9b8a
push 0x10
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x34]
push eax
mov byte [ebp + 0x64], 0x6d
mov byte [ebp + 0x65], 0xde
mov byte [ebp + 0x66], 0x16
mov byte [ebp + 0x67], 0x6a
mov byte [ebp + 0x68], bl
mov byte [ebp + 0x69], 0xed
mov byte [ebp + 0x6a], 0x7f
mov byte [ebp + 0x6b], 0xfb
mov byte [ebp + 0x6c], 0x13
mov byte [ebp + 0x6d], 0x54
mov byte [ebp + 0x6e], 0x1e
mov byte [ebp + 0x6f], 0xcd
mov byte [ebp + 0x70], 9
mov byte [ebp + 0x71], 0xd4
mov byte [ebp + 0x72], 0xd7
mov byte [ebp + 0x73], 0x37
call fcn.0057bb4c
add esp, 0xc
test eax, eax
jne 0x54c357
cmp byte [esi + 0xda], bl
jne 0x54c3ec
cmp byte [esi + 0xdb], bl
jne 0x54c3ec
xor eax, eax
inc eax
jmp 0x54c3da
lea ecx, [ebp - 0xf4]
call fcn.005a9b68
push edi
push esi
lea ecx, [ebp - 0xf4]
call fcn.005a9b76
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0xf4]
call fcn.005a9b8a
push 0x10
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp + 0x44], 0xbe
mov byte [ebp + 0x45], 0x5a
mov byte [ebp + 0x46], 0x64
mov byte [ebp + 0x47], 0xba
mov byte [ebp + 0x48], 0xa2
mov byte [ebp + 0x49], 0x73
mov byte [ebp + 0x4a], 0x44
mov byte [ebp + 0x4b], 0x60
mov byte [ebp + 0x4c], 0xc9
mov byte [ebp + 0x4d], 0x3f
mov byte [ebp + 0x4e], 0x32
mov byte [ebp + 0x4f], 0xb4
mov byte [ebp + 0x50], 0x28
mov byte [ebp + 0x51], 0x9d
mov byte [ebp + 0x52], 0xfa
mov byte [ebp + 0x53], 0x3f
call fcn.0057bb4c
add esp, 0xc
test eax, eax
je 0x54c337
xor al, al
pop edi
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057937b
add ebp, 0x78
leave
ret
xor eax, eax
jmp 0x54c3da
Function at 0x564790
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00564197
test eax, eax
je 0x5647a4
push eax
mov ecx, esi
call fcn.00563e7f
mov eax, dword [esi]
push str.Program_terminated_due_to_an_unknown_exception.
mov ecx, esi
call dword [eax + 0x14]
push eax
call fcn.00427b5e
push eax
call fcn.00427f2c
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x14]
push eax
call fcn.0056458f
pop ecx
mov ecx, 0x6e6e58
call fcn.00414141
push 1
call fcn.00582eb3
pop esi

Function at 0x56ab11
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.DBGHELP.DLL
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi], eax
je 0x56ac43
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymCleanup
push eax
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x56ac42
push str.StackWalk64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x56ac42
push str.SymFunctionTableAccess64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x56ac42
push str.SymGetModuleBase64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x56ac42
push str.SymGetLineFromAddr64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x56ac42
push str.SymLoadModule64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x56ac42
push ebx
push str.SymSetOptions
push dword [esi]
call edi
mov ebx, eax
test ebx, ebx
je 0x56ac41
push ebp
push str.SymInitialize
push dword [esi]
call edi
mov ebp, eax
test ebp, ebp
je 0x56ac40
push str.SymFromAddr
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0x56abeb
push str.SymGetSymFromAddr64
push dword [esi]
call edi
mov dword [esi + 0x24], eax
push str.SymSetContext
push dword [esi]
call edi
push str.SymEnumSymbols
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.SymGetTypeInfo
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.SymEnumerateModules64
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.SymUnloadModule64
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push 0x16
mov dword [esi + 0x38], eax
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x56ac40
mov byte [esi + 4], 1
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x56adc9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x56adeb
xor al, al
jmp 0x56ae85
mov eax, dword [ebp - 0x20]
cdq
push ebx
push esi
mov ebx, edx
mov esi, eax
or eax, ebx
je 0x56ae81
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x56ae81
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0x24]
mov dword [eax], ecx
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
mov ecx, dword [ebp + 0xc]
sub edi, esi
sbb ecx, ebx
movzx ebx, word [eax + 6]
and dword [ebp + 0xc], 0
test bx, bx
jbe 0x56ae81
add edx, 0x10
mov eax, dword [edx - 4]
mov esi, dword [edx - 8]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [edx]
cmp eax, esi
jbe 0x56ae57
mov esi, eax
cmp ecx, dword [ebp - 4]
jb 0x56ae75
ja 0x56ae63
cmp edi, dword [ebp - 8]
jb 0x56ae75
xor eax, eax
add esi, dword [ebp - 8]
adc eax, dword [ebp - 4]
cmp ecx, eax
jb 0x56ae88
ja 0x56ae75
cmp edi, esi
jb 0x56ae88
inc dword [ebp + 0xc]
add edx, 0x28
cmp word [ebp + 0xc], bx
jb 0x56ae42
xor al, al
pop esi
pop ebx
pop edi
leave
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
inc eax
sub edi, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp + 0x1c]
sbb ecx, dword [ebp - 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov al, 1
jmp 0x56ae83
Function at 0x56c9a3
Capabilities:
Get disk information

Disassembly:
push 0x1c
push 0x68f3c8
call fcn.00583400
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x56c9e5
mov dword [ebp - 4], esi
push esi
push esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_RaiseException]
push str.DUMPNAME
call fcn.0057f5f9
pop ecx
mov edi, eax
cmp edi, esi
jne 0x56ca04
mov edi, dword [0x6493bc]
cmp edi, esi
je 0x56caf0
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
call fcn.0056c21d
cmp byte [edi + 1], 0x3a
jne 0x56ca2e
mov dword [ebp - 0x20], 0x5c3a58
mov al, byte [edi]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x20]
push eax
jmp 0x56ca2f
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
jne 0x56ca3d
mov dword [ebp - 0x1c], esi
push str.DUMPTYPE
call fcn.0057f5f9
pop ecx
mov ebx, eax
cmp ebx, esi
je 0x56ca80
push str.NORMAL
push ebx
call fcn.0058372e
pop ecx
pop ecx
test eax, eax
jne 0x56ca64
mov dword [ebp - 0x1c], esi
jmp 0x56ca80
cmp ebx, esi
je 0x56ca80
push str.FULL
push ebx
call fcn.0058372e
pop ecx
pop ecx
test eax, eax
jne 0x56ca80
mov dword [ebp - 0x1c], 2
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, esi
je 0x56caf0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x56cae9
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x56cae9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00583445
ret
Function at 0x56dc96
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 0x56dcf3
cmp bl, 0x21
jne 0x56dd5e
cmp al, 0x3d
je 0x56dce0
cmp al, 0x44
jne 0x56dd5e
movzx eax, byte [esi + 0x1c]
dec eax
dec eax
jne 0x56dd5e
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
jmp 0x56dd54
movzx eax, word [esi + 0x14]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.0056efc5
mov edi, eax
jmp 0x56dd5c
cmp cl, 2
jb 0x56dd5e
cmp cl, 3
jbe 0x56dd4b
cmp cl, 0x41
jbe 0x56dd5e
cmp cl, 0x44
jbe 0x56dd28
cmp cl, 0x48
je 0x56dd28
cmp cl, 0x50
je 0x56dd1d
cmp cl, 0xff
jne 0x56dd5e
mov edi, 0x6e4748
jmp 0x56dd5e
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x22]
jmp 0x56dce9
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 0x24]
push eax
call fcn.0056efc5
mov edi, eax
mov al, byte [esi + 0x1d]
cmp al, 0x42
pop ecx
pop ecx
je 0x56dd46
cmp al, 0x43
jne 0x56dd5e
mov ebp, dword [edi + 4]
jmp 0x56dd5e
movzx eax, word [esi + 0x10]
push eax
movzx eax, word [esi + 0x22]
push eax
call fcn.0056efc5
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 0x56dd96
cmp byte [esp + 0x18], 0xff
jne 0x56dd96
lea eax, [esi + 0x10]
push eax
add esi, 0x22
push esi
push 0x6e4748
call fcn.0056efd8
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x571215
Capabilities:
Get file size

Disassembly:
push 0x5c
mov eax, 0x61935b
call fcn.0057938a
mov edi, ecx
push str.getLength
push dword [0x6d0f88]
lea ecx, [ebp - 0x18]
call fcn.00567f08
and dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call esi
test eax, eax
je 0x5712bf
push 8
call fcn.00401012
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x57127f
call esi
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0056d7e4
jmp 0x571281
xor eax, eax
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00522a78
lea eax, [ebp - 0x28]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], str...Win32File.cpp
mov dword [ebp - 0x1c], 0x29b
call fcn.005c1e82
push 0x68fe10
lea eax, [ebp - 0x68]
push eax
call fcn.00578ed6
mov esi, dword [ebp - 0x14]
xor edi, edi
or edi, dword [ebp - 0x10]
xor eax, eax
lea ecx, [ebp - 0x18]
or esi, eax
call fcn.00566b7e
mov eax, edi
mov edx, esi
call fcn.00579462
ret
Function at 0x572922
Capabilities:
Read file on windows

Disassembly:
push 0xc
mov eax, 0x619709
call fcn.0057938a
mov edi, ecx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 0x10], ebx
jne 0x572982
push 8
call fcn.00401012
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
xor esi, esi
inc esi
cmp ecx, ebx
mov dword [ebp - 4], esi
je 0x57295d
push 0xa0
call fcn.0056d7e4
jmp 0x57295f
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00570b37
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.005227c2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
jmp 0x572a6d
mov esi, 0x6e6e58
push str.KeepAliveManager
mov ecx, esi
call fcn.004141d2
test eax, eax
je 0x5729a5
mov ecx, esi
call fcn.0041426f
mov ecx, eax
call fcn.005a9f2f
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.005728e6
mov esi, dword [ebp + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00570eaa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0057088a
push dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
push dword [ebp + 0xc]
mov ecx, dword [esi]
push eax
call fcn.00574243
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi]
mov edi, dword [edi + 0x20]
call fcn.00574271
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
cmp eax, ebx
mov dword [ebp - 4], 3
jne 0x572a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x572a57
push 8
call fcn.00401012
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x572a3c
push edi
call fcn.0056d7e4
jmp 0x572a3e
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00570dea
mov ecx, esi
call fcn.0057088a
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.005227c2
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 0xc]
call fcn.005227db
mov eax, dword [ebp + 8]
call fcn.00579462
ret 0x1c
Function at 0x572a80
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x619757
call fcn.0057938a
mov edi, ecx
mov esi, 0x6e6e58
xor ebx, ebx
push str.KeepAliveManager
mov ecx, esi
mov dword [ebp - 0x10], ebx
call fcn.004141d2
test eax, eax
je 0x572ab6
mov ecx, esi
call fcn.0041426f
mov ecx, eax
call fcn.005a9f2f
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.005728e6
mov esi, dword [ebp + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00570eaa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0057088a
push dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
push dword [ebp + 0xc]
mov ecx, dword [esi]
push eax
call fcn.00574243
mov eax, dword [ebp + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi]
mov edi, dword [edi + 0x20]
call fcn.00574271
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 0x572b6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x572b3e
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.005227c2
jmp 0x572b82
push 8
call fcn.00401012
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x572b5b
push edi
call fcn.0056d7e4
jmp 0x572b5d
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00570dea
mov ecx, esi
call fcn.0057088a
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.005227c2
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], bl
call fcn.005227db
mov eax, dword [ebp + 8]
call fcn.00579462
ret 0x1c
Function at 0x572cbe
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x619803
call fcn.0057938a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [esi + 0x1c], bl
jne 0x572d38
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 0x572d2b
push 8
call fcn.00401012
pop ecx
mov dword [ebp + 0x14], eax
cmp eax, ebx
mov dword [ebp - 4], 1
je 0x572d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0056d7e4
jmp 0x572d1a
xor eax, eax
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], bl
call fcn.00570b37
jmp 0x572df5
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x572df8
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.00572922
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x572da2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00574567
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.005232b9
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.005227db
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x572db3
mov eax, dword [edi]
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], ebx
jmp 0x572dcb
call fcn.0056d80b
cmp eax, 0x26
jne 0x572dcb
lea ecx, [ebp - 0x18]
call fcn.005227db
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.005227c2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.005227db
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0057088a
mov eax, dword [ebp + 8]
call fcn.00579462
ret 0x10
Function at 0x573fc2
Capabilities:
Link many functions at runtime

Disassembly:
cmp byte [0x6e47bc], 0
jne 0x5740fe
push esi
push edi
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.NtCancelIoFile
push edi
call esi
push str.NtClose
push edi
mov dword [0x6e47a4], eax
call esi
push str.NtCreateSymbolicLinkObject
push edi
mov dword [0x6e4768], eax
call esi
push str.NtDeviceIoControlFile
push edi
mov dword [0x6e4770], eax
call esi
push str.NtOpenDirectoryObject
push edi
mov dword [0x6e4794], eax
call esi
push str.NtOpenFile
push edi
mov dword [0x6e47a8], eax
call esi
push str.NtOpenSymbolicLinkObject
push edi
mov dword [0x6e47b0], eax
call esi
push str.NtQueryDirectoryObject
push edi
mov dword [0x6e479c], eax
call esi
push str.NtQueryObject
push edi
mov dword [0x6e4778], eax
call esi
push str.NtQuerySymbolicLinkObject
push edi
mov dword [0x6e4774], eax
call esi
push str.NtReadFile
push edi
mov dword [0x6e478c], eax
call esi
push str.NtShutdownSystem
push edi
mov dword [0x6e4788], eax
call esi
push str.NtWaitForSingleObject
push edi
mov dword [0x6e47ac], eax
call esi
push str.NtWriteFile
push edi
mov dword [0x6e4798], eax
call esi
push str.RtlEqualUnicodeString
push edi
mov dword [0x6e476c], eax
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x6e4784], eax
call esi
push str.RtlStringFromGUID
push edi
mov dword [0x6e47b4], eax
call esi
push str.NtOpenSection
push edi
mov dword [0x6e4780], eax
call esi
push str.NtMapViewOfSection
push edi
mov dword [0x6e47a0], eax
call esi
push str.NtUnmapViewOfSection
push edi
mov dword [0x6e4790], eax
call esi
push str.NtFsControlFile
push edi
mov dword [0x6e477c], eax
call esi
pop edi
mov dword [0x6e47b8], eax
mov byte [0x6e47bc], 1
pop esi
ret

Function at 0x57937b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d15dc]
jne 0x579385
repz ret
jmp fcn.005889ec
Function at 0x582272
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 0x5822af
cmp dword [ebp + 0x14], edi
je 0x5822af
cmp ecx, edi
jne 0x5822b6
call fcn.0057ea8d
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0057d608
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x5822ca
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x5822eb
cmp ebx, 0xffffffff
je 0x5822da
push ebx
push edi
push ecx
call fcn.0057d280
add esp, 0xc
cmp esi, edi
je 0x582297
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x582297
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x582307
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x58230e
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x5823ff
test word [esi + 0xc], 0x10c
je 0x582362
mov eax, dword [esi + 4]
test eax, eax
je 0x582362
jl 0x582460
cmp ebx, eax
mov edi, ebx
jb 0x582333
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x582407
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00578adb
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 0x5823f7
cmp ebx, dword [ebp - 0xc]
jb 0x5823cf
cmp dword [ebp - 0xc], 0
je 0x58238c
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x582381
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x582388
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x582397
mov eax, SysReAllocString
cmp ebx, eax
ja 0x582397
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x582433
push eax
push dword [ebp - 8]
push esi
call fcn.0058c30e
pop ecx
push eax
call fcn.00591136
add esp, 0xc
test eax, eax
je 0x582472
cmp eax, 0xffffffff
je 0x582460
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x5823f7
push esi
call fcn.0058bf62
cmp eax, 0xffffffff
pop ecx
je 0x582464
cmp dword [ebp - 4], 0
je 0x582433
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 0x582316
mov eax, dword [ebp + 0x14]
jmp 0x5822b1
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x58241e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0057d280
add esp, 0xc
call fcn.0057ea8d
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x5822a7
cmp dword [ebp + 0xc], 0xffffffff
je 0x582449
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0057d280
add esp, 0xc
call fcn.0057ea8d
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x5822a7
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x5822b1
or dword [esi + 0xc], 0x10
jmp 0x582464