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

Disassembly:
sub esp, 0x58
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
xor ebx, ebx
cmp esi, ebx
je 0x43b8b9
cmp byte [esi], bl
jne 0x43b8d4
push str.SendCrashInfo__:_s_is_empty
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0065865c
add esp, 0x58
ret
mov eax, dword [0x9f4750]
push str.0xKhTmLbOuNdArY
mov dword [esp + 0x50], eax
xor eax, eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x40]
push str.Content_Type:_multipart_form_data__boundary_s
push edx
mov dword [esp + 0x40], 0x100
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.00412870
mov eax, dword [0x9f4750]
add esp, 0xc
push str.0xKhTmLbOuNdArY
mov dword [esp + 0x28], eax
xor eax, eax
lea edx, [esp + 8]
lea ecx, [esp + 0x18]
push str.___s_r_n
push edx
mov dword [esp + 0x18], 0x800
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00412870
add esp, 0xc
push 0x44
push str.Content_Disposition:_form_data__name_file___filename_test.bin__r_n_r_n
lea eax, [esp + 0xc]
call fcn.00412b60
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43b990
sub eax, edx
push eax
push esi
lea eax, [esp + 0xc]
call fcn.00412b60
push 2
push 0x923e2c
lea eax, [esp + 0xc]
call fcn.00412b60
push str.0xKhTmLbOuNdArY
lea eax, [esp + 8]
push str._r_n___s___r_n
push eax
call fcn.00412870
lea ecx, [esp + 0x10]
add esp, 0xc
push ecx
lea ecx, [esp + 0x30]
call fcn.004571e0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
add esp, 4
cmp eax, edx
je 0x43ba02
mov ecx, dword [esp + 0x24]
push eax
cmp ecx, ebx
jne 0x43b9fb
call fcn.00658a01
add esp, 4
jmp 0x43ba02
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x43ba36
mov ecx, dword [esp + 0x4c]
push eax
cmp ecx, ebx
jne 0x43ba2f
call fcn.00658a01
add esp, 4
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0065865c
add esp, 0x58
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x54]
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x58
ret
Function at 0x43ba50
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
push ecx
mov eax, dword [0x9f4764]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43ba78
call edi
mov byte [esp + 0xf], 0
cmp eax, 2
jne 0x43ba7d
mov byte [esp + 0xf], 1
mov ecx, dword [0x9f4768]
push ecx
call esi
test eax, eax
jne 0x43ba95
call edi
cmp eax, 2
je 0x43ba95
xor bl, bl
jmp 0x43ba97
mov bl, 1
mov edx, dword [0x9f476c]
push edx
call esi
test eax, eax
jne 0x43baaf
call edi
cmp eax, 2
je 0x43baaf
xor al, al
jmp 0x43bab1
mov al, 1
cmp byte [esp + 0xf], 0
je 0x43bac7
test bl, bl
je 0x43bac7
test al, al
je 0x43bac7
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
push str.DeleteSymbolsIfExist___failed_to_delete
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x43bae0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], 0x928800
mov dword [esp + 0xc], 0
call fcn.0045d580
add esp, 8
test al, al
jne 0x43bb19
push str.Failed_to_unpack_SumatraPDF.pdb
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
add esp, 8
ret
mov al, 1
add esp, 8
ret

Function at 0x43bb20
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0x928830
mov dword [esp + 0x10], str.SumatraPDF_no_MuPDF.pdb
mov dword [esp + 0x14], 0
call fcn.0045d580
add esp, 8
test al, al
jne 0x43bb62
push str.Failed_to_unpack_libmupdf.pdb_or_SumatraPDF_no_MuPDF.pdb
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
add esp, 0x10
ret
mov al, 1
add esp, 0x10
ret

Function at 0x43bb70
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], 0x928894
mov dword [esp + 0xc], 0
call fcn.0045d580
add esp, 8
test al, al
jne 0x43bba9
push str.Failed_to_unpack_Installer.pdb
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x43bbb0
Capabilities:
Check if file exists
Delete file
Print debug messages

Disassembly:
sub esp, 0x434
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x42c], eax
mov eax, dword [0x9f475c]
push ebx
push ebp
mov ebp, dword [0x9f4760]
push esi
push edi
mov ebx, eax
test eax, eax
je 0x43bcd9
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43bcd9
test byte [esp + 0x14], 0x10
je 0x43bcd9
call fcn.0043ba50
test al, al
jne 0x43bc11
push str.DownloadAndUnzipSymbols__:_DeleteSymbolsIfExist___failed
jmp 0x43bcde
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43bc31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43bc31
push str.DownloadAndUnzipSymbols__:_deleting_pdbZipPath_failed
jmp 0x43bcde
push ebp
call fcn.004570a0
add esp, 4
test al, al
jne 0x43bc48
push str.DownloadAndUnzipSymbols__:_couldnt_download_symbols
jmp 0x43bcde
lea edi, [esp + 0x38]
mov esi, ebp
call fcn.00459510
lea edi, [esp + 0x238]
mov esi, ebx
call fcn.00459510
mov eax, dword [0x9e7b00]
xor bl, bl
cmp eax, 1
jne 0x43bc80
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.0043bae0
add esp, 4
mov bl, al
jmp 0x43bcc4
cmp eax, 2
jne 0x43bc9d
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x23c]
call fcn.0043bb20
add esp, 4
mov bl, al
jmp 0x43bcc4
test eax, eax
jne 0x43bcb9
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x23c]
call fcn.0043bb70
add esp, 4
mov bl, al
jmp 0x43bcc4
push str.DownloadAndUnzipSymbols__:_unknown_exe_type
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43bcd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
jmp 0x43bce6
push str.DownloadAndUnzipSymbols__:_exiting_because_symDir_doesnt_exist
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x434
ret
Function at 0x43bd00
Capabilities:
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [0x9f475c]
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43bd61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test al, al
jne 0x43bd61
push str.SubmitCrashInfo__:_couldnt_create_symbols_dir
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
test byte [0x9e8474], 1
jne 0x43bd8a
push str.SubmitCrashInfo__:_internet_access_not_allowed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
cmp dword [0x9f4e00], 0
mov esi, dword [0x9f4758]
jne 0x43be3d
call fcn.00459d80
test al, al
je 0x43bdb8
cmp dword [0x9ef160], 0
jne 0x43bdd8
cmp dword [0x9ef170], 0
jne 0x43bdea
push str.SubmitCrashInfo__:_dbghelp::Initialize___failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x9ef160]
jmp 0x43be1d
push 0
push 0
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x43be22
push 1
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x9ef170]
mov dword [0x9f4e00], eax
cmp dword [0x9f4e00], 0
je 0x43bdb8
call dword [0x9ef154]
or eax, 0x216
push eax
call dword [0x9ef148]
mov eax, fcn.00459ec0
cdq
mov ebx, edx
mov esi, eax
push ebx
push esi
call fcn.00459ec0
add esp, 8
test al, al
jne 0x43beb2
call fcn.0043bbb0
test al, al
jne 0x43be7e
push str.SubmitCrashInfo__:_failed_to_download_symbols
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
mov edi, dword [0x9f4758]
push 1
call fcn.00459f70
add esp, 4
test al, al
jne 0x43beb2
push str.SubmitCrashInfo__:_second_dbghelp::Initialize___failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.00459ec0
add esp, 8
test al, al
jne 0x43bee0
push str.SubmitCrashInfo__:_HasSymbols___false_after_downloading_symbols
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
call fcn.0043b6f0
mov esi, eax
test esi, esi
je 0x43befe
call fcn.0043b8a0
mov ecx, dword [0x9f4750]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push esi
call edx
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
Function at 0x43c520
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x44
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x40], eax
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x1f
mov byte [esp + 8], al
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
mov byte [esp + 0x28], al
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
lea eax, [esp + 8]
push eax
push 0x5a
push 0x400
call edi
push 0x1f
lea ecx, [esp + 0x28]
push ecx
push 0x59
push 0x400
call edi
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x28]
push eax
push str.Lang:__s__s_r_n
push esi
call fcn.00412870
mov ecx, dword [esp + 0x54]
add esp, 0x10
pop edi
xor ecx, esp
call fcn.0065865c
add esp, 0x44
ret

