joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d879
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x486678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call dword [0x490770]
xor edi, edi
mov dword [esp + 0xc], 0x49800c
mov dword [esp + 0x10], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0xc], 0x498a9c
mov ebx, 1
mov dword [esp + 0x78], ebx
push 0x11
call dword [0x48fcd8]
lea ecx, [esp + 0x14]
push ecx
push 0x5c
push eax
mov dword [esp + 0x1c], eax
call dword [0x48fcbc]
movzx ecx, byte [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x28], edx
movzx edx, byte [esp + 0x29]
mov dword [esi + 0x2c], eax
movzx eax, byte [esp + 0x2a]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
call dword [0x490e98]
mov eax, 0xffffff
mov dword [esi + 0x5c], ebx
or ebx, 0xffffffff
lea ecx, [esi + 0x64]
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ebx
call dword [0x490770]
mov eax, 2
lea ecx, [esi + 0xa0]
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 3
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call dword [0x490770]
mov dword [esp + 0x78], ebx
mov dword [esp + 0xc], 0x498a9c
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0xc]
call fcn.00414b80
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 4
Function at 0x42e4c0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48683d
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov ecx, edi
call dword [0x490aa0]
test al, al
jne 0x42e6ac
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call dword [0x490e94]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
call dword [0x490e94]
mov ebx, 1
mov byte [esp + 0x28], bl
mov ecx, edi
call dword [0x490b84]
test eax, eax
jle 0x42e5dc
mov edi, edi
lea eax, [esp + 0x10]
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0042dfa0
mov byte [esp + 0x28], 2
push eax
lea ecx, [esp + 0x10]
call dword [0x490e64]
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
call dword [0x490e9c]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x498c38
call dword [0x490ea0]
mov byte [esp + 0x2c], 3
push 0x3d
lea edx, [esp + 0x18]
push edx
push edi
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x3c], bl
mov ecx, esi
call fcn.0042e160
mov byte [esp + 0x28], 4
push eax
lea ecx, [esp + 0x34]
call dword [0x490e64]
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
call dword [0x490e9c]
lea ecx, [esp + 0xc]
call dword [0x490e38]
push 0x49d248
lea ecx, [esp + 0x10]
call dword [0x490e30]
test eax, eax
je 0x42e606
mov ecx, edi
call dword [0x490b84]
cmp dword [esp + 0x10], eax
jl 0x42e530
mov esi, dword [esp + 0x34]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x30]
call dword [0x490e9c]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call dword [0x490e9c]
jmp 0x42e6b0
lea ecx, [esp + 0x30]
call dword [0x490aa0]
test al, al
jne 0x42e692
lea ecx, [esp + 0x30]
call dword [0x490b84]
sub eax, ebx
push eax
lea ecx, [esp + 0x34]
call dword [0x490578]
cmp ax, 0x25
jne 0x42e692
push 0
push 0x64
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.0042d220
cmp dword [esp + 0x3c], 0
je 0x42e674
cmp eax, 0x64
jg 0x42e65f
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x48fd5c]
mov esi, eax
jmp 0x42e5e0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x48fd5c]
mov esi, eax
jmp 0x42e5e0
cmp eax, 0x64
jge 0x42e5dc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x48fd5c]
mov esi, eax
jmp 0x42e5e0
mov edx, dword [esp + 0x38]
push 0
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0042d220
mov esi, eax
jmp 0x42e5e0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x42e6ba
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x45d6c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48a328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 0x14]
push edi
mov ecx, ebp
mov dword [esp + 0x10], esi
call dword [0x490e94]
xor edi, edi
mov dword [esp + 0x1c], edi
lea ebx, [esi + 0x44]
mov ecx, ebx
call dword [0x490e94]
mov byte [esp + 0x1c], 1
push 0x491cd4
mov ecx, ebp
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [0x490e98]
xor eax, eax
or ebp, 0xffffffff
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x801
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
push 0x491cd4
mov ecx, ebx
mov byte [esi + 0x40], al
call dword [0x490e98]
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x45d6d8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48a328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 0x14]
push edi
mov ecx, ebp
mov dword [esp + 0x10], esi
call dword [0x490e94]
xor edi, edi
mov dword [esp + 0x1c], edi
lea ebx, [esi + 0x44]
mov ecx, ebx
call dword [0x490e94]
mov byte [esp + 0x1c], 1
push 0x491cd4
mov ecx, ebp
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call dword [0x490e98]
xor eax, eax
or ebp, 0xffffffff
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x801
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
push 0x491cd4
mov ecx, ebx
mov byte [esi + 0x40], al
call dword [0x490e98]
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45d7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a364
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push edi
mov edi, dword [0x490f9c]
push 0
call edi
mov ecx, eax
call dword [0x490f88]
mov bl, al
call edi
mov ecx, eax
call dword [0x490fac]
cmp eax, 1
setne byte [esp + 0xf]
mov byte [esp + 0xe], 0
call dword [0x4915a0]
push eax
lea ecx, [esp + 0x18]
call dword [0x49159c]
mov dword [esp + 0x30], 0
mov ebp, dword [0x491598]
lea eax, [esp + 0xe]
push eax
lea ecx, [esp + 0x18]
call ebp
test bl, bl
jne 0x45d864
cmp byte [esp + 0xf], bl
jne 0x45d864
cmp byte [esp + 0xe], bl
je 0x45d8ec
push esi
push 0x182
lea ecx, [esp + 0x18]
push 0x4aa204
push ecx
call dword [0x4917f4]
add esp, 0xc
mov byte [esp + 0x34], 1
push 0x21
mov ecx, eax
call dword [0x490e6c]
push eax
call dword [0x4911dc]
mov ecx, eax
call dword [0x4911e0]
mov esi, eax
mov byte [esp + 0x34], 0
lea ecx, [esp + 0x14]
call dword [0x490e9c]
mov eax, esi
sub eax, 2
pop esi
je 0x45d911
test bl, bl
jne 0x45d8be
cmp byte [esp + 0xf], bl
je 0x45d8c8
call edi
mov ecx, eax
call dword [0x490fc8]
lea edx, [esp + 0xe]
push edx
lea ecx, [esp + 0x18]
call ebp
cmp byte [esp + 0xe], 0
je 0x45d8ec
push 0
push 0
push 0
push 7
call edi
mov ecx, eax
call dword [0x491000]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [0x491548]
pop edi
pop ebp
mov dword [esp + 0xc], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
cmp byte [0x4f024b], 0
je 0x45d921
mov byte [0x4f024b], 0
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [0x491548]
pop edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x47ad00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48cd8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, esi
call dword [0x48edd4]
push eax
lea ecx, [esp + 0x30]
call dword [0x490a64]
mov dword [esp + 0x24], 0
mov eax, dword [0x4f02c0]
push eax
lea ecx, [esp + 0x30]
call dword [0x490e30]
test eax, eax
je 0x47add1
mov ecx, dword [0x4f02c4]
push ecx
lea ecx, [esp + 0x30]
call dword [0x490e30]
test eax, eax
je 0x47add1
mov edx, dword [0x4f02c4]
push edx
lea ecx, [esp + 0x30]
call dword [0x490e98]
mov eax, dword [0x4f02c4]
mov ecx, 8
push eax
mov edi, eax
mov word [esp + 0x10], cx
call dword [0x48ff5c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x47ada5
test edi, edi
je 0x47ada5
push 0x8007000e
call fcn.00482c20
mov byte [esp + 0x24], 1
push 1
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call dword [0x48e114]
mov byte [esp + 0x24], 0
lea eax, [esp + 0xc]
push eax
call dword [0x48ff68]
mov ecx, esi
call dword [0x48edd0]
push ebp
mov ecx, esi
call dword [0x48fc10]
mov ecx, esi
mov edi, eax
call dword [0x48fc10]
mov ecx, eax
call dword [0x48fbf8]
mov esi, dword [0x4f05b8]
mov ebp, eax
test esi, esi
je 0x47ae91
test edi, edi
je 0x47ae91
push 1
mov ecx, edi
call dword [0x48fc04]
mov ecx, eax
call dword [0x48edd4]
push eax
lea ecx, [esp + 0x10]
call dword [0x490a64]
mov byte [esp + 0x28], 2
mov ecx, dword [esi + 0x1a4]
inc ebp
push ebp
call dword [0x48fc00]
mov esi, eax
test esi, esi
je 0x47ae59
mov ecx, dword [0x4f02c4]
push ecx
lea ecx, [esp + 0x10]
call dword [0x490e30]
neg eax
sbb eax, eax
inc eax
push eax
mov ecx, esi
call dword [0x48e0f8]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0xc]
call dword [0x490e9c]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call dword [0x490e9c]
pop ebp
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call dword [0x490e9c]
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x401720
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea ecx, [ebp - 0x10f]
push ebx
push ecx
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0x110], bl
call fcn.00436f70
add esp, 0xc
push 0x3f
lea edx, [ebp - 0xa7]
push ebx
push edx
call fcn.00436f70
add esp, 0xc
push 0x3f
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00436f70
sub esp, 0x10
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
lea esi, [ebp - 0x110]
mov byte [ecx], bl
call fcn.004027c0
mov ecx, esi
call fcn.00401a70
mov ecx, 8
lea esi, [ebp - 0x110]
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xf0]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea esp, [esp]
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
push eax
mov ecx, esi
lea ebx, [ebp - 0x24]
call fcn.004018e0
inc esi
cmp esi, 0x10
jl 0x4017d0
mov ecx, 8
mov esi, ebx
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xc8]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsx ecx, byte [eax + 0x4d4a20]
movzx edx, byte [ebp + ecx - 0xa9]
movsx ecx, byte [eax + 0x4d4a21]
mov byte [ebp + eax - 0x68], dl
movzx edx, byte [ebp + ecx - 0xa9]
movsx ecx, byte [eax + 0x4d4a22]
mov byte [ebp + eax - 0x67], dl
movzx edx, byte [ebp + ecx - 0xa9]
movsx ecx, byte [eax + 0x4d4a23]
mov byte [ebp + eax - 0x66], dl
movzx edx, byte [ebp + ecx - 0xa9]
mov byte [ebp + eax - 0x65], dl
add eax, 4
cmp eax, 0x40
jl 0x401811
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004013c0
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x40187e
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x300], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x304], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x308], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x30c], eax
cmp dword [ebp - 0xc], esi
jb 0x4018b8
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042d950
add esp, 4
cmp dword [ebp + 0x20], esi
jb 0x4018c9
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042d950
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 0x20
Function at 0x401cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push 0xff
mov ebx, ecx
lea ecx, [ebp - 0x103]
push 0
push ecx
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 0
call fcn.00436f70
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jle 0x401d4c
push esi
mov esi, dword [ebp + 8]
push edi
sub esi, ebx
lea edi, [ebp - 0x104]
mov ecx, ebx
sub edi, ebx
mov ebx, eax
xor edx, edx
cmp byte [esi + ecx], 0x31
sete dl
xor eax, eax
cmp byte [ecx], 0x31
sete al
xor eax, edx
dec eax
neg eax
sbb al, al
add al, 0x31
mov byte [edi + ecx], al
inc ecx
dec ebx
jne 0x401d26
mov eax, dword [ebp + 0xc]
pop edi
pop esi
push eax
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
push edx
push eax
call fcn.004316d0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401ec0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push esi
lea esp, [esp]
mov esi, ebx
cmp edx, 0x10
jae 0x401f0a
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a00]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x24], cl
mov esi, ebx
cmp edx, 0x10
jae 0x401f23
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a01]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x23], cl
mov esi, ebx
cmp edx, 0x10
jae 0x401f3c
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a02]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x22], cl
mov esi, ebx
cmp edx, 0x10
jae 0x401f55
lea esi, [ebp + 8]
movsx ecx, byte [eax + 0x4d4a03]
mov cl, byte [ecx + esi - 1]
mov byte [ebp + eax - 0x21], cl
add eax, 4
cmp eax, 0x20
jl 0x401f00
mov ecx, 8
lea esi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
pop esi
cmp edx, 0x10
jb 0x401f85
push ebx
call fcn.0042d950
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x403080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403098
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4030ca
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4030c6
cmp esi, eax
jae 0x4030ca
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4030b8
cmp esi, eax
jb 0x4030d0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x407b60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00436f70
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x2c], str.https:__gameneocell.com_cn_terms.html
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x409a40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x10
je 0x409a64
cmp eax, 0xa3
je 0x409a70
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
call sym.Setup.exe_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_
pop ebp
ret 0xc
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 0xc

Function at 0x40a4c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
call fcn.00406ac0
mov ebx, eax
mov eax, str._usilent
lea esi, [ebp - 4]
call fcn.00403290
mov eax, esi
call fcn.00404910
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40a581
mov edx, dword [0x4fb44c]
mov eax, dword [edx + 0xc]
push edi
mov ecx, 0x4fb44c
call eax
add eax, 0x10
push ebx
lea edi, [ebp - 8]
mov dword [ebp - 4], eax
call fcn.004050a0
mov ecx, dword [eax]
push ecx
push 0x4d5728
lea edi, [ebp - 4]
call fcn.00403de0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
test ecx, ecx
jg 0x40a55b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40bf03
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40bf5f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea esp, [esp]
lea ecx, [ebp - 0x20c]
push ecx
push str.explorer.exe
call fcn.0042f261
add esp, 8
test eax, eax
je 0x40bf48
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
jne 0x40bf20
jmp 0x40bf5e
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret

Function at 0x40c850
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
xor eax, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov byte [edi + 0x88], al
mov eax, 0x7a7a7a7a
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
push ebx
mov dword [edi + 0x74], eax
push esi
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
push 0x4d57b4
mov dword [edi + 0x80], eax
push ecx
mov dword [edi + 0x84], eax
call fcn.0042faee
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c91a
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0042feef
add esp, 0x10
test eax, eax
je 0x40c90a
push eax
lea ecx, [ebp - 0x404]
push ecx
mov ecx, edi
call fcn.0040c660
push ebx
push 0x400
lea edx, [ebp - 0x404]
push 1
push edx
call fcn.0042feef
add esp, 0x10
test eax, eax
jne 0x40c8e0
mov ecx, edi
call fcn.0040c710
push ebx
call fcn.0042f0ea
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
lea eax, [edi + 0x68]
pop ebx
call fcn.0042cf67
mov esp, ebp
pop ebp
ret
Function at 0x40c930
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c9cc
push 0x103
push eax
lea ecx, [ebp - 0x107]
push ecx
mov byte [ebp - 0x108], al
call fcn.00436f70
add esp, 0xc
push 0x104
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [ebp - 0x10c]
push 4
lea eax, [ebp - 0x110]
push eax
push 4
push 0
lea ecx, [ebp - 0x108]
push ecx
push edx
mov dword [ebp - 0x110], 0x77
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret