joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002bb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10040b7e
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebx, 1
xor edi, edi
test byte [0x100557e4], bl
mov esi, ecx
jne 0x1002bbf0
or dword [0x100557e4], ebx
mov dword [esp + 0x448], edi
call fcn.1002e100
mov dword [0x100557d4], eax
mov byte [eax + 0x2d], bl
mov eax, dword [0x100557d4]
mov dword [eax + 4], eax
mov eax, dword [0x100557d4]
mov dword [eax], eax
mov eax, dword [0x100557d4]
mov dword [eax + 8], eax
push 0x100465a0
mov dword [0x100557d8], edi
call fcn.1003f1e0
add esp, 4
mov dword [esp + 0x448], 0xffffffff
mov eax, dword [0x100557d4]
mov dword [esp + 0x18], eax
lea ebx, [ebp + 8]
lea eax, [esp + 0x1c]
call fcn.1002d1f0
mov ebx, eax
mov eax, dword [ebx]
cmp eax, edi
je 0x1002bc14
cmp eax, 0x100557d0
je 0x1002bc1a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
cmp dword [ebx + 4], ecx
je 0x1002bc32
lea edx, [ebp + 8]
call fcn.1002d0c0
mov ecx, esi
jmp 0x1002bcc5
push 0x40e
lea edx, [esp + 0x2a]
push edi
push edx
mov word [esp + 0x30], di
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1002bc85
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1002bc89
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002bc85
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x1002bccf
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1002bc90
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.100025e0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002bcb9
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp + 8]
call fcn.1002d0c0
mov ecx, eax
mov eax, esi
push 0xffffffffffffffff
push edi
call fcn.100020a0
mov al, 1
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.1003ec9d
mov esp, ebp
pop ebp
ret
Function at 0x1002cce0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x10040b18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
mov edi, ecx
xor ebp, ebp
push eax
lea ebx, [ebp + 1]
xor eax, eax
mov edx, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x25
call fcn.100022f0
push 0xffffffffffffffff
cmp eax, 0xffffffff
push ebp
mov eax, edi
jne 0x1002cd56
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
mov ecx, esi
mov word [esi + 4], bp
call fcn.100020a0
jmp 0x1002ce4b
mov ebx, 7
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.100020a0
mov dword [esp + 0x40], ebp
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
jb 0x1002cd84
mov eax, dword [eax]
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x1002cdc0
push 0xffffffffffffffff
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push ebp
mov eax, edi
mov ecx, esi
mov word [esi + 4], bp
call fcn.100020a0
cmp dword [esp + 0x30], 8
jb 0x1002ce4b
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x1002ce43
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003ec98
add esp, 4
cmp dword [edi + 0x18], 8
mov ebx, eax
mov eax, dword [esp + 0x10]
jb 0x1002cdea
mov eax, dword [eax]
mov edi, dword [esp + 0x14]
lea ecx, [edi + 1]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebp
jbe 0x1002ce12
cmp eax, edi
ja 0x1002ce12
lea edx, [esp + 0x18]
push edx
mov edx, ebx
mov word [ebx + eax*2], bp
call fcn.10001f60
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
push ebp
lea eax, [esp + 0x20]
mov ecx, esi
mov word [esi + 4], bp
call fcn.100020a0
cmp dword [esp + 0x30], 8
jb 0x1002ce4b
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x34
ret
Function at 0x10030a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10044afc
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x2d
mov edi, 7
push str._programfiles_Internet_Exploreriexplore.exe
lea esi, [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.100025e0
mov dword [esp + 0x84], 1
push 0x32
push str._programfiles_x86__Internet_Exploreriexplore.exe
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.100025e0
mov dword [esp + 0x84], 2
lea esi, [esp + 0x3c]
lea esp, [esp]
push esi
lea edi, [esp + 0x24]
call fcn.1003e050
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.100020a0
mov byte [esp + 0x84], 2
cmp dword [esp + 0x38], 8
jb 0x10030adc
mov eax, dword [esp + 0x24]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, esi
call fcn.10025440
test al, al
jne 0x10030b48
add ebx, 1
add esi, 0x1c
cmp ebx, 2
jb 0x10030aa0
push fcn.10001f30
push 2
xor eax, eax
push 0x1c
lea edx, [esp + 0x48]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], eax
mov word [ebp + 4], ax
push edx
mov dword [esp + 0x28], 1
mov byte [esp + 0x94], 0
call fcn.1003ed7e
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x74
ret 4
lea eax, [ebx*8]
sub eax, ebx
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
lea eax, [esp + eax*4 + 0x40]
push 0
mov ecx, ebp
mov word [ebp + 4], 0
call fcn.100020a0
push fcn.10001f30
push 2
push 0x1c
lea ecx, [esp + 0x48]
push ecx
jmp 0x10030b10
Function at 0x10030fd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100454ee
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x844], eax
push ebx
push ebp
push esi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x860], ebx
push ebx
push 0x10047a94
lea esi, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
call fcn.100025e0
cmp byte [esp + 0x884], bl
mov byte [esp + 0x860], 1
je 0x1003104e
mov eax, esi
push eax
call fcn.10031180
jmp 0x10031058
lea ecx, [esp + 0x30]
push ecx
call fcn.100313a0
add esp, 4
push 0x800
lea edx, [esp + 0x52]
push ebx
push edx
mov word [esp + 0x58], bx
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x40]
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x48], ebp
jae 0x10031086
lea ecx, [esp + 0x34]
cmp dword [esp + 0x880], ebp
mov eax, dword [esp + 0x86c]
jae 0x1003109d
lea eax, [esp + 0x86c]
push ecx
push 0x400
lea ecx, [esp + 0x54]
push ecx
push 0x10047a94
push eax
push str.GreenVersion
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100310d1
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x1c]
call fcn.100025e0
push 0xffffffffffffffff
push ebx
mov eax, esi
mov ecx, edi
mov byte [esp + 0x868], 2
call fcn.100020a0
cmp dword [esp + 0x2c], ebp
jb 0x10031116
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], ebp
jb 0x10031129
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x880], ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x10031153
mov edx, dword [esp + 0x86c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x844]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x854
ret
Function at 0x10032660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100453b6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 7
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov eax, edi
mov dword [esp + 0xb0], ebx
call fcn.10031f70
push eax
lea ecx, [esp + 0x8c]
call fcn.1002bb50
add esp, 4
test al, al
jne 0x100326e7
cmp dword [esp + 0xa0], 8
jmp 0x10032860
push 0x10
lea ecx, [esp + 0x8c]
call fcn.10024150
add esp, 4
mov al, 1
lea esi, [esp + 0x18]
call fcn.10032080
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x90]
mov byte [esp + 0xb8], 1
call fcn.100023d0
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x30], 8
jb 0x10032737
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebx
push 0x10047a94
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.100025e0
lea esi, [esp + 0x18]
mov byte [esp + 0xb0], 2
call fcn.1002c210
mov edi, eax
lea eax, [esp + 0x6c]
call fcn.100320b0
mov ebp, eax
lea esi, [esp + 0x50]
mov byte [esp + 0xb0], 4
call fcn.1002c210
push ebx
push ebx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x40]
push ecx
push eax
mov edx, edi
mov ecx, ebp
mov byte [esp + 0xc4], 5
call fcn.10031ad0
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x100327bb
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x84], esi
mov edi, 7
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x100327e3
mov eax, dword [esp + 0x70]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x30], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x10032809
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x10032829
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.1003a850
test al, al
je 0x10032859
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x10032849
lea eax, [esp + 0x8c]
push ebx
push ebx
push ebx
push eax
push str.startpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0xa0], esi
jb 0x10032872
mov eax, dword [esp + 0x8c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xa0
ret
Function at 0x100328a0
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10041660
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
lea eax, [ebx + 7]
mov dword [esp + 0x8c], ebx
call fcn.10031f70
push eax
lea ecx, [esp + 0x68]
call fcn.1002bb50
add esp, 4
test al, al
je 0x10032a29
push 0x10
lea ecx, [esp + 0x68]
call fcn.10024150
mov al, byte [esp + 0x98]
add esp, 4
lea esi, [esp + 0x10]
call fcn.10032080
push eax
lea eax, [esp + 0x68]
push eax
lea edi, [esp + 0x50]
mov byte [esp + 0x94], 1
call fcn.1001dd20
add esp, 8
mov esi, 8
mov byte [esp + 0x8c], 3
cmp dword [esp + 0x28], esi
jb 0x10032963
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
call fcn.1003a850
test al, al
je 0x1003299b
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x1003298b
lea eax, [esp + 0x4c]
push ebx
push ebx
push ebx
push eax
push str.startunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x100329a9
lea eax, [esp + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp byte [esp + 0x94], bl
mov ebx, 0x10049824
jne 0x100329c5
mov ebx, 0x10049e18
lea edx, [esp + 0x64]
push edx
lea esi, [esp + 0x30]
call fcn.1000a380
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 4
call fcn.100020a0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x10032a03
mov eax, dword [esp + 0x30]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x10032a11
lea eax, [esp + 0x4c]
push eax
call edi
cmp dword [esp + 0x60], esi
jb 0x10032a2e
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x10032a2e
mov esi, 8
cmp dword [esp + 0x7c], esi
jb 0x10032a41
mov edx, dword [esp + 0x68]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x80
ret 4
Function at 0x10033490
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x10044908
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, 7
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebp
mov word [esp + 0x6c], bp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
push 0x1a
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 1
call fcn.1002bb50
add esp, 4
test al, al
jne 0x10033546
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x10033522
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
jb 0x1003366d
mov ecx, dword [esp + 0x6c]
push ecx
jmp 0x10033665
lea edx, [esp + 0x30]
push edx
mov ebx, str.MicrosoftInternet_ExplorerQuick_Launch_
lea esi, [esp + 0x18]
call fcn.1000a380
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 2
call fcn.100020a0
mov ebx, 8
mov byte [esp + 0x90], 1
cmp dword [esp + 0x2c], ebx
jb 0x10033590
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x10
lea ecx, [esp + 0x6c]
call fcn.10024150
mov al, byte [esp + 0x9c]
add esp, 4
lea esi, [esp + 0x14]
call fcn.10032080
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edi, [esp + 0x54]
mov byte [esp + 0x98], 3
call fcn.1001dd20
add esp, 8
mov byte [esp + 0x90], 5
cmp dword [esp + 0x2c], ebx
jb 0x100335e3
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
call fcn.10025440
test al, al
je 0x10033617
cmp dword [esp + 0x64], ebx
mov eax, dword [esp + 0x50]
jae 0x10033610
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x64], ebx
jb 0x1003362a
mov eax, dword [esp + 0x50]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], bp
jb 0x1003364a
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
jb 0x1003366d
mov edx, dword [esp + 0x6c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x80
ret 4
Function at 0x100360e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10045848
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
call fcn.10030ef0
test al, al
jne 0x100362a6
push 0xe
xor edi, edi
mov ebx, 7
push str.video_ad_block
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.100025e0
mov dword [esp + 0x98], edi
push 0x15
push str.SOFTWARE2345Explorer
lea esi, [esp + 0x40]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
call fcn.100025e0
mov eax, esi
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 1
call fcn.100362d0
add esp, 4
mov ebp, 8
cmp dword [esp + 0x50], ebp
jb 0x1003619d
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
mov byte [esp + 0x98], 4
cmp dword [esp + 0x34], ebp
jb 0x100361c5
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x18]
push eax
push 0x2001f
push edi
push str.SOFTWARE2345Explorer
push 0x80000002
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036258
push edi
push 0x10047a94
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edi
mov word [esp + 0x60], di
call fcn.100025e0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
add eax, eax
cmp dword [esp + 0x6c], ebp
jae 0x10036225
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 1
push edi
push str.video_ad_block
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x6c], ebp
jb 0x10036258
mov eax, dword [esp + 0x58]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x84]
push 0x1004a210
mov edi, 1
lea ecx, [esp + 0x74]
call fcn.100098d0
test eax, eax
jne 0x10036290
cmp dword [esp + 0x88], ebp
jb 0x1003628c
mov ecx, dword [esp + 0x74]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x100362a8
cmp dword [esp + 0x88], ebp
jb 0x100362a6
mov edx, dword [esp + 0x74]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x88
ret
Function at 0x100362d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10040a82
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov eax, dword [esp + 0x438]
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x20], esi
mov ebx, edx
mov word [esi + 4], di
mov dword [esp + 0x430], edi
cmp dword [eax + 0x18], 8
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edi
jb 0x1003634b
mov eax, dword [eax + 4]
jmp 0x1003634e
add eax, 4
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036405
push 0x3fe
lea edx, [esp + 0x2a]
push edi
push edx
mov word [esp + 0x30], di
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebx + 0x18], 8
mov dword [esp + 0x14], 0x3fe
mov dword [esp + 0x1c], 1
jb 0x100363a0
mov ebx, dword [ebx + 4]
jmp 0x100363a3
add ebx, 4
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100363fa
mov eax, dword [esp + 0x14]
cmp eax, 0x200
jae 0x100363d3
mov word [esp + eax*2 + 0x24], di
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100363e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.100025e0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x424
ret

Function at 0x10036430
Capabilities:
Set registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWARE2345Explorer
push 0x80000002
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100364d5
push esi
push 1
push 0x1004a210
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
call fcn.100025e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov esi, 8
add eax, eax
cmp dword [esp + 0x20], esi
jae 0x100364a0
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0xc]
push 1
push 0
push str.Value2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x20], esi
pop esi
jb 0x100364d5
mov eax, dword [esp + 8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x24
ret