joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b05e
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, ecx
xor ebx, ebx
push edi
push str.SENSAPI.DLL
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 8], ebx
call ebp
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
je 0x42b098
push str.IsNetworkAlive
push eax
call edi
mov dword [esi + 8], eax
push str.WININET.DLL
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call ebp
cmp eax, ebx
mov dword [esi + 4], eax
je 0x42b0e4
push str.InternetGetConnectedStateExA
push eax
call edi
push 0x492d04
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push 0x492cf0
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.InternetGetConnectedStateA
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x42b0eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareWildTangent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b119
push 2
pop eax
leave
ret
push ebx
mov ebx, dword [ebp - 4]
push esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.ConnectionStatusOverride
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], esi
jne 0x42b152
test eax, eax
jne 0x42b152
mov esi, dword [ebp - 0x10]
cmp esi, 3
jb 0x42b155
push 2
pop esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x42b267
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
lea eax, [ebp - 0x290]
push eax
push 0x101
xor bl, bl
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x42b28c
xor al, al
jmp 0x42b2f3
push 0x100
lea eax, [ebp - 0x100]
push eax
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x42b2ec
push esi
lea eax, [ebp - 0x100]
push eax
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x42b2eb
cmp word [esi + 0xa], 4
jne 0x42b2eb
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x42b2eb
push edi
xor edi, edi
push dword [eax]
call sub.WS2_32.dll_ntohl
test eax, eax
je 0x42b2d9
cmp eax, 0x7f000001
jne 0x42b2e8
mov eax, dword [esi + 0xc]
add edi, 4
mov eax, dword [edi + eax]
test eax, eax
jne 0x42b2c7
jmp 0x42b2ea
mov bl, 1
pop edi
pop esi
call sub.WS2_32.dll_WSACleanup
mov al, bl
pop ebx
leave
ret
Function at 0x42fb12
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b0]
mov edi, 0xac
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x42f959
mov eax, dword [esi + 0x3b0]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42f985
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x3b0]
and dword [esi + 0x3a0], 0
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0x3b0]
mov ecx, esi
call fcn.0042f59b
pop edi
pop esi
ret
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b0]
mov edi, 0xac
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3b0]
add eax, edi
cmp dword [esi + 0x3a0], 0
push eax
jne 0x42fb4c
mov byte [esi + 0x390], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret
mov dword [esi + 0x3a8], 4
mov dword [esi + 0x3ac], 2
mov byte [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x7d0
mov ecx, esi
call fcn.0042e141
lea eax, [esi + 0x390]
cmp byte [eax], 0
jne 0x42fb49
pop edi
mov ecx, esi
mov byte [eax], 1
pop esi
jmp 0x42f926
Function at 0x43355f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4335bd
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProgramFilesDir
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4335bd
cmp esi, ebx
je 0x4335b6
mov byte [edi + esi - 1], bl
mov dword [ebp - 8], 1
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x4335ce
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x433751
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x47ba38
call fcn.0045381c
sub esp, 0x124
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0xf
call fcn.00401b50
push 1
push 0x26
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4337bd
mov edx, 0x104
lea ecx, [ebp - 0x130]
call fcn.0043355f
test eax, eax
lea eax, [ebp - 0x130]
jne 0x4337c3
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4337c6
lea eax, [ebp - 0x130]
push eax
jmp 0x4337cb
push 0x493438
lea ecx, [ebp - 0x28]
call fcn.00401a80
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00408e50
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c80
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4339d3
Capabilities:
Create directory

Disassembly:
mov eax, 0x47ba38
call fcn.0045381c
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4339f3
call fcn.00433970
test al, al
je 0x4339f7
mov al, 1
jmp 0x433a49
push ebx
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00401660
mov eax, dword [ebp - 0x14]
and dword [ebp - 4], 0
cmp eax, dword [esi + 0x14]
jne 0x433a19
cmp dword [esi + 0x18], 0x10
jb 0x433a29
mov esi, dword [esi + 4]
jmp 0x433a2c
lea ecx, [ebp - 0x28]
call fcn.004339d3
test al, al
jne 0x433a0e
xor bl, bl
jmp 0x433a3a
add esi, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c80
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x439757
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x18], 0x10
jb 0x439762
mov ecx, dword [ecx + 4]
jmp 0x439765
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x439778
test al, 0x10
je 0x439778
mov al, 1
ret
xor al, al
ret
Function at 0x43d110
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0xffffffffffffffff
mov esi, ecx
push 0
push ebx
lea ecx, [esi + 0x18]
call fcn.004019a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edi, [esi + 8]
push edi
push ebx
call fcn.0043cf50
add esp, 0x10
test al, al
mov byte [esi + 4], al
je 0x43d182
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x43d14f
xor eax, eax
jmp 0x43d154
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x40
mov ecx, dword [esi + 0xc]
jb 0x43d182
cmp word [ecx], 0x5a4d
jne 0x43d182
mov edx, dword [ecx + 0x3c]
lea edi, [edx + 0xf8]
cmp eax, edi
jb 0x43d182
cmp dword [edx + ecx], 0x4550
jne 0x43d182
push ecx
lea ecx, [esi + 0x34]
call fcn.0043ce90
mov al, byte [esi + 4]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x43f154
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor bl, bl
test eax, eax
je 0x43f21b
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebp
push edx
call dword [eax + 0x14]
mov ebp, eax
test ebp, ebp
je 0x43f210
mov ecx, dword [esi + 4]
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x2c]
mov eax, dword [eax + 0x34]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jae 0x43f1a0
mov ebx, eax
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push ebx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x43f204
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
push ebx
push ebp
call dword [edx + 0x24]
push eax
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
test eax, eax
mov eax, dword [esi]
push edi
push eax
setne byte [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov al, byte [esp + 0x20]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 8
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret 8
pop ebp
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret 8
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret 8
Function at 0x43f2e1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x47cb97
call fcn.0045381c
sub esp, 0x78
mov eax, dword [0x4b0b90]
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x68]
push eax
call fcn.0043f225
and dword [ebp - 4], 0
mov dword [esp], 0x491bb4
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00409560
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00403ef0
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401c80
push 0
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401c80
mov eax, dword [ebp - 0x28]
push 0x10
pop esi
cmp dword [ebp - 0x14], esi
jae 0x43f364
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43f3c7
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
call fcn.00401660
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004339d3
push 0
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.00401c80
cmp dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x28]
jae 0x43f3a7
lea ecx, [ebp - 0x28]
push 0x20
push 1
push 3
mov edx, 0xc0000000
call fcn.004336eb
cmp eax, 0xffffffff
jne 0x43f3c0
xor bl, bl
jmp 0x43f40b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x28]
jae 0x43f3d2
lea ecx, [ebp - 0x28]
cmp dword [edi + 0x18], esi
jb 0x43f3dc
mov edi, dword [edi + 4]
jmp 0x43f3df
add edi, 4
cmp dword [ebx + 0x18], esi
jb 0x43f3e9
mov ebx, dword [ebx + 4]
jmp 0x43f3ec
add ebx, 4
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], esi
jb 0x43f3f9
mov eax, dword [eax + 4]
jmp 0x43f3fc
add eax, 4
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
setne bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401c80
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0045045c
leave
ret
Function at 0x43f432
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x47cbcd
call fcn.0045381c
sub esp, 0x48c
mov eax, dword [0x4b0b90]
and dword [ebp - 0x454], 0
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x458], eax
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x47c]
mov esi, 0x400
push eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x450], esi
call fcn.0043f225
and dword [ebp - 4], 0
mov dword [esp], 0x491bb4
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00409560
push edi
push eax
lea eax, [ebp - 0x42c]
push eax
mov byte [ebp - 4], 1
call fcn.00403ef0
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x498]
call fcn.00401c80
push 0
push 1
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 3
call fcn.00401c80
mov eax, dword [ebp - 0x428]
push 0x10
pop edx
cmp dword [ebp - 0x414], edx
jae 0x43f4fa
lea eax, [ebp - 0x428]
cmp dword [ebx + 0x18], edx
mov dword [ebp - 0x454], eax
jb 0x43f50a
mov edi, dword [ebx + 4]
jmp 0x43f50f
lea eax, [ebx + 4]
mov edi, eax
mov eax, dword [ebp - 0x458]
cmp dword [eax + 0x18], edx
jb 0x43f521
add eax, 4
mov ecx, dword [eax]
jmp 0x43f526
add eax, 4
mov ecx, eax
mov eax, dword [ebp - 0x45c]
cmp dword [eax + 0x18], edx
jb 0x43f538
add eax, 4
mov eax, dword [eax]
jmp 0x43f53b
add eax, 4
push dword [ebp - 0x454]
lea edx, [ebp - 0x410]
push esi
push edx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push eax
call edi
lea ecx, [eax + 1]
cmp ecx, esi
jne 0x43f64d
push 0
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x430], 0xf
call fcn.00401b50
mov byte [ebp - 4], 5
jmp 0x43f582
mov ebx, dword [ebp - 0x460]
mov eax, dword [ebp - 0x450]
add eax, eax
push eax
mov dword [ebp - 0x450], eax
call fcn.00469598
mov esi, eax
mov byte [esi], 0
cmp dword [ebp - 0x414], 0x10
mov edx, dword [ebp - 0x428]
pop ecx
jae 0x43f5b1
lea edx, [ebp - 0x428]
cmp dword [ebx + 0x18], 0x10
jb 0x43f5be
add ebx, 4
mov ebx, dword [ebx]
jmp 0x43f5c1
add ebx, 4
mov eax, dword [ebp - 0x458]
cmp dword [eax + 0x18], 0x10
jb 0x43f5d4
add eax, 4
mov ecx, dword [eax]
jmp 0x43f5d9
add eax, 4
mov ecx, eax
mov eax, dword [ebp - 0x45c]
cmp dword [eax + 0x18], 0x10
jb 0x43f5ec
add eax, 4
mov eax, dword [eax]
jmp 0x43f5ef
add eax, 4
push edx
push dword [ebp - 0x450]
push esi
push ebx
push ecx
push eax
call edi
push esi
lea ecx, [ebp - 0x448]
mov ebx, eax
call fcn.00401a80
push esi
call fcn.0046959d
cmp dword [ebp - 0x450], 0x989680
pop ecx
jg 0x43f62a
inc ebx
cmp ebx, dword [ebp - 0x450]
je 0x43f57c
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x448]
push eax
call fcn.00408e50
push 0
push 1
lea ecx, [ebp - 0x448]
call fcn.00401c80
jmp 0x43f66a
test eax, eax
mov ecx, dword [ebp - 0x44c]
jbe 0x43f660
lea eax, [ebp - 0x410]
push eax
jmp 0x43f665
push 0x491bb6
call fcn.00401790
push 0
lea ecx, [ebp - 0x42c]
push 1
call fcn.00401c80
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x44c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045045c
leave
ret
Function at 0x440ac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push dword [ebx + 0x14]
call fcn.004148a0
mov esi, 0x494b7c
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp dword [ebx + 0x14], edi
jbe 0x440b19
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
push edi
mov ecx, ebx
add esi, edi
call fcn.00408ee0
mov ecx, edi
and ecx, 0xf
mov cl, byte [ebp + ecx - 0x14]
xor cl, byte [eax]
inc edi
mov byte [esi], cl
cmp edi, dword [ebx + 0x14]
jb 0x440af6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44171b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x441742
push 0x4af9b0
lea ecx, [ebp - 0xc]
call fcn.00451cad
push 0x4a9828
lea eax, [ebp - 0xc]
push eax
call fcn.00450d6b
push esi
xor esi, esi
cmp dword [ecx + 0x3cc], esi
jle 0x441764
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dl, byte [edi]
xor byte [eax], dl
inc edi
inc eax
inc esi
cmp esi, dword [ecx + 0x3cc]
jl 0x441754
pop edi
pop esi
leave
ret 8
Function at 0x44342f
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2904
call fcn.00450db0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2904]
push eax
mov dword [ebp - 4], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x44346d
mov ecx, dword [ebp + 8]
push 0x491bb6
call fcn.00401790
jmp 0x443522
lea eax, [ebp - 0x2904]
xor ecx, ecx
push esi
movzx edx, byte [eax + 0x196]
movzx esi, byte [eax + 0x197]
shl edx, 8
add edx, esi
movzx esi, byte [eax + 0x198]
shl edx, 8
add edx, esi
movzx esi, byte [eax + 0x199]
shl edx, 8
add edx, esi
je 0x443504
cmp dword [ebp + 0xc], 0
jl 0x4434ae
cmp dword [ebp + 0xc], ecx
jne 0x443509
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00455865
add esp, 0x24
lea eax, [ebp - 0x104]
mov byte [ebp - 5], 0
push eax
jmp 0x443519
cmp dword [ebp + 0xc], ecx
je 0x443514
mov eax, dword [eax]
inc ecx
test eax, eax
jne 0x443476
push 0x491bb6
mov ecx, dword [ebp + 8]
call fcn.00401790
pop esi
mov eax, dword [ebp + 8]
leave
ret

Function at 0x443527
Capabilities:
Get disk information

Disassembly:
mov eax, 0x47d62c
call fcn.0045381c
sub esp, 0x120
push ebx
xor ebx, ebx
cmp byte [ebp + 8], bl
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], ebx
jne 0x44354d
call fcn.00443346
mov byte [ebp + 8], al
push esi
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 0xf
call fcn.00401b50
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 1
mov dword [ebp - 4], ebx
call fcn.00409160
push 0x4987a4
lea ecx, [ebp - 0x28]
call fcn.00402880
mov esi, 0x104
push esi
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.0044fff0
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 0x10
jae 0x44359d
lea eax, [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x12c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
pop esi
je 0x4435c5
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x12c]
push eax
call fcn.00401a80
push ebx
lea ecx, [ebp - 0x28]
push 1
call fcn.00401c80
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x443a7b
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x47d70a
call fcn.0045381c
mov eax, 0x2960
call fcn.00450db0
mov al, byte [ebp + 8]
push ebx
xor ebx, ebx
cmp al, bl
mov byte [ebp - 0xd], bl
jne 0x443aa1
call fcn.00443346
movsx eax, al
push eax
lea eax, [ebp - 0x25c]
push str.._c:
push eax
call fcn.00450ded
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x443cac
push esi
push 0xc
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.0044fff0
mov esi, 0x2710
push esi
lea eax, [ebp - 0x296c]
push ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0044fff0
add esp, 0x18
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x296c]
push eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x2d1400
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x443ca2
cmp dword [ebp - 0x2954], esi
jae 0x443ca2
cmp dword [ebp - 0x295c], esi
jae 0x443ca2
mov eax, esi
sub eax, dword [ebp - 0x2954]
push 0x64
pop ecx
cmp eax, ecx
jle 0x443b58
mov eax, ecx
sub esi, dword [ebp - 0x295c]
dec eax
cmp esi, ecx
mov dword [ebp - 0x18], eax
jle 0x443b68
mov esi, ecx
push edi
xor edi, edi
inc edi
dec esi
cmp eax, edi
jl 0x443ca1
cmp esi, edi
jl 0x443ca1
push ecx
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.0044fff0
push 0x64
lea eax, [ebp - 0x15c]
push ebx
push eax
call fcn.0044fff0
mov eax, dword [ebp - 0x2954]
push dword [ebp - 0x18]
lea eax, [ebp + eax - 0x296c]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004431fa
mov eax, dword [ebp - 0x295c]
lea eax, [ebp + eax - 0x296c]
push esi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00452330
movsx eax, byte [ebp - 0xf8]
push eax
call fcn.00452710
add esp, 0x34
test eax, eax
jne 0x443bfc
movsx eax, byte [ebp - 0xe5]
push eax
call fcn.00452710
test eax, eax
pop ecx
je 0x443ca1
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401790
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 4], ebx
call fcn.004439e9
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004019a0
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.00401c80
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.00401c80
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401790
push eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 4], 2
call fcn.004439e9
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.004019a0
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401c80
push ebx
push edi
lea ecx, [ebp - 0x94]
call fcn.00401c80
cmp dword [esi + 0x14], ebx
jne 0x443c9d
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], ebx
je 0x443ca1
mov byte [ebp - 0xd], 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x445056
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push esi
mov esi, dword [eax + 0x78]
add esi, ecx
cmp word [eax + 0x18], 0x10b
je 0x445075
xor eax, eax
jmp 0x445097
mov eax, dword [esi + 0x24]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [esi + 0x1c]
push edi
mov edi, dword [esi + 0x20]
add eax, ecx
add ebx, ecx
add edi, ecx
cmp dword [esi + 0x18], 0
mov dword [ebp - 8], eax
ja 0x44509d
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
push dword [ebp + 0xc]
add eax, ecx
push eax
call fcn.00450e50
test eax, eax
pop ecx
pop ecx
je 0x4450c1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x44509a
jmp 0x445093
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
mov eax, dword [ebx + eax*4]
jmp 0x445095

Function at 0x4450d0
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
add eax, edx
mov ecx, dword [eax + 0x78]
add ecx, edx
cmp word [eax + 0x18], 0x10b
je 0x4450ee
xor eax, eax
leave
ret
mov eax, dword [ecx + 0x20]
push ebx
push esi
mov esi, dword [ecx + 0x1c]
push edi
mov edi, dword [ecx + 0x24]
xor ebx, ebx
add eax, edx
add esi, edx
add edi, edx
cmp dword [ecx + 0x18], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jbe 0x445182
jmp 0x445112
mov eax, dword [ebp - 8]
mov edx, dword [eax + ebx*4]
movzx eax, word [edi + ebx*2]
mov eax, dword [esi + eax*4]
add edx, dword [ebp + 8]
add eax, dword [ebp + 8]
cmp dword [0x4b4650], 0
jne 0x44513c
cmp byte [eax], 0xb8
jne 0x445176
cmp byte [eax + 9], 0xcd
jne 0x445176
cmp byte [eax + 0xa], 0x2e
jmp 0x445166
cmp dword [0x4b4650], 1
jne 0x445176
cmp byte [eax], 0xb8
jne 0x445176
cmp byte [eax + 5], 0xba
jne 0x445176
cmp byte [eax + 6], 0
jne 0x445176
cmp byte [eax + 7], 3
jne 0x445176
cmp byte [eax + 8], 0xfe
jne 0x445176
cmp byte [eax + 9], 0x7f
jne 0x445176
mov eax, dword [eax + 1]
cmp eax, dword [ebp + 0x10]
jae 0x445176
mov ebx, dword [ebp + 0xc]
mov dword [ebx + eax*4], edx
mov ebx, dword [ebp - 4]
inc ebx
cmp ebx, dword [ecx + 0x18]
mov dword [ebp - 4], ebx
jb 0x44510f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret