joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fdb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [0x7693e0]
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42fdde
cmp dword [0x769604], 0
jne 0x42fdde
test eax, eax
je 0x42fe88
test eax, ecx
je 0x42fe88
mov esi, dword [ebp + 0x14]
cmp dword [esi + 0x10], 0
je 0x42fe88
test eax, eax
je 0x42fe5a
test eax, ecx
je 0x42fe5a
cmp byte [ebp + 0x10], 0
je 0x42fe02
push eax
call fcn.004300a0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x42fe0c
mov eax, dword [esi]
jmp 0x42fe0e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x14], 8
jb 0x42fe1f
mov eax, dword [esi]
jmp 0x42fe21
mov eax, esi
push eax
push 0x6b960c
call fcn.005f00fe
add esp, 8
cmp dword [0x769604], 0
je 0x42fe5a
cmp dword [0x7771b0], 0
je 0x42fe5a
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00406140
push dword [0x7771b0]
call fcn.00430610
add esp, 0x1c
test edi, edi
je 0x42fe88
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00405350
push edi
call fcn.00430610
add esp, 0x1c
pop edi
pop esi
pop ebp
ret
Function at 0x4300a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6459a8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movq qword [ebp - 0x58], xmm0
push eax
movdqu xmmword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dx, word [ebp - 0x48]
movzx ecx, dx
cmp dx, 0xc
jbe 0x430114
sub ecx, 0xc
movzx eax, word [ebp - 0x50]
cmp dx, 0xc
push esi
push eax
movzx eax, word [ebp - 0x4a]
mov esi, 0x6c2170
push eax
movzx eax, word [ebp - 0x4e]
push eax
mov eax, 0x6c2168
cmova eax, esi
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x46]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x40]
push str.0x_04x__02d:_02u:_02u._03u_ws___02u__02u__4u_0x_08X:
push eax
call fcn.00450d60
mov esi, eax
add esp, 0x30
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x430195
cmp dword [ebp - 0x14], 8
jb 0x430178
push dword [ebp - 0x28]
call fcn.00452732
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404f60
cmp dword [ebp - 0x2c], 8
jb 0x4301a6
push dword [ebp - 0x40]
call fcn.00452732
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x769604], 0
je 0x4301fc
cmp dword [0x7771b0], 0
je 0x4301fc
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00405350
push dword [0x7771b0]
call fcn.00430610
add esp, 0x1c
cmp dword [ebp - 0x14], 8
jb 0x43020d
push dword [ebp - 0x28]
call fcn.00452732
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret
Function at 0x440420
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
je 0x44043c
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00440c50
add esp, 0xc
pop ebp
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jle 0x440454
movzx eax, ax
or eax, 0x80070000
push 0x126
push str.Registry.cpp
push str.RegDeleteValue_hKey_szValueName_
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00409d50
add esp, 0x24
pop ebp
ret

Function at 0x440480
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4404a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00440ca0
add esp, 0xc
pop ebp
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jle 0x4404be
movzx eax, ax
or eax, 0x80070000
push 0x149
push str.Registry.cpp
push str.RegDeleteValue_hKey_szValueName_
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00409d50
add esp, 0x24
pop ebp
ret

Function at 0x4405b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
push esi
sub esp, 0x18
mov ecx, esp
push 0x19
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.HrGetRegistryValueA__hs__n
mov word [ecx], ax
call fcn.004054c0
push 1
call fcn.0042fa30
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov edi, dword [ebp + 0x14]
add esp, 0x20
mov dword [ebp - 4], 0
push eax
push 0
push ebx
push 0
push esi
push dword [ebp + 8]
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jle 0x44061e
movzx esi, si
or esi, 0x80070000
push 0x8c
push str.Registry.cpp
push str.RegQueryValueExA__hKey__lpszValue__NULL__lpType__NULL__cb_
push 0
push 0
push 0
push 0
push 0
push esi
call fcn.00409d50
add esp, 0x24
test esi, esi
jne 0x4406d5
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4406d7
mov eax, dword [ebx]
cmp eax, 1
je 0x440664
cmp eax, 4
je 0x440664
cmp eax, 7
jne 0x4406d7
push ecx
call fcn.00452737
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x4406cc
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jle 0x440696
movzx esi, si
or esi, 0x80070000
push 0x9d
push str.Registry.cpp
push str.RegQueryValueExA__hKey__lpszValue__NULL__lpType___unsigned_char_lppData__cb_
push 0
push 0
push 0
push 1
push 0
push esi
call fcn.00409d50
add esp, 0x24
test esi, esi
jns 0x4406cc
push dword [edi]
call fcn.00452740
add esp, 4
mov dword [edi], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
js 0x4406cc
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jle 0x440c75
movzx eax, ax
or eax, 0x80070000
push 0x117
push str.Registry.cpp
push str.RegSetValueEx__hKey__szValueName__NULL__REG_DWORD___LPBYTE__dwValue__sizeof_DWORD__
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00409d50
add esp, 0x24
pop ebp
ret

Function at 0x440ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
test edi, edi
je 0x440ccf
lea eax, [ebp - 4]
push eax
push SysReAllocString
push edi
call fcn.00440be0
mov esi, eax
test esi, esi
js 0x440cd4
mov ebx, dword [ebp - 4]
jmp 0x440cd6
mov esi, 0x80070057
xor ebx, ebx
push 0x131
push str.Registry.cpp
push str.StringCbLength_szValue_STRSAFE_MAX_CCH__sizeof_TCHAR__cbValue_
push 0
push 0
push 0
push 1
push 0
push esi
call fcn.00409d50
add esp, 0x24
test esi, esi
js 0x440d3f
lea eax, [ebx + 1]
push eax
push edi
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jle 0x440d1d
movzx eax, ax
or eax, 0x80070000
push 0x13a
push str.Registry.cpp
push str.RegSetValueEx__hKey__szValueName__NULL__REG_SZ___LPBYTE__szValue___DWORD__cbValue_
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00409d50
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x17
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Enter_GetMAPISystemDir_n
mov word [ecx], ax
call fcn.004054c0
push 0x80000
call fcn.0042fa30
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.005ee030
add esp, 0x28
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x451a06
push 0x208
call fcn.00452737
mov esi, eax
add esp, 4
test esi, esi
je 0x451a06
push str.mapi32.dll
lea eax, [ebp - 0x20c]
push eax
push 0x6cb064
push 0x104
push esi
call fcn.005eef69
add esp, 0x14
push esi
sub esp, 0x18
mov ecx, esp
push str.GetMAPISystemDir:_found__ws_n
call fcn.00402ad0
push 0x80000
call fcn.0042fa30
add esp, 0x20
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x25
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Exit_GetMAPISystemDir:_found_nothing_n
mov word [ecx], ax
call fcn.004054c0
push 0x80000
call fcn.0042fa30
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
xor eax, eax
pop esi
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret
Function at 0x451b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0x1f
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Enter_GetMailClientFromMSIData_n
mov word [ecx], ax
call fcn.004054c0
push 0x80000
call fcn.0042fa30
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.005ee030
push 0x103
lea eax, [ebp - 0x30f]
mov byte [ebp - 0x310], 0
push 0
push eax
call fcn.005ee030
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.005ee030
add esp, 0x40
mov dword [ebp - 0x31c], 0
lea eax, [ebp - 0x320]
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x320], 0x104
mov dword [ebp - 0x318], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0
push str.MSIComponentID
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451cde
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0
push str.MSIApplicationLCID
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451cde
push eax
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004515a0
add esp, 0x14
test al, al
je 0x451cde
push 0xffffffffffffffff
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00450850
push 0x138
push str.StubUtils.cpp
push str.AnsiToUnicode_rgchComponentPath__szPath_
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00409d50
add esp, 0x30
push dword [ebp - 0x314]
xor eax, eax
sub esp, 0x18
mov ecx, esp
push 0x2c
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Exit_GetMailClientFromMSIData:_szPath___ws_n
mov word [ecx], ax
call fcn.004054c0
push 0x80000
call fcn.0042fa30
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, dword [ebp - 0x314]
xor ecx, ebp
pop esi
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret 4
Function at 0x452400
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0x18
mov dword [ebp - 0x21c], eax
mov ecx, esp
xor eax, eax
push 0x4c
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Enter_RegQueryWszExpand:_hKey___p__lpValueName___ws__cchValueLen__0x_08X_n
mov word [ecx], ax
call fcn.004054c0
push 0x80000
call fcn.0042fa30
xor eax, eax
mov dword [ebp - 0x218], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.005ee030
add esp, 0x34
mov dword [ebp - 0x210], 0x208
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x452541
lea eax, [ebp - 0x20c]
push eax
sub esp, 0x18
mov ecx, esp
push str.RegQueryWszExpand:_rgchValue___ws_n
call fcn.00402ad0
push 0x80000
call fcn.0042fa30
mov eax, dword [ebp - 0x218]
add esp, 0x20
cmp eax, 2
jne 0x452525
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x45251e
cmp eax, ebx
ja 0x45251e
push edi
sub esp, 0x18
mov ecx, esp
push str.RegQueryWszExpand:_rgchValue_expanded____ws_n
call fcn.00402ad0
push 0x80000
call fcn.0042fa30
add esp, 0x20
jmp 0x452541
mov esi, 0x7a
jmp 0x452541
cmp eax, 1
jne 0x452541
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push eax
push ebx
push edi
call fcn.005f23d6
add esp, 0xc
push esi
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x27
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Exit_RegQueryWszExpand:_dwErr__0x_08X_n
mov word [ecx], ax
call fcn.004054c0
push 0x80000
call fcn.0042fa30
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret

Function at 0x46026e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4602b3
call fcn.00455aba
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4602b3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4602cf
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00472ad6
mov ebx, eax
test edi, edi
je 0x4602cd
test esi, esi
je 0x4602cd
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466759
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4667eb
test esi, esi
je 0x4667eb
push esi
call fcn.005f2a00
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.005ee030
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x4667d0
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x4667d0
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4667d8
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret 8
call fcn.004528f4
int3

Function at 0x46b9b8
Capabilities:
Get file system object information

Disassembly:
push 0x174
mov eax, 0x64a163
call fcn.005f2958
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x174], ecx
mov byte [ebx], cl
test edi, edi
je 0x46bb13
push 0x800
push 0x160
lea eax, [ebp - 0x170]
push eax
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x46bb13
test dword [ebp - 0x168], 0x10000
je 0x46bb13
lea eax, [ebp - 0x174]
push eax
push 0x6ce4b4
push 0
push 0x6ce4a4
lea ecx, [ebp - 0x17d]
call fcn.0046bceb
test eax, eax
js 0x46bb13
mov ecx, dword [ebp - 0x174]
test ecx, ecx
je 0x46bb13
and dword [ebp - 0x178], 0
lea edx, [ebp - 0x178]
mov eax, dword [ecx]
push edx
push 0x708574
push ecx
call dword [eax]
test eax, eax
js 0x46bb07
push esi
lea ecx, [ebp - 0x17c]
call fcn.00452c9f
mov ecx, dword [ebp - 0x178]
xor esi, esi
mov dword [ebp - 4], esi
test ecx, ecx
je 0x46baf5
mov eax, dword [ecx]
push esi
push dword [ebp - 0x17c]
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x46bae5
mov eax, dword [ebp - 0x174]
push 2
push dword [edi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
test eax, eax
js 0x46bae5
mov eax, dword [ebp - 0x174]
push esi
push esi
push dword [ebp + 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x17c]
lea ecx, [ecx - 0x10]
call fcn.0040bd60
xor eax, eax
inc eax
jmp 0x46bb15
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x46baf5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x17c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0040bd60
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
call fcn.005f2907
ret 0x10
Function at 0x46c445
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x64a208
call fcn.005f2958
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x46c473
call fcn.004528f4
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x46c46e
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x46c4bb
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.005f28d8
push eax
call fcn.0040a490
add esp, 0x14
push ebx
push edi
call fcn.0046c418
xor eax, eax
jmp 0x46c5dc
cmp eax, 0x104
jb 0x46c4d8
test edi, edi
je 0x46c4b4
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00417c10
jmp 0x46c4b4
call fcn.00455436
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040a200
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.0046b96e
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x46c5d1
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x46c543
push ebx
push edi
call fcn.0046c418
lea ecx, [esi - 0x10]
call fcn.0040bd60
jmp 0x46c4b4
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x46c55f
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x46c5d1
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x46c5d1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x46c52f
cmp eax, dword [ebp - 0x158]
jbe 0x46c52f
lea eax, [ebp - 0x124]
push eax
call fcn.005f2a00
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x46c5e4
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.005f5fc0
push eax
call fcn.0040a490
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.0040bd60
xor eax, eax
inc eax
call fcn.005f2907
ret 0xc
test edi, edi
je 0x46c536
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00417c10
jmp 0x46c536
Function at 0x46d1f9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00465a27
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x46d235
call fcn.0046d95b
mov dword [esi + 0xc], 1
jmp 0x46d23a
call fcn.0046d95b
cmp dword [esi], 0
je 0x46d283
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x46d25d
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00454b39
jmp 0x46d26e
push 0xff
mov ecx, esi
call fcn.0040bc60
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00454b5c
jmp 0x46d2a7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x46d2a7
push dword [esi]
push dword [ebp - 4]
call fcn.00466759
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46d7db
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0046d95b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46d823
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00454b39
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00454b5c
jmp 0x46d82e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00466759
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46dacd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.0046d95b
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x46db3e
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.005f70b2
add esp, 0x10
cmp eax, 1
je 0x46db8c
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0045645b
mov ecx, edi
call fcn.0046d909
jmp 0x46db8c
call fcn.005f2ad8
mov edi, dword [eax]
call fcn.005f2ad8
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.005ee91b
add esp, 0x14
call fcn.005f2ad8
cmp dword [eax], 0
je 0x46db7b
call fcn.005f2ad8
push dword [eax]
call fcn.0045341f
pop ecx
jmp 0x46db82
call fcn.005f2ad8
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00466759
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret