joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d74
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
sub esp, 0x38
mov eax, dword [0x437050]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov dword [esp + 0xc], edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
xor edi, edi
mov dword [esp + 0x14], eax
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x404e72
push ebp
push 0xf01ff
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x404e6c
lea eax, [esp + 0x18]
push eax
push 0x24
lea eax, [esp + 0x28]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x404e5f
cmp dword [esp + 0x24], 1
je 0x404e5f
lea eax, [esp + 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x404e5f
cmp dword [esp + 0x24], 1
je 0x404e5f
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x18]
push eax
push 0x24
lea eax, [esp + 0x28]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x404e55
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x404e55
cmp ebp, 0xffffffff
je 0x404e50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, ebp
ja 0x404e55
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x404e10
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebp
xor edi, edi
inc edi
push ebx
call ebp
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405dfb
add esp, 0x38
ret
Function at 0x404e84
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
sub esp, 0x44
mov eax, dword [0x437050]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
push 2
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov ebp, edx
push edi
push edi
mov esi, ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x404f58
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x28]
push edi
push 2
push pe_nt_image_headers32
push 0x42
push ebp
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebp, eax
test ebp, ebp
je 0x404f4f
mov eax, dword [esp + 0x18]
xor edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
inc edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call esi
mov eax, 0xea60
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, 0x433065
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
push eax
push 2
push ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], 0x258
mov dword [esp + 0x38], 3
call esi
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405dfb
add esp, 0x44
ret

Function at 0x404f6b
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x437050]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00405102
mov ebp, 0x104
push ebp
push 0
lea edi, [eax - 1]
neg edi
lea eax, [esp + 0x20]
push eax
sbb edi, edi
and edi, 0x100
add edi, 0xf013f
call fcn.00407830
push esi
push str.SYSTEMControlSet001Services_sParameters
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.004022bb
add esp, 0x1c
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
lea eax, [esp + 0x14]
push eax
push ebp
push edi
push ebp
push ebp
push ebp
lea eax, [esp + 0x34]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x405005
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push 2
push ebp
push str.ServiceDll
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405dfb
add esp, 0x110
ret
Function at 0x40501e
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x437050]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00405102
mov ebp, 0x104
push ebp
push 0
lea edi, [eax - 1]
neg edi
lea eax, [esp + 0x20]
push eax
sbb edi, edi
and edi, 0x100
add edi, 0xf013f
call fcn.00407830
push esi
push str.SYSTEMCurrentControlSetServices_sParameters
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.004022bb
add esp, 0x1c
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
lea eax, [esp + 0x14]
push eax
push ebp
push edi
push ebp
push ebp
push ebp
lea eax, [esp + 0x34]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4050b8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push 2
push ebp
push str.ServiceDll
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00405dfb
add esp, 0x110
ret

Function at 0x405144
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
call fcn.00405102
lea esi, [eax - 1]
neg esi
lea eax, [ebp - 4]
push eax
sbb esi, esi
xor ebx, ebx
and esi, 0x100
add esi, 0xf013f
push esi
push ebx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4051a1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push str.REG_BINARY
push ebx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x4051c3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push ebx
push str.Security
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x406990
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4069cf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4069cf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4069cf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4069cf
cmp dword [ecx + 0x74], 0xe
jbe 0x4069cf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x417775
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004175eb

Function at 0x41e2cb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041de1e

Function at 0x426360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42638d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42638d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4012c1
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x47fc08
call fcn.0047f2b0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
call fcn.0042d363
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.0042d363
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0042d363
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0042d363
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call fcn.0042d363
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call fcn.0042d363
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.0042d363
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.0042b9d8
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 7
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00402d66
or dword [esi + 0x20], 0xffffffff
lea edi, [esi + 0x74]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4878cc
mov dword [esi + 0x14], 0x1f40
mov byte [esi + 0x18], 1
mov word [esi + 8], bx
mov dword [esi + 0x1c], ebx
mov word [esi + 0x30], bx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4012ce
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x47fc08
call fcn.0047f2b0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
call fcn.0042d363
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.0042d363
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0042d363
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0042d363
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call fcn.0042d363
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 4
call fcn.0042d363
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call fcn.0042d363
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.0042b9d8
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 7
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00402d66
or dword [esi + 0x20], 0xffffffff
lea edi, [esi + 0x74]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4878cc
mov dword [esi + 0x14], 0x1f40
mov byte [esi + 0x18], 1
mov word [esi + 8], bx
mov dword [esi + 0x1c], ebx
mov word [esi + 0x30], bx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406520
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47ff58
call fcn.0047f2b0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
call fcn.0042b9d8
and dword [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0042e9d7
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.0042e9d7
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call fcn.0042d363
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0042d363
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x406578
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47ff90
call fcn.0047f2b0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.0042d65f
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call fcn.0042d65f
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.0042ecd9
and byte [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0042ecd9
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0042ba9a
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x406583
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47ff90
call fcn.0047f2b0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.0042d65f
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call fcn.0042d65f
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.0042ecd9
and byte [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0042ecd9
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0042ba9a
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40a80d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x480824
call fcn.0047f2b0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, edi
call fcn.0042bd57
mov byte [esi + 0xc], al
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0042be28
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x10]
call fcn.0042d794
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d65f
mov ecx, edi
call fcn.0042bd80
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0042bd6b
push eax
push dword [ebp + 8]
call fcn.0042c348
pop ecx
mov dword [esi + 0x18], eax
pop ecx
mov dword [esi + 0x1c], edx
mov ecx, edi
call fcn.0042bd80
mov ecx, edi
call fcn.0042bd80
mov ecx, edi
mov dword [esi + 0x20], eax
call fcn.0042bd80
mov dword [esi + 0x24], eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0042be28
push eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 1
call fcn.0042d794
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d65f
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0042be28
push eax
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], 2
call fcn.0042d794
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042d65f
mov ecx, edi
call fcn.0042bd94
and dword [esi + 0x3c], 0
mov ecx, edi
mov dword [esi + 0x38], eax
call fcn.0042bd94
and dword [esi + 0x34], 0
mov ecx, edi
mov dword [esi + 0x30], eax
call fcn.0042bd94
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x44], 0
mov dword [esi + 0x40], eax
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40cecf
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x480e1f
call fcn.0047f2b0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x487c28
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 9
call fcn.0040f8e9
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.0042cbca
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 7
call fcn.0042cbca
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 6
call fcn.0042cbca
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 5
call fcn.0042cbca
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.0042cbca
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.0042cbca
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.0042ecd9
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0042ecd9
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.0042ecd9
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0042cbca
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x412f97
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x481b35
call fcn.0047f2b0
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.0042cf72
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call fcn.00420d26
lea edi, [esi + 0x18]
push ebx
mov ecx, edi
call fcn.0042cb9c
mov dword [edi], 0x487c3c
push ebx
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.0042cb9c
push ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0042cb9c
push ebx
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 3
call fcn.0042cb9c
push ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
call fcn.0042cb9c
push ebx
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 5
call fcn.0042cb9c
lea edi, [esi + 0x60]
push ebx
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0042cb9c
mov dword [edi], 0x487c40
push ebx
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 7
call fcn.0042cb9c
push ebx
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 8
call fcn.0042cb9c
push ebx
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 9
call fcn.0042cb9c
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0xa
call fcn.0042c8a7
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xb
call fcn.0040d8eb
push fcn.0041f054
push fcn.0041f01c
push 0x10
lea eax, [esi + 0x278]
push 0x18
push eax
mov byte [ebp - 4], 0xc
call fcn.0047f493
lea ecx, [esi + 0x3f8]
mov byte [ebp - 4], 0xd
call fcn.0041f01c
push 5
mov dword [esi], 0x487cc4
call dword [0x487184]
mov edi, dword [0x487134]
push 0xdef5d2
mov dword [esi + 0x204], eax
call edi
push 0xf6e8d4
mov dword [0x4b471c], eax
call edi
push 0xffffff
mov dword [0x4b4720], eax
call edi
push 0xe9e9e9
mov dword [0x4b4724], eax
call edi
push 0xf0dcf5
mov dword [0x4b4728], eax
call edi
push 0x4a7624
push 2
push ebx
push ebx
push 8
push 1
mov edi, dword [0x487130]
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0xe
mov dword [0x4b472c], eax
call edi
push 0x4a7624
push 2
push ebx
push ebx
push 8
push 1
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0xe
mov dword [esi + 0x26c], eax
call edi
push 0x4a7624
push 2
push ebx
push ebx
push 8
push 1
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0xe
mov dword [esi + 0x270], eax
call edi
mov edi, dword [0x48766c]
push ebx
push 0x10
push 0x10
push 1
push 0x80
push 0x400000
mov dword [esi + 0x274], eax
call edi
push ebx
push 0x20
push 0x20
push 1
push 0x80
push 0x400000
mov dword [esi + 0x424], eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x428], eax
mov byte [esi + 0x410], bl
mov dword [0x4b4624], esi
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x420], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x264], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4131ea
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x481bfb
call fcn.0047f2b0
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x487cc4
mov dword [ebp - 4], 0xe
mov edi, 0x4b50b0
jmp 0x413219
push 2
call dword [0x4872c8]
mov ecx, edi
call fcn.004519be
test al, al
jne 0x413211
push ebx
mov ebx, dword [0x487180]
lea edi, [esi + 0x26c]
mov dword [ebp - 0x10], 3
push dword [edi]
call ebx
add edi, 4
dec dword [ebp - 0x10]
jne 0x413238
and dword [0x4b4624], 0
lea edi, [esi + 0x41c]
mov eax, dword [edi]
test eax, eax
je 0x413261
push eax
call dword [0x487110]
and dword [edi], 0
lea edi, [esi + 0x268]
mov eax, dword [edi]
test eax, eax
je 0x413273
push eax
call ebx
and dword [edi], 0
mov eax, dword [esi + 0x420]
test eax, eax
je 0x413280
push eax
call ebx
mov eax, dword [esi + 0x264]
pop ebx
test eax, eax
je 0x413292
push eax
call dword [0x4877f4]
lea ecx, [esi + 0x3f8]
mov byte [ebp - 4], 0xd
call fcn.0041f054
push fcn.0041f054
push 0x10
lea eax, [esi + 0x278]
push 0x18
push eax
mov byte [ebp - 4], 0xc
call fcn.0047f39f
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xb
call fcn.0040da02
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0xa
call fcn.0042c915
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 9
call fcn.0042cbca
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 8
call fcn.0042cbca
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 7
call fcn.0042cbca
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 6
call fcn.0042cbca
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 5
call fcn.0042cbca
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
call fcn.0042cbca
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 3
call fcn.0042cbca
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0042cbca
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.0042cbca
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.0042cbca
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0042cbca
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41ffa2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x482fc0
call fcn.0047f2b0
sub esp, 0x78
and byte [ebp - 0x4c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, dword [esi + 0xc]
lea ecx, [ebp - 0x48]
mov ebx, eax
call fcn.0042b9d8
mov eax, dword [edi + 0x14]
and dword [ebp - 4], 0
add eax, 0x400
lea ecx, [ebp - 0x48]
push eax
call fcn.0042bae8
lea ecx, [ebp - 0x48]
call fcn.00427a2a
push 0x40
mov dword [ebp + 8], eax
pop ecx
mov eax, ebx
cmp esi, ecx
ja 0x41fffa
mov ecx, esi
add ecx, ebx
cmp ebx, ecx
jae 0x420008
xor byte [eax], 0x7f
inc eax
cmp eax, ecx
jb 0x420000
lea eax, [esi + esi*4]
lea ecx, [ebp - 0x84]
shl eax, 2
push eax
push esi
push dword [ebp + 8]
push ebx
call fcn.004200e1
mov esi, eax
mov eax, dword [edi + 0x14]
cmp esi, eax
push esi
je 0x420049
push eax
lea eax, [ebp - 0x20]
push 0x4a89f0
push eax
call fcn.0042a2b7
add esp, 0x10
lea eax, [ebp - 0x20]
push 0x49339c
push eax
call fcn.0047f322
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
call fcn.00455e8d
lea eax, [edi + 0x18]
push 0x10
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0047f5e8
add esp, 0xc
test eax, eax
je 0x420088
lea eax, [ebp - 0x20]
push 0x4a89c8
push eax
call fcn.0042a2b7
pop ecx
lea eax, [ebp - 0x20]
pop ecx
push 0x49339c
push eax
call fcn.0047f322
lea ecx, [ebp - 0x14]
call fcn.0042a5dc
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042de45
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a621
push esi
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0042a70e
lea ecx, [ebp - 0x14]
call fcn.0042a594
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0042a55f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0042ba9a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x429ce6
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x1db4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jle 0x429d0e
mov edx, dword [esp + 8]
push edi
movzx edi, byte [edx]
xor edi, eax
movzx eax, byte [edi + ecx + 0x1cb4]
mov byte [edx], al
inc edx
dec esi
jne 0x429cfa
pop edi
mov dword [ecx + 0x1db4], eax
pop esi
ret 8

Function at 0x429d3b
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push edi
mov edi, ecx
test edx, edx
mov ecx, dword [edi + 0x1db4]
jle 0x429d68
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [esi]
mov bl, byte [edi + eax + 0x1cb4]
xor bl, cl
mov ecx, eax
mov byte [esi], bl
inc esi
dec edx
jne 0x429d52
pop esi
pop ebx
mov dword [edi + 0x1db4], ecx
pop edi
ret 8

Function at 0x429dd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, edx
push esi
shr eax, 2
test eax, eax
jle 0x429dfd
mov esi, eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx]
add ecx, 4
xor dword [eax], edi
add eax, 4
dec esi
jne 0x429ded
pop edi
jmp 0x429e00
mov eax, dword [ebp + 8]
and edx, 3
jle 0x429e10
mov esi, edx
mov dl, byte [ecx]
xor byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x429e07
pop esi
pop ebp
ret