joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d03aa
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 6
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ebx
call fcn.00440490
mov ebp, 1
mov dword [esp + 0x248], ebp
push 0x206
lea ecx, [esp + 0x3a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x40], ax
call fcn.004ac3b0
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.00418300
mov byte [esp + 0x248], 2
mov eax, dword [eax + 8]
push 0x103
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x20], ebp
call eax
test eax, eax
je 0x41555c
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415547
sub eax, edx
sar eax, 1
je 0x41555c
mov al, 1
jmp 0x41555e
xor al, al
mov dword [esp + 0x248], ebp
mov ecx, ebp
mov dword [esp + 0x18], ecx
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp al, bl
je 0x4155cf
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
cmp esi, ebx
movzx ebp, word [esp + 0x34]
jg 0x41559c
push 0x80070057
call fcn.00401000
cmp dword [eax - 4], 1
jle 0x4155b2
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.0040c2b0
mov eax, dword [esp + 0x14]
cmp esi, ebx
mov word [eax], bp
jl 0x415592
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x415592
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + esi*2], dx
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.004183e0
mov byte [esp + 0x248], 3
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push edx
call eax
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x1c]
xor eax, 0x11
push eax
push 0x4ea82c
push 0x64
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
call fcn.00448810
add esp, 0xc
or dword [esp + 0x18], 2
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x14]
call fcn.00405410
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004a974c
add esp, 0x238
ret
Function at 0x416a40
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4cff04
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x5c]
push ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
call fcn.00417f90
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 1
call fcn.00419340
mov eax, dword [eax + 8]
push ebx
push ebx
call eax
mov edi, eax
cmp edi, ebx
je 0x416bcb
xor ecx, ecx
push ebx
lea edx, [edi + 1]
mov word [esp + 0x30], cx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
call fcn.00419770
mov dword [esp + 0x54], 1
cmp dword [esp + 0x40], 8
mov ebp, dword [esp + 0x2c]
jae 0x416ae8
lea ebp, [esp + 0x2c]
lea esi, [esp + 0x18]
call fcn.00419340
mov eax, dword [eax + 8]
push ebp
push edi
call eax
cmp eax, ebx
je 0x416b9a
cmp dword [esp + 0x40], 8
mov esi, dword [esp + 0x2c]
jae 0x416b0f
lea esi, [esp + 0x2c]
cmp word [esi], bx
je 0x416b9a
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, edi
push esi
lea ecx, [esp + 0x1c]
call fcn.00405900
mov byte [esp + 0x54], 2
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x20], ebx
call ebp
mov dword [esp + 0x1c], eax
mov byte [esp + 0x54], 3
mov edi, dword [esp + 0x14]
lea ebx, [esp + 0x18]
call fcn.004192c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416b75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416b80
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
xor ebx, ebx
cmp word [esi], bx
jne 0x416b20
mov byte [esp + 0x54], bl
cmp dword [esp + 0x40], 8
jb 0x416bb2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a9741
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
jmp 0x416bcd
mov eax, ebp
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a974c
add esp, 0x44
ret
Function at 0x41ced0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d0ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ecx, 0x512f98
mov dword [esp + 0x20], 0x512f98
call fcn.00405840
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
call fcn.00447fd0
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00447ca0
mov esi, eax
mov byte [esp + 0x34], 2
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00410fb0
mov byte [esp + 0x3c], 3
push 0x4ea078
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00405c50
mov byte [esp + 0x48], 4
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00405ba0
mov byte [esp + 0x54], 5
push str..txt
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00405c50
add esp, 0x34
mov byte [esp + 0x2c], 6
push eax
mov ecx, 0x512f98
call fcn.00407dc0
mov byte [esp + 0x2c], 5
lea ecx, [esp + 8]
call fcn.00405410
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xc]
call fcn.00405410
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x10]
call fcn.00405410
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x14]
call fcn.00405410
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x18]
call fcn.00405410
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
call fcn.00405410
mov dword [esp + 0x2c], 0xffffffff
mov eax, 0x512f98
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x41d000
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ca098
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x512f98]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push 0x4ea084
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00405410
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x41eb90
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4d2d9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x512f84]
test eax, eax
je 0x41ebc6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0x512e78
push 0x41fe10
push 0
push 0
call fcn.004a9f99
add esp, 0x18
mov dword [0x512f84], eax
call fcn.00426ba0
call fcn.0041e940
call fcn.0041e560
call fcn.0041e720
call fcn.0041ea00
call fcn.0040dbe0
call fcn.004a8380
mov esi, eax
test esi, esi
je 0x41ec65
mov ecx, esi
call fcn.004a71f0
test al, al
jne 0x41ec65
push 0
mov ecx, esi
call fcn.004a72a0
test al, al
je 0x41ec65
push 0x70
call fcn.004aa724
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x41ec4a
push 1
push eax
call fcn.00401840
jmp 0x41ec4c
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
push 0x41dd10
mov ecx, esi
mov dword [0x512f88], eax
call fcn.004a8db0
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x41fde0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x41fdf3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push esi
push 0x41fe10
push 0
push 0
call fcn.004a9f99
add esp, 0x18
mov dword [esi + 0x10c], eax
ret

Function at 0x420570
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cccc0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ff0f4]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x511c3c]
mov edx, dword [eax + 0xc]
mov ecx, 0x511c3c
mov dword [esp + 0x10], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x30], 0
xor ecx, ecx
mov eax, 0xa
lea esi, [esp + 0xc]
mov word [esp + 0xe], cx
mov word [esp + 0xc], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4205d7
sub esi, ecx
sar esi, 1
mov dword [esp + 0x14], 0
mov byte [esp + 0x30], 1
lea eax, [esi + 1]
mov edx, 2
mul edx
test edx, edx
ja 0x420606
cmp eax, 0xffffffff
jbe 0x420610
push 0x80070057
call fcn.00401000
cmp eax, 0xa
jbe 0x420621
lea ecx, [esp + 0x14]
push ecx
call fcn.00423e50
jmp 0x420629
lea edx, [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
push 2
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + esi + 2]
push ecx
push edx
call fcn.004aa222
push eax
call fcn.00401020
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
add esp, 0x14
or eax, ecx
jge 0x420666
push esi
mov ecx, edi
call fcn.0040b520
mov ecx, dword [edi]
cmp esi, 1
jne 0x420679
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov word [ecx], ax
jmp 0x42069b
xor eax, eax
test esi, esi
jle 0x420695
nop
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x420680
test esi, esi
jl 0x420606
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x420606
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [eax + esi*2], cx
mov byte [esp + 0x30], cl
lea edx, [esp + 0x18]
cmp dword [esp + 0x14], edx
je 0x4206c8
lea eax, [esp + 0x14]
call fcn.00422b70
mov dword [esp + 0x30], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a974c
add esp, 0x2c
ret
Function at 0x424c00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d32a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventW]
or edi, 0xffffffff
cmp dword [0x512aac], 0
jne 0x424c6e
push 0x36
lea ecx, [esp + 0x14]
call fcn.00440490
mov dword [esp + 0x20], 0
mov eax, dword [eax]
push eax
push 0
push 0x100000
call esi
mov dword [0x512aac], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405410
cmp dword [0x512ab0], 0
jne 0x424ca8
push 0x37
lea ecx, [esp + 0x14]
call fcn.00440490
mov dword [esp + 0x20], 1
mov eax, dword [eax]
push eax
push 0
push 0x100000
call esi
mov dword [0x512ab0], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405410
cmp dword [0x512ab4], 0
jne 0x424ce2
push 0x38
lea ecx, [esp + 0x14]
call fcn.00440490
mov dword [esp + 0x20], 2
mov eax, dword [eax]
push eax
push 0
push 0x100000
call esi
mov dword [0x512ab4], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405410
push 4
call fcn.004aa724
add esp, 4
test eax, eax
je 0x424cfb
mov ecx, eax
call fcn.00405840
mov esi, eax
jmp 0x424cfd
xor esi, esi
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00405900
mov dword [esp + 0x20], 3
push eax
mov ecx, esi
call fcn.00407dc0
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00405410
push 0
push 0
push esi
push 0x424b00
push 0
push 0
call fcn.004a9f99
add esp, 0x18
mov dword [0x512ac8], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x424d60
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1e90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00405900
mov dword [esp + 0x28], 0
mov eax, dword [ebp + 0x14]
mov edi, eax
test eax, eax
jbe 0x424e79
cmp eax, 5
seta cl
push 0
mov byte [esp + 0x14], cl
lea edx, [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004058a0
mov byte [esp + 0x30], 1
mov esi, dword [esp + 0x18]
push esi
mov byte [esp + 0x34], 0
call fcn.00411160
add esp, 0xc
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004058a0
mov byte [esp + 0x30], 2
push esi
mov byte [esp + 0x34], 0
call fcn.00411160
add esp, 0xc
cmp dword [ebp + 0x44], 1
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [esp + 0x14]
push edx
sete bl
call fcn.00425d50
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 0x14]
push esi
push ebx
push edi
mov edi, eax
call fcn.00412680
add esp, 0xc
test al, al
sete bl
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00405410
test bl, bl
je 0x424f22
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405410
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.004058a0
mov ebx, 4
mov byte [esp + 0x28], bl
mov ecx, dword [esp + 0x10]
push 0x5e
push ecx
call fcn.004ab1f7
add esp, 8
test eax, eax
je 0x424ed9
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x424ed9
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00417230
mov byte [esp + 0x28], 5
push eax
lea ecx, [esp + 0x14]
call fcn.00407dc0
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
call fcn.00405410
mov eax, dword [esp + 0x10]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x424f14
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424f14
mov eax, dword [esp + 0x10]
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00405410
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00405410
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44
Function at 0x425940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf700
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.00405900
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00405900
mov byte [esp + 0x20], 1
mov dword [esp + 0x20], 0xffffffff
call fcn.0040dc40
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x34

Function at 0x425c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2370
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x425ca3
lea ecx, [esp + 0xc]
call fcn.00406730
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0xc]
call fcn.00405900
mov byte [esp + 0x30], 1
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.004176a0
mov byte [esp + 0x30], 0
lea ecx, [esp + 8]
call fcn.00405410
lea edx, [esp + 0xc]
push 1
push edx
call fcn.00438050
add esp, 8
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004067a0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24
cmp eax, 1
je 0x425cad
call fcn.00439480
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24

Function at 0x425d50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cc9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [0x511c3c]
mov edx, dword [eax + 0xc]
mov ecx, 0x511c3c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
push 8
push 0
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x425dc3
push eax
call fcn.00401000
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x425dcf
xor eax, eax
jmp 0x425de3
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425dd4
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.004094e0
mov byte [esp + 0x28], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x28], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x426f50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x10
mov edi, eax
call fcn.004a9605
mov esi, eax
mov eax, dword [edi]
add eax, eax
add eax, eax
push eax
call fcn.004a9605
mov ecx, eax
mov dword [esi], ecx
mov edx, ecx
add edx, dword [edi]
add esp, 8
mov dword [esi + 4], edx
mov eax, dword [edi]
lea edx, [ecx + eax*2]
mov dword [esi + 8], edx
mov eax, dword [edi]
lea eax, [eax + eax*2]
add eax, ecx
xor edx, edx
mov dword [esi + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x10], edx
mov ebp, esi
xor eax, eax
test ecx, ecx
jle 0x426fba
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [ebp]
mov bl, byte [edx]
mov byte [eax + ecx], bl
mov ecx, dword [edi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x426fa4
mov edx, dword [esp + 0x10]
inc edx
add ebp, 4
cmp edx, 4
mov dword [esp + 0x10], edx
jl 0x426f98
mov edx, dword [esp + 0x24]
push edx
push edi
mov eax, esi
call fcn.00427330
mov eax, dword [edi + 8]
dec eax
cmp eax, 1
mov dword [esp + 0x1c], 1
jl 0x42708a
lea esp, [esp]
mov eax, esi
call fcn.00427160
push 1
push 1
push esi
mov ebx, edi
call fcn.004271b0
push 2
push 2
push esi
call fcn.004271b0
push 3
push 3
push esi
call fcn.004271b0
mov ebx, esi
call fcn.004272b0
mov ecx, dword [edi]
mov eax, dword [esp + 0x24]
mov edx, ecx
imul edx, dword [esp + 0x1c]
lea edx, [eax + edx*4]
xor ebp, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
mov edx, esi
lea ebx, [ebx]
xor eax, eax
test ecx, ecx
jle 0x427068
mov ecx, dword [esp + 0x14]
add ebp, ecx
lea esp, [esp]
mov ecx, dword [edx]
mov bl, byte [ebp]
xor byte [ecx + eax], bl
add ecx, eax
mov ecx, dword [edi]
inc eax
add ebp, 4
cmp eax, ecx
jl 0x427050
mov ebp, dword [esp + 0x10]
inc ebp
add edx, 4
cmp ebp, 4
mov dword [esp + 0x10], ebp
jl 0x427040
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 8]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x1c], eax
jle 0x426ff0
mov eax, esi
call fcn.00427160
push 1
push 1
push esi
mov ebx, edi
call fcn.004271b0
push 2
push 2
push esi
call fcn.004271b0
push 3
push 3
push esi
call fcn.004271b0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x24]
imul eax, ecx
lea eax, [edx + eax*4]
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
mov edx, esi
lea esp, [esp]
xor eax, eax
test ecx, ecx
jle 0x4270f8
mov ecx, dword [esp + 0x1c]
add ebp, ecx
lea esp, [esp]
mov ecx, dword [edx]
mov bl, byte [ebp]
xor byte [ecx + eax], bl
add ecx, eax
mov ecx, dword [edi]
inc eax
add ebp, 4
cmp eax, ecx
jl 0x4270e0
mov ebp, dword [esp + 0x24]
inc ebp
add edx, 4
cmp ebp, 4
mov dword [esp + 0x24], ebp
jl 0x4270d0
mov ecx, dword [edi]
xor ebx, ebx
mov ebp, esi
jmp 0x427110
xor eax, eax
test ecx, ecx
jle 0x427132
mov edx, dword [esp + 0x20]
add edx, ebx
lea esp, [esp]
mov ecx, dword [ebp]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov ecx, dword [edi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x427120
inc ebx
add ebp, 4
cmp ebx, 4
jl 0x427110
mov edx, dword [esi]
push edx
call fcn.004aa217
push esi
call fcn.004aa217
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x427220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
lea edi, [esp + 0xc]
lea ebp, [esp + 0x10]
sub edi, esi
mov eax, esi
sub ebp, esi
mov edx, 4
lea esp, [esp]
mov cl, byte [eax]
mov bl, cl
sar bl, 7
mov byte [edi + eax], cl
and bl, 0x1b
add cl, cl
xor bl, cl
mov byte [eax + ebp], bl
inc eax
sub edx, 1
jne 0x427240
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dl, byte [esp + 0xf]
mov bl, ch
xor bl, ah
xor bl, byte [esp + 0xe]
pop edi
xor bl, dl
xor bl, al
mov al, byte [esp + 0xf]
mov byte [esi], bl
mov bl, byte [esp + 0xe]
xor bl, cl
xor bl, ah
xor bl, byte [esp + 0xa]
pop ebp
xor bl, dl
mov dl, al
xor dl, byte [esp + 0xa]
xor al, cl
xor dl, cl
xor al, ch
xor al, byte [esp + 6]
xor dl, ch
xor dl, byte [esp + 7]
xor al, byte [esp + 8]
mov byte [esi + 1], bl
mov byte [esi + 2], dl
mov byte [esi + 3], al
pop ebx
add esp, 8
ret

Function at 0x427330
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [ebp]
push esi
push edi
xor edx, edx
mov edi, eax
nop
xor eax, eax
test ecx, ecx
jle 0x427364
mov ecx, dword [esp + 0x18]
lea esi, [edx + ecx]
lea ecx, [ecx]
mov ecx, dword [edi]
mov bl, byte [esi]
xor byte [ecx + eax], bl
add ecx, eax
mov ecx, dword [ebp]
inc eax
add esi, 4
cmp eax, ecx
jl 0x427350
inc edx
add edi, 4
cmp edx, 4
jl 0x427340
pop edi
pop esi
pop ebp
pop ebx
ret 8