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

Disassembly:
push 0xffffffffffffffff
push 0x100066ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov dword [esp + 0x10], 0
push str.HTTP_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 2
call sub.MFC42.DLL_CString::Find
push 0x100091b0
lea ecx, [esp + 0x2c]
mov esi, eax
call sub.MFC42.DLL_CString::Find
mov edi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
push 0x100091b0
push ecx
call sub.MFC42.DLL_operator
push 0x100091b0
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 4
call fcn.1000626c
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
sub esi, edi
lea eax, [esp + 0xc]
push esi
push edi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, 1
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x10004240
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
test ebp, ebp
jne 0x10004253
pop edi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push str.JTWZHOMEPAGESharedData
and ecx, 3
push 0
rep stosb byte es:[edi], al
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
push 0
mov ebx, eax
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x10004296
pop edi
pop ebp
pop ebx
ret 8
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
ret 8
Function at 0x10004680
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x100046a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x10004e80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysStringLen
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10004ebe
push 0x1000a068
jmp 0x10004eec
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.WHBarId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004ee7
push 0x1000a068
jmp 0x10004eec
lea ecx, [esp + 0xc]
push ecx
mov esi, dword [esp + 0x214]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x208
ret 4
Function at 0x10005120
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov bl, 4
push edi
mov ax, word [esi]
mov byte [esp + 0x11], bl
test ax, ax
mov byte [esp + 0x10], bl
jne 0x10005147
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp ax, 0xffff
jne 0x10005156
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x100096d0]
test al, 0xf8
je 0x100051a8
test ecx, eax
jne 0x100051d4
or ecx, eax
test al, 0x10
je 0x10005180
xor bl, 6
jmp 0x10005189
test al, 0x20
je 0x10005189
xor byte [esp + 0x11], 6
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x100096d0]
test al, 0xf8
jne 0x10005171
mov byte [esp + 0x10], bl
or ecx, eax
cmp dl, 0xf
jne 0x100051e1
mov al, byte [esi]
inc esi
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
and eax, 0xff
or ecx, dword [eax*4 + 0x10009ad0]
cmp ecx, 0xffffffff
jne 0x100051fd
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
pop edi
mov byte [esp + 0xc], bl
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dl, 0xf7
jne 0x100051f0
test byte [esi], 0x38
jne 0x100051fd
or ch, 0x20
jmp 0x100051fd
cmp dl, 0xf6
jne 0x100051fd
test byte [esi], 0x38
jne 0x100051fd
or ch, 1
test ch, 0x40
je 0x1000526c
mov al, byte [esi]
inc esi
mov bl, al
and bl, 0x38
cmp bl, 0x20
jne 0x1000521a
cmp dl, 0xff
jne 0x1000521a
or ecx, 0x40000
mov dl, al
and al, 7
and dl, 0xc0
cmp dl, 0xc0
je 0x1000526c
cmp byte [esp + 0x10], 4
jne 0x10005256
cmp al, 4
jne 0x10005239
mov al, byte [esi]
or ch, 8
inc esi
and al, 7
cmp dl, 0x40
jne 0x10005243
or ecx, 1
jmp 0x1000526c
cmp dl, 0x80
jne 0x1000524d
or ecx, 4
jmp 0x1000526c
cmp al, 5
jne 0x1000526c
or ecx, 4
jmp 0x1000526c
cmp dl, 0x40
jne 0x10005260
or ecx, 1
jmp 0x1000526c
cmp dl, 0x80
je 0x10005269
cmp al, 6
jne 0x1000526c
or ecx, 2
push ebp
mov ebp, ecx
mov ebx, ecx
shr ebp, 8
and ebx, 7
and ebp, 7
test ch, 0x10
je 0x1000528b
mov edx, dword [esp + 0x14]
and edx, 0xff
add ebx, edx
test ch, 0x20
je 0x1000529b
mov eax, dword [esp + 0x15]
and eax, 0xff
add ebp, eax
xor edi, edi
test ebx, ebx
jbe 0x100052b8
push 0x1000a068
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov cl, byte [esi]
inc esi
mov byte [esp + edi + 0x30], cl
inc edi
cmp edi, ebx
jb 0x100052a1
xor edi, edi
test ebp, ebp
jbe 0x100052d5
push 0x1000a068
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [esi]
inc esi
mov byte [esp + edi + 0x38], dl
inc edi
cmp edi, ebp
jb 0x100052be
mov eax, dword [esp + 0x44]
pop ebp
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x10005310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 5
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0
push ebx
call fcn.100050e0
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 4], esi
test eax, eax
je 0x100054b5
test ebx, ebx
je 0x100054b5
test esi, esi
je 0x100054b5
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
jne 0x10005372
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
lea eax, [esi + 5]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x100053a4
push edi
mov dword [esp + 0x14], 3
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, esi
mov eax, 0x90909090
mov edx, ecx
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.100054d0
mov edx, dword [ebp]
lea ecx, [esi + ebx]
lea eax, [edx + esi]
push eax
push ecx
push eax
call fcn.100054d0
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0x40
push esi
push eax
call edi
test eax, eax
jne 0x10005401
mov dword [esp + 0x10], 4
jmp 0x1000548e
lea ecx, [esp + 0x18]
push ecx
push 0x40
push esi
push ebx
call edi
test eax, eax
jne 0x1000541a
mov dword [esp + 0x10], 4
jmp 0x1000548e
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x20]
push edx
push esi
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10005486
cmp dword [esp + 0x20], esi
jne 0x10005486
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000547c
cmp dword [esp + 0x20], esi
jne 0x1000547c
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000549b
mov dword [esp + 0x10], 6
jmp 0x1000548e
mov dword [esp + 0x10], 5
mov edx, dword [ebp]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x10005de0
Capabilities:
Create thread

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1000a4c0], eax
mov eax, dword [0x1000a4bc]
cmp eax, 1
jne 0x10005e2f
push str.NtDeviceIoControlFile
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005e4d
push 0x10005580
push eax
push 0x1000a1d0
call fcn.100052f0
push 0x1000a1d0
call fcn.10005310
add esp, 0x10
jmp 0x10005e4d
push 0x10005580
push str.NtDeviceIoControlFile
push str.ntdll.dll
push str.mswsock.dll
mov ecx, 0x1000a460
call fcn.10004f50
push 0
push 0
push 0
push 0x10005da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret
Function at 0x4d1733
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4d56e8
call 0x575ad8
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call 0x58d42b
push eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call 0x58d2cf
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call 0x58d196
mov eax, dword [edi]
push 1
push ebx
push ebx
mov dword [esi + 8], eax
push dword [edi + 0x1c]
call 0x576230
mov ecx, dword [edi + 0x20]
add eax, ecx
mov dword [esi + 0x10], eax
lea eax, [esi + 0x18]
push eax
lea eax, [edi + 4]
adc edx, ebx
and dword [esi + 0x30], ebx
and dword [esi + 0x2c], ebx
push eax
mov dword [esi + 0x14], edx
call fcn.004d17e3
lea eax, [esi + 0x1c]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.004d17e3
lea eax, [esi + 0x20]
add edi, 0x14
push eax
push edi
call fcn.004d17e3
mov eax, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [ebp + 0xc]
mov dword [esi], eax
call 0x58d196
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4d347f
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0xc], ecx
cmp edi, edx
jne 0x4d3499
xor eax, eax
jmp 0x4d3547
xor eax, eax
cmp dword [ebp + 0xc], edx
mov dword [ebp - 4], edx
jbe 0x4d3547
push ebx
push esi
jmp 0x4d34ae
mov edi, dword [ebp + 8]
movzx esi, byte [edx + edi]
inc edx
shl esi, 8
cmp edx, dword [ebp + 0xc]
jae 0x4d34c4
movzx ebx, byte [edx + edi]
or esi, ebx
inc edx
jmp 0x4d34c7
inc dword [ebp - 4]
shl esi, 8
cmp edx, dword [ebp + 0xc]
jae 0x4d34d8
movzx edi, byte [edx + edi]
or esi, edi
inc edx
jmp 0x4d34db
inc dword [ebp - 4]
push 3
pop edi
cmp dword [ebp - 4], 0
je 0x4d34ee
dec dword [ebp - 4]
mov byte [ebp + edi - 8], 0x3d
jmp 0x4d3503
mov ebx, dword [0x51091c]
mov ecx, esi
and ecx, 0x3f
mov cl, byte [ecx + ebx]
mov byte [ebp + edi - 8], cl
mov ecx, dword [ebp - 0xc]
shr esi, 6
dec edi
jns 0x4d34de
xor esi, esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4d3528
cmp dword [ecx + 4], edi
jb 0x4d3528
mov edi, dword [ebp + 0x10]
mov byte [eax + edi], 0xd
inc eax
mov byte [eax + edi], 0xa
inc eax
and dword [ecx + 4], 0
mov edi, dword [ebp + 0x10]
mov bl, byte [ebp + esi - 8]
mov byte [eax + edi], bl
inc eax
inc esi
inc dword [ecx + 4]
cmp esi, 4
jl 0x4d350b
cmp edx, dword [ebp + 0xc]
jb 0x4d34ab
pop esi
pop ebx
pop edi
leave
ret 0x10
Function at 0x4d354c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x4d361c
mov eax, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edx, dword [eax]
mov esi, dword [edx - 8]
add esi, edx
cmp edx, esi
jae 0x4d3620
xor eax, eax
xor ebx, ebx
cmp edx, esi
jae 0x4d35da
mov cl, byte [edx]
inc edx
cmp cl, 9
jl 0x4d3591
cmp cl, 0xa
jle 0x4d35d5
cmp cl, 0xd
je 0x4d35d5
cmp cl, 0x20
je 0x4d35d5
shl ebx, 6
cmp cl, 0x60
jle 0x4d35a3
movsx ecx, cl
sub ecx, 0x47
or ebx, ecx
jmp 0x4d35d4
cmp cl, 0x40
jle 0x4d35b0
movsx ecx, cl
sub ecx, 0x41
jmp 0x4d359f
cmp cl, 0x3d
jne 0x4d35b8
inc edi
jmp 0x4d35d4
cmp cl, 0x2f
jle 0x4d35c5
movsx ecx, cl
add ecx, 4
jmp 0x4d359f
jne 0x4d35cc
or ebx, 0x3f
jmp 0x4d35d4
cmp cl, 0x2b
jne 0x4d35d4
or ebx, 0x3e
inc eax
cmp eax, 4
jb 0x4d3576
cmp eax, 4
jne 0x4d361c
mov eax, dword [ebp + 8]
lea ecx, [eax + 3]
mov eax, ecx
sub eax, edi
cmp eax, dword [ebp + 0x10]
ja 0x4d361c
cmp ecx, dword [ebp + 8]
je 0x4d360f
dec ecx
test edi, edi
je 0x4d3604
mov eax, dword [ebp + 8]
sub eax, edi
add eax, 3
cmp ecx, eax
jae 0x4d360a
mov eax, dword [ebp + 0xc]
mov byte [ecx + eax], bl
shr ebx, 8
jmp 0x4d35ee
push 3
pop eax
sub eax, edi
add dword [ebp + 8], eax
jmp 0x4d356a
xor eax, eax
jmp 0x4d3623
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4d362a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
cmp ecx, eax
push edi
je 0x4d370f
cmp dword [ebp + 0x10], eax
je 0x4d370f
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
lea edi, [ecx + edx]
cmp ecx, edi
jae 0x4d3711
xor esi, esi
xor edx, edx
cmp dword [ebp + 8], edi
jae 0x4d36ca
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
mov cl, byte [ecx]
cmp cl, 9
jl 0x4d367f
cmp cl, 0xa
jle 0x4d36c5
cmp cl, 0xd
je 0x4d36c5
cmp cl, 0x20
je 0x4d36c5
shl edx, 6
cmp cl, 0x60
jle 0x4d3691
movsx ecx, cl
sub ecx, 0x47
or edx, ecx
jmp 0x4d36c4
cmp cl, 0x40
jle 0x4d369e
movsx ecx, cl
sub ecx, 0x41
jmp 0x4d368d
cmp cl, 0x3d
jne 0x4d36a8
inc dword [ebp + 0xc]
jmp 0x4d36c4
cmp cl, 0x2f
jle 0x4d36b5
movsx ecx, cl
add ecx, 4
jmp 0x4d368d
jne 0x4d36bc
or edx, 0x3f
jmp 0x4d36c4
cmp cl, 0x2b
jne 0x4d36c4
or edx, 0x3e
inc esi
cmp esi, 4
jb 0x4d365e
cmp esi, 4
jne 0x4d370f
mov esi, dword [ebp + 0xc]
lea ecx, [eax + 3]
mov ebx, ecx
sub ebx, esi
cmp ebx, dword [ebp + 0x14]
ja 0x4d370f
cmp ecx, eax
je 0x4d36fd
dec ecx
test esi, esi
je 0x4d36f2
mov ebx, eax
sub ebx, esi
add ebx, 3
cmp ecx, ebx
jae 0x4d36f8
mov ebx, dword [ebp + 0x10]
mov byte [ecx + ebx], dl
shr edx, 8
jmp 0x4d36de
push 3
pop ecx
sub ecx, esi
add eax, ecx
cmp dword [ebp + 8], edi
jb 0x4d365a
jmp 0x4d3711
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x50ff7b
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4dbb62
call 0x575ad8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0050b168
mov eax, dword [0x51e79c]
and dword [ebp - 4], 0
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
and dword [esi + 0x48], 0
mov dword [esi + 0x44], 0x4e65bc
push 0x523280
mov byte [ebp - 4], 2
mov dword [esi], 0x4e8260
mov dword [esi + 4], 7
call 0x58d31f
and dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x64
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x50ff86
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4dbb62
call 0x575ad8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0050b168
mov eax, dword [0x51e79c]
and dword [ebp - 4], 0
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
and dword [esi + 0x48], 0
mov dword [esi + 0x44], 0x4e65bc
push 0x523280
mov byte [ebp - 4], 2
mov dword [esi], 0x4e8260
mov dword [esi + 4], 7
call 0x58d31f
and dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x64
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x517242
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dc55d
call 0x575ad8
push ecx
mov eax, dword [0x51e79c]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [0x51e79c]
lea ebx, [esi + 0x20]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [0x51e79c]
mov dword [esi + 0x24], eax
or dword [esi + 8], 0xffffffff
mov byte [ebp - 4], 2
mov dword [esi], 0x4e8eb0
mov dword [esi + 0xc], edi
call 0x58d121
push 1
mov dword [esi + 0x1c], edi
pop eax
mov edi, 0x523280
push edi
mov ecx, ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
call 0x58d31f
push edi
lea ecx, [esi + 0x24]
call 0x58d31f
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x5188a4
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4dc7c3
call 0x575ad8
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [0x51e79c]
push 1
pop ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov edi, dword [eax - 8]
cmp edi, esi
jle 0x5188eb
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov al, byte [esi + eax]
xor al, byte [ebp + 0x10]
push eax
call 0x58d599
inc esi
cmp esi, edi
jl 0x5188d4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call 0x58cf0b
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call 0x58d196
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call 0x58d196
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x51a01e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dcb69
call 0x575ad8
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0051a6ac
push 0x40
call 0x58c41a
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x51a050
mov ecx, eax
call fcn.0050b99b
mov esi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov edi, esp
mov dword [ebp - 0x10], esp
push ecx
mov dword [esi + 8], 0x66
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x51538c
call 0x58d204
push edi
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0051c398
push 1
lea ecx, [esi + 0x30]
pop edi
push eax
mov dword [ebp - 4], edi
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call 0x58d196
push esi
lea ecx, [ebx + 0x14]
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xfffffff6
call 0x58bba8
mov ecx, dword [ebp - 0xc]
and dword [ebx + 0x2ec], 0
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x51a4a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dcc96
call 0x575ad8
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [0x51e79c]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 8], eax
mov eax, dword [0x51e79c]
mov dword [esi + 0xc], eax
push 0xa
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call 0x58b179
push 0xa
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call 0x58b179
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call 0x58b179
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call fcn.00518ede
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 6
call 0x54d0c4
lea eax, [esi + 0x204]
mov ecx, 0x4e65bc
mov dword [eax + 4], edi
mov dword [eax], ecx
lea eax, [esi + 0x20c]
mov dword [eax + 4], edi
mov dword [eax], ecx
lea ecx, [esi + 0x214]
mov byte [ebp - 4], 9
call fcn.004db613
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0xa
call fcn.004db613
lea ecx, [esi + 0x29c]
mov byte [ebp - 4], 0xb
call fcn.004db613
mov ecx, esi
mov byte [ebp - 4], 0xc
mov dword [esi], 0x4e9248
call fcn.0051a6ac
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x2e0], edi
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x2e4], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x51a5ad
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dcd4e
call 0x575ad8
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4e9248
mov dword [ebp - 4], 0xc
call fcn.0051a6eb
lea edi, [esi + 0x20c]
mov ecx, edi
call 0x59436b
lea ebx, [esi + 0x204]
mov ecx, ebx
call 0x59436b
mov ecx, esi
call fcn.0051c36b
lea ecx, [esi + 0x29c]
mov byte [ebp - 4], 0xb
call fcn.004db645
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0xa
call fcn.004db645
lea ecx, [esi + 0x214]
mov byte [ebp - 4], 9
call fcn.004db645
mov ecx, edi
mov edi, 0x4e5fb8
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov byte [ebp - 4], 0xd
call 0x59436b
mov ecx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov byte [ebp - 4], 0xe
call 0x59436b
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 6
call 0x54d0f1
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call fcn.00518fb2
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call 0x58b1d8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call 0x58b1d8
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call 0x58b1d8
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call 0x58d196
and byte [ebp - 4], 0
lea ecx, [esi + 8]
call 0x58d196
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret