joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4569b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x583fb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x64c194]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], 0
call eax
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x18], 0xffffffff
je 0x456a36
add dword [eax], 0xffffffff
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x456a36
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x456a26
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
add ecx, dword [eax]
jne 0x456a36
push eax
call fcn.00401000
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x456a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x583fe8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x64c194]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 4]
push edx
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push 0
push ecx
mov ecx, dword [esp + 0x28]
push 0
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x2c], 0
call fcn.004d06bf
mov eax, dword [esp + 8]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x456aeb
add dword [eax], 0xffffffff
mov eax, dword [esp + 8]
cmp dword [eax], 0
jne 0x456aeb
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x456adb
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
add ecx, dword [eax]
jne 0x456aeb
push eax
call fcn.00401000
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x10

Function at 0x456b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x584018
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x64c194]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 4]
push edx
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x34], 0
call fcn.004d008a
mov eax, dword [esp + 8]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x456b9f
add dword [eax], 0xffffffff
mov eax, dword [esp + 8]
cmp dword [eax], 0
jne 0x456b9f
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x456b8f
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
add ecx, dword [eax]
jne 0x456b9f
push eax
call fcn.00401000
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x10
Function at 0x458340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x584479
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x64c194]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c194]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ebp, dword [0x654a3c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [esi + 4], bl
mov edi, dword [esp + 0x7c]
cmp edi, ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x14], 1
jae 0x4583f2
mov edi, edi
cmp edi, eax
jne 0x4583eb
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x58]
push str._x
push ecx
call fcn.0052b370
lea eax, [esp + 0x60]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4583d1
sub eax, edx
push eax
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call fcn.00423858
mov eax, dword [edi]
add edi, 4
cmp edi, ebp
jb 0x4583b0
push fcn.004581c0
lea eax, [esp + 0x58]
push 0x5b4810
push eax
call fcn.0052b370
add esp, 0xc
push 7
mov ebp, 0xf
push str.Known
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0040eed8
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x7c], 1
call fcn.00455790
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x7c], 2
call fcn.00423cfc
mov edi, 0x10
cmp dword [esp + 0x50], edi
jb 0x458471
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00401000
add esp, 4
cmp dword [esp + 0x34], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x458490
mov edx, dword [esp + 0x20]
push edx
call fcn.00401000
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0052a758
add esp, 0x60
ret
Function at 0x46bb00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x585e6b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c194]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x28]
mov dword [esi], ebp
mov eax, dword [ebp + 0x5c]
push 1
push eax
lea ecx, [esi + 4]
call fcn.00464670
lea edi, [esi + 0x14]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.00468e70
mov dword [edi + 4], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x20], ebp
mov ebp, dword [ebp + 0x5c]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], ebx
mov byte [esi + 0xc0], bl
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
lea edi, [esi + 0xd8]
mov byte [esi + 0xd4], 1
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov byte [esi + 0xf8], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
lea ebp, [esi + 0x108]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [esi + 0x128], 0xf
mov dword [esi + 0x124], ebx
mov byte [esi + 0x114], bl
push 0x80
lea eax, [esi + 0x40]
push ebx
push eax
mov byte [esp + 0x2c], 5
call fcn.0052b5c0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x46bc23
push eax
mov ecx, edi
call fcn.004565f0
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x46bc33
mov byte [esi + 0xd4], bl
jmp 0x46bc72
test byte [eax + 0x18], 0x80
jne 0x46bc3f
mov byte [esi + 0xd4], bl
test word [eax + 0x1c], 0x4000
je 0x46bc72
mov byte [esi + 0xf8], 1
mov ecx, dword [eax + 8]
mov dword [esi + 0x100], ecx
mov edx, dword [eax + 0xc]
add eax, 0x10
cmp eax, ebp
mov dword [esi + 0x104], edx
je 0x46bc72
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x470260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586296
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x64c194]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x1c], al
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x18], 1
call fcn.004700f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x47b83d
Capabilities:
Accept command line arguments

Disassembly:
push 0x44
mov eax, 0x5881d6
call fcn.0052ca12
mov esi, ecx
push str.doSetApplicationCommandLine
push dword [0x6236c4]
lea ecx, [ebp - 0x18]
call fcn.005207dc
and dword [ebp - 4], 0
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CommandLineToArgvW
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x47b8db
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x10]
push ecx
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x47b8db
xor edi, edi
inc edi
cmp dword [ebp - 0x10], edi
je 0x47b8d0
add esi, 4
push dword [ebx + edi*4]
lea ecx, [ebp - 0x34]
call fcn.004153a0
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0042f00e
push 0
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040edcc
inc edi
cmp edi, dword [ebp - 0x10]
jne 0x47b8a0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x47b959
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0047b813
xor edi, edi
inc edi
cmp dword [ebp + 8], edi
mov ebx, eax
je 0x47b959
add esi, 4
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
lea ecx, [ebp - 0x34]
call fcn.0040e6dd
mov esi, dword [ebx]
push 0
push 0xfffd
mov byte [ebp - 4], 2
add esi, 8
call fcn.004c58a7
pop ecx
mov ecx, ebx
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [esi]
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0042f00e
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.0040edcc
push 0
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0040eb93
inc edi
cmp edi, dword [ebp + 8]
jne 0x47b8f9
lea ecx, [ebp - 0x18]
call fcn.0051f8d9
call fcn.0052caea
ret 8
Function at 0x4dc8a2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x16c
mov eax, dword [0x64c194]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x44]
call fcn.005493ff
push 0xa9
push esi
lea ecx, [ebp - 0x44]
call fcn.0054940d
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x44]
call fcn.00549421
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.0052ce85
add esp, 0xc
test eax, eax
jne 0x4dc93b
cmp byte [esi + 0xda], bl
jne 0x4dc934
cmp byte [esi + 0xdb], bl
jne 0x4dc934
inc eax
jmp 0x4dca61
xor eax, eax
jmp 0x4dca61
push edi
lea ecx, [ebp - 0x9c]
call fcn.005493ff
mov edi, 0xda
push edi
push esi
lea ecx, [ebp - 0x9c]
call fcn.0054940d
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00549421
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.0052ce85
add esp, 0xc
test eax, eax
jne 0x4dc9dd
cmp byte [esi + 0xda], bl
jne 0x4dca72
cmp byte [esi + 0xdb], bl
jne 0x4dca72
xor eax, eax
inc eax
jmp 0x4dca60
lea ecx, [ebp - 0xf4]
call fcn.005493ff
push edi
push esi
lea ecx, [ebp - 0xf4]
call fcn.0054940d
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00549421
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.0052ce85
add esp, 0xc
test eax, eax
je 0x4dc9bd
xor al, al
pop edi
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052a758
add ebp, 0x78
leave
ret
xor eax, eax
jmp 0x4dca60
Function at 0x515856
Capabilities:
Get disk information

Disassembly:
push 0x14
mov eax, 0x5a10c0
call fcn.0052ca12
mov esi, ecx
push str.doUnlock
push dword [0x64b63c]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.005207dc
cmp dword [esi + 0x90], 2
mov dword [ebp - 4], ebx
jne 0x515899
cmp dword [ebp + 8], 2
jge 0x515899
xor edi, edi
inc edi
mov dword [esi + 0x90], edi
jmp 0x51589c
xor edi, edi
inc edi
cmp dword [esi + 0x90], edi
jne 0x515964
cmp dword [ebp + 8], edi
jge 0x515964
cmp byte [esi + 0xac], bl
jne 0x515906
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
lea eax, [ebp - 0x20]
push eax
call fcn.0052793c
lea ecx, [ebp - 0x20]
call fcn.0054ee54
cmp byte [esi + 0xac], bl
jne 0x515906
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
lea eax, [ebp - 0x20]
push eax
call fcn.0052793c
cmp dword [eax], ebx
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], 1
jne 0x515909
mov byte [ebp + 0xb], bl
test byte [ebp - 0x10], 1
je 0x515917
lea ecx, [ebp - 0x20]
call fcn.0054ee54
cmp byte [ebp + 0xb], bl
je 0x51592e
lea ecx, [ebp - 0x18]
call fcn.0051f8d9
mov al, bl
call fcn.0052caea
ret 4
lea edi, [esi + 0x40]
mov ecx, edi
mov dword [esi + 0x90], ebx
mov byte [esi + 0xac], bl
call fcn.0051499f
mov dword [edi], ebx
mov dword [edi + 4], ebx
push 0x14
mov byte [esi + 0x48], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 1
push ebx
mov ecx, esi
call fcn.0051530a
mov bl, 1
jmp 0x51591c
Function at 0x522ac7
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 0x522bf9
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 0x522bf8
push str.StackWalk64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x522bf8
push str.SymFunctionTableAccess64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x522bf8
push str.SymGetModuleBase64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x522bf8
push str.SymGetLineFromAddr64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x522bf8
push str.SymLoadModule64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x522bf8
push ebx
push str.SymSetOptions
push dword [esi]
call edi
mov ebx, eax
test ebx, ebx
je 0x522bf7
push ebp
push str.SymInitialize
push dword [esi]
call edi
mov ebp, eax
test ebp, ebp
je 0x522bf6
push str.SymFromAddr
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0x522ba1
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 0x522bf6
mov byte [esi + 4], 1
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x522d7f
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 0x522da1
xor al, al
jmp 0x522e3b
mov eax, dword [ebp - 0x20]
cdq
push ebx
push esi
mov ebx, edx
mov esi, eax
or eax, ebx
je 0x522e37
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x522e37
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 0x522e37
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 0x522e0d
mov esi, eax
cmp ecx, dword [ebp - 4]
jb 0x522e2b
ja 0x522e19
cmp edi, dword [ebp - 8]
jb 0x522e2b
xor eax, eax
add esi, dword [ebp - 8]
adc eax, dword [ebp - 4]
cmp ecx, eax
jb 0x522e3e
ja 0x522e2b
cmp edi, esi
jb 0x522e3e
inc dword [ebp + 0xc]
add edx, 0x28
cmp word [ebp + 0xc], bx
jb 0x522df8
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 0x522e39
Function at 0x524a0f
Capabilities:
Get disk information

Disassembly:
push 0x1c
push 0x610bc8
call fcn.00530c48
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x524a51
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.00531172
pop ecx
mov edi, eax
cmp edi, esi
jne 0x524a70
mov edi, dword [str.omnifs32.dmp]
cmp edi, esi
je 0x524b5c
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
call fcn.005243d7
cmp byte [edi + 1], 0x3a
jne 0x524a9a
mov dword [ebp - 0x20], 0x5c3a58
mov al, byte [edi]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x20]
push eax
jmp 0x524a9b
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
jne 0x524aa9
mov dword [ebp - 0x1c], esi
push str.DUMPTYPE
call fcn.00531172
pop ecx
mov ebx, eax
cmp ebx, esi
je 0x524aec
push str.NORMAL
push ebx
call fcn.005310a1
pop ecx
pop ecx
test eax, eax
jne 0x524ad0
mov dword [ebp - 0x1c], esi
jmp 0x524aec
cmp ebx, esi
je 0x524aec
push str.FULL
push ebx
call fcn.005310a1
pop ecx
pop ecx
test eax, eax
jne 0x524aec
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 0x524b5c
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x524b55
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x524b55
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.00530c8d
ret

Function at 0x525dda
Capabilities:
Get file size

Disassembly:
push 0x5c
mov eax, 0x5a3a2a
call fcn.0052ca12
mov edi, ecx
push str.getLength
push dword [0x64be0c]
lea ecx, [ebp - 0x18]
call fcn.005207dc
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 0x525e84
push 8
call fcn.00401009
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x525e44
call esi
mov ecx, dword [ebp - 0x10]
push eax
call fcn.005245c1
jmp 0x525e46
xor eax, eax
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004a9c1e
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.004c698b
push 0x5ef59c
lea eax, [ebp - 0x68]
push eax
call fcn.0052aec5
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.0051f8d9
mov eax, edi
mov edx, esi
call fcn.0052caea
ret
Function at 0x526e32
Capabilities:
Read file on windows

Disassembly:
push 0xc
mov eax, 0x5a3da2
call fcn.0052ca12
mov edi, ecx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 0x10], ebx
jne 0x526e92
push 8
call fcn.00401009
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
xor esi, esi
inc esi
cmp ecx, ebx
mov dword [ebp - 4], esi
je 0x526e6d
push 0xa0
call fcn.005245c1
jmp 0x526e6f
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004a9c1e
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00452fcd
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
jmp 0x526f7d
mov esi, 0x6618f8
push str.KeepAliveManager
mov ecx, esi
call fcn.0041023a
test eax, eax
je 0x526eb5
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], 2
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_ReadFile]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
cmp eax, ebx
mov dword [ebp - 4], 3
jne 0x526f5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x526f67
push 8
call fcn.00401009
pop ecx
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x526f4c
push edi
call fcn.005245c1
jmp 0x526f4e
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0047f964
mov ecx, esi
call fcn.0054ee54
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00452fcd
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 0xc]
call fcn.0054ee54
mov eax, dword [ebp + 8]
call fcn.0052caea
ret 0x1c