joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154ed
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00402394
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x248]
call fcn.0040bead
xor ebx, ebx
inc ebx
push ebx
push 0x62d6d4
mov edi, esi
call fcn.00415677
cmp eax, 0xffffffff
jne 0x41557b
push 0x62b7c0
lea esi, [ebp - 0x264]
call fcn.0040bead
jmp 0x4155ac
push eax
push 0
lea eax, [ebp - 0x248]
push eax
lea esi, [ebp - 0x280]
call fcn.0040c33e
mov eax, esi
push eax
lea esi, [ebp - 0x264]
call fcn.0040ba36
push ebx
xor edi, edi
lea esi, [ebp - 0x280]
call fcn.0040bab7
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x248]
call fcn.0040ba5b
push ebx
xor edi, edi
lea esi, [ebp - 0x264]
call fcn.0040bab7
push str.User_Data_v3updateconfig_v3update.ini
lea edi, [ebp - 0x248]
lea eax, [ebp - 0x22c]
call fcn.004156ec
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
pop ecx
jae 0x4155f8
lea eax, [ebp - 0x22c]
push eax
push 0
mov edi, str.flag
push edi
mov esi, str.updateflag
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x41564c
cmp eax, 2
je 0x41564c
and dword [ebp - 0x284], 0
push ebx
xor edi, edi
lea esi, [ebp - 0x22c]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x248]
call fcn.0040bab7
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x284]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x415661
lea eax, [ebp - 0x22c]
push eax
push 0x62ddf4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x284], ebx
jmp 0x41561d
Function at 0x416c13
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x416c49
push str.ReadFile__
push 0xfc
push str.QHImageHlp.c
xor edx, edx
call fcn.00563512
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebp - 4]
je 0x416c70
push 0x62e400
push 0xfe
push str.QHImageHlp.c
mov edx, 1
call fcn.0056363b
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x416fb5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [ebp - 0x14]
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
test eax, eax
jne 0x416ffe
push str.GetFileSizeEx__
push 0x11e
push str.QHImageHlp.c
call fcn.00563512
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x14]
mov ecx, dword [esi + 0xb4]
sub ebx, edi
mov edi, dword [ebp - 0x10]
sbb edi, edx
sub ebx, 0x298
sbb edi, edx
xor eax, eax
cmp edi, eax
jl 0x417092
jg 0x417022
cmp ebx, ecx
jb 0x417092
mov esi, dword [esi]
push 0
push 0
push edi
push ebx
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x41705a
push str.SetFilePointerEx__
push 0xf9
push str.QHImageHlp.c
xor edx, edx
call fcn.00563512
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, 0x298
call fcn.00416c13
test eax, eax
je 0x417051
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41707a
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41709e
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41709e
xor edx, edx
mov word [eax], dx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4171cf
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
push edi
lea ecx, [ebp - 0x74]
push ecx
push eax
mov dword [ebp - 0x74], 0x6a09e667
mov dword [ebp - 0x70], 0xbb67ae85
mov dword [ebp - 0x6c], 0x3c6ef372
mov dword [ebp - 0x68], 0xa54ff53a
mov dword [ebp - 0x64], 0x510e527f
mov dword [ebp - 0x60], 0x9b05688c
mov dword [ebp - 0x5c], 0x1f83d9ab
mov dword [ebp - 0x58], 0x5be0cd19
call fcn.00417261
add esp, 8
test eax, eax
jne 0x417243
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
mov eax, esi
lea edi, [ebp - 0x74]
call fcn.00417977
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x417408
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea esi, [eax + 0xccc]
mov eax, dword [eax]
push edi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x417450
push str.GetFileSizeEx__
push 0x11e
push str.QHImageHlp.c
xor edx, edx
call fcn.00563512
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor ebx, ebx
add edx, 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edx
lea esp, [esp]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jne 0x417477
mov eax, dword [edi]
mov ecx, dword [edi + 4]
jmp 0x41747d
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
sub eax, ebx
sbb ecx, dword [ebp - 0x1c]
mov edi, eax
shrd edi, ecx, 0xf
shr ecx, 0xf
and eax, 0x7fff
mov dword [ebp - 4], edi
mov edi, eax
jne 0x41749e
mov edi, 0x8000
jmp 0x4174a1
inc dword [ebp - 4]
cmp dword [ebp - 4], 0
jbe 0x417511
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
push 0
push 0
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x41758c
mov ecx, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4175ae
cmp edi, dword [ebp - 0x18]
jne 0x4175d0
mov edx, 0x56117c
test edx, edx
je 0x4174fe
push edi
push esi
mov esi, dword [ebp + 0x10]
call fcn.00417626
mov esi, dword [ebp - 0x14]
add esp, 8
add ebx, edi
adc dword [ebp - 0x1c], 0
dec dword [ebp - 4]
mov edi, 0x8000
jne 0x4174a7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x41756e
mov eax, dword [edx]
test eax, eax
je 0x41761a
mov ecx, 0x56117c
test ecx, ecx
je 0x417561
cmp dword [edx + 4], 0
je 0x417561
cmp eax, 0x8000
ja 0x4175f5
push eax
push 0
push esi
call fcn.00402394
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
add esp, 0xc
push eax
push esi
mov esi, dword [ebp + 0x10]
call fcn.00417626
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add esp, 8
mov ebx, dword [edx]
xor eax, eax
add ebx, dword [edx - 8]
adc eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
inc eax
add edx, 0x18
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
cmp eax, dword [ebp + 0xc]
ja 0x41761a
mov edi, dword [ebp + 0x14]
jmp 0x417468
push str.SetFilePointerEx__
push 0xf9
push str.QHImageHlp.c
xor edx, edx
call fcn.00563512
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.ReadFile__
push 0xfc
push str.QHImageHlp.c
xor edx, edx
call fcn.00563512
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x62e400
push 0xfe
mov edx, 1
push str.QHImageHlp.c
call fcn.0056363b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x62e450
push 0x3d8
mov edx, 8
push str.QHImageHlp.c
call fcn.0056363b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419158
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x41915d
cmp dword [0x6bcd10], 0
push esi
push edi
jne 0x419171
call fcn.004191fb
test eax, eax
je 0x4191b6
mov eax, dword [0x6bcd10]
cmp eax, 1
jne 0x419192
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4191b6
jmp 0x4191f8
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4191f8
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4191ba
xor eax, eax
jmp 0x4191f8
mov eax, dword [esi]
push dword [0x6bcd10]
call edi
mov edi, eax
test edi, edi
je 0x4191dc
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4191f8
lea edi, [esi + 0xff0]
push esi
push dword [0x6bcd10]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4191e2
mov eax, esi
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x4194f2
xor al, al
jmp 0x419540
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x22c]
call fcn.0040bead
push str.First_Run
mov eax, esi
push eax
call fcn.0040d6e0
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x419522
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete bl
push 1
xor edi, edi
lea esi, [ebp - 0x22c]
call fcn.0040bab7
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x419eb8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [0x6a1b70], edi
je 0x419ece
mov eax, 0x10dd
jmp 0x419f28
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x6a1b70
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x419ec7
push esi
mov esi, dword [0x6a1b64]
mov dword [0x6a1b6c], edi
mov dword [0x6a1b80], edi
mov dword [0x6a1b7c], edi
mov dword [0x6a1b74], edi
mov dword [0x6a1b78], edi
jmp 0x419f21
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x419f0c
xor eax, eax
pop esi
pop edi
leave
ret

Function at 0x419f2b
Capabilities:
Suspend thread

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [0x6a1b74]
test eax, eax
jne 0x419f94
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
je 0x419f92
push 8
call fcn.004013b3
mov esi, eax
pop ecx
test esi, esi
jne 0x419f56
push 8
pop edi
jmp 0x419f71
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x419f82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.00404e46
pop ecx
and dword [0x6a1b78], 0
mov dword [0x6a1b74], edi
mov eax, edi
jmp 0x419f94
mov eax, dword [0x6a1b7c]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [0x6a1b7c], esi
xor eax, eax
pop edi
pop esi
pop ecx
ret
Function at 0x419f98
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6a1b70], eax
je 0x419fbe
mov eax, 0x10dd
jmp 0x41a171
mov eax, dword [0x6a1b74]
cmp eax, ebx
jne 0x41a171
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x419fda
push 6
pop eax
jmp 0x41a171
mov esi, dword [ecx]
cmp esi, ebx
jne 0x419ff3
push 6
pop eax
mov dword [0x6a1b74], eax
mov dword [0x6a1b78], ecx
jmp 0x41a171
mov dword [ebp - 8], ebx
call fcn.0041a178
mov esi, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041a178
mov dword [ebp + 0xc], eax
cmp eax, edi
jne 0x41a020
cmp dword [0x6a1b6c], ebx
jne 0x41a13e
jmp 0x41a109
push 0x18
call fcn.004013b3
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x41a03b
mov dword [ebp - 4], 8
jmp 0x41a109
mov eax, edi
call fcn.0041a1ba
mov ebx, eax
test ebx, ebx
je 0x41a02f
and dword [ebp - 4], 0
mov esi, edi
mov edx, dword [ebp - 4]
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
lea edx, [edx + ebx]
push eax
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0041a390
cmp dword [ebp - 0xc], 0
mov esi, eax
jne 0x41a085
mov ecx, dword [ebp - 0x14]
sub eax, edi
mov dword [ebp - 4], eax
call fcn.0041a4e6
test eax, eax
jne 0x41a085
cmp dword [ebp - 4], 5
jl 0x41a04e
mov edx, dword [ebp - 4]
cmp edx, 5
jge 0x41a09f
cmp dword [0x6a1b6c], 0
mov dword [ebp - 4], 9
jne 0x41a111
jmp 0x41a109
cmp edx, 0x12
jbe 0x41a0ad
mov dword [ebp - 4], 6
jmp 0x41a109
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x1c], ecx
lea ecx, [edx + ebx]
lea eax, [edx + edi]
mov dword [ebx + 0x18], eax
lea esi, [ebx + 0x17]
lea edi, [ecx + 5]
mov byte [esi], dl
sub eax, edi
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
add ecx, 5
cmp ecx, esi
jae 0x41a0e7
sub esi, ecx
push esi
push 0xcc
push ecx
call fcn.00402394
mov edx, dword [ebp - 4]
add esp, 0xc
mov esi, dword [ebp - 0x18]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x40
push edx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x41a149
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x6a1b74], eax
test ebx, ebx
je 0x41a12f
mov edx, ebx
and edx, 0xffff0000
push 8
xor eax, eax
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
cmp dword [ebp - 8], 0
je 0x41a13e
push dword [ebp - 8]
call fcn.00404e46
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x419fe8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], esi
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x6a1b80]
mov dword [eax], ecx
mov dword [0x6a1b80], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41a1ba
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x41a1dd
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x41a1e0
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x41a1f3
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x41a1fa
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x6a1b68]
mov ecx, dword [0x6a1b64]
test eax, eax
jne 0x41a214
test ecx, ecx
je 0x41a229
mov eax, ecx
mov dword [0x6a1b68], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x41a229
cmp edx, dword [ebp - 4]
jb 0x41a229
cmp edx, dword [ebp - 8]
jbe 0x41a2fa
mov eax, ecx
test ecx, ecx
jmp 0x41a24d
test eax, eax
je 0x41a248
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41a248
cmp ecx, dword [ebp - 4]
jb 0x41a248
cmp ecx, dword [ebp - 8]
jbe 0x41a2fa
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x6a1b68], eax
jne 0x41a22f
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x41a384
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x41a27a
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41a384
cmp dword [ebp - 0x30], ebx
jne 0x41a299
cmp dword [ebp - 0x34], ebx
jae 0x41a2ac
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x41a268
jmp 0x41a384
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x6a1b68], eax
test eax, eax
je 0x41a384
mov ecx, dword [0x6a1b64]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x6a1b64], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x41a2ec
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
cmp edx, dword [ebp - 4]
jb 0x41a389
cmp edx, dword [ebp - 8]
ja 0x41a389
mov ecx, dword [edx + 0x18]
mov dword [eax + 8], ecx
push 8
mov eax, 0xcccccccc
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x41a38b
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x41a333
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41a389
cmp dword [ebp - 0x14], ebx
jne 0x41a37e
cmp dword [ebp - 0x18], ebx
jb 0x41a37e
movzx ecx, si
test ecx, ecx
je 0x41a362
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x6a1b68], eax
test eax, eax
jne 0x41a2c8
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 8]
jb 0x41a321
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41bc05
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f70f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], ebx
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], ebx
mov eax, dword [0x6bbe20]
mov edx, dword [eax + 0xc]
mov ecx, 0x6bbe20
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], 3
lea edi, [esi + 0x40]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x14], 1
mov ecx, dword [edi + 4]
mov byte [ecx + 0x15], 1
mov byte [ebp - 4], 6
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [ebp - 4], 7
lea edi, [esi + 0x60]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov edx, dword [edi + 4]
mov byte [edx + 0x14], 1
mov eax, dword [edi + 4]
mov byte [eax + 0x15], 1
mov byte [ebp - 4], 0xa
mov dword [esi + 0x70], ebx
mov byte [ebp - 4], 0xb
lea edi, [esi + 0x74]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov ecx, dword [edi + 4]
mov byte [ecx + 0x14], 1
mov edx, dword [edi + 4]
mov byte [edx + 0x15], 1
mov byte [ebp - 4], 0xe
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [ebp - 4], 0xf
lea edi, [esi + 0x94]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edi
mov dword [edi + 8], ebx
call fcn.0040a98b
mov dword [edi + 4], eax
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [edi + 4]
mov byte [eax + 0x14], 1
mov ecx, dword [edi + 4]
mov byte [ecx + 0x15], 1
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4225f4
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
push edi
mov edi, edx
jb 0x422615
mov eax, dword [esi]
jmp 0x422617
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x20]
push eax
push esi
mov ecx, edi
call fcn.0041072b
xor ebx, ebx
cmp byte [ebp + 0xc], bl
je 0x422644
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x42263d
lea eax, [ebp - 0x20]
push eax
call fcn.00423557
pop ecx
push str.Software360360se6Chrome
lea esi, [ebp - 0x3c]
call fcn.0040bead
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x42265c
mov eax, esi
push 0x20019
push eax
push 0x80000001
lea esi, [ebp - 0x44]
call fcn.004106f5
cmp dword [ebp - 0x44], ebx
je 0x4226ac
push str.nosign_sygyzy
mov eax, esi
push eax
call fcn.00410ab4
test al, al
jne 0x4226ac
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], ebx
jne 0x4226ac
lea eax, [ebp - 0x20]
call fcn.00410b65
test al, al
je 0x4226ac
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x4226a5
lea eax, [ebp - 0x20]
push eax
call fcn.004b6bba
pop ecx
push str.antilsp.dll
mov eax, edi
call fcn.0040cb1d
test eax, eax
jne 0x422711
lea eax, [ebp - 0x20]
call fcn.00410b65
test al, al
je 0x422711
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x4226d4
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.0042272b
pop ecx
pop ecx
test al, al
jne 0x422711
lea esi, [ebp - 0x44]
call fcn.00410999
push 1
xor edi, edi
lea esi, [ebp - 0x3c]
call fcn.0040bab7
push 1
lea esi, [ebp - 0x20]
call fcn.0040bab7
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x42271d
lea eax, [ebp - 0x20]
push 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
jmp 0x4226e2

Function at 0x423064
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [eax + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x423074
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x423071
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x423071
add ecx, 0x2b
cmp word [eax + 0x18], cx
sete al
ret
Function at 0x423557
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
call fcn.00411356
cmp dword [eax], 1
jle 0x423615
push ebx
push 0x8000000
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.00422ac6
cmp dword [ebp - 8], ebx
je 0x4235a4
cmp dword [ebp - 8], 0xffffffff
jne 0x4235b3
lea esi, [ebp - 8]
call fcn.00422af8
xor al, al
jmp 0x42366c
push 4
push 0x1000
mov esi, 0x100000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4235a4
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push esi
mov dword [ebp - 0xc], ebx
push eax
jmp 0x4235f3
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4235fc
add dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0x14]
push dword [ebp - 8]
call edi
test eax, eax
jne 0x4235e0
push 0x8000
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea esi, [ebp - 8]
call fcn.00422af8
jmp 0x42366a
push 9
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
je 0x4235ac
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x62d620
mov dword [ebp - 0x14], esi
call fcn.00423064
test al, al
jne 0x423642
call fcn.004b87c7
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x50]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
lea eax, [ebp - 0x14]
jb 0x42365b
lea eax, [ebp - 0x10]
push dword [eax]
call fcn.004b1036
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret