joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4447cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00417030
lea edi, [esi + 4]
mov dword [esp + 0x3c], 0
mov ecx, edi
call fcn.004038c0
lea ebp, [esi + 0xc]
mov byte [esp + 0x3c], 1
mov ecx, ebp
call fcn.004032d0
lea ebx, [esi + 0x14]
mov byte [esp + 0x3c], 2
mov ecx, ebx
call fcn.004032d0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x3c], 3
call fcn.004048e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x3c], 4
call fcn.004048e0
lea ecx, [esi + 0x44]
mov byte [esp + 0x3c], 5
call fcn.004048e0
lea ecx, [esi + 0x58]
mov byte [esp + 0x3c], 6
call fcn.004048e0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x40], 7
mov dword [esi], method.KBase.virtual_0
mov dword [esp + 0x14], 0
call fcn.00403900
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 8
push ecx
mov ecx, edi
call fcn.00404290
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 7
call fcn.00403980
push 0x45eab0
mov ecx, ebp
call fcn.00403360
push 0x45eac0
mov ecx, ebx
call fcn.00403360
push 0x45e5ac
lea ecx, [esp + 0x24]
call fcn.00404c50
lea edx, [esp + 0x20]
lea ecx, [esi + 0x1c]
push edx
mov byte [esp + 0x40], 9
call fcn.00405210
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00404e10
push 0x45b5a0
lea ecx, [esp + 0x24]
call fcn.00404c50
lea eax, [esp + 0x20]
mov byte [esp + 0x3c], 0xa
push eax
lea ecx, [esi + 0x30]
call fcn.00405210
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00404e10
push 0x45b588
lea ecx, [esp + 0x24]
call fcn.00404c50
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0xb
push ecx
lea ecx, [esi + 0x44]
call fcn.00405210
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00404e10
push 0x45e5ac
lea ecx, [esp + 0x24]
call fcn.00404c50
lea edx, [esp + 0x20]
lea ecx, [esi + 0x58]
push edx
mov byte [esp + 0x40], 0xc
call fcn.00405210
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.00404e10
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x42d7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444835
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.KBase.virtual_0
mov dword [esp + 0x10], 7
call fcn.0042dde0
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 6
call fcn.00404e10
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 5
call fcn.00404e10
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00404e10
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 3
call fcn.00404e10
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call fcn.00403350
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.00403350
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.00403980
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.00417040
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42f750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4450b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 8]
xor edi, edi
mov ebx, 1
mov dword [ebp - 4], edi
cmp eax, edi
mov byte [ebp - 4], bl
je 0x42f925
mov edx, dword [ebp + 8]
cmp edx, edi
je 0x42f925
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jl 0x42f925
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42f925
mov ecx, esi
call fcn.0042dde0
sub esp, 0x14
mov dword [ebp + 8], edi
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x45de64
call fcn.00404c50
sub esp, 8
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 2
call fcn.00404240
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x45de2c
call fcn.00404c50
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.004217e0
mov esi, eax
mov dword [ebp - 0x78], vtable.KBase.0
lea ecx, [esi + 4]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x74]
call fcn.00404a70
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x60]
push edx
mov byte [ebp - 4], 6
call fcn.00404a70
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 7
call fcn.00404a70
add esi, 0x40
lea ecx, [ebp - 0x38]
push esi
mov byte [ebp - 4], 8
call fcn.00404a70
lea ecx, [ebp - 0x78]
push 0x451620
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x78], 0x4479ec
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x18]
mov bl, 0xa
mov byte [ebp - 4], bl
call fcn.0042dde0
sub esp, 0x14
mov dword [ebp + 8], 0
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x45de64
call fcn.00404c50
sub esp, 8
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
mov byte [ebp - 4], 0xb
call fcn.00404240
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0xcc]
push eax
mov byte [ebp - 4], bl
call fcn.004215e0
mov esi, eax
mov dword [ebp - 0x78], vtable.KBase.0
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0x74]
call fcn.00404a70
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x60]
push edx
mov byte [ebp - 4], 0xe
call fcn.00404a70
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xf
call fcn.00404a70
add esi, 0x40
lea ecx, [ebp - 0x38]
push esi
mov byte [ebp - 4], 0x10
call fcn.00404a70
lea ecx, [ebp - 0x78]
push 0x451620
push ecx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x78], 0x4479ec
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.00403980
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44542b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call fcn.00403900
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 4], 1
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00405bd0
push 1
lea edx, [ebp - 0x30]
push eax
push edx
mov byte [ebp - 4], 3
call fcn.00403da0
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00404290
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404040
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004033c0
lea ecx, [ebp - 0x28]
mov bl, al
mov byte [ebp - 4], 4
call fcn.00403350
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00403980
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403980
test bl, bl
je 0x430662
mov ecx, edi
call fcn.004059b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43063f
mov esi, dword [ebp + 8]
push 0x45eac8
mov ecx, esi
call fcn.00403330
mov dword [ebp - 0x14], 1
jmp 0x43067c
test al, 0x10
je 0x43065b
push 0x45eac8
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00403330
mov dword [ebp - 0x14], 1
jmp 0x43067c
push 0x45ead8
jmp 0x430648
mov esi, dword [ebp + 8]
mov edi, 1
push 0x45eac8
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00403330
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00403980
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x430760
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44548e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00430560
lea ecx, [ebp - 0x18]
push 0x45ead8
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00403370
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004033c0
lea ecx, [ebp - 0x18]
mov bl, al
mov byte [ebp - 4], 1
call fcn.00403350
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00403350
test bl, bl
je 0x430809
mov ecx, esi
call fcn.004059b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp + 8]
test eax, eax
setne dl
push edx
mov ecx, esi
call fcn.00403310
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
push 0x45eac8
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00403330
jmp 0x4307f4
Function at 0x4308d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4454fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
xor eax, eax
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00430560
lea edx, [ebp - 0x18]
push 0x45ead8
push edx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00403370
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004033c0
lea ecx, [ebp - 0x18]
mov bl, al
mov byte [ebp - 4], 1
call fcn.00403350
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00403350
test bl, bl
je 0x4309de
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push edi
push eax
mov ecx, esi
call fcn.00430560
lea ecx, [ebp - 0x20]
push 0x45eac8
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00403370
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004033c0
lea ecx, [ebp - 0x20]
mov bl, al
mov byte [ebp - 4], 3
call fcn.00403350
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00403350
test bl, bl
je 0x4309de
mov ecx, edi
call fcn.004059b0
mov ecx, dword [ebp + 0xc]
mov esi, eax
call fcn.004059b0
push esi
push eax
call dword [sym.imp.MSVCRT.dll__wrename]
add esp, 8
test eax, eax
je 0x4309de
push 0x45ead8
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00403330
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
push 0x45eac8
jmp 0x4309bf
Function at 0x4361b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x445d60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
add eax, ebp
push edi
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
call sub.MFC42u.DLL_operatornew
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x18
and ecx, 3
mov dword [esp + 0x30], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x20], 0x18
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42u.DLL_operatornew
mov esi, eax
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x44]
push 0xc8
push 0x18
add ecx, ebp
push esi
push ecx
push ebx
mov byte [esp + 0x44], 1
call fcn.004362c0
mov eax, dword [esp + 0x5c]
mov edx, esi
mov edi, esi
push esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 4], edx
mov ecx, 6
xor eax, eax
rep stosd dword es:[edi], eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x54]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
call sub.MFC42u.DLL_operatordelete
add esp, 0x24
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4364f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445dc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp eax, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov edi, 1
je 0x43653b
mov dword [ebx + 4], 0x44886c
mov dword [ebx + 0x58], 0x447ec0
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x2c]
push esi
push eax
push esi
push 0x10
push esi
mov ecx, ebx
call fcn.00434d00
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x20], edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x3c], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
push esi
mov dword [ebx + 0x40], esi
call sub.MFC42u.DLL_operatornew
mov ecx, esi
mov esi, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 0x44], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov al, byte [esp + 0x30]
mov ecx, dword [ebx + 4]
mov byte [ebx + 0x50], al
mov dword [ebx], fcn.004386a0
mov edx, dword [ecx + 4]
pop edi
pop esi
pop ebp
mov dword [edx + ebx + 4], 0x4487bc
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x54]
mov dword [eax + ebx], ecx
mov ecx, dword [esp + 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x436e10
Capabilities:
Access peb ldr_data
Authenticate hmac
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x445f44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push 0x10
mov dword [esp + 0xc], 0x10
call sub.MFC42u.DLL_operatornew
mov ebp, eax
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 1
push 0x10
push ebp
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.004362c0
push 0x34
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x18], 1
je 0x436f3c
push ebx
push edi
mov dword [esi], 0x448a24
mov edi, 0x40
mov byte [esp + 0x20], 2
push edi
mov dword [esi + 4], edi
call sub.MFC42u.DLL_operatornew
mov dword [esi + 8], eax
push edi
mov byte [esp + 0x28], 3
mov dword [esi + 0xc], edi
call sub.MFC42u.DLL_operatornew
add esp, 8
mov dword [esi + 0x10], eax
lea ebx, [esi + 0x14]
push 0x14
mov edi, ebx
mov byte [esp + 0x24], 4
mov ecx, edi
mov dword [esp + 0x2c], edi
call fcn.004373e0
mov ecx, edi
mov byte [esp + 0x20], 5
mov dword [edi], 0x448780
call fcn.0043acc0
mov edx, ebp
mov dword [esi], 0x4489f8
mov eax, dword [esi + 8]
mov byte [esp + 0x20], 6
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, 0xc
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov edi, dword [esi + 8]
xor eax, eax
add edi, 0x10
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 8]
mov dl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
xor dl, 0x5c
mov byte [ecx + eax], dl
mov edx, dword [esi + 8]
lea ecx, [eax + edx]
mov dl, byte [eax + edx]
xor dl, 0x36
inc eax
cmp eax, 0x40
mov byte [ecx], dl
jb 0x436f08
mov ecx, dword [esi + 8]
mov eax, dword [ebx]
push 0x40
push ecx
mov ecx, ebx
call dword [eax + 4]
pop edi
pop ebx
jmp 0x436f3e
xor esi, esi
mov eax, ebp
xor edx, edx
push ebp
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x437f60
Capabilities:
Encrypt data using blowfish

Disassembly:
push 0xffffffffffffffff
push 0x4460ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x14], ebp
mov dword [ebp], 0x448770
xor ebx, ebx
push 0x48
mov dword [esp + 0x2c], ebx
mov dword [ebp + 4], 0x12
call sub.MFC42u.DLL_operatornew
mov dword [ebp + 8], eax
push 0x1000
mov byte [esp + 0x30], 1
mov dword [ebp + 0xc], 0x400
call sub.MFC42u.DLL_operatornew
add esp, 8
mov dword [ebp + 0x10], eax
mov dword [ebp], 0x448b4c
mov edi, dword [ebp + 8]
mov ecx, 0x12
mov esi, 0x449278
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x10]
mov ecx, 0x400
mov esi, 0x4492c0
mov byte [esp + 0x28], 2
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x10], 4
mov eax, ebx
xor edx, edx
div dword [esp + 0x34]
mov edi, dword [esp + 0x30]
xor eax, eax
shl ecx, 8
mov al, byte [edx + edi]
mov edx, eax
mov eax, dword [esp + 0x10]
or ecx, edx
inc ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x437ffa
mov eax, dword [ebp + 8]
add eax, esi
add esi, 4
mov edx, dword [eax]
xor edx, ecx
cmp esi, 0x48
mov dword [eax], edx
jb 0x437ff0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.004380f0
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, [esi + eax + 8]
lea edx, [esi + eax]
push ecx
push edx
mov ecx, ebp
call fcn.004380f0
add esi, 8
cmp esi, 0x40
jb 0x438043
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add ecx, 0x40
push eax
push ecx
mov ecx, ebp
call fcn.004380f0
xor esi, esi
mov eax, dword [ebp + 0x10]
mov ecx, ebp
lea edx, [esi + eax + 8]
add eax, esi
push edx
push eax
call fcn.004380f0
add esi, 8
cmp esi, 0xff8
jb 0x438072
cmp dword [esp + 0x38], 1
jne 0x4380b9
xor ecx, ecx
mov edx, 0x44
mov eax, dword [ebp + 8]
add ecx, 4
mov edi, dword [edx + eax]
mov esi, dword [ecx + eax - 4]
mov dword [ecx + eax - 4], edi
mov dword [edx + eax], esi
sub edx, 4
cmp ecx, 0x24
jb 0x43809d
mov ecx, dword [esp + 0x20]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4380f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [ecx + 0x10]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x10], 8
mov ebx, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [edi]
lea esi, [edi + 8]
xor ecx, ebx
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov ebp, ecx
mov bl, byte [esp + 0x1a]
add esi, 8
shr ebp, 0x18
mov ebx, dword [eax + ebx*4 + 0x400]
add ebx, dword [eax + ebp*4]
mov ebp, ebx
xor ebx, ebx
mov bl, ch
xor ebp, dword [eax + ebx*4 + 0x800]
mov ebx, ecx
and ebx, 0xff
add ebp, dword [eax + ebx*4 + 0xc00]
mov ebx, dword [esi - 0xc]
xor ebp, ebx
xor ebx, ebx
xor edx, ebp
mov dword [esp + 0x18], edx
mov bl, byte [esp + 0x1a]
shr edx, 0x18
mov ebp, dword [eax + ebx*4 + 0x400]
mov ebx, dword [eax + edx*4]
mov edx, dword [esp + 0x18]
add ebp, ebx
xor ebx, ebx
mov bl, dh
xor ebp, dword [eax + ebx*4 + 0x800]
mov ebx, edx
and ebx, 0xff
add ebp, dword [eax + ebx*4 + 0xc00]
mov ebx, dword [esi - 8]
xor ebp, ebx
mov ebx, dword [esp + 0x10]
xor ecx, ebp
dec ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
jne 0x438117
mov esi, dword [edi + 0x44]
mov eax, dword [esp + 0x1c]
xor esi, edx
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], ecx
pop ebx
pop ecx
ret 8

Function at 0x4381c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, dword [ecx + 8]
push edi
mov eax, dword [esi]
mov dword [esp + 0x10], 8
mov edx, eax
lea edi, [ebp + 8]
ror edx, 8
rol eax, 8
xor eax, edx
and eax, 0xff00ff
xor eax, edx
mov edx, dword [esi + 4]
mov esi, edx
ror esi, 8
rol edx, 8
xor edx, esi
and edx, 0xff00ff
xor edx, esi
mov esi, dword [ecx + 0x10]
xor eax, dword [ebp]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov ebx, eax
mov cl, byte [esp + 0x1a]
add edi, 8
shr ebx, 0x18
mov ecx, dword [esi + ecx*4 + 0x400]
add ecx, dword [esi + ebx*4]
xor ebx, ebx
mov bl, ah
xor ecx, dword [esi + ebx*4 + 0x800]
mov ebx, eax
and ebx, 0xff
add ecx, dword [esi + ebx*4 + 0xc00]
mov ebx, dword [edi - 0xc]
xor ecx, ebx
xor edx, ecx
xor ecx, ecx
mov dword [esp + 0x18], edx
mov ebx, edx
mov cl, byte [esp + 0x1a]
shr ebx, 0x18
mov ecx, dword [esi + ecx*4 + 0x400]
add ecx, dword [esi + ebx*4]
xor ebx, ebx
mov bl, dh
xor ecx, dword [esi + ebx*4 + 0x800]
mov ebx, edx
and ebx, 0xff
add ecx, dword [esi + ebx*4 + 0xc00]
mov ebx, dword [edi - 8]
xor ecx, ebx
xor eax, ecx
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
jne 0x438209
mov ecx, dword [ebp + 0x44]
pop edi
xor ecx, edx
pop esi
mov edx, ecx
pop ebp
ror edx, 8
rol ecx, 8
xor ecx, edx
pop ebx
and ecx, 0xff00ff
xor ecx, edx
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
mov ecx, eax
ror ecx, 8
rol eax, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
mov dword [edx + 4], eax
pop ecx
ret 8
Function at 0x438330
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
push esi
mov esi, dword [esp + 0x10]
or edx, ecx
or edx, esi
test dl, 3
jne 0x438364
mov edx, esi
shr edx, 2
je 0x438379
push edi
sub ecx, eax
mov esi, dword [ecx + eax]
mov edi, dword [eax]
xor edi, esi
mov dword [eax], edi
add eax, 4
dec edx
jne 0x438352
pop edi
pop esi
ret
test esi, esi
jbe 0x438379
push ebx
sub ecx, eax
mov dl, byte [eax + ecx]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x43836b
pop ebx
pop esi
ret

Function at 0x438380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4460f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x1c]
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
je 0x4383c3
mov dword [esi], 0x448bfc
mov dword [esi + 0x54], 0x447ec0
mov dword [esp + 8], 1
mov eax, dword [esi]
mov dword [esi + 4], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [ecx + esi], 0x4485ec
mov edx, dword [esi]
mov eax, dword [edx + 4]
lea ecx, [eax - 0xc]
mov dword [eax + esi - 4], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esi + 8]
push edx
mov dword [esp + 0x1c], 1
call fcn.0043c290
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov al, byte [esp + 0x24]
lea ecx, [esi + 0x20]
push edx
push 1
mov byte [ecx], al
sub esp, 0x10
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov edx, dword [ecx + 4]
mov eax, esp
mov byte [esp + 0x30], 2
mov dword [ecx + 0x24], edi
mov dword [eax], edx
mov edx, dword [ecx + 8]
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], edi
mov dword [eax + 4], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xc], edx
call fcn.004386b0
mov eax, dword [esi]
pop edi
mov ecx, dword [eax + 4]
mov dword [ecx + esi], 0x448b5c
mov edx, dword [esi]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x54]
mov dword [eax + esi - 4], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8