joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4361a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov dword [esp + 8], 0x208
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push eax
push str._sCLSID
push 0x103
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x214]
lea ecx, [esp + 4]
push edx
push eax
push ecx
lea edx, [esp + 0x18]
push 0
push edx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x436259
mov eax, dword [esp + 0x424]
mov ecx, dword [esp + 0x420]
push eax
lea edx, [esp + 0x214]
push ecx
push edx
call fcn.00435f20
add esp, 0xc
add esp, 0x418
ret
mov eax, dword [esp + 0x420]
mov word [eax], 0
xor eax, eax
add esp, 0x418
ret
Function at 0x436270
Capabilities:
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
sub esp, 0x440
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x246]
mov word [esp + 0x244], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [esp + 0x248]
push 0x26
push eax
push esi
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x208
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x244]
lea edx, [esp + 0x3c]
push ecx
push str._sInternet_Exploreriexplore.exe
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.004a8e00
add esp, 0x18
test eax, eax
jne 0x436335
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push 0x500df0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004a8e00
add esp, 8
test eax, eax
jne 0x436335
mov word [esp + 0x3c], si
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [esp + 0x3c]
push edx
call ebx
add esp, 4
test eax, eax
jbe 0x43637a
mov eax, dword [esp + 0x450]
push 0xa
push esi
lea ecx, [esp + 0x44]
push eax
push ecx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x440
ret
mov edi, dword [esp + 0x450]
mov dword [esp + 0xc], esi
cmp edi, esi
je 0x436440
push edi
call ebx
add esp, 4
test eax, eax
je 0x436440
lea edx, [esp + 0xc]
push edx
push 0x4dfcf8
push 0x15
push esi
push 0x4dfcc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x436440
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x436431
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4363f1
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0xc]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x3c]
mov word [esp + 0x2c], si
mov word [esp + 0x3c], 8
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x440
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x440
ret
Function at 0x436ab0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x61c
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff28]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x428]
push eax
push 0x76
push ecx
call esi
mov eax, dword [0x73ff28]
lea edx, [esp + 0x14]
push 0x104
push edx
push 0x80
push eax
call esi
lea ecx, [esp + 0x424]
push ecx
call fcn.004a94a0
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], dx
push 0x81800
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push 0x500df0
lea ecx, [esp + 0x430]
push eax
mov eax, dword [esp + 0x640]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [0x73ff2c]
push edx
push eax
push ecx
mov dword [esp + 0x30], ebp
call fcn.004a9550
add esp, 0x20
test eax, eax
je 0x436c4f
lea edx, [esp + 0x21c]
push 0x4f05b4
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x436c4f
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov ebp, eax
call esi
add esp, 0x1c
test ebp, ebp
jle 0x436c00
lea edi, [ebp + 1]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x436c00
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
push ebp
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fread]
push 0
push esi
call fcn.00436e20
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x1c
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x436c3f
mov esi, dword [esp + 0x630]
test esi, esi
je 0x436c3f
push 0x40
mov ecx, 0x6f2878
call fcn.004bbe20
push eax
push 0x82
call fcn.004afb70
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x61c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret
Function at 0x4374a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x86c
mov ax, word [0x500df0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x87c]
push edi
mov word [esp + 0x674], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x676]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x884]
lea edx, [esp + 0x674]
push ecx
push esi
push edx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x674]
push 0
push eax
call fcn.004a8e00
add esp, 8
test eax, eax
je 0x43752e
mov ecx, dword [esp + 0x88c]
mov edx, dword [esp + 0x888]
push esi
dec ecx
push 0x4ed128
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x86c
ret
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x264], ax
xor eax, eax
lea edi, [esp + 0x266]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
push esi
push str._s.
lea ecx, [esp + 0x26c]
push 0x103
push ecx
stosw word es:[edi], ax
call ebx
add esp, 0x10
lea edx, [esp + 0x14]
lea eax, [esp + 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x437668
mov ebp, dword [esp + 0x88c]
cmp dword [esp + 0x14], 0x10
jne 0x437631
lea ecx, [esp + 0x40]
push 0x4ed42c
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x437631
lea edx, [esp + 0x40]
push 0x4ed424
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x437631
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x46c], ax
xor eax, eax
lea edi, [esp + 0x46e]
lea edx, [esp + 0x46c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push ecx
push esi
push 0x4f05cc
push 0x103
push edx
stosw word es:[edi], ax
call ebx
mov eax, dword [esp + 0x89c]
mov ecx, dword [esp + 0x898]
push ebp
push eax
lea edx, [esp + 0x488]
push ecx
push edx
call fcn.004374a0
add esp, 0x24
test eax, eax
jne 0x437646
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x437661
jmp 0x437595
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x86c
ret
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret
Function at 0x438130
Capabilities:
Create thread

Disassembly:
sub esp, 0x218
mov ax, word [0x500df0]
push esi
push edi
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
push 0x104
push edx
mov dword [esp + 0x20], esi
stosw word es:[edi], ax
call fcn.00437e80
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004a8e00
add esp, 0x14
test eax, eax
je 0x4381e8
lea ecx, [esp + 0x18]
push esi
lea edx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], esi
call fcn.004ada90
add esp, 0xc
test eax, eax
jne 0x4381e8
mov eax, dword [esp + 8]
cmp eax, esi
je 0x4381e8
push esi
push str.language
push str.main
push eax
call fcn.004ae190
mov ecx, dword [esp + 0x24]
add esp, 0x10
and ecx, 0xffff
cmp ecx, eax
je 0x4381da
push reloc.DSOUND.dll_DirectSoundCreate
push str.DailyTipsUpdateTime
push str.option
call fcn.004aebf0
add esp, 0xc
lea edx, [esp + 8]
push esi
push edx
call fcn.004adc90
add esp, 8
lea eax, [esp + 0xc]
mov dword [esp + 0xc], esi
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCRT.dll_time]
lea ecx, [esp + 0x14]
push reloc.DSOUND.dll_DirectSoundCreate
push ecx
push str.DailyTipsUpdateTime
push str.option
call fcn.004af430
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0x14
sub eax, ecx
js 0x43822a
cmp eax, 0x1a5e00
jle 0x438250
lea edx, [esp + 8]
mov dword [esp + 8], esi
push edx
push esi
push esi
push 0x437fc0
push esi
push esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
je 0x438250
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x218
ret
Function at 0x4383f0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x41c
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x43847e
lea eax, [esp + 0x18]
push 0x4f0b8c
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x43847e
push 8
push 0x4f0b8c
push 1
push str.Disable_Script_Debugger
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push 0x103
push ecx
push 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x220]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
push 0
add esi, 2
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BLOCK_LMZ_SCRIPT
call fcn.00438d80
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_HTTP_USERNAME_PASSWORD_DISABLE
call fcn.00438d80
mov eax, dword [0x73eed4]
add esp, 0x20
test eax, eax
je 0x438538
mov eax, dword [0x72f968]
test eax, eax
je 0x438527
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00438d80
add esp, 0xc
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push 4
push eax
push 4
push str.AllSitesCompatibilityMode
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
push reloc.DSOUND.dll_DirectSoundCreate
call ebx
jmp 0x438538
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, dword [0x73eed0]
test eax, eax
jne 0x438551
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
call fcn.00438d80
add esp, 0xc
mov eax, dword [0x73eec4]
test eax, eax
je 0x43856a
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_INTERNET_SHELL_FOLDERS
call fcn.00438d80
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x41c
ret
Function at 0x438660
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x838
mov eax, dword [0x4f0c50]
mov ecx, dword [0x4f0c54]
mov edx, dword [0x4f0c58]
mov dword [esp + 4], eax
mov al, byte [0x4f0c5c]
mov dword [esp + 8], ecx
mov byte [esp + 0x10], al
mov eax, dword [0x4ef54c]
test eax, eax
mov dword [esp + 0xc], edx
je 0x438743
mov cl, byte [0x500e04]
push edi
mov byte [esp + 0x18], cl
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 4]
lea eax, [esp + 0x18]
push edx
push eax
push 0
mov dword [esp + 0x10], 0x823
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x43872b
lea ecx, [esp + 0x18]
push 0x29
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
test edx, edx
je 0x43872b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jne 0x43872b
mov byte [edx], al
lea edx, [esp + 0x18]
push 0x4f0c44
lea eax, [esp + 0xc]
push edx
push eax
push str._s_s___s_
push 0x823
push 0x566c6c
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
mov dword [0x4ef54c], 0
mov edi, 0x566c6c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffff3
pop edi
mov dword [0x566c68], ecx
mov eax, dword [esp + 0x83c]
test eax, eax
mov eax, 0x566c6c
jne 0x438758
mov eax, 0x566c78
add esp, 0x838
ret
Function at 0x438760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 0x14]
push eax
xor esi, esi
push ecx
push 1
lea edx, [esp + 0x30]
push esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], 0xbcde0395
mov word [esp + 0x3c], 0xe52f
mov word [esp + 0x3e], 0x467c
mov byte [esp + 0x40], 0x8e
mov byte [esp + 0x41], 0x3d
mov byte [esp + 0x42], 0xc4
mov byte [esp + 0x43], 0x57
mov byte [esp + 0x44], 0x92
mov byte [esp + 0x45], 0x91
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], 0x2e
mov dword [esp + 0x28], 0xa95664d2
mov word [esp + 0x2c], 0x9614
mov word [esp + 0x2e], 0x4f35
mov byte [esp + 0x30], 0xa7
mov byte [esp + 0x31], 0x46
mov byte [esp + 0x32], 0xde
mov byte [esp + 0x33], 0x8d
mov byte [esp + 0x34], 0xb6
mov byte [esp + 0x35], 0x36
mov byte [esp + 0x36], 0x17
mov byte [esp + 0x37], 0xe6
mov dword [esp + 0x48], 0xbfa971f1
mov word [esp + 0x4c], 0x4d5e
mov word [esp + 0x4e], 0x40bb
mov byte [esp + 0x50], 0x93
mov byte [esp + 0x51], 0x5e
mov byte [esp + 0x52], 0x96
mov byte [esp + 0x53], 0x70
mov byte [esp + 0x54], 0x39
mov byte [esp + 0x55], 0xbf
mov byte [esp + 0x56], 0xbe
mov byte [esp + 0x57], 0xe4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4388ed
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4388ed
lea edx, [esp + 0xc]
mov dword [esp + 0xc], esi
mov ecx, dword [eax]
push edx
push 1
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4388e3
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4388e3
lea edx, [esp + 8]
mov dword [esp + 8], esi
mov ecx, dword [eax]
push edx
push esi
lea edx, [esp + 0x3c]
push 1
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4388d9
mov eax, dword [esp + 8]
cmp eax, esi
je 0x4388d9
lea edx, [esp + 4]
mov dword [esp + 4], esi
mov ecx, dword [eax]
push edx
push esi
push 0x569528
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4388cf
mov eax, dword [esp + 4]
cmp eax, esi
je 0x4388cf
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 4]
neg esi
mov ecx, dword [eax]
push eax
sbb esi, esi
inc esi
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 0x40
ret
Function at 0x438900
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x61b0
call fcn.004d4ce0
mov eax, dword [0x567490]
test eax, eax
je 0x43891f
mov eax, 0x567494
add esp, 0x61b0
ret
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
mov eax, dword [esp + 0x61c4]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov ecx, dword [0x4f0c70]
mov esi, eax
mov dword [esp + 0x18], ecx
add esp, 8
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x14]
test esi, esi
rep stosd dword es:[edi], eax
je 0x43896d
add esi, 2
lea edx, [esp + 0x10]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push 0x4ed128
lea eax, [esp + 0x4138]
push 0x1048
push eax
call ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea ecx, [esp + 0x4130]
mov word [esp + 0x61be], 0
push esi
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x438a4c
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea esi, [edi + eax*2]
push 0x4f0c68
push esi
call ebx
test eax, eax
je 0x4389ce
lea esi, [eax + 6]
jmp 0x4389e6
push 2
push 0x4f0c60
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x4389e6
add esi, 4
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x438a4c
push esi
push 0x4ed128
lea edx, [esp + 0x20a8]
push 0x1047
push edx
call ebp
lea eax, [esp + 0x20b0]
mov word [esp + 0x413e], 0
push eax
call fcn.004b0f70
lea ecx, [esp + 0x20b4]
push ecx
call fcn.00435ab0
add esp, 0x18
lea edx, [esp + 0x20a0]
push edx
push 0x4ed128
push 0x1047
push 0x567494
call ebp
add esp, 0x10
pop edi
pop esi
pop ebp
mov dword [0x567490], 1
mov eax, 0x567494
pop ebx
add esp, 0x61b0
ret

Function at 0x438b20
Capabilities:
Parse url

Disassembly:
mov eax, 0x20cc
call fcn.004d4ce0
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x108a]
mov word [esp + 0x1088], 0
mov word [esp + 0x40], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20e0]
lea eax, [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, 0x824
test ecx, ecx
mov dword [esp + 4], 0x3c
mov dword [esp + 0x34], eax
pop edi
je 0x438b9e
lea ecx, [esp + 0x1084]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
lea edx, [esp]
push esi
mov esi, dword [esp + 0x20d4]
push edx
push 0
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, dword [esp + 0x20d8]
pop esi
test ecx, ecx
je 0x438c02
lea edx, [esp + 0x1084]
push edx
push eax
mov eax, dword [esp + 0x20e0]
push 0x4ee3cc
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
add esp, 0x20cc
ret
xor eax, eax
add esp, 0x20cc
ret
Function at 0x438d80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push esi
push edi
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x438dd1
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
cmp ecx, edx
je 0x438de7
lea edx, [esp + 0x20]
push 4
push edx
push 4
push esi
push edi
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x439330
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [0x73eed8]
sub esp, 0x208
test eax, eax
push esi
je 0x439479
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 8]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
mov eax, dword [esp + 0x21c]
add esp, 8
add esi, 2
test eax, eax
pop edi
je 0x439407
push 0x2328
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
call fcn.00438d80
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_USE_LEGACY_JSCRIPT
call fcn.00438d80
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_LAYOUT9_QUIRKS_EMULATION
call fcn.00438d80
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_USE_WEBOC_OMNAVIGATOR_IMPLEMENTATION
call fcn.00438d80
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFeature_Enable_Compat_Logging
call fcn.00438d80
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
call fcn.00438d80
add esp, 0x48
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_ALIGNED_TIMERS
call fcn.00438d80
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_ALLOW_HIGHFREQ_TIMERS
call fcn.00438d80
add esp, 0x18
pop esi
add esp, 0x208
ret
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_USE_LEGACY_JSCRIPT
call fcn.00438d80
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_LAYOUT9_QUIRKS_EMULATION
call fcn.00438d80
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_USE_WEBOC_OMNAVIGATOR_IMPLEMENTATION
call fcn.00438d80
push 1
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFeature_Enable_Compat_Logging
call fcn.00438d80
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
call fcn.00438d80
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_ALIGNED_TIMERS
call fcn.00438d80
add esp, 0x48
push 0
push esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_ALLOW_HIGHFREQ_TIMERS
call fcn.00438d80
add esp, 0xc
pop esi
add esp, 0x208
ret