joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0c53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov edx, dword [esi + 8]
xor eax, eax
cmp edx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
jle 0x43686c
mov ebx, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ecx, ebx
cmp dword [ecx], edi
jne 0x436864
cmp byte [ecx + 8], 0
je 0x43688e
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x43685a
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00412140
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ecx + 4]
dec edx
cmp eax, edx
je 0x4368a4
lea eax, [eax + eax*2 + 3]
mov ecx, dword [ebx + eax*4 + 4]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x14], ecx
test edi, edi
jle 0x43686c
mov eax, dword [esi + 0x23c]
mov byte [ebp - 4], 1
test eax, eax
je 0x43686c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4368db
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [esi + 0x23c]
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x23c]
push 0
push edi
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 0x23c]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0x228
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x14
mov dword [ebp + 8], edi
test edi, edi
mov byte [ebp - 4], 2
je 0x436924
lea ecx, [edi + 0x21c]
call fcn.004120f0
mov ebx, edi
jmp 0x436926
xor ebx, ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp eax, edx
jge 0x436a0d
test ebx, ebx
je 0x43686c
mov ecx, 0x8a
xor eax, eax
mov edi, ebx
mov byte [ebp + 0xb], al
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x23c]
lea ecx, [ebp + 0xb]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00434d80
cmp eax, 0xffffffff
je 0x436a0d
lea ecx, [ebp + 0xc]
call fcn.00412330
mov edi, eax
mov eax, dword [ebx + 0x220]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x43699e
test cl, cl
je 0x43699a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x43699e
add eax, 2
add edi, 2
test cl, cl
jne 0x43697a
xor eax, eax
jmp 0x4369a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4369f5
mov eax, dword [esi + 0x23c]
mov byte [ebp + 0xb], 1
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0x23c]
push 0
push ecx
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [esi + 0x23c]
lea ecx, [ebp + 0xb]
push eax
push 1
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [esi + 0x23c]
push 0
push edi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x2c
mov eax, dword [esi + 0x23c]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x43692a
test ebx, ebx
je 0x43686c
lea ecx, [ebx + 0x21c]
call fcn.00412140
push ebx
call fcn.004ad125
add esp, 4
jmp 0x43686c
Function at 0x436a40
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b0c68
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.00436ac0
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00412200
push edi
mov ecx, esi
call fcn.00436820
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00412140
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x437500
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
push edi
je 0x4375f9
mov dx, word [0x4da9a0]
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 0x4375f9
mov ecx, dword [esp + 0x34]
push ecx
call edi
add esp, 4
test eax, eax
je 0x4375eb
mov edx, dword [esp + 0x34]
push 0x4ce290
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4375f9
pop edi
mov eax, 1
pop esi
add esp, 0x654
ret
pop edi
xor eax, eax
pop esi
add esp, 0x654
ret
Function at 0x439a90
Capabilities:
Check if file exists
Enumerate browser history

Disassembly:
sub esp, 0x70
push ebp
mov ebp, ecx
push str.history.dat
mov ecx, 0x4da9a8
call fcn.004079e0
test eax, eax
je 0x439ab8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439c6c
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x4b6498
push 3
push 0
push 0x4b6438
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x439c64
mov eax, dword [esp + 0xc]
test eax, eax
je 0x439c64
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x439c5a
mov edx, dword [esp + 4]
test edx, edx
je 0x439c5a
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x54]
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x58], 0x28
mov eax, dword [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 0x439c4e
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x439c4e
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x439c30
mov eax, dword [esp + 0x58]
test eax, eax
je 0x439c30
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x439c18
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x439c18
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x439bb5
xor eax, eax
jmp 0x439c18
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, ebp
call fcn.00437850
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 0x439b58
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 0x68]
call fcn.00436d90
pop ebp
add esp, 0x70
ret
Function at 0x43f230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b54a0
push 0x4ad31a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
call fcn.004ac30f
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004ac6d3
mov word [ebp - 0x228], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SafeCentralSafeCentral.dll
push str.Extensions
push 0x4dac04
push 0x4c3a20
push 0x103
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5ad700], eax
cmp eax, ebx
je 0x43f368
push str.SafeCentralLoadLibraryA
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x5ad714], eax
cmp eax, ebx
je 0x43f2f7
push 0x43d800
push 0x5ad6a8
call fcn.004ac742
push str.SafeCentralLoadLibraryW
mov edx, dword [0x5ad700]
push edx
call esi
mov dword [0x5ad718], eax
cmp eax, ebx
je 0x43f31d
push 0x43d840
push 0x5ad6a4
call fcn.004ac742
push str.SafeCentralLoadLibraryExA
mov eax, dword [0x5ad700]
push eax
call esi
mov dword [0x5ad71c], eax
cmp eax, ebx
je 0x43f342
push 0x43d880
push 0x5ad6a0
call fcn.004ac742
push str.SafeCentralLoadLibraryExW
mov ecx, dword [0x5ad700]
push ecx
call esi
mov dword [0x5ad720], eax
cmp eax, ebx
je 0x43f368
push 0x43d8d0
push 0x5ad69c
call fcn.004ac742
mov eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x1c], 1
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str.ExceptionEnable
push str.Software360se
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x1c], ebx
jne 0x43f3c5
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
push edx
call sub.MSVCRT.dll__local_unwind2
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x43f1c0
push 0x5ad6b8
call fcn.004ac742
mov dword [ebp - 4], ebx
call fcn.0043f3de
jmp 0x43f3ef
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f410
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
mov edx, dword [ebx]
push ecx
lea esi, [eax*4]
push 0x40
add edx, esi
push 4
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 4
add edx, esi
push ecx
push edx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x43f4a7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x43f4a7
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 4
mov dword [ecx], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
add ecx, esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43f4a7
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x441ec0
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x441f24
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
push fcn.00441f30
push 0
push 0
mov dword [eax], 1
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x441f24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x442ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
shr eax, 8
test al, al
je 0x442b4c
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x442b17
mov edx, dword [esi]
push 0x64
mov ecx, esi
call dword [edx + 0x88]
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x4394]
cmp eax, 0xffffffff
jne 0x442b27
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x442b34
add eax, 5
jmp 0x442b37
add eax, 0xfffffffb
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x88]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x444fe0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x445079
mov eax, dword [esi + 0x50]
mov dword [esi + 0x7bb4], 0
test eax, eax
je 0x44501c
mov eax, dword [esi]
call dword [eax + 0x44]
test eax, eax
je 0x44501c
push 0
mov ecx, esi
call fcn.0040b030
push 0
push 0xf
mov ecx, esi
call fcn.0040ae50
push 0
push 6
mov ecx, esi
call fcn.0040ae50
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x44505d
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
mov dword [esi + 0x48], 1
pop esi
ret
mov eax, dword [0x5b0050]
test eax, eax
jne 0x445072
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x48], 1
pop esi
ret
Function at 0x446110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x44616f
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x446189.21
xor ecx, ecx
mov cl, byte [eax + 0x446200]
jmp dword [ecx*4 + 0x4461f4]
mov dx, word [edi + 8]
mov ecx, esi
push edx
push 0xc
call fcn.0040ae50
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
mov ecx, esi
push eax
push 0xc
call fcn.0040ae50
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x446189.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x446189.21
xor ecx, ecx
mov cl, byte [eax + 0x446284]
jmp dword [ecx*4 + 0x446274]
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x446189.21
mov ax, word [edi + 8]
mov ecx, esi
push eax
push 0xc
call fcn.0040ae50
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4461ca
push 1
mov ecx, esi
call fcn.0040b030
mov cx, word [edi + 8]
push ecx
push 0xc
mov ecx, esi
call fcn.0040ae50
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4461ea
push 1
push 0x2c
mov ecx, esi
call fcn.0040ae50
xor ebx, ebx
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4

Function at 0x446ab0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.004ad150
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.00446300
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x446b72
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x446b05
mov ecx, esi
call fcn.00446300
push eax
call fcn.0044d8b0
add esp, 4
test eax, eax
je 0x446b46
jmp 0x446b41
push eax
push str.mailto:_subjectFrom_Browserbody_s
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x4da9a0
push 0x4da9a0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x446b46
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x446b72
push 0x40
push 0x4db014
push 0x78
call fcn.00463f90
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x446c60
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
mov edi, ecx
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x446ca6
lea ecx, [esp + 0xc]
push ecx
push str.InternetShortcut_shelleditcommand
push SysReAllocStringLen
call esi
test eax, eax
jne 0x446d3f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x4da9a0
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x446d3f
cmp word [esp + 0x10], 0x22
jne 0x446cef
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x446d04
mov word [eax], 0
push str._dde
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x446d1c
mov word [eax], 0
push 5
lea eax, [edi + 0x2338]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x446d48
push 2
mov ecx, edi
call fcn.00446d60
pop edi
pop esi
add esp, 0x210
ret
Function at 0x44a180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b1500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
mov dword [esp + 0x34], ebx
call fcn.00449920
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x44a1ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov edx, dword [edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
mov eax, dword [esi]
push ecx
push eax
push edi
call dword [edx + 0x1ac]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x44a341
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.0044ce30
cmp eax, ebx
jge 0x44a217
cmp eax, 0x80004002
je 0x44a217
push eax
call fcn.004ad052
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x44a304
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 2
call dword [edx + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x44a2f1
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.0043ff50
cmp eax, ebx
jge 0x44a270
cmp eax, 0x80004002
je 0x44a270
push eax
call fcn.004ad052
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.00449ef0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.00449d30
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esi]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov edi, dword [esi + 4]
push ecx
push ebp
add edi, eax
push esi
push edx
mov dword [esi + 4], edi
call fcn.0044a180
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x44a2ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x44a300
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x44a32e
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x44a31f
push 0x80004003
call fcn.004ad052
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x4b6728
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x44a33d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x44a356
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x44d520
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x30e0
call fcn.004ad150
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
mov word [esp + 0x1060], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x1062]
mov dword [esp + 0x10], 0x824
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44d5cb
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
push esi
push str.Start_Page
push eax
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1060]
push ecx
push edx
push esi
push esi
push str.Secondary_Start_Pages
push eax
mov dword [esp + 0x28], 0x1048
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x30f8]
mov edi, dword [esp + 0x30f4]
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x18]
push edx
push 0x4c3574
push ebx
push edi
call ebp
lea eax, [esp + 0x1070]
mov word [edi + ebx*2 - 2], si
push eax
lea esi, [esp + 0x1074]
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jle 0x44d63e
push esi
push edi
push str._s_r_n_s
push ebx
push edi
call ebp
mov ecx, dword [esp + 0x24]
mov word [edi + ebx*2 - 2], 0
lea esi, [esi + ecx*2 + 2]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jg 0x44d612
push edi
call fcn.0046e2e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30e0
ret

Function at 0x44d660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5b0054]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp], 1
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x44d68c
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44d6cd
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret
Function at 0x44d6e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5b0054]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x44d70f
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44d77d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 8]
lea edx, [esp]
sete al
push ecx
push edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push 0
push str.AutoDetect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret