joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401430
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x7fff48
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x401559
cmp dword fs:[0xc0], eax
je 0x40145b
mov dword [0x7fff44], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x7ffe2c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x7ffe30], eax
movzx edx, word [esi + 0xac]
mov dword [0x7ffe34], edx
mov eax, dword [esi + 0xb0]
mov dword [0x7ffe38], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x4014bb
push 0x7f
push eax
push 0x7ffe3c
call fcn.00403760
mov edx, dword [0x7ffe34]
add esp, 0xc
jmp 0x4014c3
xor eax, eax
mov word [0x7ffe3c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x7fff3c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x7fff3e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x7fff40], ax
mov ecx, eax
mov byte [0x7fff42], 0
cmp byte [0x7ffe0268], 0
je 0x40150a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x7fff42], bl
cmp ebx, 1
pop ebx
jne 0x401524
and ecx, 0xffef
mov word [0x7fff40], cx
test edx, edx
jne 0x401559
call fcn.00401430
cmp dword [0x7ffe2c], 6
ja 0x401559
jb 0x401541
cmp dword [0x7ffe30], 4
jae 0x401559
call fcn.00401430
cmp dword [0x7ffe2c], 0xa
jae 0x401559
mov dword [0x7ffe34], 1
ret

Function at 0x401d70
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x401d98
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x401da6
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x401dbf
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x401dcd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x401de6
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x401df4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x401e0d
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x401e1b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x401e62
add dword [esp], 5
retf
Function at 0x4028e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x7ffe08]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x402a8d
cmp dword [0x7ffe0c], 0
jne 0x402a79
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.004015a0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x402930
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41d0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x402940
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41d0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x402975
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004015a0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4029d4
sub edx, esi
sar edx, 1
je 0x402a8d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x4029f0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x402a8d
xor eax, eax
push ebx
test edx, edx
je 0x402a28
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x402a28
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x402a11
xor eax, eax
test edx, edx
je 0x402a42
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x402a42
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x402a30
xor eax, eax
test edx, edx
je 0x402a5f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x402a5f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x402a50
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x7ffe08]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x403a70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x403acb
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x403a90
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x403aac
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403760
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x403aed
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x403b5f
mov esi, dword [ebx]
cmp esi, ebx
je 0x403b5f
test esi, esi
je 0x403b5f
cmp word [esi + 0x24], 2
jbe 0x403b59
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x403b59
cmp dword [esi + 0x18], 0
je 0x403b59
test ebp, ebp
je 0x403b15
cmp ebp, eax
jne 0x403b59
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403760
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
test edx, edx
je 0x403b3a
cmp edx, dword [esi + 0x18]
jne 0x403b59
cmp dword [esp + 0x14], eax
je 0x403b6c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.004043a0
add esp, 8
test eax, eax
je 0x403b6c
mov esi, dword [esi]
cmp esi, ebx
jne 0x403af3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret

Function at 0x403ef0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x8007e8]
sub esp, 0x11c
test eax, eax
jne 0x403fee
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.004015a0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x403f40
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41d100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x403f50
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41d104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x403f85
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00403a70
pop edi
pop esi
pop ebx
test eax, eax
je 0x403fe9
mov eax, dword [eax + 0x18]
test eax, eax
je 0x403fe9
mov dword [0x8007e8], eax
add esp, 0x11c
ret
mov eax, dword [0x8007e8]
add esp, 0x11c
ret
Function at 0x41c6b2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x43028d
Capabilities:
Compare security identifiers
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4360d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x43f5ac]
push edi
push dword [eax]
mov edi, dword [0x43f4f4]
call fcn.004301ba
cmp dword [0x43f5ac], 0x2f
pop ecx
jne 0x43031e
push esi
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
pop esi
push edi
call fcn.00430204
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00401a24
leave
ret
Function at 0x430670
Capabilities:
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x43f5ac], 0xbf9
jne 0x430693
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x43f5ac], 0x3dc
mov dword [0x43f5a0], 0x8e55ceaa
jne 0x4306c2
push esi
push 0x433988
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.canofepusofijinufuj_vil_jacuvopagaruvahobidorojofutove
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x430680
xor ebx, ebx
cmp ebx, 0x8465cd
jne 0x4306de
mov eax, dword [0x43e574]
add eax, 0xa231
mov dword [0x43f5ac], eax
cmp dword [0x43f5ac], 0x141
jne 0x430724
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
or dword [0x43f274], 0xffffffff
mov dword [0x43f270], 0xec58acac
inc ebx
cmp ebx, 0x125483c
jl 0x4306c7
call fcn.00430333
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x404ef8
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x608a6a
call fcn.005fcaec
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x635380
mov dword [ebp - 4], 0x16
call fcn.004050eb
lea ecx, [esi + 0x1d4]
mov byte [ebp - 4], 0x15
mov dword [ecx], 0x635384
call fcn.005d9ae6
lea ecx, [esi + 0x1c0]
mov byte [ebp - 4], 0x14
mov dword [ecx], 0x635388
call fcn.00402e98
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 0x13
mov dword [ecx], 0x63538c
call fcn.005d9ae6
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x12
mov dword [ecx], 0x635390
call fcn.00402e98
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x11
mov dword [ecx], 0x635394
call fcn.005d9ae6
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0x10
mov dword [ecx], 0x635398
call fcn.00402e98
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0xf
mov dword [ecx], 0x63539c
call fcn.005d9ae6
lea ecx, [esi + 0x13c]
mov byte [ebp - 4], 0xe
mov dword [ecx], 0x6353a0
call fcn.00402e98
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0xd
mov dword [ecx], 0x6353a4
call fcn.005d9ae6
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 0xc
mov dword [ecx], 0x6353a8
call fcn.00402e98
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 0xb
mov dword [ecx], 0x6353ac
call fcn.005d9ae6
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0xa
mov dword [ecx], 0x6353b0
call fcn.00402e98
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 9
mov dword [ecx], 0x6353b4
call fcn.005d9ae6
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 8
mov dword [ecx], 0x6353b8
call fcn.005d9ae6
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 7
mov dword [ecx], 0x6353bc
call fcn.00402e98
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 6
mov dword [ecx], 0x6353c0
call fcn.005d9ae6
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
mov dword [ecx], 0x6353c4
call fcn.00402e98
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
mov dword [ecx], 0x6353c8
call fcn.005d9ae6
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 3
mov dword [ecx], 0x6353cc
call fcn.005d9ae6
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [ecx], 0x6353d0
call fcn.00402e98
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
mov dword [ecx], 0x6353d4
call fcn.005d9ae6
and byte [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [ecx], 0x6353d8
call fcn.00402e98
mov ecx, dword [ebp - 0xc]
and dword [0x67ac20], 0
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x413d9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x67f05c], 0
jne 0x413dad
call fcn.00413a4f
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
push ebx
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x20]
push esi
lea esi, [ecx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x40]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x50]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x60]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x70]
push edi
mov dword [ecx + 0x1c], eax
mov edi, eax
mov dword [ebp + 8], 0x67ec34
push 8
push edi
call fcn.005fcf43
mov ebx, eax
push 8
push edi
shr ebx, 0x18
call fcn.005fcf43
mov ebx, dword [ebx*4 + 0x67c834]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0x67c434]
push 8
push edi
call fcn.005fcf43
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x67c034]
push 8
push edi
call fcn.005fcf43
movzx eax, al
xor ebx, dword [eax*4 + 0x67bc34]
mov eax, dword [ebp + 8]
xor ebx, dword [eax]
lea eax, [esi + 0x20]
xor ebx, dword [esi - 4]
add dword [ebp + 8], 4
mov dword [esi + 0x1c], ebx
xor ebx, dword [esi]
add esp, 0x20
mov dword [eax], ebx
xor ebx, dword [esi + 4]
mov dword [esi + 0x24], ebx
xor ebx, dword [esi + 8]
mov dword [esi + 0x28], ebx
mov ecx, ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x67c834]
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
movzx edx, dl
xor edi, dword [edx*4 + 0x67c434]
movzx ecx, cl
xor edi, dword [ecx*4 + 0x67c034]
xor ecx, ecx
mov cl, bl
xor edi, dword [ecx*4 + 0x67bc34]
xor edi, dword [esi + 0xc]
mov dword [esi + 0x2c], edi
xor edi, dword [esi + 0x10]
mov dword [esi + 0x30], edi
xor edi, dword [esi + 0x14]
mov dword [esi + 0x34], edi
xor edi, dword [esi + 0x18]
cmp dword [ebp + 8], 0x67ec50
mov dword [esi + 0x38], edi
mov esi, eax
jl 0x413df0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x414c21
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
and byte [ebp + 0xb], 0
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ecx + edi]
cmp eax, 0x10
mov dword [ebp - 4], ecx
mov dword [ebx], eax
jae 0x414c61
push edi
push dword [ebp + 0xc]
lea eax, [ecx + esi + 0x20]
push eax
call fcn.005fcb50
add dword [esi + 0x30], edi
add esp, 0xc
and dword [ebx], 0
jmp 0x414d6d
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
cmp ebx, edi
jne 0x414c8a
push dword [ebp + 0x10]
call fcn.005fd663
push dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
push ebx
push eax
call fcn.005fcb50
mov ebx, dword [ebp + 0x14]
add esp, 0x10
mov byte [ebp + 0xb], 1
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], 0x10
sub dword [ebp + 0xc], eax
push dword [ebp + 0xc]
lea eax, [eax + esi + 0x20]
push ebx
push eax
call fcn.005fcb50
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ebx, dword [ebp + 0xc]
lea eax, [eax + ecx - 0x10]
mov dword [ebp + 0x10], eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x34]
push eax
call fcn.00413ec6
mov eax, dword [esi + 0x20]
xor eax, dword [esi + 0x10]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x14]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x28]
xor eax, dword [esi + 0x18]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x1c]
mov dword [edi - 4], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x10
jb 0x414d39
shr eax, 4
mov dword [ebp + 0xc], eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x34]
push eax
call fcn.00413ec6
mov eax, dword [ebx]
xor eax, dword [esi + 0x10]
sub dword [ebp + 0x10], 0x10
mov dword [edi], eax
mov eax, dword [ebx + 4]
xor eax, dword [esi + 0x14]
pop ecx
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
xor eax, dword [esi + 0x18]
add ebx, 0x10
mov dword [edi + 8], eax
mov eax, dword [ebx - 4]
xor eax, dword [esi + 0x1c]
add edi, 0x10
dec dword [ebp + 0xc]
mov dword [edi - 4], eax
pop ecx
jne 0x414cf9
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push ebx
push eax
call fcn.005fcb50
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp + 0x10]
and eax, 0xf0000000
add eax, ecx
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x18]
sub dword [eax], ecx
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x414d6d
push dword [ebp + 0x14]
call fcn.005fd61b
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x414d74
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, dword [esi + 0x30]
push edi
mov dword [eax], 0x10
lea edi, [esi + 0x10]
lea eax, [esi + 0x34]
push edi
push eax
call fcn.00413ec6
test ebx, ebx
pop ecx
pop ecx
jbe 0x414db6
mov ecx, dword [esp + 0x14]
mov eax, edi
push 0xfffffffffffffff0
pop edi
sub edi, esi
mov dl, byte [eax + 0x10]
xor dl, byte [eax]
inc eax
mov byte [ecx], dl
lea edx, [edi + eax]
inc ecx
cmp edx, ebx
jb 0x414da6
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], ebx
pop esi
mov al, 1
pop ebx
ret
Function at 0x414dc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x30]
and byte [ebp + 0xb], 0
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx + edi]
cmp eax, 0x10
mov dword [ecx], eax
ja 0x414e02
push edi
push dword [ebp + 0xc]
lea eax, [ebx + esi + 0x20]
push eax
call fcn.005fcb50
mov eax, dword [ebp + 0x18]
add dword [esi + 0x30], edi
add esp, 0xc
and dword [eax], 0
jmp 0x414f1e
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edi
jne 0x414e2e
push dword [ebp + 0x10]
call fcn.005fd663
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push eax
call fcn.005fcb50
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x10
sub dword [ebp + 0x14], ebx
push dword [ebp + 0x14]
add eax, ebx
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebx + esi + 0x20]
push eax
call fcn.005fcb50
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + ebx - 0x10]
mov dword [ebp + 0x10], eax
lea ebx, [esi + 0x10]
lea eax, [esi + 0x34]
push ebx
push eax
call fcn.00413ec6
mov eax, dword [ebx]
xor eax, dword [esi + 0x20]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x14]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x28]
xor eax, dword [esi + 0x18]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x1c]
mov dword [edi - 4], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x10
jbe 0x414ee8
dec eax
shr eax, 4
mov dword [ebp + 0x14], eax
lea eax, [esi + 0x34]
push ebx
push eax
call fcn.00413ec6
mov eax, dword [ebp + 0xc]
sub dword [ebp + 0x10], 0x10
pop ecx
pop ecx
mov ecx, dword [ebx]
xor ecx, dword [eax]
add eax, 0x10
mov dword [edi], ecx
mov ecx, dword [eax - 0xc]
xor ecx, dword [esi + 0x14]
add edi, 0x10
mov dword [edi - 0xc], ecx
mov ecx, dword [eax - 8]
xor ecx, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
mov dword [edi - 8], ecx
mov ecx, dword [eax - 4]
xor ecx, dword [esi + 0x1c]
dec dword [ebp + 0x14]
mov dword [edi - 4], ecx
jne 0x414ea6
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push dword [ebp + 0xc]
push eax
call fcn.005fcb50
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp + 0x10]
and eax, 0xf0000000
add eax, ecx
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x18]
sub dword [eax], ecx
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x414f1e
push dword [ebp - 4]
call fcn.005fd61b
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
Function at 0x414f25
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x30]
mov dword [eax], edi
lea ebx, [esi + 0x10]
lea eax, [esi + 0x34]
push ebx
push eax
call fcn.00413ec6
test edi, edi
pop ecx
pop ecx
jbe 0x414f63
mov ecx, dword [esp + 0x14]
push 0xfffffffffffffff0
pop edx
mov eax, ebx
sub edx, esi
mov bl, byte [eax + 0x10]
xor bl, byte [eax]
inc eax
mov byte [ecx], bl
lea esi, [edx + eax]
inc ecx
cmp esi, edi
jb 0x414f53
mov eax, dword [esp + 0x18]
mov dword [eax], edi
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x42e79e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [eax + 2]
mov dword [ebp - 4], eax
sub dword [ebp - 4], esi
lea edi, [ebp + 0xa]
mov ecx, 0xbaadf00d
sub edi, esi
mov dword [ebp - 8], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
movzx ebx, byte [esi]
mov dl, al
xor eax, ecx
xor dl, bl
push 5
push eax
mov byte [edi + esi], dl
call fcn.005fcf53
add eax, ebx
pop ecx
inc esi
dec dword [ebp - 8]
pop ecx
mov ecx, eax
jne 0x42e7c3
cmp ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x42e807
push 0x63d9e8
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.005fcb0b
mov ax, word [ebp + 0xa]
leave
ret

Function at 0x434781
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x60d91b
call fcn.005fcaec
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea edi, [esi + 0x10]
mov dword [ebp - 0x14], edi
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040dda6
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 1
call fcn.0040dda6
mov eax, esi
neg eax
lea ecx, [esi + 0xc]
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0x635e94
mov dword [esi], 0x6352e4
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x460295
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 2]
mov edi, edx
sub edi, eax
lea ebx, [edx + 2]
lea eax, [ebp - 2]
xor esi, esi
mov word [ebp - 2], cx
mov dword [ebp - 8], 0xbaadf00d
sub ebx, eax
mov ecx, 0x67faf0
call fcn.0040dd28
mov dl, byte [ebp + esi - 2]
lea ecx, [ebp + esi - 2]
mov byte [edi + ecx], al
movzx eax, al
xor dl, al
xor eax, dword [ebp - 8]
mov byte [ebx + ecx], dl
xor ecx, ecx
mov cl, dl
push 5
push eax
mov dword [ebp - 0xc], ecx
call fcn.005fcf53
add eax, dword [ebp - 0xc]
inc esi
cmp esi, 2
pop ecx
pop ecx
mov dword [ebp - 8], eax
jb 0x4602ba
pop edi
pop esi
pop ebx
leave
ret