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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447c6f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esi], vtable.CPLogger.0
call fcn.0040fd30
lea ebx, [esi + 0x14]
mov ecx, ebx
mov dword [esp + 0x28], 0
call fcn.0040fd30
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 1
call fcn.0040fd30
lea ecx, [esi + 0x24]
mov byte [esp + 0x28], 2
call fcn.0040fd30
lea ecx, [esi + 0x2c]
mov byte [esp + 0x28], 3
call fcn.0040fd30
push 0x44b930
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
mov dword [esi + 4], 6
mov dword [esi + 8], 0x1e
call fcn.004010e0
lea eax, [esp + 0x18]
lea ecx, [edi + 4]
push eax
mov byte [esp + 0x2c], 5
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040fd60
push 0x44b930
lea ecx, [esp + 0x18]
call fcn.004010e0
lea edx, [esp + 0x18]
lea ecx, [ebx + 4]
push edx
mov byte [esp + 0x2c], 6
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040fd60
push str..txt
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0x2c], 7
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040fd60
push 0x44b930
lea ecx, [esp + 0x18]
call fcn.004010e0
lea edx, [esp + 0x18]
lea ecx, [esi + 0x28]
push edx
mov byte [esp + 0x2c], 8
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040fd60
push 0x44b930
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
mov byte [esp + 0x28], 9
lea ecx, [esi + 0x30]
push eax
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040fd60
mov byte [esi + 0x34], 0
cmp dword [0x464f68], 0
jne 0x41af3b
push 0x80000400
push 0x464f4c
mov dword [0x464f68], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41afd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447cc9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x44b938
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.004010e0
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], 1
call fcn.0041af50
add esp, 4
mov edi, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x40], 2
call fcn.004011f0
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x40], 3
call fcn.004011f0
add esi, 0x1c
push esi
mov esi, dword [esp + 0x44]
push esi
mov ecx, eax
mov byte [esp + 0x40], 4
call fcn.004011f0
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 3
call fcn.0040fd60
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.0040fd60
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 1
call fcn.0040fd60
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0040fd60
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x41b0c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x447d18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x10]
call fcn.004010e0
lea eax, [esp + 0x10]
lea ecx, [esi + 0x10]
push eax
mov dword [esp + 0x50], 0
call fcn.00401b00
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040fd60
sub esp, 8
mov ecx, esp
mov dword [esp + 0x5c], esp
push edi
call fcn.004010e0
lea ecx, [esp + 0x24]
call fcn.004154a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 1
call fcn.00413010
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x60], esp
push edi
mov byte [esp + 0x5c], 2
call fcn.004010e0
lea ecx, [esp + 0x28]
call fcn.00414f30
push edi
lea ecx, [esp + 0x10]
mov byte [esi + 0x34], 1
call fcn.004010e0
lea edx, [esp + 0x10]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x50], 3
call fcn.00401b00
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 2
call fcn.0040fd60
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00402060
add eax, 4
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0x50], 4
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.0040fd60
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x2c], esi
call fcn.0040fd60
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.0040fd60
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret 8
Function at 0x41b210
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [0x464c0c]
test ecx, ecx
je 0x41065f
jmp 0x41b210
ret
push 0xffffffffffffffff
push 0x447d56
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x41b41e
push str._r_n______________________________________________r_n
lea ecx, [esp + 0x10]
call fcn.0041ace0
push 0x17
push str.____Logging_started_at
lea ecx, [esp + 0x14]
mov dword [esp + 0xb0], 0
call fcn.00401e50
lea eax, [esp + 0x1c]
push eax
call fcn.00435255
lea eax, [esp + 0x20]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b292
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401e50
push 2
push 0x44cc14
lea ecx, [esp + 0x14]
call fcn.00401e50
lea edx, [esp + 0x1c]
push edx
call fcn.0043518d
lea eax, [esp + 0x20]
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b2d4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.00401e50
push 0x35
push str._____r_n______________________________________________r_n
lea ecx, [esp + 0x14]
call fcn.00401e50
push 2
push 0x45607c
lea ecx, [esp + 0x14]
call fcn.00401e50
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.0041afd0
add eax, 4
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0xac], 1
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0
call fcn.0040fd60
mov eax, dword [esi + 0x28]
add esi, 0x28
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41b365
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401bf0
mov eax, dword [esi]
push 0
push eax
call fcn.00433891
xor ecx, ecx
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [esi]
setne cl
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov edi, ecx
jle 0x41b392
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push 0x44bc94
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00434615
add esp, 0xc
test edi, edi
jne 0x41b3cd
test eax, eax
jne 0x41b3cd
mov ecx, dword [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x1c]
push 1
push edx
mov dword [esp + 0x24], 0xfeff
call fcn.00434333
add esp, 0x10
mov edx, dword [esp + 0x10]
test edx, edx
je 0x41b3f3
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.00434333
mov eax, dword [esp + 0x20]
push eax
call fcn.00433caf
add esp, 0x14
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b41e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00431d07
add esp, 0xa0
ret
Function at 0x41c060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447f30
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x24]
cmp eax, edx
jge 0x41c235
test eax, eax
jl 0x41c0ec
cmp eax, edx
jge 0x41c0ec
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + eax*4]
cmp edi, 0x30000
lea eax, [ecx + eax*4]
jl 0x41c0f1
sub edi, 0x30000
cmp edi, dword [0x464fb8]
jge 0x41c273
test edi, edi
jl 0x41c0ec
mov ecx, dword [esp + 0x28]
shl edi, 6
add edi, dword [0x464fb4]
push edi
call fcn.0041bff0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
call fcn.00428ce4
cmp edi, 0x20000
jl 0x41c138
sub edi, 0x20000
cmp edi, dword [0x464f9c]
jge 0x41c273
test edi, edi
jl 0x41c0ec
mov ecx, dword [esp + 0x28]
shl edi, 6
add edi, dword [0x464f98]
push edi
call fcn.0041bff0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
cmp edi, 0x10000
jl 0x41c17d
sub edi, 0x10000
cmp edi, dword [0x464f80]
jge 0x41c273
push edi
mov ecx, 0x464f70
call fcn.0041bed0
mov ecx, dword [esp + 0x28]
push eax
call fcn.0041bff0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
lea edx, [edi - 1]
cmp edx, 0x10
ja 0x41c273
mov esi, dword [esp + 0x28]
mov dword [esi], edi
mov eax, dword [edi*4 + 0x462218]
push eax
lea ecx, [esp + 0x10]
call fcn.004010e0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x20], 0
call fcn.004011b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040fd60
mov edx, dword [edi*4 + 0x462268]
push edx
lea ecx, [esp + 0x10]
call fcn.004010e0
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 1
call fcn.004011b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040fd60
mov ecx, dword [edi*4 + str.________]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
sub eax, edx
cmp eax, dword [ecx + 0x30]
jge 0x41c273
test eax, eax
jl 0x41c0ec
cmp eax, dword [ecx + 0x30]
jge 0x41c0ec
shl eax, 6
add eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0041bff0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
Function at 0x41d6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448188
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], vtable.CPMemBlock_unsigned_char_.0
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
push 1
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0041d630
test eax, eax
jne 0x41d74f
cmp dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xffffffff
je 0x41d736
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d736
push eax
call dword [0x462310]
add esp, 4
mov eax, 0x69
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push edi
mov edi, dword [esp + 0x1c]
push edi
mov ecx, esi
call eax
mov esi, eax
test esi, esi
je 0x41d797
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41d781
test edi, edi
je 0x41d781
push edi
call dword [0x462310]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
push edi
add ecx, 4
call fcn.00401a30
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41d7c1
test edi, edi
je 0x41d7c1
push edi
call dword [0x462310]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8

Function at 0x41d7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4481b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], vtable.CPMemBlock_unsigned_short_int_.0
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
push 1
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0041a710
test eax, eax
jne 0x41d87f
cmp dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xffffffff
je 0x41d866
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d866
push eax
call dword [0x462310]
add esp, 4
mov eax, 0x69
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
lea eax, [edi + edi]
mov edi, dword [esp + 0x18]
push eax
push edi
mov ecx, esi
call edx
mov esi, eax
test esi, esi
je 0x41d8ca
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41d8b4
test edi, edi
je 0x41d8b4
push edi
call dword [0x462310]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
push edi
call fcn.00419e40
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], 0xffffffff
je 0x41d8f1
test edi, edi
je 0x41d8f1
push edi
call dword [0x462310]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
Function at 0x41f2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4485b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.0040fd30
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.0040fd30
mov edi, dword [esp + 0x34]
push 0x456411
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.004147f0
test eax, eax
je 0x41f39a
push 0x44cee8
lea ecx, [esp + 0x20]
call fcn.00401f20
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x3c], 2
call fcn.00410390
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0040fd60
push 0x456411
lea ecx, [esp + 0x18]
call fcn.004147f0
test eax, eax
je 0x41f39a
mov eax, dword [esi + 0x3c]
push 0xffffffffffffffff
add eax, 1
lea edi, [esi + 0x34]
push eax
mov ecx, edi
call fcn.0041eb30
mov esi, dword [esi + 0x3c]
lea eax, [esi - 1]
test eax, eax
jl 0x41f3cf
cmp eax, dword [edi + 8]
jge 0x41f3cf
shl eax, 4
add eax, dword [edi + 4]
mov esi, eax
lea eax, [esp + 0xc]
push eax
call fcn.004185d0
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esi + 4]
push edx
call fcn.00401b00
lea eax, [esp + 0x10]
lea ecx, [esi + 0xc]
push eax
call fcn.00401b00
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040fd60
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040fd60
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
call fcn.00428ce4
int3
Function at 0x420730
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push eax
push edx
push esi
call fcn.00420260
lea edi, [eax*4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], eax
jle 0x4207a1
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x420760
mov eax, dword [esp + 0x1c]
pop ebp
cmp eax, 1
jle 0x42095f
lea edx, [eax - 1]
lea ecx, [ecx]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x4207b0
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x422a00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x134
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x13c]
push esi
mov esi, ecx
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [esp + 0x140]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
xor ecx, ecx
lea eax, [edx + 2]
cmp byte [eax - 2], 0
jne 0x422a67
cmp byte [eax - 1], 0
jne 0x422a5a
cmp byte [eax], 0
jne 0x422a5f
cmp byte [eax + 1], 0
jne 0x422a64
add ecx, 4
add eax, 4
cmp ecx, 0x20
jl 0x422a36
jmp 0x422a67
add ecx, 1
jmp 0x422a67
add ecx, 2
jmp 0x422a67
add ecx, 3
cmp ecx, 0x20
jne 0x422a74
lea eax, [ecx + 0x4c]
jmp 0x422bc3
push ebp
push pe_nt_image_headers32
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00420260
mov ebp, eax
mov eax, dword [esp + 0x14c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
push ebx
jmp 0x422ac0
xor ebx, ebx
mov edx, dword [edi]
mov eax, dword [edx + 0xa4]
mov ecx, edi
call eax
test eax, eax
jne 0x422af3
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x13]
push eax
mov ecx, edi
call edx
mov al, byte [esp + 0x13]
mov byte [esp + ebx + 0x130], al
add ebx, 1
cmp ebx, 0x10
jb 0x422ac2
cmp ebx, 0x10
sbb esi, esi
mov cl, 0x10
sub cl, bl
neg esi
cmp ebx, 0x10
mov byte [esp + 0x18], cl
jae 0x422b24
mov ecx, dword [esp + 0x18]
mov edx, 0x10
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x134]
push ecx
push eax
call fcn.004328a0
add esp, 0xc
xor eax, eax
jmp 0x422b30
mov dl, byte [esp + eax + 0x110]
xor byte [esp + eax + 0x130], dl
add eax, 1
cmp eax, 0x10
jb 0x422b30
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
lea edx, [esp + 0x2c]
push edx
call fcn.00420970
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x11c], eax
push 0x10
lea eax, [esp + 0x124]
push eax
call edx
test eax, eax
jne 0x422bc1
test esi, esi
je 0x422ac0
pop ebx
pop ebp
mov ecx, dword [esp + 0x138]
pop edi
pop esi
xor ecx, esp
call fcn.00431d07
add esp, 0x134
ret 0xc
Function at 0x422be0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x124
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x138]
mov ebx, ecx
mov eax, dword [ebx + 0x10]
push pe_nt_image_headers32
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00420730
mov ebp, eax
mov eax, dword [esp + 0x140]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], eax
lea ecx, [ecx]
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
xor eax, eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
push 0x10
lea eax, [esp + 0x114]
push eax
mov ecx, edi
call edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x114]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.00421a70
xor eax, eax
movzx ecx, byte [esp + eax + 0x100]
movzx edx, byte [esp + eax + 0x101]
xor byte [esp + eax + 0x120], cl
xor byte [esp + eax + 0x121], dl
movzx ecx, byte [esp + eax + 0x102]
movzx edx, byte [esp + eax + 0x103]
xor byte [esp + eax + 0x122], cl
xor byte [esp + eax + 0x123], dl
add eax, 4
cmp eax, 0x10
jl 0x422ca0
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x108], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x10c], eax
push 0x10
lea eax, [esp + 0x124]
mov dword [esp + 0x108], ecx
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x422daa
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
mov ecx, edi
call edx
test eax, eax
je 0x422c50
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x422d55
xor edi, edi
jmp 0x422d58
mov edi, dword [eax + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov bl, byte [eax + edi - 1]
cmp bl, 0x10
ja 0x422da5
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, dword [esi]
mov eax, edi
mov edx, dword [eax + 0xb0]
push 1
mov ecx, esi
call edx
mov ecx, eax
mov ebp, edx
movsx eax, bl
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [edi + 0xb8]
push ebp
push ecx
mov ecx, esi
call edx
xor eax, eax
jmp 0x422daa
mov eax, 0x6a
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431d07
add esp, 0x124
ret 0xc