joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c8f6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x30], al
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jge 0x40c95d
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jge 0x40c95d
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
cbw
mov word [ebp - 0x16], ax
cmp word [ebp - 0x16], 0x7c
jne 0x40c94a
add dword [ebp - 0xc], 1
add dword [ebp - 0x10], 1
jmp 0x40c913
cmp word [ebp - 0x16], 0
jne 0x40c957
add dword [ebp - 0x10], 1
jmp 0x40c913
add dword [ebp - 0xc], 1
jmp 0x40c913
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp edx, eax
jge 0x40c9b2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x40c9b2
movzx eax, byte [ebp - 0x30]
xor eax, 1
test al, al
je 0x40c9ac
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x7c
je 0x40c9b2
add dword [ebp - 0x14], 1
jmp 0x40c972
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
mov ecx, eax
call fcn.005379a0
sub esp, 8
cmp dword [ebp - 0x14], 0
setg al
leave
ret 0xc

Function at 0x40e906
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0053cf70
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040e64e
xor eax, 1
test al, al
je 0x40e948
mov ebx, 0
jmp 0x40e9ed
mov eax, dword [0x871388]
test eax, eax
jne 0x40e982
mov dword [esp], str.ADVAPI32.DLL
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 4], str.RegDeleteKeyExW
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [0x871388], eax
mov eax, dword [0x871388]
test eax, eax
je 0x40e9ca
mov ebx, dword [0x871388]
cmp byte [ebp - 0x2c], 0
je 0x40e99e
mov esi, 0x200
jmp 0x40e9a3
mov esi, 0
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.004c0930
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edx
call ebx
sub esp, 0x10
jmp 0x40e9e8
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.004c0930
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call eax
sub esp, 8
mov ebx, 1
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0053d570
cmp ebx, 1
jmp 0x40ea12
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40eeea
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x50
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044d4d9
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040cc73
lea eax, [ebp - 0x38]
mov ecx, eax
call fcn.004c0ac0
lea esi, [eax + eax]
lea eax, [ebp - 0x38]
mov ecx, eax
call fcn.004c0930
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
call fcn.004c0930
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, eax
call fcn.0053d570
jmp 0x40ef94
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x40ef9b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044d376
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
call fcn.004c0930
mov dword [esp + 0x14], 4
lea edx, [ebp - 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
sub esp, 0x18
nop
leave
ret
Function at 0x4171d6
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MapVirtualKeyA]
call eax
sub esp, 8
mov byte [ebp - 9], al
mov eax, dword [ebp + 8]
movzx eax, al
mov dword [esp], eax
call fcn.00417198
test al, al
je 0x417214
mov ebx, 3
jmp 0x417219
mov ebx, 2
movzx ecx, byte [ebp - 9]
mov eax, dword [ebp + 8]
movzx edx, al
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, eax
call fcn.004170f0
sub esp, 0xc
nop
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x417868
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_FindWindowA]
call eax
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x417995
cmp dword [ebp + 8], 0
jne 0x4178a8
cmp dword [ebp + 0xc], 0
jne 0x4178a8
mov eax, 0
jmp 0x4179ae
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x4178ca
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x4178de
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 5
mov dword [esp], eax
call fcn.0055be40
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 5
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_memset
cmp dword [ebp + 8], 0
je 0x41792e
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x417959
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
add edx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strcpy
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0x41772c
mov eax, dword [sym.imp.USER32.dll_EnumWindows]
call eax
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x417995
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0055be00
cmp dword [ebp - 0xc], 0
jne 0x4179a2
mov eax, 0
jmp 0x4179ae
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00417688
nop
leave
ret
Function at 0x41cb5a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x8714a0], 0
mov eax, dword [0x8714a4]
test eax, eax
je 0x41cb7d
mov dword [0x8714a4], 0
mov eax, dword [0x87149c]
test eax, eax
je 0x41cbbc
mov eax, dword [0x87149c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
mov eax, dword [0x87149c]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DestroyWindow]
call eax
sub esp, 4
mov dword [0x87149c], 0
nop
leave
ret

Function at 0x41cbbf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov ecx, 0x8714a8
call fcn.00539c40
sub esp, 4
mov eax, dword [0x8714a4]
test eax, eax
jne 0x41cc1f
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x41c8c9
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [0x8714a4], eax
mov eax, dword [0x8714a0]
test eax, eax
je 0x41cc41
mov eax, dword [0x8714a0]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
call eax
sub esp, 8
nop
leave
ret
Function at 0x420604
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov ecx, dword [ebp + 8]
call fcn.0052ec94
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
lea edx, [ebp - 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
call eax
sub esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x420753
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x18], edx
lea edx, [ebp - 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
call eax
sub esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42073d
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
lea eax, [ebp - 0x19]
mov ecx, eax
call fcn.004f6ed0
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x19]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
mov ecx, eax
call fcn.00538fe0
sub esp, 8
lea eax, [ebp - 0x19]
mov ecx, eax
call fcn.004f6f00
lea eax, [ebp - 0x40]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.0052ec00
sub esp, 4
lea eax, [ebp - 0x40]
mov ecx, eax
call fcn.00539b30
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004ab508
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004ab508
add dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x420792
jmp 0x42061a
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x42079b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov ecx, dword [ebp + 8]
call fcn.0052ec94
mov dword [ebp - 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
lea eax, [ebp - 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
call eax
sub esp, 0x30
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x34]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
call eax
sub esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4208b5
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
lea eax, [ebp - 0x15]
mov ecx, eax
call fcn.004f6ed0
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x15]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
mov ecx, eax
call fcn.00538fe0
sub esp, 8
lea eax, [ebp - 0x30]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.0052ebd4
sub esp, 4
lea eax, [ebp - 0x30]
mov ecx, eax
call fcn.00539b30
lea eax, [ebp - 0x15]
mov ecx, eax
call fcn.004f6f00
add dword [ebp - 0xc], 1
cmp dword [ebp - 0x14], 0
jne 0x4208c4
jmp 0x420830
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004ab508
jmp 0x420901
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x420909
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ecx, dword [ebp + 8]
call fcn.005393a0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4209f4
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4209b7
mov eax, dword [ebp - 0x18]
cmp eax, 2
jne 0x4209d3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.00539c40
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004ab508
jmp 0x4209f4
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x420a2d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
nop
leave
ret
Function at 0x42116f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [esp + 0x20], 0
lea eax, [ebp - 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionDevices
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
test eax, eax
setne al
test al, al
je 0x42120c
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x80]
mov eax, dword [0x56896c]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x10], str.Error_opening_registry
mov dword [esp + 0xc], 0x130
mov dword [esp + 8], str._builds_Soffid_esso_libmazinger_engine_src_main_native_script_EcmaNetworkResource.cpp
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044ce0f
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionPrinterPorts
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
test eax, eax
setne al
test al, al
je 0x4212a3
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x80]
mov eax, dword [0x56896c]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x10], str.Error_opening_registry
mov dword [esp + 0xc], 0x136
mov dword [esp + 8], str._builds_Soffid_esso_libmazinger_engine_src_main_native_script_EcmaNetworkResource.cpp
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044ce0f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
leave
ret
Function at 0x42178a
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x84
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [esp + 0xc], 8
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call sub.MPR.DLL_WNetAddConnection2W
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x421890
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407942
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.004216ca
lea eax, [ebp - 0x60]
mov ecx, eax
call fcn.004bfb20
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040cd2f
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x48]
mov ecx, eax
call fcn.004bfb20
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x80]
mov edx, dword [0x56896c]
shl edx, 2
add edx, ecx
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.Error_connecting_drive__s:__S
mov dword [esp + 0xc], 0x188
mov dword [esp + 8], str._builds_Soffid_esso_libmazinger_engine_src_main_native_script_EcmaNetworkResource.cpp
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044ce0f
mov ebx, eax
lea eax, [ebp - 0x60]
mov ecx, eax
call fcn.00539b30
jmp 0x42187c
lea eax, [ebp - 0x48]
mov ecx, eax
call fcn.00539b30
mov eax, ebx
mov dword [esp], eax
call fcn.00493f60
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4243c2
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x134
mov ecx, dword [ebp + 8]
call fcn.005393a0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8004667e
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_ioctlsocket]
call eax
sub esp, 0xc
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.00423b64
mov eax, dword [ebp - 0x20]
add eax, 0xea60
mov dword [ebp - 0x14], eax
mov byte [ebp - 9], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xff
lea eax, [ebp - 0x120]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_recv]
call eax
sub esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x42446b
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.00423b64
jmp 0x4244b0
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
lea eax, [ebp - 0x120]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.00539d30
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 0xa
mov ecx, dword [ebp + 8]
call fcn.004bfaa0
sub esp, 8
cmp eax, 0xffffffff
setne al
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4244c3
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jle 0x4244c3
jmp 0x42441b
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], eax
jg 0x4244f3
mov dword [esp], 0x576d48
mov ecx, dword [ebp + 8]
call fcn.00539c40
sub esp, 4
jmp 0x4244f3
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4244fc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ecx, dword [ebp + 8]
call fcn.005393a0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_send]
call eax
sub esp, 0x10
cmp eax, 0xffffffff
sete al
test al, al
jne 0x424586
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004243c2
lea eax, [ebp - 0x20]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.00539b90
sub esp, 4
lea eax, [ebp - 0x20]
mov ecx, eax
call fcn.00539b30
jmp 0x424587
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret