joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5745b8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x5745c1
mov eax, dword [ebp - 4]
add esp, 0xffffffc0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
cmp dword [ebp + 0xc], 0x2000
jg 0x5746bf
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x5746bf
lea eax, [ebp - 0x2044]
xor ecx, ecx
mov edx, 0x2030
call fcn.00403450
mov dword [ebp - 0x2044], 0x31
xor eax, eax
mov dword [ebp - 0x2040], eax
mov dword [ebp - 0x203c], 3
mov dword [ebp - 0x2038], 1
mov dword [ebp - 0x202c], 0x28
mov dword [ebp - 0x2028], 0x2000
cmp byte [ebp - 5], 0
je 0x574660
xor eax, eax
mov dword [ebp - 0x2034], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2030], eax
jmp 0x574672
mov dword [ebp - 0x2034], 1
xor eax, eax
mov dword [ebp - 0x2030], eax
push 0
mov eax, dword [ebp + 8]
push eax
push 0x2030
lea eax, [ebp - 0x2044]
push eax
push 0x2030
lea eax, [ebp - 0x2044]
push eax
push 0x2d1400
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5746bf
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jbe 0x5746bf
mov byte [ebp - 0xd], 1
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x2014]
mov ecx, dword [ebp + 0xc]
call fcn.00402a6c
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5746c8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x5746d1
mov eax, dword [ebp - 4]
add esp, 0xffffffc0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
cmp dword [ebp + 0xc], 0x2000
jg 0x5747b9
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x5747b9
lea eax, [ebp - 0x2044]
xor ecx, ecx
mov edx, 0x2030
call fcn.00403450
mov dword [ebp - 0x2044], 0x31
xor eax, eax
mov dword [ebp - 0x2040], eax
mov dword [ebp - 0x203c], 3
mov dword [ebp - 0x2038], 2
xor eax, eax
mov al, byte [ebp - 5]
mov dword [ebp - 0x2034], eax
mov dword [ebp - 0x2030], 0xffffffff
mov dword [ebp - 0x202c], 0x28
mov dword [ebp - 0x2028], 0x2000
push 0
mov eax, dword [ebp + 8]
push eax
push 0x2030
lea eax, [ebp - 0x2044]
push eax
push 0x2030
lea eax, [ebp - 0x2044]
push eax
push 0x2d1400
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5747b9
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jbe 0x5747b9
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x2014]
mov ecx, dword [ebp + 0xc]
call fcn.00402a6c
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8
Function at 0x58236c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc98
push ebx
xor ebx, ebx
mov dword [ebp - 0x360], ebx
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x368], ebx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5825a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405278
mov eax, dword [ebp + 0xc]
call fcn.00405278
mov eax, dword [ebp + 8]
call fcn.00405278
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 4], 0xffffffff
je 0x582581
lea eax, [ebp - 0x146]
xor ecx, ecx
mov edx, 0x121
call fcn.00403450
lea eax, [ebp - 0x25]
xor ecx, ecx
mov edx, 0xd
call fcn.00403450
lea eax, [ebp - 0x34a]
xor ecx, ecx
mov edx, 0x204
call fcn.00403450
push 0
lea eax, [ebp - 0x18]
push eax
push 0x121
lea eax, [ebp - 0x146]
push eax
push 0xd
lea eax, [ebp - 0x25]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x582579
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x146]
mov ecx, 8
mov edx, dword [ebp - 0x13a]
call fcn.00581a30
push 0x5825c0
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x146]
mov ecx, 0x28
mov edx, dword [ebp - 0x136]
call fcn.00581a30
mov edx, dword [ebp - 0x350]
lea eax, [ebp - 0x14]
call fcn.00405550
lea edx, [ebp - 0x354]
mov eax, dword [ebp - 0x14]
call fcn.0040a348
mov edx, dword [ebp - 0x354]
lea eax, [ebp - 0x14]
call fcn.00405310
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004052cc
lea edx, [ebp - 0x35c]
mov eax, dword [ebp - 8]
call fcn.0040a83c
mov ecx, dword [ebp - 0x35c]
lea eax, [ebp - 0x358]
mov edx, 0x5825d4
call fcn.00405594
mov eax, dword [ebp - 0x358]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x146]
mov ecx, 0x14
mov edx, dword [ebp - 0x132]
call fcn.00581a30
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.004052cc
push dword [ebp - 0x14]
push 0x5825e8
lea edx, [ebp - 0x368]
mov eax, dword [ebp - 8]
call fcn.0040a83c
push dword [ebp - 0x368]
lea eax, [ebp - 0x364]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x364]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x146]
mov ecx, 0x14
mov edx, dword [ebp - 0x132]
call fcn.00581b7c
mov edx, dword [ebp - 0x360]
lea eax, [ebp - 0x14]
call fcn.00405310
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004052cc
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x582581
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5825ae
lea eax, [ebp - 0x368]
mov edx, 7
call fcn.0040529c
lea eax, [ebp - 0x14]
call fcn.00405278
ret
Function at 0x5aa59c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
mov dword [ebp - 4], eax
mov eax, 0x5aa628
call fcn.004c6770
mov dword [ebp - 8], 0xffffffff
cmp byte [0x7cdf4c], 0
je 0x5aa616
lea eax, [ebp - 0x13a]
xor ecx, ecx
mov edx, 0x121
call fcn.00403450
lea eax, [ebp - 0x19]
xor ecx, ecx
mov edx, 0xd
call fcn.00403450
push 0
lea eax, [ebp - 0xc]
push eax
push 0x121
lea eax, [ebp - 0x13a]
push eax
push 0xd
lea eax, [ebp - 0x19]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5aa616
mov eax, dword [ebp - 0x11e]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x5ac528
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcac
xor edx, edx
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x354], edx
mov dword [ebp - 0x34c], edx
mov dword [ebp - 0x348], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ac692
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x13e]
xor ecx, ecx
mov edx, 0x121
call fcn.00403450
lea eax, [ebp - 0x1d]
xor ecx, ecx
mov edx, 0xd
call fcn.00403450
lea eax, [ebp - 0x342]
xor ecx, ecx
mov edx, 0x204
call fcn.00403450
push 0
lea eax, [ebp - 0xc]
push eax
push 0x121
lea eax, [ebp - 0x13e]
push eax
push 0xd
lea eax, [ebp - 0x1d]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5ac66c
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13e]
mov ecx, 8
mov edx, dword [ebp - 0x132]
call fcn.00581a30
push 0x5ac6a8
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x13e]
mov ecx, 0x28
mov edx, dword [ebp - 0x12e]
call fcn.00581a30
mov edx, dword [ebp - 0x348]
lea eax, [ebp - 0x10]
call fcn.00405550
lea edx, [ebp - 0x34c]
mov eax, dword [ebp - 0x10]
call fcn.0040a348
mov edx, dword [ebp - 0x34c]
lea eax, [ebp - 0x10]
call fcn.00405310
lea eax, [ebp - 0x354]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004057a8
mov eax, dword [ebp - 0x354]
lea edx, [ebp - 0x350]
call fcn.0040a0f8
mov eax, dword [ebp - 0x350]
mov edx, 0x5ac6bc
call fcn.00405694
jne 0x5ac66c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac699
lea eax, [ebp - 0x354]
mov edx, 4
call fcn.0040529c
lea eax, [ebp - 0x10]
call fcn.00405278
ret
Function at 0x5afe34
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5aff24
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 1
lea eax, [ebp - 0x13a]
xor ecx, ecx
mov edx, 0x121
call fcn.00403450
lea eax, [ebp - 0x19]
xor ecx, ecx
mov edx, 0xd
call fcn.00403450
push 0
push 0
push 3
push 0
push 3
push 0
push 0x5aff3c
lea eax, [ebp - 0x144]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x144]
push 0x5aff4c
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x140]
call fcn.00405748
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push 0x121
lea eax, [ebp - 0x13a]
push eax
push 0xd
lea eax, [ebp - 0x19]
push eax
push 0x2d1400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x5afefd
mov byte [ebp - 2], 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aff2b
lea eax, [ebp - 0x144]
mov edx, 2
call fcn.0040529c
ret

Function at 0x5b3e44
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp + 8]
shl eax, 9
and eax, 0xffffffff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
shrd eax, edx, 0x17
shr edx, 0x17
and eax, 0xffffffff
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5b3eca
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x5b3ec2
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x5b3eca
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x5b3ed4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp + 8]
shl eax, 9
and eax, 0xffffffff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
shrd eax, edx, 0x17
shr edx, 0x17
and eax, 0xffffffff
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5b3f5a
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
cmp byte [ebp - 0x21], 0
je 0x5b3f52
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x5b3f5a
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x5b678c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
xor eax, eax
push ebp
push 0x5b6948
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040adec
test al, al
je 0x5b689d
mov eax, dword [ebp - 4]
call fcn.004a7c10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffa
jge 0x5b6932
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040af1c
lea eax, [ebp - 0x101d]
mov cl, 0x48
mov edx, 0x1000
call fcn.00403450
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.00405748
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5b688e
xor eax, eax
mov dword [ebp - 0x14], eax
push 2
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5b6879
push 0
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea eax, [ebp - 0x101d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x1d], al
cmp byte [ebp - 0x1d], 0
jne 0x5b6880
call sub.kernel32.dll_GetLastError_1
neg eax
mov dword [ebp - 8], eax
jmp 0x5b6880
mov dword [ebp - 8], 0xffffd8f1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5b6932
call sub.kernel32.dll_GetLastError_1
neg eax
mov dword [ebp - 8], eax
jmp 0x5b6932
lea eax, [ebp - 0x101d]
mov cl, 0x48
mov edx, 0x1000
call fcn.00403450
mov dword [ebp - 8], 1
push 0
push 0
push 2
push 0
push 3
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00405748
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5b6928
push 0
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea eax, [ebp - 0x101d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x1d], al
cmp byte [ebp - 0x1d], 0
jne 0x5b6910
call sub.kernel32.dll_GetLastError_1
neg eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040af1c
jmp 0x5b6932
call sub.kernel32.dll_GetLastError_1
neg eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b694f
lea eax, [ebp - 4]
call fcn.00405278
ret
Function at 0x5b8030
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd54
push ebx
xor ebx, ebx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00405738
lea eax, [ebp - 0x178]
mov edx, dword [0x4092c0]
call fcn.00405df8
xor eax, eax
push ebp
push 0x5b8225
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00405278
lea ecx, [ebp - 0x2a4]
mov edx, 0x5b823c
mov eax, dword [ebp - 4]
call fcn.0049d0c8
mov eax, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x178]
mov edx, 0x3f
call fcn.0040afa8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5b8112
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x16c]
call fcn.005b7f54
cmp dword [ebp - 0x10], 0
je 0x5b80fe
push 0x2c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0049c250
test eax, eax
jne 0x5b80fe
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebp - 0x10]
push 0x5b824c
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00405608
lea eax, [ebp - 0x178]
call fcn.0040aff8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5b80bb
lea eax, [ebp - 0x178]
call fcn.0040b01c
push 0x20
lea eax, [ebp - 0x29e]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x105
lea eax, [ebp - 0x27d]
push eax
lea eax, [ebp - 0x2a8]
mov ecx, 0x5b8258
mov edx, dword [ebp - 4]
call fcn.00405594
mov eax, dword [ebp - 0x2a8]
call fcn.00405748
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x5b81bf
lea eax, [ebp - 0x2ac]
lea edx, [ebp - 0x27d]
mov ecx, 0x105
call fcn.004054f8
mov eax, dword [ebp - 0x2ac]
lea edx, [ebp - 0x10]
call fcn.005b7f54
cmp dword [ebp - 0x10], 0
je 0x5b81bf
push 0x2c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0049c250
test eax, eax
jne 0x5b81bf
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebp - 0x10]
push 0x5b824c
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405548
test eax, eax
jle 0x5b81e6
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405548
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, 1
call fcn.004057e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b822c
lea eax, [ebp - 0x2ac]
mov edx, 3
call fcn.0040529c
lea eax, [ebp - 0x178]
mov edx, dword [0x4092c0]
call fcn.00405ec8
lea eax, [ebp - 0x10]
call fcn.00405278
lea eax, [ebp - 4]
call fcn.00405278
ret
Function at 0x5ba82c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
mov eax, dword [ebp - 8]
call fcn.00405738
xor eax, eax
push ebp
push 0x5ba969
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], 0
call fcn.0049fd94
test al, al
je 0x5ba94e
push 0x5ba97c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
push 0x5ba98c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dbc], eax
push 0x5ba9a4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc0], eax
push 0x5ba9c4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc4], eax
push 0x5ba9dc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc8], eax
push 0x5ba9fc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dd0], eax
push 0x5baa14
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dd8], eax
cmp dword [0x1200dbc], 0
je 0x5ba945
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5ba933
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.005ba504
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ba93d
cmp dword [ebp - 0x14], 0
setg byte [ebp - 0xd]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ba970
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040529c
ret
Function at 0x5bad58
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
mov eax, dword [ebp - 8]
call fcn.00405738
xor eax, eax
push ebp
push 0x5baebb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], 0
call fcn.0049fd94
test al, al
je 0x5baea0
push 0x5baecc
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
push 0x5baedc
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dbc], eax
push 0x5baef4
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc0], eax
push 0x5baf14
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc4], eax
push 0x5baf2c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc8], eax
push 0x5baf4c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dd0], eax
push 0x5baf64
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dd8], eax
push 0x5baf7c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200ddc], eax
push 0x5baf8c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200de0], eax
cmp dword [0x1200dbc], 0
je 0x5bae97
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5bae85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.005baa2c
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bae8f
cmp dword [ebp - 0x14], 0
setg byte [ebp - 0xd]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5baec2
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040529c
ret
Function at 0x5bb824
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
mov eax, dword [ebp - 8]
call fcn.00405738
xor eax, eax
push ebp
push 0x5bb974
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xd], 0
call fcn.0049fd94
test al, al
je 0x5bb959
push 0x5bb988
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
push 0x5bb998
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dbc], eax
push 0x5bb9b0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc0], eax
push 0x5bb9d0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc4], eax
push 0x5bb9e8
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dc8], eax
push 0x5bba08
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dcc], eax
push 0x5bba2c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dd0], eax
push 0x5bba44
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1200dd8], eax
cmp dword [0x1200dbc], 0
je 0x5bb950
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5bb93e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.005bb370
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bb948
cmp dword [ebp - 0x14], 0
setg byte [ebp - 0xd]
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb97b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040529c
ret