joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50bff0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x50bffc
jmp 0x506380
ret

Function at 0x50cdb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5233e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ebp, [esi + 0x24]
lea ebx, [esi + 0x28]
mov dword [esi], 0x52ae5c
mov dword [esi + 0x2c], 0x52ae3c
mov dword [ebp], 0x52ae58
mov dword [ebx], 0x52ae40
mov dword [esi + 0x34], 0x52ae2c
mov dword [esi + 0x38], 0x52ae24
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push eax
mov dword [esp + 0x30], 7
call edi
mov ecx, dword [esi + 4]
push 0x65
push ecx
call edi
mov edx, dword [esi + 4]
push 0x66
push edx
call edi
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x50ce4f
call fcn.00514a60
mov ecx, dword [esi + 0x285c]
test ecx, ecx
je 0x50ce45
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x285c], 0
lea ecx, [esi + 0x28c8]
mov byte [esp + 0x28], 6
call fcn.004e75d0
lea ecx, [esi + 0x2860]
mov byte [esp + 0x28], 5
call fcn.0050b700
lea ecx, [esi + 0xf2c]
mov byte [esp + 0x28], 4
call fcn.004fecf0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x28], 3
call fcn.004fecf0
mov ecx, esi
lea eax, [esi + 0x2c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x28], 2
and ecx, eax
call fcn.00505fb0
mov ecx, esi
mov byte [esp + 0x28], 1
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.004ed500
mov ecx, esi
mov byte [esp + 0x28], 0
neg ecx
sbb ecx, ecx
and ecx, ebp
call fcn.004f84b0
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0050aec0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x510d85
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
lea edx, [esp + 0xc]
or ebx, 0xffffffff
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.005115e0
cmp dword [esp + 0xc], ebx
je 0x510e1f
mov eax, dword [esi + 0x2924]
test eax, eax
jne 0x510e0b
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x510e0b
cmp dword [esi + 0x2920], ebx
je 0x510e0b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x510e0b
mov eax, dword [esi + 0x2928]
test eax, eax
jne 0x510e79
push 1
mov ecx, esi
call fcn.00512f70
test eax, eax
je 0x510dff
mov dword [esi + 0x292c], 1
jmp 0x510e79
mov dword [esi + 0x292c], 0
jmp 0x510e79
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x510e79
mov edx, dword [ecx]
push 0
push 2
call dword [edx]
jmp 0x510e79
mov ecx, dword [esi + 0x2930]
test ecx, ecx
je 0x510e4c
cmp eax, 3
jne 0x510e4c
mov ecx, dword [esi + 0x284c]
mov dword [esi + 0x2930], 0
test ecx, ecx
je 0x510e79
mov eax, dword [ecx]
push 1
push 1
call dword [eax]
jmp 0x510e79
mov ecx, dword [esi + 0x284c]
test ecx, ecx
je 0x510e5e
mov edx, dword [ecx]
push 0
push 1
call dword [edx]
call fcn.00422720
mov eax, dword [eax + 4]
push 0
push 0x7534
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x2920], ebx
mov dword [esi + 0x2928], 0
pop esi
pop ebx
ret 4

Function at 0x510e94
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea edx, [esp + 8]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push edi
push edx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x292c], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.005115e0
push 1
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x510ede
mov dword [esi + 0x2924], 1
jmp 0x510ee8
mov dword [esi + 0x2924], 0
cmp edi, 3
jne 0x510efc
mov dword [esi + 0x2930], 1
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x2848]
cmp dword [eax], 0
je 0x510f16
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x2920], ecx
pop esi
ret 4
mov dword [esi + 0x2920], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x511ac0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edi, [esi + 0xf2c]
test edi, edi
je 0x511ae8
lea eax, [esi + 0xf30]
jmp 0x511aea
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x511ba4
mov edx, dword [esi + 0x2848]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x511b78
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test edi, edi
je 0x511b1c
lea edx, [esi + 0xf30]
jmp 0x511b1e
xor edx, edx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 1
sub ebx, ecx
mov edx, dword [edx + 4]
push ebx
mov ebx, dword [esi + 0x2be8]
push eax
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, ebx
sub ecx, eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
test edi, edi
pop ebx
je 0x511b64
lea eax, [esi + 0xf30]
push 5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push 5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
test edi, edi
je 0x511b97
mov ecx, dword [esi + 0xf34]
lea eax, [esi + 0xf30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x511bb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x2b9c]
xor eax, eax
test ecx, ecx
je 0x511bda
call fcn.00453180
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
lea esi, [edi + 0x3c]
sub edx, eax
test esi, esi
mov dword [esp + 0xc], edx
je 0x511bf0
lea eax, [edi + 0x40]
jmp 0x511bf2
xor eax, eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x511c96
mov eax, dword [edi + 0x2848]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x511c70
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test esi, esi
je 0x511c21
lea edx, [edi + 0x40]
jmp 0x511c23
xor edx, edx
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
push 1
sub ebx, ecx
push ebx
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [edx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test esi, esi
pop ebx
je 0x511c5c
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x40]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push 5
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
test esi, esi
je 0x511c89
lea eax, [edi + 0x40]
push 0
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
xor eax, eax
push eax
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret
Function at 0x517210
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.005174f0
test eax, eax
jne 0x517348
mov ecx, ebx
call fcn.005167b0
mov ecx, dword [ebx + 4]
push eax
call fcn.00513610
test eax, eax
jne 0x517348
mov ecx, dword [ebx + 4]
call fcn.00511d10
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x10
push 0x10
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
xor eax, eax
push esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, 0x10
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, ebx
call fcn.00516880
mov eax, dword [ebx + 0x64]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x5172be
lea eax, [ebx + 0x48]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x5172ca
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.005165e0
mov ecx, dword [esp + 0x18]
mov eax, dword [0x58f988]
add ecx, eax
mov eax, dword [esp + 0x20]
sub eax, ecx
push 0xcc0020
sub eax, 0x10
push 0
cdq
sub eax, edx
mov edx, dword [0x58f980]
sar eax, 1
add ecx, eax
push 0
push esi
push 0x10
lea eax, [ecx + 0x10]
push 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add eax, edx
push ecx
push eax
push edi
lea edx, [eax + 0x10]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebx + 4]
push edi
call fcn.00511d10
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x517a70
Capabilities:
Check if file exists
Create thread
Get common file path
Read .ini file

Disassembly:
sub esp, 0x61c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x14]
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x422]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov word [esp + 0x420], bx
push str.360seie6_mode
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x424]
push ecx
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x517b13
lea ecx, [esp + 0x10]
push str.360se360seie6.ini
lea edx, [esp + 0x21c]
push ecx
push edx
jmp 0x517b25
lea eax, [esp + 0x10]
push str.360se360se.ini
lea ecx, [esp + 0x21c]
push eax
push ecx
call esi
lea edx, [esp + 0x218]
push edx
push ebx
push str.NotJoinPrivate
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x517b98
push 0x1048
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x517b98
push 0x823
xor ecx, ecx
mov eax, 0x824
push edi
call fcn.00517990
add esp, 8
test eax, eax
je 0x517b98
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
push ebx
push edi
push 0x5177d0
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
je 0x517b98
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebx
add esp, 0x61c
ret

Function at 0x517cf0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc8
push esi
mov esi, ecx
push edi
push esi
push 0
push str.IeBC
push str.func
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
cmp edx, 9
jae 0x517d15
inc edx
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x539d34
lea eax, [esp + 0x10]
push 0x63
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push str.IeBC
push str.func
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0xc8
ret

Function at 0x517da0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc8
push esi
mov esi, ecx
push edi
push esi
push 0
push str.innerpage
push str.func
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
cmp edx, 5
jae 0x517dc5
inc edx
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x539d34
lea eax, [esp + 0x10]
push 0x63
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push str.innerpage
push str.func
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0xc8
ret
Function at 0x517f10
Capabilities:
Create thread

Disassembly:
sub esp, 0xd0
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push str.NotJoinPrivate
mov ebp, ecx
push str.option
mov dword [esp + 0x1c], 0
call fcn.0040e730
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x51802b
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x517f61
mov ecx, ebp
call fcn.005182a0
test eax, eax
jne 0x51802b
push 0x1048
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x51802b
mov edx, dword [esp + 0xe8]
mov ecx, 0x209
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
push 0x823
push ebx
push ecx
push edx
push eax
mov ecx, ebp
call fcn.005180b0
test eax, eax
je 0x51802b
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor edx, edx
add esp, 4
cmp esi, edx
je 0x51802b
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x63
push ecx
mov dword [esi], edx
mov dword [esi + 4], edx
push edx
mov ecx, ebp
mov dword [esi], ebx
stosw word es:[edi], ax
call fcn.00518040
lea edx, [esp + 0x18]
push edx
call fcn.00456840
mov ecx, eax
call fcn.00459840
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x517bd0
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x51802b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0x10
Function at 0x5180b0
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
mov esi, ecx
cmp dword [esp + 0x34], eax
je 0x51828c
cmp dword [esp + 0x38], eax
je 0x51828c
push ebx
push ebp
push edi
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
je 0x5181f2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5181f0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.IeBC
push str.func
call edi
push esi
push ebp
push 0x56bfd0
push str.func
mov ebx, eax
call edi
push esi
push ebp
push str.iknow
push str.inner
call edi
push esi
push 0
push str.innerpage
push str.func
mov ebp, eax
call edi
push esi
push 0
push str.notip
push str.inner
mov dword [esp + 0x38], eax
call edi
push esi
push 0
push str.openietipcloseie8dlg
push str.openie
mov dword [esp + 0x3c], eax
call edi
push esi
push 0
push str.OpenIeUseIE8
push str.openie
mov dword [esp + 0x34], eax
call edi
push esi
push 0
push str.OpenIeUseIE6
push str.openie
mov dword [esp + 0x2c], eax
call edi
push esi
push 0
push 0x56c098
push str.updateie
mov dword [esp + 0x30], eax
call edi
push esi
push 0
push str.UpdateNow
push str.updateie
mov dword [esp + 0x28], eax
call edi
push esi
push 0
push str.NoTip
push str.updateie
mov dword [esp + 0x24], eax
call edi
push esi
push 0
push str.Close
push str.updateie
mov dword [esp + 0x20], eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp edx, eax
jne 0x518209
cmp esi, eax
jne 0x518209
mov ecx, 1
jmp 0x518218
xor ecx, ecx
cmp edx, eax
je 0x518218
cmp esi, eax
jne 0x518218
mov eax, 1
mov esi, dword [esp + 0x3c]
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push ebp
push eax
push ecx
push 0
push ebx
call fcn.005187f0
push eax
call fcn.0049b4c0
push eax
call fcn.00451c70
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
dec edx
push str.http:__seapp.stat.360safe.com_q.html_namezdie8sever_sappver0mid_sc_d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_0_0_0
push edx
push eax
call fcn.0042dbd0
add esp, 0x58
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret 0x14
xor eax, eax
pop esi
add esp, 0x20
ret 0x14
Function at 0x518330
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x2dc
mov eax, 0x58fbc8
push ebx
push ebp
push esi
xor esi, esi
test eax, eax
push edi
je 0x5184d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5184d0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x7e]
mov word [esp + 0x7c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xe2]
mov word [esp + 0xe0], si
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x2f0]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x5184d0
mov ebp, dword [sym.imp.MSVCRT.dll_time]
mov esi, dword [sym.imp.MSVCRT.dll_gmtime]
xor ebx, ebx
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
sub eax, ebx
push edx
mov dword [esp + 0x18], eax
call esi
add esp, 8
test eax, eax
je 0x518419
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push str._d_02d_02d
lea ecx, [esp + 0x8c]
push 0x31
push ecx
call fcn.0042dbd0
add esp, 0x18
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
add eax, 0x15180
push edx
mov dword [esp + 0x14], eax
call esi
add esp, 4
test eax, eax
je 0x51845a
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
push str._d_02d_02d
lea ecx, [esp + 0x28]
push 0x31
push ecx
call fcn.0042dbd0
add esp, 0x18
lea edx, [esp + 0x18]
lea eax, [esp + 0x7c]
push edx
push eax
push 0x58fbc8
push str._sHistory.IE5MSHist01_s_s
lea ecx, [esp + 0xf0]
push 0x104
push ecx
call fcn.0042dc40
add esp, 0x18
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5184c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2f0]
inc eax
add ebx, 0x15180
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5183b9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2dc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2dc
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x518890
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x1054
call fcn.0051d1f0
lea eax, [esp]
push esi
push eax
xor esi, esi
push str.SoftwareIEStub
push SysReAllocStringLen
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x51899e
push ebx
push ebp
push edi
mov ecx, 0x411
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], si
rep stosd dword es:[edi], eax
mov ebp, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x24], 0x823
mov ebx, 1
call ebp
test eax, eax
jne 0x518977
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea ecx, [esp + 0x20]
push str.8CLSID
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x518945
push 0x12
lea edx, [esp + 0x20]
push str.8Internet_Explorer
push edx
call esi
add esp, 0xc
test eax, eax
je 0x518945
push 0x12
lea eax, [esp + 0x20]
push str.8Internet_Settings
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x518949
inc dword [esp + 0x18]
mov ecx, 0x412
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov eax, ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], 0x823
inc ebx
call ebp
test eax, eax
je 0x518906
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
cmp eax, 3
pop ebx
jne 0x51899e
push str.SoftwareIEStub
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
add esp, 0x1054
ret
Function at 0x519b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x5590f8
mov dword [ebp - 4], ecx
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp + 8], edi
je 0x519c7e
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push edi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov esi, eax
call ebx
add esp, 0x1c
test esi, esi
je 0x519c74
lea eax, [esi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x519c74
lea ecx, [esi + 1]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
push 1
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
je 0x519c68
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10c]
push 0x104
push ecx
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.00519a00
test eax, eax
je 0x519c68
lea edx, [ebp - 0x10c]
test edx, edx
jne 0x519c18
xor edi, edi
jmp 0x519c51
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0051d1f0
mov edi, esp
push esi
push edi
lea ecx, [ebp - 0x10c]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
dec edx
push 0x5394a4
push edx
push eax
call fcn.0042dc40
add esp, 0x10
push ebx
call fcn.0051d19a
mov edi, dword [ebp + 8]
add esp, 4
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea esp, [ebp - 0x118]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc