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

Disassembly:
push 0xffffffffffffffff
push 0x4d09aa
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.004407c0
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.004ac890
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.004182d0
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 0x41456c
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x414557
sub eax, edx
sar eax, 1
je 0x41456c
mov al, 1
jmp 0x41456e
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 0x4145df
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
cmp esi, ebx
movzx ebp, word [esp + 0x34]
jg 0x4145ac
push 0x80070057
call fcn.00401000
cmp dword [eax - 4], 1
jle 0x4145c2
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.0040b520
mov eax, dword [esp + 0x14]
cmp esi, ebx
mov word [eax], bp
jl 0x4145a2
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4145a2
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.004183b0
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 0x4ea7f8
push 0x64
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
call fcn.00448c90
add esp, 0xc
or dword [esp + 0x18], 2
mov byte [esp + 0x248], bl
lea ecx, [esp + 0x14]
call fcn.00404f30
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.004a9c1c
add esp, 0x238
ret
Function at 0x416a40
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4d0344
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.00417760
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x18]
mov dword [esp + 0x24], 1
call fcn.00419790
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.00419c10
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.00419790
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.00405480
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.00419710
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.004a9c11
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.004a9c1c
add esp, 0x44
ret
Function at 0x41d010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d1478
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, 0x512f94
mov dword [esp + 0x20], 0x512f94
call fcn.00404dc0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
call fcn.00448450
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00448120
mov esi, eax
mov byte [esp + 0x34], 2
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.004101b0
mov byte [esp + 0x3c], 3
push 0x4ea054
push eax
lea edx, [esp + 0x28]
push edx
call fcn.004057d0
mov byte [esp + 0x48], 4
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00405720
mov byte [esp + 0x54], 5
push str..txt
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004057d0
add esp, 0x34
mov byte [esp + 0x2c], 6
push eax
mov ecx, 0x512f94
call fcn.00407770
mov byte [esp + 0x2c], 5
lea ecx, [esp + 8]
call fcn.00404f30
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xc]
call fcn.00404f30
mov byte [esp + 0x2c], 3
lea ecx, [esp + 0x10]
call fcn.00404f30
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x14]
call fcn.00404f30
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x18]
call fcn.00404f30
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x1c]
call fcn.00404f30
mov dword [esp + 0x2c], 0xffffffff
mov eax, 0x512f94
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x41d140
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ca758
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 [0x512f94]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push 0x4ea060
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00404f30
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x41ebe0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x512f84]
push esi
test eax, eax
je 0x41ebf3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0x512e78
push 0x41fa20
push 0
push 0
call fcn.004aa486
add esp, 0x18
mov dword [0x512f84], eax
call fcn.00426b50
call fcn.0041e990
call fcn.0041e610
call fcn.0041e7d0
call fcn.0041ea50
call fcn.0040cd80
call fcn.004a8840
mov esi, eax
test esi, esi
je 0x41ec5f
mov ecx, esi
call fcn.004a7520
test al, al
jne 0x41ec5f
push 0
mov ecx, esi
call fcn.004a75d0
test al, al
je 0x41ec5f
push 0x41de50
mov ecx, esi
call fcn.004a9270
mov al, 1
pop esi
ret
Function at 0x420170
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cde90
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 0x4201d7
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 0x420206
cmp eax, 0xffffffff
jbe 0x420210
push 0x80070057
call fcn.00401000
cmp eax, 0xa
jbe 0x420221
lea ecx, [esp + 0x14]
push ecx
call fcn.00423dd0
jmp 0x420229
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.004aa70f
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 0x420266
push esi
mov ecx, edi
call fcn.0040aaf0
mov ecx, dword [edi]
cmp esi, 1
jne 0x420279
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov word [ecx], ax
jmp 0x42029b
xor eax, eax
test esi, esi
jle 0x420295
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 0x420280
test esi, esi
jl 0x420206
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x420206
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 0x4202c8
lea eax, [esp + 0x14]
call fcn.00422840
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.004a9c1c
add esp, 0x2c
ret
Function at 0x424b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3b30
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 0x424bfe
push 0x36
lea ecx, [esp + 0x14]
call fcn.004407c0
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.00404f30
cmp dword [0x512ab0], 0
jne 0x424c38
push 0x37
lea ecx, [esp + 0x14]
call fcn.004407c0
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.00404f30
cmp dword [0x512ab4], 0
jne 0x424c72
push 0x38
lea ecx, [esp + 0x14]
call fcn.004407c0
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.00404f30
push 4
call fcn.004aac11
add esp, 4
test eax, eax
je 0x424c8b
mov ecx, eax
call fcn.00404dc0
mov esi, eax
jmp 0x424c8d
xor esi, esi
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00405480
mov dword [esp + 0x20], 3
push eax
mov ecx, esi
call fcn.00407770
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x10]
call fcn.00404f30
push 0
push 0
push esi
push 0x424a90
push 0
push 0
call fcn.004aa486
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 0x424cf0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2760
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.00405480
mov dword [esp + 0x28], 0
mov eax, dword [ebp + 0x14]
mov edi, eax
test eax, eax
jbe 0x424e09
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.00405420
mov byte [esp + 0x30], 1
mov esi, dword [esp + 0x18]
push esi
mov byte [esp + 0x34], 0
call fcn.00410360
add esp, 0xc
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00405420
mov byte [esp + 0x30], 2
push esi
mov byte [esp + 0x34], 0
call fcn.00410360
add esp, 0xc
cmp dword [ebp + 0x44], 1
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [esp + 0x14]
push edx
sete bl
call fcn.00425d00
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 0x14]
push esi
push ebx
push edi
mov edi, eax
call fcn.00411880
add esp, 0xc
test al, al
sete bl
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.00404f30
test bl, bl
je 0x424eb2
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00404f30
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.00405420
mov ebx, 4
mov byte [esp + 0x28], bl
mov ecx, dword [esp + 0x10]
push 0x5e
push ecx
call fcn.004ab6e4
add esp, 8
test eax, eax
je 0x424e69
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x424e69
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.00407770
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x18]
call fcn.00404f30
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 0x424ea4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424ea4
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.00404f30
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00404f30
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 0x4258d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cfc50
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.00405480
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00405480
mov byte [esp + 0x20], 1
mov dword [esp + 0x20], 0xffffffff
call fcn.0040cde0
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x34

Function at 0x425b90
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2c40
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 0x425c33
lea ecx, [esp + 0xc]
call fcn.004a8320
mov dword [esp + 0x30], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0xc]
call fcn.00405480
mov byte [esp + 0x30], 1
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.004176d0
mov byte [esp + 0x30], 0
lea ecx, [esp + 8]
call fcn.00404f30
lea edx, [esp + 0xc]
push 1
push edx
call fcn.00438310
add esp, 8
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004060d0
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
jne 0x425c5b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24
call fcn.004397a0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24

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

Disassembly:
push 0xffffffffffffffff
push 0x4cdd70
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 0x425d73
push eax
call fcn.00401000
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x425d7f
xor eax, eax
jmp 0x425d93
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425d84
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00408cb0
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 0x426f00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x10
mov edi, eax
call fcn.004a9ac5
mov esi, eax
mov eax, dword [edi]
add eax, eax
add eax, eax
push eax
call fcn.004a9ac5
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 0x426f6a
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 0x426f54
mov edx, dword [esp + 0x10]
inc edx
add ebp, 4
cmp edx, 4
mov dword [esp + 0x10], edx
jl 0x426f48
mov edx, dword [esp + 0x24]
push edx
push edi
mov eax, esi
call fcn.004272e0
mov eax, dword [edi + 8]
dec eax
cmp eax, 1
mov dword [esp + 0x1c], 1
jl 0x42703a
lea esp, [esp]
mov eax, esi
call fcn.00427110
push 1
push 1
push esi
mov ebx, edi
call fcn.00427160
push 2
push 2
push esi
call fcn.00427160
push 3
push 3
push esi
call fcn.00427160
mov ebx, esi
call fcn.00427260
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 0x427018
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 0x427000
mov ebp, dword [esp + 0x10]
inc ebp
add edx, 4
cmp ebp, 4
mov dword [esp + 0x10], ebp
jl 0x426ff0
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 8]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x1c], eax
jle 0x426fa0
mov eax, esi
call fcn.00427110
push 1
push 1
push esi
mov ebx, edi
call fcn.00427160
push 2
push 2
push esi
call fcn.00427160
push 3
push 3
push esi
call fcn.00427160
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 0x4270a8
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 0x427090
mov ebp, dword [esp + 0x24]
inc ebp
add edx, 4
cmp ebp, 4
mov dword [esp + 0x24], ebp
jl 0x427080
mov ecx, dword [edi]
xor ebx, ebx
mov ebp, esi
jmp 0x4270c0
xor eax, eax
test ecx, ecx
jle 0x4270e2
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 0x4270d0
inc ebx
add ebp, 4
cmp ebx, 4
jl 0x4270c0
mov edx, dword [esi]
push edx
call fcn.004aa704
push esi
call fcn.004aa704
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4271d0
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 0x4271f0
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 0x4272e0
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 0x427314
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 0x427300
inc edx
add edi, 4
cmp edx, 4
jl 0x4272f0
pop edi
pop esi
pop ebp
pop ebx
ret 8