joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432440
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b1f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432479
inc eax
mov dword [esi + 0x10], eax
jmp 0x43258c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43248d
mov eax, 0xffffffc7
jmp 0x43258e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43249e
cmp dword [esi + 8], eax
jne 0x43248d
cmp dword [esi + 8], eax
jne 0x4324b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4324b7
mov eax, 0xffffffc7
jmp 0x43258e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4324cb
push eax
mov ecx, ebx
call fcn.00431c70
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402070
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4324fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402090
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004313e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43252f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x475840
call fcn.00402270
mov eax, dword [esp + 0x38]
jmp 0x43258e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004322a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432573
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004322c0
mov esi, eax
test esi, esi
jne 0x4325a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004322a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432545
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x475840
call fcn.00402270
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x475840
call fcn.00402270
mov eax, esi
jmp 0x43258e

Function at 0x4356b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435710
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435710
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435710
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435710
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43b880
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46b828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004644b8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b220
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004643e6
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00460caa
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00460caa
push 1
push 0
push 0
mov ecx, esi
call fcn.00460c52
push 1
push 0
push 1
mov ecx, esi
call fcn.00460c52
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046452a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ba00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46b848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004644b8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b220
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004643e6
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43bac4
cmp dword [esp + 0x40], 1
jne 0x43bac2
cmp ecx, eax
jge 0x43bac4
mov eax, ecx
cmp eax, 0xc8
jge 0x43bad0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b880
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046452a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c250
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46b8b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045f0c8
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00464760
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00465cbf
test eax, eax
je 0x43c36c
mov ecx, dword [esp + 0x3c]
call fcn.0046478d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c330
push edi
mov ecx, esi
call fcn.00461dfa
mov ecx, esi
call fcn.0043c4d0
cmp dword [esp + 0x38], 1
jne 0x43c365
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00461f35
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43eda0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43edd3
push esi
call fcn.00441e90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43edcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ee59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ee42
mov eax, dword [esi + 8]
test eax, eax
je 0x43edf7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ee3e
cmp eax, 2
je 0x43ee42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43edea
cmp eax, 3
je 0x43ee1d
cmp eax, 1
jne 0x43edea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43edea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43edea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ee80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ee68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ee80
add esp, 4
pop esi
ret

Function at 0x44a990
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44aa33
test eax, eax
jbe 0x44aa33
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44aa33
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44a9de
xor esi, esi
jmp 0x44a9e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44aa0f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044c930
add esi, eax
push esi
mov ebx, esi
call fcn.0044c930
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44a9f0
pop ebp
test edi, edi
pop edi
jne 0x44aa33
test ebx, ebx
je 0x44aa33
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0044edb0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44ab75
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44ac8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44ac8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0045f51a
mov esi, eax
test esi, esi
je 0x44ac8d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44ac8d
mov ecx, esi
call fcn.0044aae0
cmp edi, eax
jge 0x44ac8d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44ac13
mov dword [esp + 0x34], 1
jmp 0x44ac6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44ac8d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044a0e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45febd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45fef5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045df74
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045df4c
jmp 0x45ff01
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4615b2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4615f4
call fcn.004670aa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4615f4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4615eb
xor eax, eax
jmp 0x4615fc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461602
pop edi
pop esi
pop ebx
ret 4
Function at 0x4675da
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x467608
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467626
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467540
jmp 0x467626
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467626
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467540
test edi, edi
mov eax, edi
jne 0x467610
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x101807e6
Capabilities:
Encode data using xor

Disassembly:
pop ebp
mov cl, ch
rcr esi, cl
mov ecx, edi
adc si, 0x9f90
bts si, ax
sub ecx, ebx
cmc
mov esi, esp
call fcn.1017a2aa
bt dx, cx
clc
cmp al, 9
pushal
lea esp, [esp + 0x20]
ja 0x10180187
lodsb al, byte [esi]
stc
invalid
bt esp, edi
bt ecx, esi
call fcn.101855ab
call fcn.100cdd42
add byte [eax], al
push eax
outsd dx, dword [esi]
jae 0x10180865
push ecx
jne 0x1018085d
je 0x10180843
jae 0x1018086c
popal
add al, cl
sub eax, 0x7e534949
sub edx, ecx
adc dword [ecx + 0x2d], ecx
lds edx, [ecx - 0x1c]
push ds
enter 0x492d, 0x49
push ebx
jle 0x1018082f
rcl dword [ecx]
dec ecx
sub eax, 0x36e451c5
push ds
dec eax
or dh, byte [eax + 0x72]
mov al, 0xd2
loopne 0x101807d7
inc esp
inc esi
dec esp
dec esi
push edx
jg 0x101807af
div edi
sti
adc eax, 0x5140821c
stc
mov al, 0x81
sbb byte [ecx], ah
fisttp dword [ebx]
jge 0x10180883
push 0xdf2793fb
sbb ebx, edx
mov eax, 0x2fab22b4
xchg ebx, eax
daa
fistp word [ecx]
sar dword [eax + 0x2fab22b4], cl
cmp dword [eax], edx
retf 0x75d7
dec ebx
jbe 0x10180875
fcmovne st(0), st(6)
push esp
xchg esp, eax
jnp 0x1018086f
cli
mov al, byte [0xbd5ce6e2]
jl 0x1018088a
out 0x5c, al
mov ebp, 0x6eb0367c
mov al, 0x6e
xor eax, 0x7ddfd22f
loop 0x1018084f
pop ss
xchg edx, eax
push esi
push 0x10e43e85
cmp ah, byte [ecx - 0x15]
xchg ebx, eax
jns 0x101808db
adc byte [edx], bh
popal
jmp 0x101807fd
and byte [edi - 0x15d08a8d], 0xee
xchg ecx, eax
push ebp
jne 0x101808a0
ljmp 0xe8ac:0xe95591ee
jmp 0x6789f126
test esi, ebp
mov word [ebx - 0x797c2c2b], ss
push edi
and bh, byte [edx + 0x2ce22801]
xchg byte [edi + 0x22], dl
mov edx, 0x2ce22801
dec esi
or al, 0x74
std
fist dword [ebp - 0x51142b1c]
jg 0x101808d8
dec eax
sub bl, byte [esi + 0xb]
popal
rcr ch, 1
aaa
pop esi
or esp, dword [ecx - 0x30]
fnsave dword [edi]
clc
push es
sub al, 0x8b
pushfd
insd dword es:[edi], dx
adc eax, 0x4906de4b
scasb al, byte es:[edi]
salc
xor ebp, dword [eax - 0x3f57dd8d]
jno 0x10180932
mov ch, byte [ebx + 0x986957]
mov cl, 0x74
jle 0x1018091b
jmp 0x10180871
wait
fldenv [edi + 0xa52b00d]
sub eax, 0xda470949
or eax, 0x2d0a52b0
dec ecx
or dword [edi - 0x26], eax
mov dword [0x20cc5d2f], eax
scasd eax, dword es:[edi]
add byte [ecx], 0x5f
cmpsb byte [esi], byte es:[edi]
ljmp 0x9e5e
fdiv qword [ebp + 0x1d]
push ebx
pop esi
sahf
loope 0x1018093d
pop edx
mov eax, dword [0x70aa1268]
je 0x101808a1
xor byte [ebp + 0x2f], 0x1f
xor al, byte [ebx]
mov esi, 0xe08a89c8
in eax, dx
adc ebx, edi
or ebx, eax
dec ebp
test eax, 0x627abfd1
bound eax, qword [0x1ac6bb51]
add eax, edi
test dword [ecx], ecx
jmp 0xa6cc3767
jecxz 0x101808ef
cmp dword [edi + 0x16b95f32], 0xd4d11fa
adc byte [edx - 0x4bf1f865], bl
mov al, 0x21
sbb byte [edx - 0x2bf1f44a], ah
or eax, 0x79b9a10
push cs
mov ah, 0xb0
and dword [eax], ebx
mov byte [0xd40e0bb6], al
mov eax, 0x87e2f829
xor eax, dword [esi]
xlatb
xchg edx, eax
retf 0x896d
Function at 0x40104d
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.0041dbf0
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp esi, ebx
je 0x40110e
cmp edi, ebx
je 0x40110e
xor eax, eax
push 0x3ffe
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
mov dword [ebp - 0x7c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x40110e
cmp eax, 0x3fff
ja 0x40110e
lea ecx, [ebp - 0x74]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40110e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x429688
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40110e
mov eax, dword [ebp - 0x78]
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 0x42968c
push 0x40
pop ecx
call section..text
xor eax, eax
add esp, 0x14
inc eax
jmp 0x401110
xor eax, eax
mov ecx, dword [ebp + 0x3f8c]
pop edi
xor ecx, ebp
pop ebx
call fcn.00410ee0
add ebp, 0x3f90
leave
ret

Function at 0x401127
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x190], eax
cmp word [0x434b48], 0
push edi
mov edi, 0x434b48
jne 0x4011ac
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4296a4
push str.SOFTWARE360SafeLiveup
push 0x80000002
mov dword [ebp - 0x80], 0x103
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push eax
push 0x4296dc
push 0x20
pop ecx
call section..text
pop ecx
pop ecx
mov ecx, dword [ebp + 0x190]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00410ee0
add ebp, 0x194
leave
ret

Function at 0x4016b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x4016ca
push 0x80004005
call fcn.0040169d
push edi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
push dword [eax]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x401737
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x401732
cmp dword [ebp - 4], ebx
jbe 0x401728
cmp dword [ebp - 4], 2
jbe 0x40171a
cmp dword [ebp - 4], 7
jne 0x401728
test cl, 1
jne 0x401728
shr ecx, 1
cmp ecx, 1
jb 0x401728
cmp word [esi + ecx*2 - 2], bx
jne 0x401728
cmp ecx, 1
jbe 0x401737
cmp word [esi + ecx*2 - 4], bx
jmp 0x401726
test cl, 1
jne 0x401728
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x401737
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x401737
xor ecx, ecx
mov word [esi], cx
pop ebx
leave
ret 4
Function at 0x401796
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x1c
mov eax, 0x423021
call fcn.004135dd
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00412eb0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360Game_chs.exe
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
lea esi, [ebp - 0x28]
call fcn.00401ba5
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x401818
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40183a
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x40182f
lea eax, [ebp - 0x24]
push eax
call fcn.00408f5e
pop ecx
test eax, eax
jne 0x40186d
xor bl, bl
push 0
push 1
lea esi, [ebp - 0x28]
call fcn.004012c3
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00410ee0
add ebp, 0x20c
leave
ret
mov bl, 1
jmp 0x40183c

Function at 0x401871
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x432d38]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x40189b
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 4], 0x103
sete al
jmp 0x40189d
xor al, al
cmp al, bl
jne 0x4018d7
mov eax, dword [0x432d3c]
cmp eax, ebx
je 0x4018b7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x432d3c], ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push eax
push 0x4018dc
push ebx
push ebx
call fcn.00411868
add esp, 0x18
mov dword [0x432d3c], eax
pop ebx
leave
ret 4

Function at 0x401a4c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x7c], 0
push esi
push 0x20a
lea eax, [ebp - 0x78]
push 0
push eax
mov esi, ecx
call fcn.00412eb0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Game.exe
push 0x80000001
mov dword [ebp - 0x80], 0x104
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x78], 0
je 0x401ad6
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401ad6
lea eax, [ebp - 0x78]
push eax
call fcn.00408f5e
pop ecx
test eax, eax
je 0x401ad6
lea eax, [ebp - 0x78]
push eax
jmp 0x401adb
push 0x4298d8
call fcn.00401ba5
mov ecx, dword [ebp + 0x194]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00410ee0
add ebp, 0x198
leave
ret
Function at 0x401af8
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4310f0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00412eb0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x7c]
push eax
push dword [0x433f44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360Game_chs.exe
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x80
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401b83
lea eax, [ebp - 0x7c]
push eax
jmp 0x401b88
push 0x4298d8
call fcn.00401ba5
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00410ee0
add ebp, 0x190
leave
ret