joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9d14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x60], esi
cmp dword [esi + 0x184], ebx
jne 0x4a9d3d
xor al, al
jmp 0x4a9e69
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
call fcn.004aa67f
push str.SoftwareTheWorld6Crash
lea esi, [ebp - 0x3c]
call fcn.0040bead
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], ebx
jae 0x4a9d71
mov eax, esi
lea ecx, [ebp - 0x5c]
push ecx
mov edi, 0x20006
push edi
push ebx
push eax
mov esi, 0x80000001
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x5c], ebx
jne 0x4a9dd2
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], ebx
jae 0x4a9d9d
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x5c], ebx
jne 0x4a9dd2
push 1
xor edi, edi
lea esi, [ebp - 0x3c]
call fcn.0040bab7
push 1
lea esi, [ebp - 0x20]
call fcn.0040bab7
jmp 0x4a9d36
mov edi, dword [ebp - 0x60]
push 2
add edi, 0x174
push 0x6519a0
call fcn.00415677
mov esi, eax
lea eax, [ebp - 0x60]
push eax
or ecx, 0xffffffff
mov dword [ebp - 0x60], 0x2e
call fcn.00439774
sub eax, esi
dec eax
push eax
inc esi
push esi
push edi
lea esi, [ebp - 0x58]
call fcn.0040c33e
cmp dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0x20]
jae 0x4a9e17
lea ecx, [ebp - 0x20]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4a9e23
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x10]
add edx, edx
push edx
push ecx
push 3
push ebx
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
xor edi, edi
lea esi, [ebp - 0x58]
call fcn.0040bab7
push 1
lea esi, [ebp - 0x3c]
call fcn.0040bab7
push 1
lea esi, [ebp - 0x20]
call fcn.0040bab7
cmp dword [ebp - 0x60], ebx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4a9e78
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x6dd1a8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
jne 0x4aa08c
push str.SoftwareTheWorld6
lea esi, [ebp - 0x230]
mov byte [0x6dd1a8], 1
call fcn.0040bead
mov eax, dword [ebp - 0x230]
xor esi, esi
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x368], esi
jae 0x4a9ed2
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x368]
push ecx
push 0x20019
push esi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x368], esi
je 0x4a9f4e
push 4
pop eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x370]
push eax
push esi
push str.usagestats
push dword [ebp - 0x368]
mov dword [ebp - 0x36c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a9f42
cmp dword [ebp - 0x36c], esi
seta al
mov byte [ebx + 0xe4], al
push dword [ebp - 0x368]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.TheWorld6
lea eax, [ebx + 4]
push eax
call fcn.0040bed1
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push esi
push eax
call fcn.00402394
add esp, 0xc
lea ecx, [ebp - 0x214]
call fcn.004aa44e
lea eax, [ebp - 0x214]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.0040bed1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebx + 0xc8]
push eax
call fcn.0040bed1
lea ecx, [ebp - 0x24c]
call fcn.004aa4b3
push eax
lea eax, [ebx + 0x74]
call fcn.0040ba5b
push 1
xor edi, edi
lea esi, [ebp - 0x24c]
call fcn.0040bab7
mov esi, 0x114
push esi
lea eax, [ebp - 0x364]
push edi
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x364]
push eax
mov dword [ebp - 0x364], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4aa03a
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x358]
lea eax, [ebp - 0x214]
push dword [ebp - 0x35c]
push dword [ebp - 0x360]
push str._d._d._d__s
push 0x103
push eax
call fcn.00409627
add esp, 0x1c
lea eax, [ebp - 0x214]
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.0040bed1
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call fcn.004aa2e6
lea eax, [ebp - 0x214]
push eax
lea eax, [ebx + 0x58]
push eax
call fcn.0040bed1
push str.TheWorld6
add ebx, 0xac
push ebx
call fcn.0040bed1
push 1
xor edi, edi
lea esi, [ebp - 0x230]
call fcn.0040bab7
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 4
Function at 0x4aa2e6
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0xa18], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00402394
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4aa33e
push esi
push 0x10
pop ecx
push 0x104
push dword [ebp - 0xa18]
mov esi, 0x650ec0
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x20c]
call fcn.004aa587
mov byte [ebp - 0xa0d], al
pop esi
cmp al, bl
jne 0x4aa438
lea eax, [ebp - 0xa14]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 0xa14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0xa14], ebx
je 0x4aa438
xor eax, eax
push 0x7fe
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push ebx
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa20]
push eax
push ebx
push str.Version
push dword [ebp - 0xa14]
mov dword [ebp - 0xa1c], 0x800
mov dword [ebp - 0xa20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa42c
lea eax, [ebp - 0xa0c]
push eax
push 0x640018
push 0x103
push dword [ebp - 0xa18]
call fcn.00409627
add esp, 0x10
mov byte [ebp - 0xa0d], 1
push dword [ebp - 0xa14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xa0d]
pop edi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 4

Function at 0x4aa4b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.0.0.0.0
call fcn.0040bead
lea eax, [ebp - 0x80c]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREMacromediaFlashPlayer
push 0x80000002
mov dword [ebp - 0x80c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x80c], edi
je 0x4aa577
xor eax, eax
push 0x7fe
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push edi
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x814]
push eax
push edi
push str.CurrentVersion
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], 0x800
mov dword [ebp - 0x814], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aa56b
lea eax, [ebp - 0x808]
push eax
push esi
call fcn.0040bed1
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00403fc1
leave
ret
Function at 0x4aa587
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x4010], eax
xor eax, eax
push 0x3ffe
mov word [ebp - 0x4004], ax
xor esi, esi
lea eax, [ebp - 0x4002]
push esi
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x4014]
push eax
push edi
mov dword [ebp - 0x4014], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
cmp eax, esi
je 0x4aa66d
cmp eax, 0x3fff
ja 0x4aa66d
lea ecx, [ebp - 0x4004]
push ecx
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4aa66d
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x62d6d4
lea eax, [ebp - 0x4004]
push eax
mov dword [ebp - 0x4008], esi
mov dword [ebp - 0x400c], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4aa66d
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
mov esi, dword [ebp - 0x4010]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push esi
push ebx
call fcn.00409627
add esp, 0x1c
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov al, 1
jmp 0x4aa66f
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 8

Function at 0x4aaae1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
push eax
push 0x80000001
lea esi, [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x28], ecx
xor ebx, ebx
call fcn.004106f5
cmp dword [ebp - 0x30], ebx
je 0x4aab7d
push edi
lea esi, [ebp - 0x24]
call fcn.0040bead
push str.new_360se.exe
mov eax, esi
push eax
call fcn.0040d6e0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4aab34
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aab58
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x6207fc
call fcn.004b2897
test eax, eax
jne 0x4aab58
mov bl, 1
jmp 0x4aab71
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x6208dc
call fcn.004b2897
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push 1
xor edi, edi
lea esi, [ebp - 0x24]
call fcn.0040bab7
lea esi, [ebp - 0x30]
call fcn.00410999
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4aaf96
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4aaffb
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4aaff2
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret

Function at 0x4ab5c9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00402394
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4ab625
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x264]
call fcn.0040bead
lea edi, [ebp - 0x298]
call fcn.0040b7ce
mov ecx, esi
mov edx, edi
call fcn.0040c0fd
push 0x18
push str.notify_relaunch_4_update
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
call fcn.0040f8cd
mov eax, edi
push eax
lea ecx, [ebp - 0x22c]
call fcn.004b3884
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x22c]
call fcn.0040d0a1
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004b361f
push 0x40
lea eax, [ebp - 0x2dc]
push ebx
push eax
call fcn.00402394
add esp, 0xc
cmp dword [ebp - 0x234], 8
push 5
pop eax
mov word [ebp - 0x2b0], ax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x2e0], 0x44
mov dword [ebp - 0x2b4], edi
jae 0x4ab6e5
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x2e0]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4ab73e
push edi
xor edi, edi
lea esi, [ebp - 0x248]
call fcn.0040bab7
lea eax, [ebp - 0x288]
call fcn.004a8bc3
lea eax, [ebp - 0x298]
push eax
call fcn.0040c870
push 1
lea esi, [ebp - 0x264]
call fcn.0040bab7
mov eax, ebx
jmp 0x4ab616
push dword [ebp - 0x270]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x274]
call esi
mov ebx, edi
jmp 0x4ab705
Function at 0x4aca9b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4aca71
push esi
push esi
mov dword [ebp - 0x10], str.Q360SafeMonClass
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
cmp edi, esi
je 0x4acae5
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x4ae47e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ae4d5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4ae4c7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4ae4c3
cmp edi, eax
jae 0x4ae4c7
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4ae4b5
cmp edi, eax
jb 0x4ae4cb
xor eax, eax
jmp 0x4ae4d4
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4b1036
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x24], 0
jne 0x4b1062
mov dword [ebp - 0x24], 0x1000
mov ecx, dword [ebp + 8]
lea ecx, [esi + ecx - 1]
mov eax, esi
cmp esi, ecx
jae 0x4b1078
mov dl, byte [eax]
add eax, dword [ebp - 0x24]
cmp eax, ecx
jb 0x4b106f
mov al, byte [ecx]
pop edi
leave
ret

Function at 0x4b118a
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x68ee60
call fcn.0040123c
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x4b11f2
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x4b11f2
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x4b11f2
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4b11f2
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4b11fb
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.00401281
ret
Function at 0x4b1201
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6a1b70], eax
je 0x4b1220
mov eax, 0x10dd
jmp 0x4b12ba
mov esi, dword [0x6a1b80]
test esi, esi
je 0x4b127c
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], 0
jne 0x4b126d
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x4b126d
push 8
xor eax, eax
mov edx, ebx
and edx, 0xffff0000
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 8]
mov dword [ebx + 0x18], eax
mov dword [edx + 8], ebx
and dword [esi + 0x10], 0
mov edi, dword [esi]
push esi
call fcn.00404e46
pop ecx
mov esi, edi
test edi, edi
jne 0x4b122a
and dword [0x6a1b80], 0
call fcn.0041a79a
mov esi, dword [0x6a1b7c]
test esi, esi
je 0x4b12aa
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.00404e46
pop ecx
mov esi, edi
test edi, edi
jne 0x4b1292
and dword [0x6a1b7c], 0
and dword [0x6a1b70], 0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b2897
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x100c], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea edx, [ebp - 0x100c]
push edx
lea edx, [ebp - 0x808]
push edx
lea edx, [ebp - 0x1010]
push edx
push 0
push ecx
push dword [eax]
xor esi, esi
inc esi
mov dword [ebp - 0x1010], esi
mov dword [ebp - 0x100c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4b2953
cmp dword [ebp - 0x1010], esi
jne 0x4b290e
lea eax, [ebp - 0x808]
push eax
push ebx
call fcn.0040bed1
jmp 0x4b2953
cmp dword [ebp - 0x1010], 2
jne 0x4b294e
mov esi, 0x400
push esi
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x4b2947
cmp eax, esi
ja 0x4b2947
lea eax, [ebp - 0x1008]
jmp 0x4b2905
mov edi, 0xea
jmp 0x4b2953
mov edi, 0x3f4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 8

Function at 0x4b29c5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi]
xor edx, edx
sub esp, 0xc
cmp ecx, edx
je 0x4b2a02
mov eax, dword [esi + 4]
cmp eax, edx
jl 0x4b2a02
push edi
lea edi, [ebp - 0xc]
push edi
push edx
push edx
push edx
lea edx, [ebp - 4]
push edx
lea edx, [esi + 8]
push edx
push eax
push ecx
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
pop edi
test eax, eax
jne 0x4b2a02
mov al, 1
leave
ret
xor eax, eax
mov word [esi + 8], ax
xor al, al
leave
ret
Function at 0x4b3ace
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
push str.360se6_new
push 0x28
pop eax
mov edi, esi
call fcn.0040fec7
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea edi, [esi + 0xb4]
mov eax, 0x500
call fcn.0040fec7
mov dword [esp], 0x104
xor eax, eax
lea ebx, [esi + 0x5b80]
push ebx
lea edi, [esi + 0x50]
push eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push ebx
push 0x32
pop edi
mov eax, esi
call fcn.004b3c51
test eax, eax
jne 0x4b3b3a
mov eax, edi
push str.0.0.0.0
lea edi, [esi + 0x50]
call fcn.0040fec7
pop ecx
mov eax, esi
call fcn.004b3dd2
push esi
call fcn.004b3d5b
mov eax, esi
call fcn.004b3cde
push esi
call fcn.004b3e45
xor eax, eax
push eax
push 0x104
mov word [ebx], ax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00419a6f
add esp, 0x1c
cmp dword [ebp - 4], 0
je 0x4b3ba1
push ebx
push dword [ebp - 8]
lea eax, [esi + 0xab4]
push dword [ebp - 0xc]
push dword [ebp - 4]
push str._d._d._d__s
push 0x103
push eax
call fcn.00409627
add esp, 0x1c
lea edi, [esi + 0x5d88]
push edi
mov byte [edi], 0
call fcn.004bd8a2
cmp byte [edi], 0
pop ecx
jne 0x4b3bcc
push str.empty_na
push 0x23
lea edi, [esi + 0xd84]
pop eax
call fcn.0040fec7
pop ecx
jmp 0x4b3bde
push 0x23
lea eax, [esi + 0xd84]
push eax
push edi
call fcn.004b3a5c
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.004b3f50
push dword [ebp + 0xc]
push esi
call fcn.004b4089
pop edi
pop ebx
leave
ret 8

Function at 0x4b3c51
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea esi, [eax + 0x1b80]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x4b3cd6
cmp eax, 0x3fff
ja 0x4b3cd6
push esi
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4b3cd6
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x62d6d4
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4b3cd6
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push edi
push ebx
call fcn.00409627
xor eax, eax
add esp, 0x1c
mov word [ebx + edi*2 - 2], ax
inc eax
jmp 0x4b3cd8
xor eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x4b3d5b
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
push eax
push 0x26
lea esi, [ebx + 0x5b80]
push esi
push eax
mov word [esi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x32
pop edi
lea eax, [ebx + 0xcbc]
push eax
mov dword [ebp - 4], eax
push esi
mov eax, ebx
mov dword [ebp + 8], edi
call fcn.004b3c51
pop edi
pop esi
pop ebx
test eax, eax
jne 0x4b3dce
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
leave
ret 4

Function at 0x4b4089
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x104
push edi
lea esi, [ebx + 0xe7c]
xor eax, eax
push esi
push eax
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str...User_Data
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b40e5
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_Data
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.tcdump
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b4104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x2710
push 1
call fcn.004bc871
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push str._scrashinfo__d__d.dat
lea eax, [ebx + 0x128c]
push edi
push eax
call fcn.00419d0c
push esi
push str._sStandaloneCrashInfo
lea eax, [ebx + 0x1494]
push edi
push eax
call fcn.00419d0c
add esp, 0x28
cmp byte [ebp + 0xc], 0
je 0x4b4166
lea edi, [ebx + 0x1084]
add ebx, 0xe10
push ebx
push esi
push str._s_secrash__s.dmp
push 0xffffffffffffffff
push edi
call fcn.00419d0c
jmp 0x4b4186
lea eax, [ebx + 0x1084]
add ebx, 0xe10
push ebx
push esi
push str._sMinorError__s.dmp
push edi
push eax
mov dword [ebp + 0xc], eax
call fcn.00419d0c
mov edi, dword [ebp + 0xc]
add esp, 0x14
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b419b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
pop ebp
ret 8