joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b5a2
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4146cf
call fcn.004143d0
sub esp, 0x10
mov eax, dword [0x417020]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
push 1
push dword [esi + 4]
call edi
push 2
push dword [esi + 4]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
call edi
push dword [esi + 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b6e2
test ebx, ebx
je 0x40b6e2
cmp dword [ebp - 0x14], 0
je 0x40b6e2
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0040b320
test eax, eax
je 0x40b6ca
push 1
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
call ebx
push 0
push dword [ebp - 0x14]
call ebx
push 1
push dword [ebp - 0x1c]
push 0x28
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x130
push dword [esi + 4]
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x40b651
push 0
push eax
call ebx
push 0x138
push dword [esi + 4]
call edi
test eax, eax
je 0x40b664
push 0
push eax
call ebx
push 0x131
push dword [esi + 4]
call edi
test eax, eax
je 0x40b677
push 0
push eax
call ebx
push 0x139
push dword [esi + 4]
call edi
test eax, eax
je 0x40b68a
push 0
push eax
call ebx
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
jne 0x40b69a
push 0x1f4
jmp 0x40b69f
push 0x1f5
call fcn.00406fb9
test eax, eax
je 0x40b6e2
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
je 0x40b6e2
lea eax, [esi + 0x1c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x34]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40b6e2
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
call edi
test byte [esi + 0x4c], 2
je 0x40b6e2
push 1
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x10]
call fcn.00406574
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40cccd
Capabilities:
Delete file

Disassembly:
mov eax, 0x4146fa
call fcn.004143d0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x4c]
test eax, eax
mov dword [ebp - 4], 2
je 0x40cb4a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x40cb58
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esi + 0x8c]
cmp dword [eax], 0
je 0x40cb6b
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x40cb84
push dword [eax + 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [esi + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x40cb92
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi + 0x78]
test eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x40cba2
push eax
call ebx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x40cbac
push eax
call ebx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x40cbb9
push eax
call ebx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x40cbc6
push eax
call ebx
lea edi, [esi + 0x88]
mov eax, dword [edi]
test eax, eax
je 0x40cbdd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
call ebx
mov ecx, esi
call fcn.00408b67
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.0040ca56
lea ecx, [esi + 0x54]
call fcn.00410219
lea ecx, [esi + 0x24]
call fcn.0040bd56
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
mov esi, ecx
push 0x418984
mov dword [esi], 0x401cf4
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, esi
pop esi
jmp 0x40cb22
Function at 0x40d17e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
test byte [0x4189f8], 1
push ebx
push esi
push edi
jne 0x40d1a1
or dword [0x4189f8], 1
call fcn.0040d12a
mov dword [0x4189f4], eax
push 4
pop eax
call fcn.004144b0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d236
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x48]
lea edi, [eax - 1]
not edi
and edi, esi
sub edi, eax
mov dword [ebp - 8], eax
mov eax, dword [0x4188ac]
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xffff1000
add esi, 0x11000
add esi, ebx
cmp edi, esi
jb 0x40d236
cmp eax, 1
je 0x40d257
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d236
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40d203
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40d232
xor eax, eax
inc eax
jmp 0x40d276
cmp edi, eax
jae 0x40d23a
xor eax, eax
jmp 0x40d276
cmp eax, esi
jae 0x40d241
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4188ac]
jmp 0x40d25a
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d414
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x40d765
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
cmp word [ecx], 0
mov eax, dword [esp + 4]
push ebx
mov ebx, eax
je 0x40d7f3
cmp word [eax], 0
push ebp
push esi
push edi
je 0x40d7ee
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [ebx], 0
mov edi, dword [esp + 0x18]
mov esi, ebx
je 0x40d7dd
mov ax, word [edi]
test ax, ax
je 0x40d7f7
movzx ecx, word [esi]
movzx eax, ax
sub ecx, eax
jne 0x40d7dd
push esi
call ebp
push edi
mov dword [esp + 0x18], eax
call ebp
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edx, eax
sub ecx, edi
sub edx, esi
xor ecx, edx
test ecx, 0xfffffffe
jne 0x40d7dd
jmp 0x40d7d3
inc esi
inc esi
movzx edx, word [esi]
inc edi
inc edi
movzx ecx, word [edi]
sub edx, ecx
je 0x40d7d7
cmp esi, eax
jb 0x40d7c5
cmp word [esi], 0
jne 0x40d791
cmp word [edi], 0
je 0x40d7f7
push ebx
call ebp
mov ebx, eax
cmp word [ebx], 0
jne 0x40d785
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, ebx
jmp 0x40d7f0
Function at 0x40d9a7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov eax, 0x200c
lea ebp, [esp - 0x1f8c]
call fcn.004144b0
mov eax, dword [0x41888c]
push esi
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [ebp + 0x1f88], eax
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0x1f94]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x40da1b
cmp dword [ebp - 0x7c], 1
jne 0x40da1f
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp + 0x1f94]
mov dword [ebp - 0x80], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40da1b
cmp word [ebp - 0x78], si
je 0x40da1b
inc eax
jmp 0x40da28
xor eax, eax
jmp 0x40da28
xor eax, eax
cmp eax, dword [ebp - 0x7c]
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x1f88]
pop esi
call fcn.004140c9
add ebp, 0x1f8c
leave
ret 4

Function at 0x40dfc2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x414757
call fcn.004143d0
sub esp, 0x214
mov eax, dword [0x41888c]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
mov dword [ebp - 0x214], esi
push 0x2001f
push dword [ebp + 8]
lea ecx, [ebp - 0x214]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.0040d3c5
cmp eax, esi
jne 0x40e061
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40e01b
lea eax, [ebp - 0x210]
push eax
call fcn.0040dfc2
cmp eax, esi
jne 0x40e060
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x214]
je 0x40e00b
call fcn.0040d360
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0040d360
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004140c9
leave
ret 4
Function at 0x40fe34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x414883
call fcn.004143d0
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
push 2
push edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
call fcn.0040eb7c
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x14], esi
jne 0x40fe90
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x40fe7b
call esi
mov esi, eax
jmp 0x40ffa9
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x40ffa9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x40feb1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, edi
jne 0x40fed9
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x40fec4
call esi
jmp 0x40ff9e
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x40ffa0
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp byte [ebx + esi], 0
mov edi, esi
je 0x40ff47
lea edi, [ebx + 1]
cmp edi, 0x400
ja 0x40ff14
push edi
call fcn.0040d27e
test al, al
je 0x40ff14
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.004144b0
mov dword [ebp + 8], esp
jmp 0x40ff20
push edi
lea ecx, [ebp - 0x10]
call fcn.0040eb59
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40ff2e
mov esi, 0x8007000e
jmp 0x40ffa0
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov byte [eax + ebx], 0
test edi, edi
jne 0x40ff4f
xor eax, eax
jmp 0x40ff92
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea ebx, [esi + esi]
cmp ebx, 0x400
ja 0x40ff7f
push ebx
call fcn.0040d27e
test al, al
je 0x40ff7f
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.004144b0
mov eax, esp
jmp 0x40ff88
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040eb59
push 0
push esi
push edi
push eax
call fcn.0040d2d9
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040f7a2
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x10]
call fcn.0040de27
mov eax, esi
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4140c9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41888c]
jne 0x4140d2
ret
jmp 0x4140d7
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x41888c]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x418a20]
test eax, eax
je 0x4140fb
call eax
cmp dword [0x418a24], 0
je 0x414142
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x418a24]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.004140c9
add ebp, 0x2a8
leave
ret
Function at 0x10001000
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10001010
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x1000101c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10001026
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10001030
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x1000103a
or eax, 8
shr ecx, 1
test cl, 1
je 0x10001044
or eax, 4
shr ecx, 1
test cl, 1
je 0x1000104e
or eax, 2
test cl, 2
je 0x10001056
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10001110
test al, 1
je 0x1000111d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10001110
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10001004
pop edi
pop ebx
ret

Function at 0x10001140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x100af758
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10001172
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x100011a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10001203
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100011e9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x100011c8
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x100011c0
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10001340
Capabilities:
Execute command

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
push str.OllyDbg
call edi
mov esi, dword [sym.imp.MSVCR100.dll_system]
test eax, eax
je 0x10001373
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push 0x100af798
call edi
test eax, eax
je 0x10001398
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.ida64
call edi
test eax, eax
je 0x100013bd
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.x64dbg
call edi
test eax, eax
je 0x100013e2
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.IDA_Pro
call edi
test eax, eax
je 0x10001407
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Immunity_Debugger
call edi
test eax, eax
je 0x1000142c
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Radare2
call edi
test eax, eax
je 0x10001451
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Hopper_Disassembler
call edi
test eax, eax
je 0x10001476
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Ghidra
call edi
test eax, eax
je 0x1000149b
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Cheat_Engine
call edi
test eax, eax
je 0x100014c0
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Cheat_mod
call edi
test eax, eax
je 0x100014e5
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.BDCAM
call edi
test eax, eax
je 0x1000150a
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.explorer
call edi
test eax, eax
je 0x1000152f
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
push 0
push str.Bypass
call edi
test eax, eax
je 0x10001554
push str._echo_Off
call esi
push str.shutdown__r__f__t_00
call esi
add esp, 8
mov eax, 0
call eax
call fcn.10001570
call fcn.10001600
pop edi
pop esi
jmp fcn.10001680
Function at 0x100017d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
mov ebx, dword [esi + 0x10]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10001815
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x10
cmp dword [esi + 0x14], eax
jb 0x10001821
mov esi, dword [esi]
cmp dword [edi + 0x14], eax
jb 0x1000182a
mov eax, dword [edi]
jmp 0x1000182c
mov eax, edi
mov edx, dword [ebp - 4]
push ebx
push esi
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001850
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000188c
xor al, al
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0x10
jb 0x10001896
mov eax, dword [esi]
jmp 0x10001898
mov eax, esi
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10003020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
xor esi, esi
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100031c0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov dword [0x1068a7b8], esi
test esi, esi
je 0x10003088
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x38]
push str.ID__d
push eax
call edi
add esp, 0xc
jmp 0x10003096
lea ecx, [ebp - 0x38]
push 0x100af850
push ecx
call edi
add esp, 8
mov eax, dword [0x1068a7b8]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ebp - 0x3c]
push edx
lea edx, [ecx*4 + 0x1068a7bc]
mov ecx, dword [ebp - 0x40]
push edx
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push ecx
mov dword [ebp - 0x3c], 0xb
call ebx
test eax, eax
jne 0x10003171
cmp dword [ebp - 0x3c], 1
jb 0x10003171
test esi, esi
je 0x100030ef
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x38]
push str.PW__d
push eax
call edi
add esp, 0xc
jmp 0x100030fd
lea ecx, [ebp - 0x38]
push 0x100af854
push ecx
call edi
add esp, 8
mov eax, dword [0x1068a7b8]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ebp - 0x3c]
push edx
lea edx, [ecx*4 + 0x1068a7c7]
mov ecx, dword [ebp - 0x40]
push edx
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push ecx
mov dword [ebp - 0x3c], 0xb
call ebx
test eax, eax
jne 0x10003157
mov ecx, 1
cmp dword [ebp - 0x3c], ecx
jb 0x10003157
mov eax, dword [0x1068a7b8]
lea edx, [eax*8]
sub edx, eax
mov dword [edx*4 + 0x1068a7d4], esi
add dword [0x1068a7b8], ecx
jmp 0x10003195
mov ecx, dword [0x1068a7b8]
lea edx, [ecx*8]
xor eax, eax
sub edx, ecx
lea ecx, [edx*4 + 0x1068a7c7]
jmp 0x10003189
mov ecx, dword [0x1068a7b8]
lea edx, [ecx*8]
xor eax, eax
sub edx, ecx
lea ecx, [edx*4 + 0x1068a7bc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov word [ecx + 8], ax
mov byte [ecx + 0xa], al
inc esi
cmp esi, 5
jl 0x10003070
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push eax
push 0x1068a770
push 0
push 0
push str.SavePass
push ecx
mov dword [ebp - 0x3c], 4
call ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1068a770], 1
pop esi
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret