joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4422f0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 0x10], eax
jne 0x442313
xor ax, ax
pop edi
add esp, 8
ret
push ebx
push esi
push eax
xor ebx, ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push ecx
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x442357
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442357
mov edx, dword [esp + 0x10]
mov bx, word [edx]
push esi
call fcn.004ccfd9
add esp, 4
mov ax, bx
pop esi
pop ebx
pop edi
add esp, 8
ret

Function at 0x442370
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x214
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x4423fd
lea eax, [esp + 0x14]
push 0x4f1918
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4423fd
push 8
push 0x4f1918
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call esi
mov eax, dword [0x5d6c2c]
test eax, eax
je 0x44245f
mov eax, dword [0x5dd560]
mov dword [esp + 0xc], 0
test eax, eax
je 0x442430
push 0x22b8
push 0x500380
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00441e80
add esp, 0xc
jmp 0x44245f
push 0x500380
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push str.160A
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocString
call esi
mov eax, dword [0x5d6c28]
pop edi
test eax, eax
pop esi
jne 0x44247e
push 1
push 0x500380
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.00441e80
add esp, 0xc
mov eax, dword [0x5d6c18]
test eax, eax
je 0x44249b
push 0
push 0x500380
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_INTERNET_SHELL_FOLDERS
call fcn.00441e80
add esp, 0xc
push 0
push 0x500380
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BLOCK_LMZ_SCRIPT
call fcn.00441e80
add esp, 0x220
ret
Function at 0x4424c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x4d67d0
push 1
push 0
push 0x4d6800
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44255a
mov ecx, dword [esp]
test ecx, ecx
je 0x44255a
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 8], 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x4d68e0
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x44254d
mov eax, dword [esp + 8]
test eax, eax
je 0x44254d
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 8
ret

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

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x41c]
lea ecx, [esp + 8]
push eax
push 0x4e49c0
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
cmp word [esp + eax*2 + 6], 0x5c
je 0x442a24
lea eax, [esp + 8]
push 0x4e4f94
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x442a41
pop edi
mov eax, 1
pop esi
add esp, 0x410
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], 0
rep stosd dword es:[edi], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
lea edx, [esp + 0x218]
push 0x24
push edx
push 0
stosw word es:[edi], ax
call ebx
test eax, eax
je 0x442a97
lea eax, [esp + 0x214]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x442a97
mov esi, 1
xor eax, eax
lea edx, [esp + 0x214]
push eax
mov ecx, 0x82
lea edi, [esp + 0x218]
push 0x26
push edx
push eax
rep stosd dword es:[edi], eax
call ebx
test eax, eax
pop ebx
je 0x442ad9
lea eax, [esp + 0x210]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x442ad9
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x442af0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442b37
push 0x4f0d78
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 8], 0xfeff
je 0x442b37
push esi
push 1
lea eax, [esp + 0x10]
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
ret
Function at 0x442b40
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
pop edi
je 0x442bc1
lea ecx, [esp]
push 0x4f1a14
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442bc1
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442bc1
test al, 0x10
jne 0x442bc1
lea ecx, [esp]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x208
ret
Function at 0x442e20
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x442e3e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
lea edi, [esi + 0x218]
xor ebp, ebp
mov eax, dword [edi + 8]
test eax, eax
je 0x442e75
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x442e75
mov edx, eax
mov ebx, dword [edx + ebp*4]
test ebx, ebx
je 0x442e72
mov ecx, ebx
call fcn.00443050
push ebx
call fcn.004ccfd9
add esp, 4
inc ebp
jmp 0x442e46
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov eax, edx
cmp eax, edx
je 0x442e8f
mov ebx, dword [eax]
add eax, 4
mov dword [ecx], ebx
add ecx, 4
cmp eax, edx
jne 0x442e81
mov eax, dword [edi + 0xc]
mov dword [edi + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x442eb7
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0x23c], 0
mov ebx, dword [esp + 0x34]
lea ecx, [esi + 0x10]
push ebx
push 0x4e49c0
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4f1a2c
push ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 0x18
mov dword [esi + 0x23c], eax
test eax, eax
jne 0x442ef6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
xor edx, edx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x1e], edx
push eax
mov dword [esp + 0x26], edx
push 0xa
mov dword [esp + 0x2e], edx
lea eax, [esp + 0x24]
mov dword [esp + 0x32], edx
push 2
push eax
mov word [esp + 0x2c], 0
mov word [esp + 0x3e], dx
call ebx
add esp, 0x10
cmp eax, 0xa
jne 0x443018
lea ecx, [esp + 0x1c]
push str.TWHIS
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x443018
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x10]
push edx
push 1
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x443018
mov eax, dword [esp + 0x10]
mov ebp, 0x3e8
cmp eax, ebp
jne 0x443018
mov ecx, dword [esi + 0x23c]
lea edx, [esp + 0x14]
push ecx
push 1
push 4
push edx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x443018
cmp dword [esp + 0x14], ebp
jne 0x443018
mov eax, dword [esi + 0x23c]
lea ecx, [esi + 0xc]
push eax
push 1
push 4
push ecx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x443018
mov edx, dword [esi + 0x23c]
lea ebp, [esi + 8]
push edx
push eax
push 4
push ebp
call ebx
add esp, 0x10
cmp eax, 1
jne 0x443018
mov eax, dword [ebp]
test eax, eax
jle 0x443018
lea eax, [eax + eax*2]
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x443018
mov ecx, dword [esi + 0x23c]
mov edx, dword [ebp]
push ecx
push edx
push 0xc
push eax
call ebx
mov ecx, dword [ebp]
add esp, 0x10
cmp eax, ecx
je 0x443025
mov eax, dword [esi + 4]
push eax
call fcn.004ccfd9
add esp, 4
mov dword [esi + 4], 0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
mov ecx, esi
call fcn.00442db0
push edi
push eax
mov ecx, esi
call fcn.004432a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4
Function at 0x443060
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x178c
call fcn.004cd000
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
je 0x443121
mov eax, dword [esi + 0x23c]
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
cmp eax, ebx
jne 0x44309f
lea eax, [esi + 0x10]
push 0x4f1a34
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
jmp 0x443117
push ebx
push ebx
push eax
call ebp
mov edx, dword [esi + 0x23c]
xor ecx, ecx
mov dword [esp + 0x26], ecx
push edx
mov dword [esp + 0x2e], ecx
push 0xa
mov dword [esp + 0x36], ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x3a], ecx
push 2
push eax
mov word [esp + 0x34], bx
mov word [esp + 0x46], cx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 0xa
jne 0x4430f2
lea eax, [esp + 0x18]
push str.TWHIS
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x44312f
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esi + 0x10]
push 0x4f1a34
push edx
mov dword [esi + 0x23c], ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x23c], eax
jne 0x44312f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x178c
ret
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3e7
xor eax, eax
lea edi, [esp + 0x7fe]
mov word [esp + 0x7fc], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x23c]
push ebx
push ebx
push eax
call ebp
mov ecx, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push ecx
push 0x7d0
lea edx, [esp + 0x40]
push 1
push edx
call edi
add esp, 0x1c
cmp eax, 0x7d0
jne 0x443268
mov eax, dword [esi + 0x23c]
push ebx
push ebx
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x7fc]
mov eax, 0x3e8
push str.TWHIS
push 0x4e49c0
push 9
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x80c]
push edx
push 0xa
push 2
push eax
call edi
add esp, 0x20
cmp eax, 0xa
jne 0x443268
mov ecx, dword [esi + 0x23c]
lea edx, [esp + 0x10]
push ecx
push 1
push 4
push edx
call edi
add esp, 0x10
cmp eax, 1
jne 0x443268
mov eax, dword [esi + 0x23c]
lea ecx, [esp + 0x14]
push eax
push 1
push 4
push ecx
call edi
add esp, 0x10
cmp eax, 1
jne 0x443268
mov edx, dword [esi + 0x23c]
push edx
push eax
lea eax, [esi + 0xc]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x443268
mov ecx, dword [esi + 0x23c]
lea ebp, [esi + 8]
push ecx
push eax
push 4
push ebp
call edi
add esp, 0x10
cmp eax, 1
jne 0x443268
mov edx, dword [esi + 0x23c]
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
push edx
push eax
push 0xc
push ecx
call edi
mov ecx, dword [ebp]
add esp, 0x10
cmp eax, ecx
je 0x44328c
mov edx, dword [esi + 0x23c]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0x23c], ebx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x178c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x178c
ret
Function at 0x4435d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d0ce8
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push esi
push 1
push 1
push eax
call ebx
mov ebp, dword [esp + 0x3c]
push esi
push 1
push 4
push ebp
call ebx
mov eax, dword [ebp]
add esp, 0x20
test eax, eax
jle 0x44373b
push esi
lea edi, [ebp + 4]
push 1
push 4
push edi
call ebx
mov eax, dword [edi]
add esp, 0x10
test eax, eax
jl 0x44373b
push esi
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call ebx
push esi
push 1
lea edx, [ebp + 0xc]
push 4
push edx
call ebx
push esi
push 1
lea eax, [ebp + 0x10]
push 4
push eax
call ebx
push esi
push 1
lea ecx, [esp + 0x6c]
push 4
push ecx
mov dword [esp + 0x74], 0
call ebx
mov eax, dword [esp + 0x74]
add esp, 0x40
test eax, eax
jle 0x44373b
cmp eax, 0x1048
jae 0x44373b
lea edx, [ebp + 0x14]
mov ecx, 0x82
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
push esi
push eax
push 2
push edx
call ebx
push esi
push 1
lea ecx, [esp + 0x4c]
push 4
push ecx
mov dword [esp + 0x54], 0
call ebx
mov eax, dword [esp + 0x54]
add esp, 0x20
test eax, eax
jle 0x443734
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
je 0x443734
mov edx, dword [esp + 0x34]
xor eax, eax
push esi
mov esi, dword [esp + 0x34]
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
push eax
push 1
push esi
call ebx
add esp, 0x10
lea ecx, [esp + 0x10]
push esi
call fcn.00419340
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push ecx
lea ecx, [ebp + 0x21c]
call fcn.00419460
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00419320
push esi
call fcn.004ccfd9
add esp, 4
mov eax, 1
jmp 0x44373e
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x443a20
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x443b8c
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x443b8c
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push edi
push 2
push 0
push eax
call ebp
mov eax, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push eax
call edi
add esp, 0x10
cmp eax, 0x7d0
jge 0x443a7a
mov ecx, dword [esi + 0x23c]
push 0
push 0x7d0
push ecx
call ebp
add esp, 0xc
mov edx, dword [esi + 0x23c]
push edx
call edi
mov eax, dword [esi + 0x23c]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push eax
push 1
lea ecx, [esp + 0x24]
push 1
push ecx
mov byte [esp + 0x2c], 0
call edi
mov edx, dword [esi + 0x23c]
push edx
push 1
push 4
push ebx
call edi
mov eax, dword [esi + 0x23c]
lea ecx, [ebx + 4]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [esi + 0x23c]
lea eax, [ebx + 8]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [esi + 0x23c]
add esp, 0x44
lea edx, [ebx + 0xc]
push ecx
push 1
push 4
push edx
call edi
mov eax, dword [esi + 0x23c]
lea ecx, [ebx + 0x10]
push eax
push 1
push 4
push ecx
call edi
lea ebp, [ebx + 0x14]
push ebp
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x24
cmp eax, 0x103
mov dword [esp + 0x10], eax
jbe 0x443b15
mov dword [esp + 0x10], 0x103
mov edx, dword [esi + 0x23c]
lea eax, [esp + 0x10]
push edx
push 1
push 4
push eax
call edi
mov ecx, dword [esi + 0x23c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 2
push ebp
call edi
add ebx, 0x21c
add esp, 0x20
mov ecx, ebx
call fcn.004194f0
inc eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x23c]
push eax
push 1
push 4
push ecx
call edi
mov edx, dword [esi + 0x23c]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, ebx
push edx
push eax
push 1
call fcn.00419510
push eax
call edi
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4
Function at 0x445490
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d0e48
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00445510
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004193e0
push edi
mov ecx, esi
call fcn.00445200
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00419320
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x445f80
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
push edi
je 0x446079
mov dx, word [0x4fff00]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], dx
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
lea edx, [esp + 0x454]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov dword [esp + 0xc], eax
mov eax, 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x250]
push 0
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
call edi
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x446079
mov ecx, dword [esp + 0x34]
push ecx
call edi
add esp, 4
test eax, eax
je 0x44606b
mov edx, dword [esp + 0x34]
push 0x4f0e24
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x446079
pop edi
mov eax, 1
pop esi
add esp, 0x654
ret
pop edi
xor eax, eax
pop esi
add esp, 0x654
ret
Function at 0x4488d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push 0
push str.history.dat
mov ecx, 0x4fff10
call fcn.0040ac80
test eax, eax
je 0x4488fa
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x448a8c
push esi
call fcn.0043b090
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x448a83
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x448a7d
mov edx, dword [esp + 8]
test edx, edx
je 0x448a7d
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], 0x28
mov eax, dword [edx]
push edx
call dword [eax + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x58]
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x448a72
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x448a6e
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x448a50
mov eax, dword [esp + 0x58]
test eax, eax
je 0x448a50
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x448a38
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x448a38
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x4489d5
xor eax, eax
jmp 0x448a38
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x22]
mov dword [esp + 0x3c], edx
and ecx, 0xffff
and eax, 0xffff
lea edx, [esp + 0x30]
dec ecx
sub eax, 0x76c
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
call esi
add esp, 4
mov ecx, dword [esp + 0x5c]
push 1
push eax
mov eax, dword [esp + 0x60]
push 0
push eax
push ecx
push 0
mov ecx, ebx
call fcn.00446310
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x448978
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebx + 0x68]
call fcn.00445840
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x44f0a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x214]
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
lea ecx, [esp + 8]
mov esi, eax
push 0x103
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edx, [esp + 8]
push str.Container
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x44f119
mov eax, dword [0x4fff58]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x44f119
mov eax, dword [esp + 0x218]
push esi
push eax
call fcn.0045a6e0
add esp, 8
pop edi
pop esi
add esp, 0x208
ret