joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016c9
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.010016b0
xor esi, esi
jmp 0x1001701
cmp ax, 0x20
jne 0x10016ef
inc ebx
inc ebx
jmp 0x1001703
cmp ax, 0x2d
je 0x10016fb
cmp ax, 0x2f
jne 0x100170d
push ebx
call fcn.010016b0
mov ebx, eax
mov ax, word [ebx]
cmp ax, si
jne 0x10016e5
jmp 0x1001716
push ebx
call fcn.010016b0
mov word [eax], si
push 0x100116c
lea eax, [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [ebp - 0x25c], si
mov ecx, 0x81
lea edi, [ebp - 0x25a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x104
push edi
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
je 0x1001899
cmp eax, edi
ja 0x1001899
add eax, eax
cmp word [ebp + eax - 0x25e], 0x5c
je 0x1001782
mov word [ebp + eax - 0x25c], 0x5c
mov word [ebp + eax - 0x25a], si
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1001184
lea eax, [ebp - 0x25c]
push eax
call esi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push edi
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10017ca
lea eax, [ebp - 0x25c]
push eax
push 0x64
call fcn.010014f7
pop ecx
jmp 0x10018a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x698]
push eax
call esi
cmp word [ebx], di
je 0x10017fe
push 0x10011a0
lea eax, [ebp - 0x698]
push eax
call esi
push ebx
lea eax, [ebp - 0x698]
push eax
call esi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
lea ecx, [ebp - 0x698]
push ecx
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001866
push 0x1f4
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x10018a1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1001876
call esi
jmp 0x1001882
call esi
and eax, 0xffff
or eax, 0x80070000
push 0x67
push eax
push 0xd0
push 0x10011b8
call fcn.01001535
add esp, 0x10
jmp 0x10018a1
push 0x66
call fcn.010014f7
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10018a8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10011d0
call fcn.01001a50
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10018e3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10018e3
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10018fb
cmp eax, 0x20b
je 0x10018e8
mov dword [ebp - 0x1c], edi
jmp 0x100190f
cmp dword [ecx + 0x84], 0xe
jbe 0x10018e3
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1001909
cmp dword [ecx + 0x74], 0xe
jbe 0x10018e3
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002018], 0xffffffff
or dword [0x100201c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002014]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002020], eax
call fcn.01001a4c
cmp dword [section..data], edi
jne 0x100196a
push fcn.01001a4c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001a3a
push 0x10010d8
push 0x10010d4
call sub.msvcrt.dll__initterm
mov eax, dword [0x100200c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002008]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10010d0
push 0x10010cc
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010016c9
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x10019e1
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001a16
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001a89
ret
Function at 0x401295
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, 0x3ff
push ebx
mov esi, 0x6b3028
push esi
push 0x619424
call edi
test eax, eax
je 0x401323
push str.jemalloc
push esi
call fcn.00412f09
pop ecx
pop ecx
test eax, eax
jne 0x4012d2
mov dword [0x6b7fe4], 1
jmp 0x401323
push str.winheap
push esi
call fcn.00412f09
pop ecx
pop ecx
test eax, eax
jne 0x4012ef
mov dword [0x6b7fe4], 2
jmp 0x401323
push str.winlfh
push esi
call fcn.00412f09
pop ecx
pop ecx
test eax, eax
jne 0x40130c
mov dword [0x6b7fe4], 3
jmp 0x401323
push str.tcmalloc
push esi
call fcn.00412f09
pop ecx
pop ecx
test eax, eax
jne 0x401323
and dword [0x6b7fe4], eax
mov eax, dword [0x6b7fe4]
dec eax
je 0x4013a1
dec eax
je 0x401390
dec eax
push 1
je 0x401392
call fcn.004013b3
pop ecx
test eax, eax
je 0x401343
push eax
call fcn.00403709
push ebx
push esi
push str.CHROME_PROFILER_TIME
call edi
test eax, eax
je 0x40136d
cmp byte [0x6b3028], 0x31
jne 0x40136d
mov dword [0x6b7cc8], 0x571d2a
mov dword [0x6b7ccc], 1
xor eax, eax
mov dword [0x6bc948], 0x56ce23
mov dword [0x6bc94c], 0x56ce96
mov dword [0x6bc950], 0x56cead
inc eax
jmp 0x4013af
push 0
call fcn.0056cd68
pop ecx
xor ecx, ecx
test al, al
setne cl
jmp 0x4013ad
call fcn.00570ed9
xor ecx, ecx
test al, al
sete cl
mov eax, ecx
pop edi
pop esi
pop ebx
ret

Function at 0x401ec0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6ce050]
sub esp, 0x28
test eax, eax
jne 0x401ee1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x24]
mov dword [0x6ce050], eax
and dword [ebp - 4], 0
cmp eax, 0x20000
jae 0x401f0a
lea ecx, [ebp - 4]
push ecx
push 0x102
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401f0a
mov eax, dword [0x6ce050]
leave
ret
xor eax, eax
leave
ret
Function at 0x403709
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6b7fec]
inc dword [0x6b7fec]
test eax, eax
jne 0x4037ff
push esi
push edi
xor edi, edi
cmp dword [0x6b7fe8], edi
je 0x403735
push 1
call fcn.0056cd10
pop ecx
jmp 0x40373d
xor eax, eax
inc eax
call fcn.00401446
mov esi, eax
push 1
push esi
call fcn.00403806
push esi
call fcn.00403afe
push esi
call fcn.00403b21
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, 0x4a3589
mov edx, ecx
test edx, edx
je 0x403772
mov dword [0x6b4678], ecx
mov dword [0x6b467c], eax
cmp eax, 0xffffffff
je 0x40377e
mov dword [0x6b4664], eax
jmp 0x403784
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [0x6b8120], 1
cmp dword [0x6b7fe8], edi
je 0x40379d
push 1
call fcn.0056cd10
pop ecx
jmp 0x4037a5
xor eax, eax
inc eax
call fcn.00401446
mov esi, eax
push 1
push esi
call fcn.00403806
push esi
call fcn.00403afe
push esi
call fcn.00403b21
add esp, 0x10
call fcn.00403f3f
test eax, eax
jne 0x4037fd
push 8
call fcn.004013b3
pop ecx
cmp eax, edi
je 0x4037de
mov dword [eax + 4], edi
mov dword [eax], 0x63a980
mov edi, eax
push 0x403fd0
mov esi, 0x6bc138
call fcn.004038ad
pop ecx
call fcn.00403f3f
test eax, eax
jne 0x4037fd
mov dword [0x6bc13c], edi
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebp
ret 4

Function at 0x403f54
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x31
pop eax
push 0x62
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push 0
push eax
call fcn.00402394
add esp, 0xc
push 0x64
lea eax, [ebp - 0x68]
push eax
push str.RUNNING_ON_VALGRIND
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jle 0x403fb3
push esi
push edi
push 2
pop ecx
mov edi, 0x63abc0
lea esi, [ebp - 0x68]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
je 0x403faa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403fb3
xor eax, eax
inc eax
jmp 0x403fb5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
leave
ret

Function at 0x403fc1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x403fcb
repz ret
jmp fcn.005e8cdd
Function at 0x40929e
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6d10a8], 0
jne 0x4093a1
mov byte [0x6d10a8], 1
call fcn.00403f3f
test eax, eax
je 0x4092ee
push 0x64
call fcn.0057244e
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
fild qword [ebp - 0x128]
pop ecx
fstp qword [0x6c5ae8]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
mov dword [ebp - 0x124], 4
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x409366
cmp dword [ebp - 0x108], 2
jne 0x409366
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
push str.MHz
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
js 0x409366
mov eax, dword [ebp - 0x12c]
mov ecx, 0xf4240
mul ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
fild qword [ebp - 0x120]
jmp 0x409383
push 0x1f4
call fcn.0057244e
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
fild qword [ebp - 0x120]
pop ecx
lea eax, [ebp - 0x150]
fstp qword [0x6c5ae8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x13c]
mov dword [0x6c569c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
leave
ret
Function at 0x409491
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609142
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [0x6c5628], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp - 0x98]
push 0x40
push eax
call fcn.00409645
add esp, 0x14
lea edx, [ebp - 0x98]
push edx
push 1
xor ecx, ecx
push ebx
mov word [ebp - 0x18], cx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x9c], edi
cmp edi, ebx
je 0x4095ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40952a
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], ebx
call fcn.0040a6b8
cmp eax, ebx
je 0x409540
mov dword [0x6c5628], eax
jmp 0x4095cd
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp eax, ebx
je 0x40955b
push 0x5c0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0xa8], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x409572
push edi
push esi
call fcn.0040a74e
jmp 0x409574
xor eax, eax
mov byte [ebp - 4], bl
mov dword [0x6c5628], eax
cmp eax, ebx
jne 0x40959b
push 0x63d110
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 1
call fcn.005f7205
push eax
mov esi, 1
call fcn.0040a7fe
add esp, 4
cmp eax, ebx
jne 0x4095c8
push 0x63d110
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 3
call fcn.005f7205
mov eax, dword [0x6c5628]
inc dword [eax + 0x5bc]
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, ebx
jne 0x4095ec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x6c5628
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret

Function at 0x40a74e
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607fd7
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00402394
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [ebp - 4], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x40a7e4
push 0x63d110
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 2
call fcn.005f7205
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40b62b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [0x6b6b8c], edi
jne 0x40b65e
call fcn.0040b783
push 0x7d0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea esi, [esp + 0x2c]
call fcn.0040d9dd
mov eax, dword [0x6b6b90]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x14]
mov dword [0x6b6b90], eax
mov eax, dword [0x6b6b8c]
cmp dword [eax + 0x18], edi
jne 0x40b760
xor eax, eax
push 0x208
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push edi
push eax
call fcn.00402394
add esp, 0xc
push edi
push 0x1a
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40b714
lea eax, [esp + 0x48]
push eax
call fcn.005e84ad
lea eax, [esp + 0x4c]
pop ecx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b6d6
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x40b714
lea eax, [esp + 0x48]
push str.system32config_systemprofile
push eax
call fcn.005e8146
pop ecx
pop ecx
test eax, eax
jne 0x40b714
lea eax, [esp + 0x48]
push str.localservice_application_data
push eax
call fcn.005e8146
pop ecx
pop ecx
test eax, eax
je 0x40b760
call fcn.004afd5d
test al, al
je 0x40b760
cmp dword [0x6b6b90], edi
je 0x40b733
call fcn.004b82a0
mov eax, dword [esp + 0x44]
mov dword [0x6b6b90], eax
lea eax, [esp + 0x2c]
call fcn.004b83ed
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x25c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.0040da32
pop ecx
mov esi, eax
cmp dword [0x6b6b90], edi
je 0x40b77f
call fcn.004b82a0
mov eax, dword [esp + 0x44]
mov dword [0x6b6b90], eax
mov edi, esi
jmp 0x40b733

Function at 0x40c11a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x24], esi
xor eax, eax
mov word [ebp - 0x20], ax
push edi
lea eax, [ebp - 0x20]
push eax
mov edi, edx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], esi
call fcn.0040c199
pop ecx
cmp dword [ebp - 0x10], esi
je 0x40c17f
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
jae 0x40c161
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
push esi
push dword [ebp - 0x24]
push edi
call fcn.0040c678
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.0040bad4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403fc1
leave
ret
Function at 0x4107d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 8
jb 0x4107e0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4107f3
shr eax, 4
and eax, 1
ret
xor al, al
ret

Function at 0x410b78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 8
jb 0x410b80
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret
Function at 0x4113ca
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x41141c
xor eax, eax
jmp 0x41143a
lea ecx, [esp + 8]
push ecx
push edi
mov dword [esp + 0x10], ebx
call eax
test eax, eax
jne 0x411431
push 2
pop eax
jmp 0x41143a
xor eax, eax
cmp dword [esp + 8], ebx
setne al
mov dword [esi + 0x24], eax
push 0x118
lea eax, [esp + 0x38]
push ebx
mov dword [esi + 0x3c], 0xf
mov dword [esi + 0x38], ebx
mov byte [esi + 0x28], bl
push eax
mov dword [esp + 0x3c], 0x11c
call fcn.00402394
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 5
pop edi
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
cmp eax, edi
jne 0x41149d
cmp edx, ebx
jle 0x4114dd
xor eax, eax
cmp edx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x4114dd
push 6
pop ecx
cmp eax, ecx
jne 0x4114c6
sub edx, ebx
je 0x4114be
dec edx
je 0x4114b6
dec edx
je 0x4114b2
mov dword [esi], ecx
jmp 0x4114dd
mov dword [esi], edi
jmp 0x4114dd
mov dword [esi], 4
jmp 0x4114dd
mov dword [esi], 3
jmp 0x4114dd
cmp eax, 0xa
jne 0x4114d3
mov dword [esi], 7
jmp 0x4114dd
cmp eax, ecx
jle 0x4114dd
mov dword [esi], 8
movzx eax, word [esp + 0x144]
mov dword [esi + 0x10], eax
movzx eax, word [esp + 0x146]
push 8
mov dword [esi + 0x14], eax
pop ecx
xor eax, eax
mov dword [esp + 0xc], ebx
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0xc]
cmp eax, ebx
je 0x411532
cmp eax, 6
je 0x411529
cmp eax, 9
jne 0x411535
mov dword [esi + 0x18], 1
jmp 0x411535
mov dword [esi + 0x18], 2
jmp 0x411535
mov dword [esi + 0x18], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x154]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
pop edi
pop ebx
mov dword [esi + 0x20], eax
xor ecx, esp
mov eax, esi
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x411714
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x50], eax
and dword [esp + 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 8
push esi
push edi
jb 0x41173d
mov eax, dword [ebx]
jmp 0x41173f
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [0x6b6b8c]
and dword [esp + 0x34], 0
push 4
mov edi, str.type
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
call fcn.0040f910
lea eax, [esp + 0x24]
push eax
call fcn.0040f9c2
mov esi, str.chrome_child.dll
test al, al
jne 0x41178b
mov esi, 0x631948
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.0040d17d
push esi
push ebx
call fcn.0040d6fd
push ebx
call fcn.00411b1b
lea esi, [esp + 0x44]
mov dword [esp], str.Software360360se6Chrome
call fcn.0040beca
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x4117c2
mov eax, esi
push 0x20019
push eax
push 0x80000001
lea esi, [esp + 0x28]
call fcn.0041071a
xor esi, esi
cmp dword [esp + 0x1c], esi
je 0x41186c
push str.nosign_sygyzy
lea eax, [esp + 0x20]
push eax
call fcn.0041083b
test al, al
jne 0x41186c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], esi
jne 0x411839
push 4
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.0040f910
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x18], 1
call fcn.0040f9c2
mov byte [esp + 0x13], 1
test al, al
je 0x41183e
mov byte [esp + 0x13], 0
test byte [esp + 0x14], 1
je 0x411852
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.0040d17d
cmp byte [esp + 0x13], 0
je 0x41186c
cmp dword [ebx + 0x14], 8
jb 0x411863
mov eax, dword [ebx]
jmp 0x411865
mov eax, ebx
push eax
call fcn.004b7e02
pop ecx
cmp dword [ebx + 0x14], 8
jb 0x411874
mov ebx, dword [ebx]
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea esi, [esp + 0x1c]
mov ebx, eax
call fcn.004107f6
push 1
xor edi, edi
lea esi, [esp + 0x44]
call fcn.0040bad4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x41200d
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
jb 0x412035
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
jmp 0x412039
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
test eax, eax
jne 0x41204e
and dword [esp + 0x10], eax
jmp 0x41205e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412051
sub eax, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
call fcn.0040fffd
cmp dword [eax + 0x14], 8
jb 0x412075
mov esi, dword [eax]
jmp 0x412077
mov esi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
call fcn.0040fffd
cmp dword [eax + 0x14], 8
jb 0x41208c
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
setne bl
push 1
xor edi, edi
lea esi, [esp + 0x20]
call fcn.0040bad4
push 1
lea esi, [esp + 0x3c]
call fcn.0040bad4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 4