Function at 0x43c5e0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
sub esp, 0x80
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
lea eax, [esp + 0x14]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x28]
push ecx
push str.Number_Of_Processors:__d_r_n
push esi
call fcn.00412870
push esi
call fcn.0043c190
add esp, 0x10
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
push eax
mov eax, dword [esp + 0x58]
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fild qword [esp + 0xc]
mov eax, dword [esp + 0x48]
and ecx, 0x80000000
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0xc], edx
fild qword [esp + 0xc]
sub esp, 0x10
fchs
faddp st(1)
fld qword [0x9addc0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 8]
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x20], eax
fild qword [esp + 0x1c]
and ecx, 0x80000000
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
fild qword [esp + 0x1c]
fchs
faddp st(1)
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp qword [esp]
push str.Physical_Memory:__.2f_GB_r_nCommit_Charge_Limit:__.2f_GB_r_nMemory_Used:__d___r_n
push esi
call fcn.00412870
push esi
call fcn.0043c200
call fcn.0043c520
push esi
call fcn.0043c2f0
mov ecx, dword [esp + 0xa0]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.0065865c
add esp, 0x80
ret
Function at 0x43c6f0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x440
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x43c], eax
mov eax, dword [esp + 0x444]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], eax
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x43c739
mov al, 1
jmp 0x43c877
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x28], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x43c86c
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x54]
push edx
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
jne 0x43c77d
xor edi, edi
jmp 0x43c7a7
lea eax, [esi + 1]
push 1
push eax
call fcn.00658a3b
mov edi, eax
add esp, 8
test edi, edi
je 0x43c7a7
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
push ecx
push 0
push 0xfde9
call ebx
cmp edi, str.winex11.drv
je 0x43c7ca
test edi, edi
je 0x43c7cf
push str.winex11.drv
push edi
call fcn.00660044
add esp, 8
test eax, eax
sete al
test al, al
je 0x43c7cf
mov byte [esp + 0x17], 1
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x254]
push edx
push 0
push 0xfde9
call ebx
mov ebp, eax
test ebp, ebp
jne 0x43c7f4
xor esi, esi
jmp 0x43c821
lea eax, [ebp + 1]
push 1
push eax
call fcn.00658a3b
mov esi, eax
add esp, 8
test esi, esi
je 0x43c821
push 0
push 0
push ebp
push esi
push 0xffffffffffffffff
lea ecx, [esp + 0x254]
push ecx
push 0
push 0xfde9
call ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push esi
push edi
push edx
push eax
push str.Module:__08X__06X___16s__s_r_n
push ecx
call fcn.00412870
mov eax, dword [esp + 0x30]
add esp, 0x18
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_Module32NextW]
push esi
mov ebp, eax
call fcn.00658a01
push edi
call fcn.00658a01
add esp, 8
test ebp, ebp
jne 0x43c75b
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x440
ret
Function at 0x43cbf0
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
sub esp, 0x438
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43cc32
push str.DetectExeType__:_failed_to_detect_type
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x43ccef
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x43cce8
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
lea ecx, [esp + 0x30]
push str.libmupdf.dll
push ecx
call fcn.0066018e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x43ccdf
push 0xb
lea edx, [esp + 0x34]
push 0x9290e4
push edx
call fcn.006609f5
add esp, 0xc
test eax, eax
sete al
test al, al
je 0x43cccd
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cc93
sub eax, edx
sar eax, 1
cmp eax, 0xb
jb 0x43cccd
lea eax, [esp + eax*2 + 0x1a]
cmp eax, str.install.exe
je 0x43cce6
test eax, eax
je 0x43cccd
push str.install.exe
push eax
call fcn.0066018e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x43cce6
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x43cc54
jmp 0x43cce8
mov ebx, 2
jmp 0x43cce8
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x438
ret

Function at 0x43cd40
Capabilities:
Create thread

Disassembly:
push esi
test edi, edi
je 0x43ce34
mov esi, eax
call fcn.0043ca60
test al, al
je 0x43ce34
call fcn.0043cac0
test al, al
je 0x43ce34
call fcn.0043c890
test al, al
jne 0x43ce34
call fcn.0043c950
call fcn.0043cbf0
push 8
mov dword [0x9e7b00], eax
call fcn.00659e93
mov esi, eax
add esp, 4
test esi, esi
je 0x43cdb1
push 0
push 0x20000
push 0
mov dword [esi], 0x929114
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 4], eax
mov dword [0x9f4750], esi
jmp 0x43cdbb
mov dword [0x9f4750], 0
push edi
call fcn.00661039
add esp, 4
push 0
push 0
push 0
push 0
mov dword [0x9f4754], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x9f4778], eax
test eax, eax
je 0x43ce34
push 0
push 0
push 0
push 0x43bf20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x9f477c], eax
test eax, eax
je 0x43ce34
push 0x43bf80
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x43cd10
push 0x16
mov dword [0x9f478c], eax
call fcn.0065eee6
push 0x43cd30
call fcn.0065edac
add esp, 0xc
push 0x43cd30
call fcn.0065edca
add esp, 4
pop esi
ret
Function at 0x43cf00
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x20c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x208], eax
cmp byte [0x9f5c6a], 0
jne 0x43cf9c
push esi
push edi
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.uiautomationcore.dll
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.UiaReturnRawElementProvider
push esi
call edi
push str.UiaHostProviderFromHwnd
push esi
mov dword [0x9f47b8], eax
call edi
push str.UiaRaiseAutomationEvent
push esi
mov dword [0x9f47bc], eax
call edi
push str.UiaRaiseStructureChangedEvent
push esi
mov dword [0x9f47c0], eax
call edi
push str.UiaGetReservedNotSupportedValue
push esi
mov dword [0x9f47c4], eax
call edi
pop edi
mov dword [0x9f47c8], eax
mov byte [0x9f5c6a], 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0065865c
add esp, 0x20c
ret
Function at 0x440cb0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x38
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
push edi
test esi, esi
je 0x440ce0
lea eax, [esp + 0x18]
push eax
push 0
push esi
call ebp
test eax, eax
je 0x440ce0
test byte [esp + 0x18], 0x10
je 0x440d56
push esi
call fcn.00455510
add esp, 4
test al, al
je 0x440d56
mov ecx, dword [0x929380]
mov edx, dword [0x929384]
movzx edi, word [esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x440d53
test bl, 1
je 0x440d4a
cmp word [esp + 0x10], di
je 0x440d4a
lea eax, [esp + 0x10]
push eax
call fcn.00455510
add esp, 4
test al, al
je 0x440d4a
mov cx, word [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push esi
mov word [esi], cx
call ebp
test eax, eax
je 0x440d4a
test byte [esp + 0x18], 0x10
je 0x440d6a
inc word [esp + 0x10]
shr ebx, 1
jne 0x440d10
mov word [esi], di
xor al, al
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0065865c
add esp, 0x38
ret
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0065865c
add esp, 0x38
ret
Function at 0x440d80
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
mov ebx, eax
mov eax, dword [0x9f43ec]
push esi
mov dword [esp + 8], 0
test eax, eax
je 0x440e06
lea ecx, [esp + 8]
push ecx
push 0x6b8f8c
push eax
call fcn.00459220
add esp, 0xc
test eax, eax
je 0x440e06
mov edx, dword [esp + 8]
test edx, edx
je 0x440e06
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440dc0
sub eax, esi
sar eax, 1
cmp eax, 1
jbe 0x440e06
cmp edx, str.file
je 0x440e06
push str.file
push edx
call fcn.0066018e
add esp, 8
test eax, eax
sete al
test al, al
jne 0x440e06
mov edx, dword [esp + 8]
push edx
call fcn.00658a01
add esp, 4
pop esi
mov al, 1
pop ebx
pop ecx
ret
mov eax, ebx
test ebx, ebx
jne 0x440e11
mov eax, 0x923408
push ebp
push edi
push 0x923408
push str.:Zone.Identifier
push eax
push str._s_s_s
call fcn.00458200
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x10
mov esi, eax
push esi
push 0xffffffffffffffff
push str.ZoneId
push str.ZoneTransfer
call ebp
push esi
mov edi, eax
call fcn.00658a01
add esp, 4
cmp edi, 3
jl 0x440e67
mov eax, dword [esp + 0x10]
push eax
call fcn.00658a01
add esp, 4
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
pop ecx
ret
test ebx, ebx
je 0x440e78
push ebx
call fcn.00661039
add esp, 4
mov edi, eax
jmp 0x440e80
xor edi, edi
lea ebx, [ebx]
test edi, edi
je 0x440f17
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440e90
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x440f17
lea ecx, [edi + 4]
push 0x3a
push ecx
call fcn.0065866b
add esp, 8
test eax, eax
je 0x440f17
push 0x3a
push edi
call fcn.0065f91b
push 0x923408
push str.:Zone.Identifier
xor edx, edx
push edi
push str._s_s_s
mov word [eax], dx
call fcn.00458200
add esp, 0x18
mov esi, eax
push esi
push 0xffffffffffffffff
push str.ZoneId
push str.ZoneTransfer
call ebp
push esi
mov ebx, eax
call fcn.00658a01
add esp, 4
cmp ebx, 3
jl 0x440e80
push edi
call fcn.00658a01
mov eax, dword [esp + 0x14]
push eax
call fcn.00658a01
add esp, 8
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
pop ecx
ret
push edi
call fcn.00658a01
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00658a01
add esp, 8
pop edi
pop ebp
pop esi
xor al, al
pop ebx
pop ecx
ret