joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10089503
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1009339c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007852a
mov dword [ebp - 0x14], eax
cmp dword [0x12680ff8], esi
jne 0x100895f6
push 0x800
push esi
push 0x1000aba8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10089583
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100896d6
push esi
push esi
push 0x1000aba8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100896d6
push 0x1000abc0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100896d6
push eax
call ebx
push 0x1000abcc
push edi
mov dword [0x12680ff8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000abdc
push edi
mov dword [0x12680ffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000abf0
push edi
mov dword [0x12681000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x12681008], eax
test eax, eax
je 0x100895f3
push 0x1000ac0c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x12681004], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008961b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008960e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10089630
push 4
pop eax
jmp 0x100896d8
cmp dword [ebp - 0x14], esi
je 0x10089630
push dword [0x12680ff8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10089615
mov eax, dword [0x12681004]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1008968e
cmp dword [0x12681008], edi
je 0x1008968e
push eax
call ebx
push dword [0x12681008]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1008968e
test eax, eax
je 0x1008968e
call ecx
test eax, eax
je 0x10089683
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10089683
test byte [ebp - 8], 1
jne 0x1008968e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100896be
mov eax, dword [0x12680ffc]
cmp eax, edi
je 0x100896bb
push eax
call ebx
test eax, eax
je 0x100896bb
call eax
mov esi, eax
test esi, esi
je 0x100896bb
mov eax, dword [0x12681000]
cmp eax, edi
je 0x100896bb
push eax
call ebx
test eax, eax
je 0x100896bb
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x12680ff8]
call ebx
test eax, eax
je 0x100896d6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100896d8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10073f95
mov esp, ebp
pop ebp
ret
Function at 0x82e000
Capabilities:
Encode data using xor

Disassembly:
inc al
imul ecx, ebp, 0xb601e6dc
sbb esi, 0xaf583672
add eax, ecx
movsx edi, bh
imul ebx, ebx, 0x770fff5e
push eax
push 0x80fd95
mov bh, bh
push 0xa47574
mov ebx, 0x42f00058
call 0x82e0ca
mov eax, 0xd107bcf2
imul edx, edx
mov ebp, edx
inc dh
mov ebp, 0x110b7896
lea ecx, [ebx]
bswap edx
mov ebx, ecx
lea ecx, [0xf9dd91d4]
inc edx
test esi, edi
jno 0x82e05d
not ch
or dh, 0xe7
neg ecx
mov edx, ebx
mov eax, 0
jo 0x82e065
inc edi
je 0x82e069
test dl, ch
add eax, ebx
test bl, 0x3c
mov edx, ebx
lea esi, [eax]
test cl, ch
cmp edi, 0xca0f
jae 0x82e082
xor ch, 0x5d
inc edi
bswap edx
ja 0x82e08c
imul ebx, ecx, 0x6ba73739
bswap edi
mov ebp, 0xe425
js 0x82e09a
mov edx, edx
movsx eax, bx
inc edx
xor ebp, 0xe6bb
add al, bl
xor ebp, 0xb3e
mov cl, 0xe9
sub ebp, 0x168b8
lea edi, [0xae9d8359]
add ebp, 0x168b7
sbb esi, edi
add eax, edi
xor ebx, eax
cmp ebp, 0x184
jae 0x82e0a8
pop edi
movzx eax, dl
and eax, 0xe4bc162a
bswap ebp
cmp ecx, 0x52bb
movd mm2, edi
mov esi, esi
cmp edi, 0x444e
jae 0x82e0f1
mov dl, bh
lea ecx, [0x480a4e25]
imul ebx, esi
add eax, 0x540f6102
test ecx, edx
mov ecx, 0xc7a
imul edx, edi, 0x35c4e249
sub ecx, 0x4cb
add eax, 0x1c7603
mov ebp, ecx
xchg eax, ebx
sub ebp, 0x7af
test bh, 0xb0
or ebp, esi
mov esi, eax
dec ch
xor edi, ebp
and eax, 0x8b65ea59
movd esi, mm2
inc eax
mov ah, 0x98
add esi, 0x12ce1
sub esi, 0x4d5
or ebp, edx
inc edi
mov ecx, eax
imul edi, esi, 0x8dbef8cc
mov edi, ecx
mov ebp, 0x529c
xor ebp, 0x31e0
not edx
add ebp, 0xba3
xor eax, ebp
and bl, ah
jo 0x82e166
bswap edx
inc ebx
cmp eax, ebp
js 0x82e17c
lea ebx, [0x35140124]
imul ebx, edx, 0xc099c51f
movzx ebp, cx
mov edx, ebx
adc dl, bh
jmp esi
Function at 0x4024a0
Capabilities:
Access peb ldr_data
Check for software breakpoints
Check os version
Encrypt data using speck
Get number of processors
Get process heap flags
Inspect section memory permissions
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x160
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x3c]
mov dword [esp + 4], ecx
call fcn.004024ba

Function at 0x425384
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1ec
mov dword [esp + 0x90], ecx
call fcn.0042539a
Function at 0x506b98
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x506bd7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x506bd7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x506bd7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x506bd7
cmp dword [ecx + 0x74], 0xe
jbe 0x506bd7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0xd38058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d381a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd3807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd3806a
add dl, dl
jne 0xd38089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd380dc
xor eax, eax
add dl, dl
jne 0xd38096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd3817d
add dl, dl
jne 0xd380a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd380b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd380bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd380c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd380d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd38075
mov eax, 1
add dl, dl
jne 0xd380ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd380f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd380e1
sub eax, ebx
mov ebx, 1
jne 0xd38128
mov ecx, 1
add dl, dl
jne 0xd3810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd38119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd38105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd38075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd3813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd3814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd38136
cmp eax, 0x7d00
jae 0xd3816d
cmp eax, 0x500
jb 0xd38168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd38075
cmp eax, 0x7f
ja 0xd38170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd38075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd3819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd38075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000440d
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.10004afd
cmp eax, 0xffffffff
je 0x10004435
test al, 0x10
jne 0x10004435
test al, 1
je 0x10004435
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x10004435
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret

Function at 0x10004443
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x20c]
push eax
call fcn.10002026
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
pop edi
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004afd
Capabilities:
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
ret

Function at 0x1000c643
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cc41e
call fcn.100bd27c
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.10001cde
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.10001cde
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
mov al, byte [esi + 0x2d]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x2d], al
mov al, byte [esi + 0x2e]
mov byte [edi + 0x2e], al
mov al, byte [esi + 0x2f]
mov byte [edi + 0x2f], al
mov al, byte [esi + 0x30]
mov byte [edi + 0x30], al
mov al, byte [esi + 0x31]
mov byte [edi + 0x31], al
mov ax, word [esi + 0x32]
mov word [edi + 0x32], ax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10016ca2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100c984c
call fcn.100bd27c
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0x100d1f3c
mov dword [esi + 8], 0x100cf520
mov dword [esi + 0xc], eax
mov dword [esi], 0x100d1f58
mov dword [esi + 4], 0x100d1f8c
mov dword [esi + 8], 0x100d1fa8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push 0x10027fa0
push 0x1000998d
push 6
push 8
lea eax, [esi + 0x160]
mov byte [ebp - 4], 6
push eax
call fcn.100bd84f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10024493
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
movzx edx, word [edi]
test esi, esi
je 0x100244c2
movzx ecx, byte [ebx]
movzx eax, dl
xor ecx, eax
shr dx, 8
xor dx, word [ecx*2 + 0x100ed9e0]
inc ebx
movzx edx, dx
dec esi
jne 0x100244a7
mov word [edi], dx
pop edi
pop esi
pop ebx
ret 8

Function at 0x10026b10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100ca185
call fcn.100bd27c
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0x100cf520
mov dword [esi + 8], eax
mov dword [esi], 0x100d3520
mov dword [esi + 4], 0x100d3554
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.10001ed2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10027c43
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100ca232
call fcn.100bd27c
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov dword [edi], eax
lea ecx, [edi + 4]
lea eax, [esi + 4]
push eax
call fcn.10001d53
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.10012920
mov al, byte [esi + 0x14]
mov byte [edi + 0x14], al
mov al, byte [esi + 0x15]
mov byte [edi + 0x15], al
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10032a12
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1003264f
push eax
push esi
push dword [ebp + 8]
call fcn.10032604
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1003264f
push eax
push esi
push dword [ebp + 8]
call fcn.10032604
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1003263f
lds ebp, [edx - 0x6277f40c]
jl 0x10032ac4
invalid
invalid
Function at 0x10038562
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100cad48
call fcn.100bd27c
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0x100cf520
mov dword [esi + 8], eax
mov dword [esi], 0x100d5888
mov dword [esi + 4], 0x100d58bc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.10001ed2
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x40], al
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10038646
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cc41e
call fcn.100bd27c
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.10001cde
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.10001cde
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov al, byte [esi + 0x28]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x28], al
mov al, byte [esi + 0x29]
mov byte [edi + 0x29], al
mov al, byte [esi + 0x2a]
mov byte [edi + 0x2a], al
mov al, byte [esi + 0x2b]
mov byte [edi + 0x2b], al
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003cc67
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x100cb0ef
call fcn.100bd27c
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.1003cc0f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1003f14e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cb2c3
call fcn.100bd27c
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov ebp, ecx
push ebx
mov dword [esp + 0x14], ebp
call fcn.10001cde
and dword [esp + 0x1c], 0
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp + 0xc]
call fcn.10001cde
mov eax, dword [ebx + 0x18]
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp + 0x48], eax
lea eax, [ebx + 0x4c]
push eax
mov byte [esp + 0x20], 1
call fcn.10001cde
lea eax, [ebx + 0x58]
mov byte [esp + 0x1c], 2
push eax
lea ecx, [ebp + 0x58]
call fcn.10001cde
mov al, byte [ebx + 0x64]
lea esi, [ebx + 0x68]
mov byte [ebp + 0x64], al
lea edi, [ebp + 0x68]
mov al, byte [ebx + 0x65]
mov byte [ebp + 0x65], al
mov al, byte [ebx + 0x66]
mov byte [ebp + 0x66], al
mov al, byte [ebx + 0x67]
push 5
pop ecx
mov byte [ebp + 0x67], al
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ebp + 0x7c], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1003f22c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cb2c3
call fcn.100bd27c
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001d31
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.10001d31
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.10001d31
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.10001d31
or dword [esi + 0x7c], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x64], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1003f238
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cb2c3
call fcn.100bd27c
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001d31
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.10001d31
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.10001d31
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.10001d31
or dword [esi + 0x7c], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x64], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10051453
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, edx
cmp esi, 0x200
jb 0x100514b0
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100514b0
mov edx, dword [ecx + 0x3c]
cmp edx, 0x1000
jae 0x100514b0
lea eax, [edx + 0x200]
cmp eax, esi
ja 0x100514b0
test dl, 7
jne 0x100514b0
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x100514b0
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x100514cb
sub eax, 0x74
je 0x100514c4
dec eax
dec eax
je 0x100514c4
dec eax
dec eax
je 0x100514bd
sub eax, 0x3c
je 0x100514b6
sub eax, 0x8464
je 0x100514cb
xor eax, eax
pop esi
ret 4
mov edx, 0x3030401
jmp 0x100514d0
mov edx, 0x3030701
jmp 0x100514d0
mov edx, 0x3030501
jmp 0x100514d0
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x100514b0
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100514ed
cmp eax, 0x20b
jne 0x100514b0
mov eax, dword [esp + 8]
mov dword [eax], edx
xor eax, eax
inc eax
jmp 0x100514b2
Function at 0x10053edb
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp edx, 8
jb 0x10053efa
push edi
mov edi, edx
shr edi, 3
mov eax, dword [ecx + 4]
sub edx, 8
xor eax, dword [ecx]
add ecx, 8
xor esi, eax
dec edi
jne 0x10053ee9
pop edi
cmp edx, 4
jb 0x10053f04
xor esi, dword [ecx]
add ecx, 4
and edx, 3
cmp edx, 2
jbe 0x10053f15
movzx eax, byte [ecx]
shl eax, 0x10
xor esi, eax
inc ecx
cmp edx, 1
jbe 0x10053f23
movzx eax, byte [ecx]
shl eax, 8
xor esi, eax
inc ecx
test edx, edx
je 0x10053f2c
movzx ecx, byte [ecx]
xor esi, ecx
mov eax, esi
pop esi
ret