joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422aa0
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
xor eax, eax
push 2
mov word [esp + 4], ax
mov dword [esp + 6], eax
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, 6
ja case.default.0x422ad8
jmp dword [eax*4 + 0x422b28]
mov eax, 2
add esp, 8
ret
mov eax, 3
add esp, 8
ret
mov eax, 4
add esp, 8
ret
mov eax, 5
add esp, 8
ret
mov eax, 6
add esp, 8
ret
mov eax, 7
add esp, 8
ret
mov eax, 1
add esp, 8
ret
or eax, 0xffffffff
add esp, 8
ret

Function at 0x423400
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x66e70f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, esi
neg edi
sbb edi, edi
lea ecx, [esp + 0x24]
and edi, 7
mov dword [esp + 8], 0
add edi, 0x2a
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
cmp eax, 1
jl 0x4234eb
cmp eax, 7
jg 0x4234eb
dec eax
cmp eax, 6
ja case.0x42345d.2
jmp dword [eax*4 + 0x423524]
neg esi
sbb esi, esi
and esi, 7
add esi, 0x30
jmp 0x4234aa
neg esi
sbb esi, esi
and esi, 7
add esi, 0x2b
jmp 0x4234aa
neg esi
sbb esi, esi
and esi, 7
add esi, 0x2c
jmp 0x4234aa
neg esi
sbb esi, esi
and esi, 7
add esi, 0x2d
jmp 0x4234aa
neg esi
sbb esi, esi
and esi, 7
add esi, 0x2e
jmp 0x4234aa
neg esi
sbb esi, esi
and esi, 7
add esi, 0x2f
mov edi, esi
push 0x1d
push 0x1e
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 8], 1
jmp 0x423503
mov esi, dword [esp + 0x1c]
push 0x738620
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423870
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x66e73f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
lea ecx, [esp + 4]
mov dword [esp + 8], 0
mov esi, 0x44
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
cmp eax, 1
jl 0x4239d4
cmp eax, 0xc
jg 0x4239d4
dec eax
cmp eax, 0xb
ja case.default.0x4238c7
jmp dword [eax*4 + 0x423a0c]
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x38
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x39
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x3a
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x3b
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x3c
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x3d
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x3e
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x3f
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x40
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x41
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x42
jmp case.default.0x4238c7
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xc
add esi, 0x43
push 0x1d
push 0x1e
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 8], 1
jmp 0x4239ec
mov esi, dword [esp + 0x1c]
push 0x738620
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4247e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66e840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push edi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_5
mov ebp, dword [esp + 0x30]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x28], ebx
mov eax, dword [ebp]
mov dword [esp + 0x18], edi
cmp dword [eax - 8], ebx
jle 0x424985
push esi
mov ax, word [eax + edi*2]
and eax, 0xffff
mov esi, eax
mov al, byte [0x76371c]
test al, 1
mov dword [esp + 0x20], esi
jne 0x424887
mov dl, al
push 0x4249e0
or dl, 1
mov dword [0x763720], 0x6a045c
mov byte [0x76371c], dl
mov dword [0x763724], ebx
mov dword [0x763728], 0x11
mov dword [0x76372c], ebx
mov dword [0x763730], ebx
mov dword [0x763734], ebx
mov dword [0x763738], 0xa
call fcn.00609785
add esp, 4
cmp dword [0x76372c], ebx
jne 0x42491e
mov esi, 0x71a7e8
mov edi, dword [esi]
mov ebp, dword [esi + 4]
lea eax, [esp + 0x18]
mov ecx, 0x763720
push eax
push edi
call fcn.006105b0
cmp eax, ebx
jne 0x4248fc
cmp dword [0x763724], ebx
jne 0x4248cc
mov ecx, dword [0x763728]
push 1
push ecx
mov ecx, 0x763720
call fcn.004bf9a0
mov ecx, 0x763720
call fcn.004c8c40
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov ecx, dword [0x763724]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [0x763724]
mov dword [ecx + edx*4], eax
push ebp
lea ecx, [eax + 0xc]
call sub.MFC42u.DLL_CString::operator_3
mov edx, esi
sub esi, 8
cmp edx, 0x71a7a8
jne 0x424898
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_5
mov eax, esi
xor edx, edx
shr eax, 4
div dword [0x763728]
mov eax, dword [0x763724]
mov byte [esp + 0x2c], 1
cmp eax, ebx
je 0x424954
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x424954
cmp dword [eax + 8], esi
je 0x4249b6
mov eax, dword [eax]
cmp eax, ebx
jne 0x424949
lea edx, [esp + 0x10]
test edx, edx
je 0x424966
push esi
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp]
inc edi
mov dword [esp + 0x1c], edi
cmp edi, dword [eax - 8]
jl 0x424821
pop esi
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, ebp
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
cmp eax, ebx
je 0x424954
add eax, 0xc
lea ecx, [esp + 0x14]
push eax
call sub.MFC42u.DLL_CString::operator_2
lea eax, [esp + 0x10]
test eax, eax
je 0x424966
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.006088b2
jmp 0x424966
Function at 0x424a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66e871
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x10], esi
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [esp + 0x28]
lea ebx, [esi + 8]
xor edi, edi
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], edi
call sub.MFC42u.DLL_CString::CString_4
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], vtable.CList_class_CXmlItem___class_CXmlItem__.0
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0xa
push 0x20
push ebx
mov byte [esp + 0x20], 2
mov dword [esi], vtable.CXmlItem.0
call fcn.004259a0
mov ecx, dword [esp + 0x18]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x424b50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x66e8a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
lea eax, [edi + 4]
mov dword [esp + 0xc], esi
push eax
lea ecx, [esi + 4]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [edi + 8]
xor ebx, ebx
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CString::CString_4
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], vtable.CList_class_CXmlItem___class_CXmlItem__.0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0xa
push 1
push edi
mov ecx, esi
mov byte [esp + 0x20], 2
mov dword [esi], vtable.CXmlItem.0
call fcn.00424c90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x426280
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ebb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call fcn.00427940
cmp eax, 0xffffffff
jne 0x4262c6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
call sub.MFC42u.DLL_CString::CString_5
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
mov dword [ebp - 4], edi
call fcn.00426c00
test eax, eax
je 0x426386
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov ebx, 1
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call dword [edx + 0x20]
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0x20]
push eax
push ecx
mov byte [ebp - 4], 2
call fcn.0040bee0
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi]
push edi
push edi
mov ecx, esi
mov dword [ebp - 0x28], eax
call dword [edx + 0x6c]
mov eax, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0044b6d0
mov ecx, esi
call fcn.00427940
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, esi
call fcn.00427940
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esi + 0x3020]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
cmp eax, esi
push edx
lea eax, [ebp - 0x28]
sete cl
push str.CStdioFileEx::WriteString__s_
push eax
mov dword [ebp - 0x18], ecx
call fcn.0040d9e0
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66f158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call fcn.0041bfc0
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esi]
xor edi, edi
mov byte [esp + 0x30], 2
cmp dword [eax - 8], ebx
je 0x429eee
push 1
push eax
push SysReAllocStringLen
lea ecx, [esp + 0x20]
call fcn.0041c090
test eax, eax
jne 0x429fba
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push 0x738574
call fcn.0041c320
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], ebx
je 0x429f3d
mov eax, dword [esi + 4]
cmp dword [eax - 8], ebx
jne 0x429f2e
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041c040
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
cmp eax, ebx
je 0x429f80
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041c040
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0x14]
call fcn.0041c250
mov eax, dword [esi]
push eax
push SysReAllocStringLen
call fcn.0041c230
mov esi, dword [esi + 4]
push esi
push SysReAllocStringLen
call fcn.0041c230
add esp, 0x10
push ebx
push ebx
push ebx
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov edi, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041c040
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x42a700
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x66f308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
cmp eax, 1
je 0x42a77b
cmp eax, 2
je 0x42a77b
push esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042a650
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 4]
mov eax, 2
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42a870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
je 0x42a88d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42a88d
or eax, eax
pop esi
ret
push esi
call fcn.0042a7e0
add esp, 4
test eax, eax
jne 0x42a8a9
push esi
call fcn.0042a840
add esp, 4
test eax, eax
jne 0x42a8a9
pop esi
ret
mov eax, 1
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42a8f3
or eax, eax
ret
and eax, 1
ret

Function at 0x42b670
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x66f4b8
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x20
cmp eax, 0xffffffff
push esi
push edi
mov esi, ecx
je 0x42b6a5
mov dword [esi + 0x250], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x24c], eax
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42b72c
push 0xa
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], vtable.IPreferences.0
call fcn.00608a20
mov dword [esp + 8], vtable.CTempPreferences.0
mov edx, dword [esi]
lea eax, [esp + 8]
push 0x738574
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call dword [edx + 0xdc]
mov ecx, esi
call sub.MFC42u.DLL_CDialog::DoModal
mov edi, eax
cmp edi, 1
je 0x42b706
mov edx, dword [esi]
lea eax, [esp + 8]
push 0x738574
push eax
mov ecx, esi
call dword [edx + 0xd8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CMapStringToString::CMapStringToString
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
mov ecx, dword [esp + 0x3c]
push ebx
lea edi, [esi + 0x270]
push ecx
mov ecx, edi
mov dword [esi + 0x26c], eax
call sub.MFC42u.DLL_CString::operator_3
mov ecx, esi
call sub.MFC42u.DLL_CDialog::DoModal
mov ecx, edi
mov ebx, eax
mov dword [esi + 0x26c], 0
call sub.MFC42u.DLL_CString::Empty
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10

Function at 0x42cab0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push 0x190
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esi], 0
jne 0x42cad8
push 0x71bbf8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop esi
ret

Function at 0x433620
Capabilities:
Write clipboard data

Disassembly:
mov eax, dword [ecx + 4]
push esi
test eax, eax
je 0x43364e
cmp dword [ecx], 0
je 0x43364e
mov esi, dword [esp + 0xc]
test esi, esi
je 0x43364e
mov eax, dword [esp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
xor ecx, ecx
cmp eax, esi
sete cl
mov eax, ecx
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x433940
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66fcf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
je 0x4339c4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4339c4
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push eax
call sub.MFC42u.DLL_CString::operator_3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor eax, eax
mov edx, dword [ecx - 8]
test edx, edx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x433a80
Capabilities:
Read clipboard data

Disassembly:
mov eax, dword [ecx + 4]
push esi
test eax, eax
jne 0x433a8f
or eax, 0xffffffff
pop esi
ret 4
mov esi, dword [esp + 8]
push 0xffffffffffffffff
push 0
mov ecx, esi
call sub.MFC42u.DLL_CStringArray::SetSize
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
jne 0x433aae
pop esi
ret 4
push esi
push eax
call fcn.0040c2f0
add esp, 8
pop esi
ret 4

Function at 0x434130
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
push esi
push 0
call fcn.00434780
mov esi, dword [esp + 0x2c0]
push esi
call fcn.00419060
add esp, 8
test eax, eax
jne 0x4341d1
push esi
call fcn.00434500
add esp, 4
test eax, eax
je 0x4341d1
push edi
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c4]
lea ecx, [esp + 8]
neg eax
sbb eax, eax
and eax, 0xff
inc eax
or eax, 0x4010
push eax
push 0x2b4
push ecx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x2c8]
mov edx, dword [esp + 0x2cc]
pop edi
mov dword [ecx], eax
mov eax, dword [esp + 8]
mov dword [edx], eax
mov edx, dword [ecx]
test edx, edx
je 0x4341d1
cmp eax, 0xffffffff
je 0x4341d1
mov eax, 1
pop esi
add esp, 0x2b4
ret
xor eax, eax
pop esi
add esp, 0x2b4
ret

Function at 0x4341e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
push edi
push 0
call fcn.00434780
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2c0]
add esp, 4
neg eax
sbb eax, eax
lea ecx, [esp + 4]
and eax, 0xff
inc eax
or ah, 0x40
push eax
push 0x2b4
push ecx
push 0x10
push 0x738574
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x2c0]
mov edx, dword [esp + 0x2c4]
pop edi
mov dword [ecx], eax
mov eax, dword [esp + 4]
mov dword [edx], eax
mov edx, dword [ecx]
test edx, edx
je 0x434260
cmp eax, 0xffffffff
je 0x434260
mov eax, 1
add esp, 0x2b4
ret
xor eax, eax
add esp, 0x2b4
ret
Function at 0x435e90
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push eax
call fcn.0041a500
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push esi
mov edi, eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
test edi, edi
jne 0x435ec9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov eax, 1
je 0x435ecb
mov eax, edi
pop edi
pop esi
ret

Function at 0x436f80
Capabilities:
Download url
Receive data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x670178
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
push eax
push ebp
push edi
push ebx
push ebp
call sub.urlmon.dll_URLDownloadToFileW
mov esi, eax
cmp esi, ebp
jne 0x436fd2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push edi
push ebx
push str.WebMisc::DownloadFile_failed_to_download__s_to__s_
call fcn.0040db50
mov edi, vtable._com_error.0
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], edi
push ebp
lea ecx, [esp + 0x20]
push ebp
push ecx
push 0x400
push esi
push ebp
push 0x1100
mov dword [esp + 0x44], ebp
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x43704d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
mov eax, dword [esp + 0x1c]
cmp ecx, 1
jle 0x43709f
cmp word [eax + ecx*2 - 2], 0xa
jne 0x43709f
mov word [eax + ecx*2 - 2], bp
mov eax, dword [esp + 0x1c]
cmp word [eax + ecx*2 - 4], 0xd
jne 0x43709f
mov word [eax + ecx*2 - 4], bp
jmp 0x43709b
push 0x40
push ebp
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x43709f
mov edx, dword [esp + 0x14]
cmp edx, 0x80040200
jl 0x43708b
cmp edx, 0x8004ffff
jg 0x43708b
lea ecx, [edx - 0x200]
cmp cx, bp
je 0x43708b
and ecx, 0xffff
push ecx
push str.IDispatch_error__d
jmp 0x437091
push edx
push str.Unknown_error_0x_0lX
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
push str._tURLDownloadToFile_reported__s
call fcn.0040db50
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebp
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], edi
je 0x4370c7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4370d6
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret