joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
mov ecx, 0x690064ef
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x58bd7b45
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41b8c7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x438710
call fcn.0041e5a5
xor esi, esi
cmp dword [0x470d18], esi
jne 0x41b77f
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x41b792
mov dword [ebp - 0x1c], esi
jmp 0x41b7c8
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x41b78d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x41b78d
cmp dword [eax + 0x400074], 0xe
jbe 0x41b78d
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0041e587
test eax, eax
jne 0x41b7d9
push 0x1c
call main
pop ecx
call fcn.0041e40c
test eax, eax
jne 0x41b7ea
push 0x10
call main
pop ecx
call fcn.0041e0c1
mov dword [ebp - 4], esi
call main
test eax, eax
jns 0x41b805
push 0x1b
call main
jmp 0x41b804
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x470d14], eax
call fcn.0041de24
mov dword [0x46d7e4], eax
call main
test eax, eax
jns 0x41b82d
push 8
call main
jmp 0x41b82c
pop ecx
call fcn.0041db44
test eax, eax
jns 0x41b840
push 9
call main
jmp 0x41b83f
pop ecx
push 1
call main
pop ecx
cmp eax, esi
je 0x41b855
push eax
call main
jmp 0x41b854
pop ecx
mov eax, dword [0x46db1c]
mov dword [0x46db20], eax
push eax
push dword [0x46db18]
push dword [0x46db14]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x41b882
push eax
call main
call fcn.0041d7b0
jmp 0x41b8b7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0041e5ea
ret
call main
jmp 0x41b75e

Function at 0x41b956
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b730]
jne 0x41d32a
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x46d8f8], eax
mov dword [0x46d8f4], ecx
mov dword [0x46d8f0], edx
mov dword [0x46d8ec], ebx
mov dword [0x46d8e8], esi
mov dword [0x46d8e4], edi
mov word [0x46d910], ss
mov word [0x46d904], cs
mov word [0x46d8e0], ds
mov word [0x46d8dc], es
mov word [0x46d8d8], fs
mov word [0x46d8d4], gs
pushfd
pop dword [0x46d908]
mov eax, dword [ebp]
mov dword [0x46d8fc], eax
mov eax, dword [ebp + 4]
mov dword [0x46d900], eax
lea eax, [ebp + 8]
mov dword [0x46d90c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x46d848], 0x10001
mov eax, dword [0x46d900]
mov dword [0x46d7fc], eax
mov dword [0x46d7f0], 0xc0000409
mov dword [0x46d7f4], 1
mov eax, dword [0x46b730]
mov dword [ebp - 0x328], eax
mov eax, dword [0x46b734]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x46d840], eax
push 1
call fcn.0041eef3
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x408760
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x46d840], 0
jne 0x41d416
push 1
call fcn.0041eef3
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x432ecf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x4384b2
call fcn.0041ce4c
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x432ef8
cmp dword [0x46ec58], edi
je 0x432fe2
push 2
pop ebx
jmp 0x432f12
cmp edi, 1
jne 0x432fe2
mov eax, ebx
call fcn.00433dc0
test al, al
je 0x432fe2
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.00433de2
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x432fc4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x432f59
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.004335b9
test eax, eax
je 0x432ff6
push 0x1c049f
push 0
call main
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x46cc90], 0
push ebx
mov ecx, 0x46ec68
call main
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.004336d0
mov esi, eax
test esi, esi
je 0x432f45
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00433e03
inc edi
cmp edi, 2
jl 0x432ee0
mov eax, esi
call fcn.0041cf24
ret 0x18
push ebx
mov ecx, 0x46ec68
call main
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x432fd6
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x433031
cmp dword [ebp - 0x20], 3
jne 0x43302c
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x43302c
and cl, 0xf
cmp cl, 4
je 0x433031
push 2
pop esi
jmp 0x432fd6
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.00433e03
xor eax, eax
jmp 0x432fee
Function at 0x4334ba
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x438523
call fcn.0041ce4c
mov esi, dword [ebp + 8]
cmp esi, dword [0x46ec5c]
jne 0x4334d8
xor al, al
jmp 0x4335b1
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x4334e9
xor ecx, ecx
cmp dword [0x46ec58], ecx
jmp 0x4334f4
mov eax, esi
call fcn.00433dc0
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x4334d1
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.00433de2
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x433572
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x433528
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.004335b9
test eax, eax
je 0x433597
push 0x1c04c2
xor ebx, ebx
push ebx
call main
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x46ec68
mov dword [eax + 0x46cc90], ebx
call main
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.004336d0
mov ebx, eax
test ebx, ebx
je 0x43351c
jmp 0x4335a4
push dword [ebp + 8]
mov ecx, 0x46ec68
call main
lea ecx, [ebp + 0xf]
call fcn.00433e03
test ebx, ebx
sete al
call fcn.0041cf24
ret 8
Function at 0x433e24
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x438579
call fcn.0041ce4c
mov esi, dword [ebp + 8]
cmp esi, dword [0x46ec5c]
jne 0x433e42
xor eax, eax
jmp 0x433fa7
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x433e65
cmp dword [0x46ec58], ebx
je 0x433f67
push 2
pop edi
jmp 0x433e7f
cmp ebx, 1
jne 0x433f67
mov eax, esi
call fcn.00433dc0
test al, al
je 0x433f67
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.00433de2
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x433f2a
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x433eb3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x433edf
cmp dword [ebp - 0x1c], 1
je 0x433edc
cmp dword [ebp - 0x1c], 2
jne 0x433edf
push 2
pop edi
mov eax, edi
call fcn.004335b9
test eax, eax
je 0x433f47
push 0x1c0496
xor edi, edi
push edi
call main
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x46ec68
mov dword [eax + 0x46cc90], edi
call main
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.004336d0
mov edi, eax
test edi, edi
je 0x433ea7
jmp 0x433f58
push dword [ebp - 0x10]
mov ecx, 0x46ec68
call main
test edi, edi
je 0x433f73
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.00433e03
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x433e4d
jmp 0x433f82
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.00433e03
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x433f9d
cmp dword [ebp - 0x1c], 2
je 0x433f95
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x433fa5
push ecx
call main
jmp 0x433fa3
push esi
call main
mov ecx, eax
mov eax, ecx
call fcn.0041cf24
ret 4
Function at 0x3f351cb4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_FindResourceW]
push 0xa
push 0x3e7
push dword [0x3f3a32c0]
mov esi, ecx
call edi
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push eax
push dword [0x3f3a32c0]
call ebx
mov ebp, dword [sym.imp.kernel32.dll_LockResource]
push eax
call ebp
push 0xa
push 0x3e6
mov dword [esi + 0xab4], eax
push dword [0x3f3a32c0]
call edi
push eax
push dword [0x3f3a32c0]
call ebx
push eax
call ebp
push 0xa
push 0x3e5
mov dword [esi + 0xab0], eax
push dword [0x3f3a32c0]
call edi
push eax
push dword [0x3f3a32c0]
call ebx
push eax
call ebp
movzx eax, word [eax]
lea edi, [esi + 0xac0]
mov dword [edi], eax
shl eax, 2
push 4
push eax
call fcn.3f3915d6
mov dword [esi + 0xab8], eax
mov eax, dword [edi]
shl eax, 1
push eax
call fcn.3f3915c4
add esp, 0xc
pop edi
mov dword [esi + 0xabc], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x3f351d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov eax, ecx
shl eax, 2
cmp ecx, 6
jge 0x3f351dad
add eax, dword [esp + 0x18]
jmp 0x3f351daf
add eax, ebx
mov ecx, dword [edi + 0xab8]
mov esi, eax
shl esi, 2
cmp dword [esi + ecx], 0
jne 0x3f351e24
add eax, 0x3e8
movzx eax, ax
push 0xa
push eax
push dword [0x3f3a32c0]
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
jne 0x3f351e07
test ebx, ebx
jl 0x3f351e24
cmp ebx, 2
jle 0x3f351df8
cmp ebx, 3
jne 0x3f351e24
mov eax, dword [edi + 0xab8]
mov dword [esi + eax], 0x3f102594
jmp 0x3f351e24
mov eax, dword [edi + 0xab8]
mov dword [esi + eax], 0x3f102590
jmp 0x3f351e24
push eax
push dword [0x3f3a32c0]
call dword [sym.imp.kernel32.dll_LoadResource]
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov ecx, dword [edi + 0xab8]
mov dword [esi + ecx], eax
mov eax, dword [edi + 0xab8]
mov eax, dword [esi + eax]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x3f352486
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x3f352495
pop dword [ebp - 0x28]
mov eax, 0xacd60023
sub eax, 0x6da0db8e
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x44148
push 0
mov eax, 0x86fbb424
sub eax, 0x47eba2c4
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xe7a0db67
add ecx, 0x185f6b18
xor esi, esi
add esi, eax
mov edx, 0x83c0786b
add edx, 0xbb7f9795
add edx, dword [ebp - 0x28]
mov ebx, 0xcad8fe71
sub ebx, 0x7dea21ab
xor dword [ebp - 0x14], ecx
mov edi, dword [edx]
add dword [ebp - 0x10], 0xbc96668e
sub edi, ebx
mov dword [esi], edi
sub dword [ebp - 0xc], 0xc3a9238c
add esi, 0x14ea29d4
sub esi, 0x14ea29d0
add edx, 0xbfac33bd
sub edx, 0xbfac33b9
loop 0x3f3524f6
add eax, 0x7144cf1d
sub eax, 0x7143c24e
xor ebx, ebx
add ebx, eax
add eax, 0x6e465d21
add eax, 0x91b9a2e4
mov ecx, 0x3f100000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x3f3845bf
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x110
push esi
push edi
push dword [ebp + 0x7c]
xor esi, esi
push dword [ebp + 0x78]
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x68], esi
call fcn.3f352486
mov edi, eax
cmp edi, esi
je 0x3f384696
push 0x80
lea eax, [ebp - 0x20]
push eax
push 0xc
push dword [0x3f3a32c0]
call dword [sym.imp.user32.dll_LoadStringA]
test eax, eax
jle 0x3f38468f
mov ecx, dword [ebp + 0x64]
push ebx
push dword [ebp + 0x78]
call fcn.3f38958d
push esi
push esi
mov ebx, eax
push 0x81
lea eax, [ebp - 0xa4]
push eax
push ebx
call fcn.3f390cad
pop ecx
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xa4]
push eax
push 1
push esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop ebx
jne 0x3f38468f
push 0x80
lea eax, [ebp - 0x20]
push eax
push 0xd
push dword [0x3f3a32c0]
call dword [sym.imp.user32.dll_LoadStringA]
test eax, eax
jle 0x3f38468f
mov ecx, dword [ebp + 0x64]
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
call fcn.3f352486
mov dword [ebp + 0x68], eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x68]
pop edi
pop esi
add ebp, 0x6c
leave
ret 0xc

Function at 0x3f38a12e
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
add edx, edx
add eax, edx
mov cx, word [eax]
inc eax
push ebx
mov ebx, dword [esp + 0x10]
inc eax
cmp cx, 0x3e
push esi
mov esi, dword [ebx]
je 0x3f38a153
cmp cx, 0x7d
jne 0x3f38a162
dec esi
jne 0x3f38a15d
xor eax, eax
jmp 0x3f38a1fd
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x3a
je 0x3f38a17a
cmp cx, 0x3b
je 0x3f38a17a
cmp cx, 0x38
je 0x3f38a17a
cmp cx, 0x25
jne 0x3f38a156
dec esi
je 0x3f38a156
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x2d
je 0x3f38a18e
cmp cx, 0x5e
jne 0x3f38a198
dec esi
test esi, esi
je 0x3f38a156
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x28
je 0x3f38a1f0
cmp cx, 0x3e
je 0x3f38a1f0
cmp cx, 0x44
je 0x3f38a1f0
cmp cx, 0x49
je 0x3f38a1f0
cmp cx, 0x4f
je 0x3f38a1f0
cmp cx, 0x6f
je 0x3f38a1f0
cmp cx, 0x5c
je 0x3f38a1f0
cmp cx, 0x2f
je 0x3f38a1f0
cmp cx, 0x7c
je 0x3f38a1f0
cmp cx, 0x30
jne 0x3f38a1db
cmp word [eax - 4], 0x38
jne 0x3f38a1f0
cmp cx, 0x29
jne 0x3f38a156
cmp word [eax - 4], 0x38
je 0x3f38a156
sub eax, edx
sub eax, dword [esp + 0xc]
sar eax, 1
mov dword [ebx], eax
xor eax, eax
inc eax
pop esi
pop ebx
ret 0xc
Function at 0x3f38cf7e
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x200
push ebx
push esi
push edi
push 0x80
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor ebx, ebx
push ebx
push ebx
push 0x40
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, 0x3f2ff05c
lea edi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1c]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3f38cfcd
lea edi, [ebp + 0x24]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x3f38cfda
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x74]
cmp edi, ebx
mov esi, 0x3f2ff054
je 0x3f38d015
push dword [ebp + 0x70]
mov eax, edi
push ebx
call fcn.3f352486
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, edi
call fcn.3f352486
mov eax, dword [ebp + 0x78]
cmp eax, ebx
je 0x3f38d040
push dword [ebp + 0x70]
push ebx
call fcn.3f352486
mov eax, dword [ebp + 0x78]
push edi
push 0x3f2ff04c
call fcn.3f352486
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x78]
push esi
call fcn.3f352486
push dword [ebp + 0x70]
lea eax, [ebp + 0x24]
push ebx
call fcn.3f352486
cmp edi, ebx
je 0x3f38d05e
push edi
push 0x3f2ff044
lea eax, [ebp + 0x24]
call fcn.3f352486
cmp dword [ebp + 0x78], ebx
je 0x3f38d073
push dword [ebp + 0x78]
lea eax, [ebp + 0x24]
push 0x3f2ff028
call fcn.3f352486
push ebx
push 0x3f2ff018
lea eax, [ebp + 0x24]
call fcn.3f352486
push dword [ebp + 0x7c]
mov esi, 0x3f2ff008
push esi
lea eax, [ebp + 0x24]
call fcn.3f352486
push esi
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x19c]
push 0x3f2ff000
push eax
call fcn.3f352486
add esp, 0x10
push ebx
lea eax, [ebp + 0x78]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x19c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x3f38d0ff
mov esi, 0x3f2feff4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3f38d0d9
sub eax, edx
inc eax
push eax
push esi
push 1
push ebx
push 0x3f2fefe4
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x64
leave
ret 0x14
Function at 0x40653c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov edi, 0x40d700
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
xor ecx, dword [0x40d800]
mov dword [esp], ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 4]
xor ecx, dword [0x40d804]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 8]
mov edx, dword [esp + 0xc]
xor ebx, dword [0x40d808]
mov esi, dword [edx + 0xc]
lea edx, [esp + 0x10]
xor esi, dword [0x40d80c]
mov ecx, edx
mov edx, 0x10
xchg ecx, eax
xchg ecx, edx
call fcn.00403178
mov edx, 0x1f
mov eax, esi
mov ecx, esi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, ebx
xor eax, dword [ecx*4 + 0x40d800]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [edi + ecx]
movzx ebp, byte [edi + ebp]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [edi + ebp]
movzx eax, byte [edi + eax]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
mov eax, ebx
xor ecx, dword [esp]
mov dword [esp + 8], ecx
mov ecx, ebx
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, esi
dec edx
add eax, dword [ecx*4 + 0x40d800]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [edi + ecx]
movzx ebp, byte [edi + ebp]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [edi + ebp]
movzx eax, byte [edi + eax]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
xor ecx, dword [esp + 4]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov eax, ecx
mov esi, eax
mov ebx, dword [esp + 8]
test edx, edx
jge 0x40659e
mov eax, dword [esp + 0xc]
xor ebx, dword [0x40d800]
mov dword [eax], ebx
xor esi, dword [0x40d804]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], esi
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
xor ecx, dword [0x40d808]
mov dword [eax + 8], ecx
lea eax, [esp + 0x10]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor edx, dword [0x40d80c]
mov dword [ecx + 0xc], edx
call fcn.004066cc
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4066cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ecx, 0x40d800
mov ebx, 0x4089a4
xor edx, edx
movzx esi, byte [eax + edx]
mov esi, dword [ebx + esi*4]
xor dword [ecx], esi
movzx esi, byte [eax + edx + 1]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 4], esi
movzx esi, byte [eax + edx + 2]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 8], esi
movzx esi, byte [eax + edx + 3]
mov esi, dword [ebx + esi*4]
xor dword [ecx + 0xc], esi
add edx, 4
cmp edx, 0x10
jl 0x4066da
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000261d
Capabilities:
Resume thread

Disassembly:
push 8
mov eax, 0x1000b431
call fcn.1000a6a6
mov esi, 0x10015024
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x10014fed], bl
jne 0x1000269a
push str.starting_PDFL_thread..._n
call fcn.1000482a
pop ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [0x10014ff0], eax
mov byte [0x10014fec], bl
cmp dword [0x10014fe4], ebx
jne 0x10002676
call fcn.100025f7
push dword [0x10014fe4]
call dword [sym.imp.kernel32.dll_ResumeThread]
push 0xea60
push dword [0x10014ff0]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov byte [0x10014fed], 1
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.1000a77e
ret

Function at 0x1000482a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10004839
pop dword [ebp - 0x28]
mov eax, 0x52774e5a
add eax, 0xbd88f9df
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xafb1a9aa
add dword [ebp - 0x38], 0x9ea09ba1
mov dword [ebp - 0x34], 0x5954096
sub dword [ebp - 0x34], 0xd361f451
mov dword [ebp - 0x30], 0x94ee21d0
add dword [ebp - 0x30], 0xb75e225e
mov dword [ebp - 0x2c], 0x6524e09d
sub dword [ebp - 0x2c], 0x6524e09d
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xd73a96ae
add dword [ebp - 0x38], 0x9d37d2a8
mov dword [ebp - 0x34], 0x30be6c18
sub dword [ebp - 0x34], 0xef520aa3
mov dword [ebp - 0x30], 0xc61205bf
add dword [ebp - 0x30], 0x9d5d66ad
mov dword [ebp - 0x2c], 0x1ede107a
sub dword [ebp - 0x2c], 0x1ede107a
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x34c57d0d
sub eax, 0x24c4ac1d
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b0b9
push 0
call eax
mov ecx, 0x73fa39d6
sub ecx, 0x73f9e6a8
mov esi, eax
mov edi, 0x675c6fd9
add edi, 0xa8a52c27
add edi, dword [ebp - 0x28]
mov edx, 0x3543a90
mov dword [ebp - 0x24], 0x17d77479
mov ebx, dword [edi]
xor dword [ebp - 0x24], eax
sub ebx, edx
sub dword [ebp - 0x24], eax
mov dword [esi], ebx
add esi, 0x9036735
sub esi, 0x9036731
add edi, 0x33fcbe45
add edi, 0xcc0341bf
loop 0x10004950
add eax, 0x13f8b
mov ebx, eax
add eax, 0x2887e250
add eax, 0xd7781db5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret