joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d9cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 7], 0
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x79
mov byte [ebp - 0x15], 0x44
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x6c
call fcn.0049d976
lea ecx, [ebp - 0x20]
mov dword [0x4afa14], eax
push ecx
push eax
call dword [0x4b317c]
test eax, eax
jne 0x49da54
leave
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00495d62
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x49e048
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push 0x19
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00495d62
add esp, 0xc
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x17], 0x68
mov byte [ebp - 0x12], 0x4d
mov byte [ebp - 0xd], 0x42
mov byte [ebp - 8], bl
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0xc], 0x79
mov byte [ebp - 7], bl
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 6], bl
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 5], bl
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 9], bl
mov byte [ebp - 4], bl
call fcn.00495d91
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [0x4b317c]
cmp eax, ebx
jne 0x49e0d6
xor eax, eax
jmp 0x49e105
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00495d62
add esp, 0xc
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49e911
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp - 0x108]
push edi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xd4
push eax
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x22
mov byte [ebp - 0xd], 0xf0
mov byte [ebp - 0xc], 0xbb
mov byte [ebp - 0xb], 0x19
mov byte [ebp - 0xa], 0xe9
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x35
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0x24
mov byte [ebp - 5], 0xc2
mov byte [ebp - 4], 0x9e
mov byte [ebp - 3], 0x71
mov byte [ebp - 2], 0x7a
mov byte [ebp - 1], 0x68
call fcn.0049eadf
push 0x20
mov esi, 0x4b2e28
pop edi
lea eax, [ebp - 0x30]
push edi
push esi
push eax
call fcn.00498b59
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0049eb9c
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00498b59
add esp, 0x30
cmp byte [ebp - 0x30], 0
je 0x49e9f1
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.0049e9fe
pop ecx
test eax, eax
pop ecx
jne 0x49e9f5
add esi, edi
push edi
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00498b59
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0049eb9c
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00498b59
add esp, 0x28
jmp 0x49e9a5
xor eax, eax
jmp 0x49e9fa
mov eax, 0xeaf5
pop edi
pop esi
leave
ret

Function at 0x49e9fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00495d62
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0x10], 0x57
mov byte [ebp - 0xb], 0x77
call fcn.0049ea7a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [0x4b317c]
test eax, eax
jne 0x49ea5a
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00495d62
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x49ea7a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00495d62
mov eax, dword [0x4afa0c]
and byte [ebp - 0xa], 0
and byte [ebp - 9], 0
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x33
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x64
jne 0x49eadd
lea eax, [ebp - 0x14]
push eax
call dword [0x4b31e8]
mov dword [0x4afa0c], eax
leave
ret
Function at 0x49eccb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 2
mov byte [ebp - 0xc], 0x4f
mov byte [ebp - 0xa], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 6], 0x47
mov byte [ebp - 4], 0x45
mov byte [ebp - 2], 0x45
mov byte [ebp - 0xb], 0x4c
mov byte [ebp - 9], 0x59
mov byte [ebp - 7], 0x42
mov byte [ebp - 5], 0x2e
mov byte [ebp - 3], 0x58
mov byte [ebp - 1], bl
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0xf], 0x58
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x23], 0x33
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1b], 0x58
mov byte [ebp - 0x19], bl
call fcn.0049efca
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
mov dword [ebp - 0x28], esi
je 0x49ee81
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x128
push eax
push esi
call fcn.0049f07a
pop ecx
test eax, eax
pop ecx
je 0x49ee88
call fcn.0049ef2c
cmp dword [ebp - 0x14c], eax
jne 0x49edb5
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0049f102
pop ecx
test eax, eax
pop ecx
jne 0x49ed9f
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0049f07a
pop ecx
test eax, eax
pop ecx
je 0x49ee88
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14c], eax
jne 0x49ee69
lea eax, [ebp - 0x130]
push eax
call fcn.0049eef4
lea eax, [ebp - 0x130]
push eax
call fcn.0049eed1
lea eax, [ebp - 0xc]
push eax
call fcn.0049eef4
lea eax, [ebp - 0x18]
push eax
call fcn.0049eef4
lea eax, [ebp - 0x24]
push eax
call fcn.0049eef4
lea eax, [ebp - 0xc]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0049ee96
mov esi, eax
lea eax, [ebp - 0x18]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0049ee96
mov edi, eax
lea eax, [ebp - 0x24]
push 0xd
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0049ee96
add esp, 0x38
cmp esi, ebx
je 0x49ee81
cmp edi, ebx
je 0x49ee81
cmp eax, ebx
je 0x49ee81
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0049f102
pop ecx
test eax, eax
pop ecx
je 0x49ee85
jmp 0x49eddf
xor eax, eax
jmp 0x49ee91
push 1
pop ebx
push esi
call fcn.00495fcb
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49ef2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00495d62
and byte [ebp - 1], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x49
mov byte [ebp - 2], 0x64
call fcn.00495d91
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [0x4b317c]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00495d62
mov eax, fcn.0049ef2c
add esp, 0xc
test eax, eax
je 0x49efc2
call esi
jmp 0x49efc7
call fcn.0049ca9c
pop esi
leave
ret

Function at 0x49efca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00495d62
and byte [ebp - 4], 0
add esp, 0xc
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x68
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 6], 0x6f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 9], 0x70
call fcn.00495d91
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [0x4b317c]
test eax, eax
jne 0x49f05a
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00495d62
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x49f07a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00495d62
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x72
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 3], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x46
call fcn.00495d91
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [0x4b317c]
test eax, eax
jne 0x49f0e2
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00495d62
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x49f102
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00495d62
and byte [ebp - 3], 0
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
call fcn.00495d91
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [0x4b317c]
test eax, eax
jne 0x49f16a
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00495d62
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x5e7e7d74
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2dee326c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x50a9c7
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
cmp dword [esp + 0x128], 0
je 0x50ab8c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x130]
xor ebp, ebp
push edi
mov dword [esp + 0x1c], ebp
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x50ab88
mov edx, esi
mov eax, dword [edx]
mov ebx, dword [esp + 0x130]
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
add eax, ebx
lea edi, [ecx + ebx]
mov dword [esp + 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x50aa32
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x10], eax
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00503142
add esp, 0xc
test ebx, ebx
je 0x50ab32
mov eax, dword [esp + 0x18]
and dword [esp + 0x14], 0
mov eax, dword [eax]
test eax, eax
je 0x50ab1b
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esp + 0x130]
test eax, eax
jns 0x50aa77
movzx ebx, ax
jmp 0x50aa7c
lea ebx, [ebp + 2]
add ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword [edi + ecx], eax
test eax, eax
jne 0x50aaf3
cmp dword [0x50feac], 1
jne 0x50aaf3
push 0x104
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00503142
lea eax, [esp + 0x34]
push eax
call fcn.0050ac74
lea eax, [esp + 0x38]
push 0x502204
push eax
call fcn.00503170
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00503170
add esp, 0x20
lea eax, [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00503197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x50fe58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
mov edi, ecx
mov dword [esp + 0x14], ecx
shl edi, 2
mov eax, dword [edi + eax]
test eax, eax
jne 0x50aa70
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
inc ebp
imul edx, ebp, 0x14
mov dword [esp + 0x1c], ebp
add edx, esi
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x50a9f9
jmp 0x50ab88
lea eax, [esp + 0x28]
push eax
call fcn.0050ac74
lea eax, [esp + 0x2c]
mov dword [esp], 0x5021e8
push eax
call fcn.00503170
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00503170
add esp, 0x10
cmp dword [0x50feac], 1
jne 0x50ab88
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00503197
pop ecx
push eax
lea eax, [esp + 0x34]
push eax
push dword [0x50fe58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
xor eax, eax
add esp, 0x11c
ret
Function at 0x50abc2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x208
lea eax, [ebp - 0x410]
push eax
call fcn.0050ac40
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x50fd24], eax
push 0
push 0
push 0
push 2
push 0
push dword [0x50fd24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x50fd28], eax
push 0
push 0
push 0
push 4
push dword [0x50fd28]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add eax, dword [0x50feb4]
mov esp, ebp
pop ebp
ret
Function at 0x50accc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x50acdf
xor eax, eax
jmp 0x50ae63
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x50ad1d
mov eax, dword [ebp - 8]
add eax, 0xf8
mov dword [ebp - 0xc], eax
jmp 0x50ad36
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x8664
jne 0x50ad36
mov eax, dword [ebp - 8]
add eax, 0x108
mov dword [ebp - 0xc], eax
and dword [ebp - 0x10], 0
jmp 0x50ad43
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
je 0x50ad7c
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x24]
push eax
push 0x40
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x50ad3c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x50ae1c
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
jmp 0x50adac
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
je 0x50ae0b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x50adc4
jmp 0x50ada5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, eax
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
sar eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
je 0x50adfc
jmp 0x50ae09
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x50ada5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x50ad7c
and dword [ebp - 0x14], 0
jmp 0x50ae29
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
je 0x50ae61
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x38], edx
push 0
push dword [ebp - 0x24]
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x50ae22
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x50b00a
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
push ebx
push esi
push edi
mov esi, dword [eax]
xor edi, edi
call fcn.0050afcd
push esi
call fcn.0050b1bb
push dword [esp + 0x84]
mov esi, eax
call fcn.0050b1bb
push 0x58
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00503142
lea eax, [esp + 0x34]
push eax
push 5
push esi
call fcn.0050aee7
mov ebx, eax
add esp, 0x20
cmp ebx, 5
jb 0x50b1a2
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.0050b1f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x50b1a2
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x14], 0
mov ebp, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x14]
push eax
push 0x40
push ebx
push esi
push ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x50b185
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x6c
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x50b16a
xor edx, edx
lea ecx, [edi + 0x2c]
test ebx, ebx
je 0x50b0eb
mov ebp, esi
sub ebp, ecx
mov al, byte [ecx + ebp]
mov byte [ecx], al
mov byte [edi + edx + 0x4c], al
inc edx
inc ecx
cmp edx, ebx
jb 0x50b0d5
mov ebp, dword [esp + 0x20]
lea ecx, [edi + 0x2c]
lea eax, [ebx + esi]
push eax
lea eax, [ecx + ebx]
push eax
call fcn.0050af88
mov edx, dword [esp + 0x20]
mov eax, edx
pop ecx
pop ecx
mov ecx, esi
sub eax, esi
sub ecx, edx
cmp edx, esi
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x50b134
lea eax, [edi + 0xc]
push edx
push eax
call fcn.0050af88
pop ecx
sub eax, edi
pop ecx
sub eax, 0xc
push eax
lea eax, [edi + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [edi + 0xc]
jmp 0x50b136
mov eax, edx
push eax
push esi
call fcn.0050af88
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov dword [edi + 8], eax
lea eax, [edi + 0x2c]
push ebx
push eax
push ebp
mov dword [edi + 4], ebx
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 0x6c
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [edi], 0
pop ebp
je 0x50b196
mov ecx, dword [esp + 0x7c]
lea eax, [edi + 0x2c]
mov dword [ecx], eax
jmp 0x50b1a2
push 1
push edi
call fcn.0050b2e4
pop ecx
pop ecx
xor edi, edi
push 0x50fd40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
add esp, 0x6c
ret
Function at 0x50b1f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [0x50fd34], 0x40
jae 0x50b2dd
mov ecx, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x54]
mov ebp, 0xfff80000
add esi, ecx
add ecx, dword [esp + 0x5c]
push edi
cmp ecx, 0x80000000
lea edi, [esp + 0x2c]
push 9
lea eax, [ecx + 0x7ff80000]
cmovb ebp, eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
cmovb edi, eax
cmp edi, ebp
jae 0x50b2da
push 0x1c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x50b2b5
cmp dword [esp + 0x20], 0x10000
jne 0x50b2a7
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x50b2ab
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x50b2ab
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x50b2b9
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add edi, eax
cmp edi, ebp
jb 0x50b258
test ebx, ebx
je 0x50b2da
xor eax, eax
cmp dword [eax*4 + 0x50fd58], 0
je 0x50b2cd
inc eax
cmp eax, 0x40
jb 0x50b2bb
jmp 0x50b2da
inc dword [0x50fd34]
mov dword [eax*4 + 0x50fd58], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret