joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c3e5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x38], eax
mov dword [ecx + 8], 0
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
lea eax, [edx + 1]
mov esi, dword [0x1002959d]
lea ecx, [ebp - 0x2c]
push str.CollisionInstructionSwitcherAddr
mov dword [ebp - 0x3c], eax
call fcn.10002360
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
mov ecx, dword [esi + 0x72]
push eax
add ecx, 0x95
call fcn.10006330
mov ecx, dword [esi + 0x72]
mov ebx, dword [ecx + 0x7d]
add ebx, dword [eax]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1000b107
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b0fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b170
push ecx
push edx
call fcn.1000c445
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
push 0x40
push 1
push ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0x25], 0
mov eax, 0x74
mov ecx, 0xeb
cmove eax, ecx
mov byte [ebx], al
cmp byte [esi + 0x25], 0
sete al
mov byte [esi + 0x25], al
test edi, edi
je 0x1000b152
push edi
call fcn.1000c410
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret 8
call fcn.10012758
int3

Function at 0x1000d490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000d640
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000d55d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10027030]
jb 0x1000d4da
mov eax, dword [ebp - 4]
cmp eax, dword [0x10027034]
ja 0x1000d4da
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000d4aa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10010cf0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000d500
jmp 0x1000d55d
cmp dword [ebp - 0x14], 0x10000
jne 0x1000d543
cmp dword [ebp - 0x18], 0x10000
jb 0x1000d543
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000d536
mov eax, dword [ebp - 8]
jmp 0x1000d55f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000d558
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000d640
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000d4aa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000d570
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000d670
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000d635
mov edx, dword [ebp - 4]
cmp edx, dword [0x10027030]
jb 0x1000d5b5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10027034]
ja 0x1000d5b5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000d585
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10010cf0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000d5db
jmp 0x1000d635
cmp dword [ebp - 0x14], 0x10000
jne 0x1000d61e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000d61e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000d611
mov eax, dword [ebp - 8]
jmp 0x1000d637
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000d630
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000d670
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000d585
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10012e0a
Capabilities:
Parse pe header

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

Function at 0x1001452b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f47c
push 0x1001f474
push str.FlsAlloc
push 0x1f
call fcn.10014407
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001455f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001d1a8]
call esi
jmp 0x10014565
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100145a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f48c
push 0x1001f484
push str.FlsGetValue
push 0x21
call fcn.10014407
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100145e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001d1a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100145e8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001f494
push 0x1001f48c
push str.FlsSetValue
push 0x22
call fcn.10014407
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10014622
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001d1a8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016708
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100167a5
push ebx
push esi
call fcn.100166d1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10016665
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10016752
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100167a4
push edi
push eax
call fcn.10015174
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10016772
call fcn.10013c5f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100167a3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10016665
add esp, 0x20
test eax, eax
jne 0x10016791
push edi
call fcn.10013c5f
jmp 0x10016799
push ebx
call fcn.10013c5f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1001b200
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b22d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b22d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40653b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405ac0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406578
jle 0x4065d5
movzx eax, ax
or eax, 0x80070000
jmp 0x4065d5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406936
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405aac
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406910
test esi, esi
je 0x4065c8
jle 0x4065c4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4065d5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x406788
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x405a90
push 0x405a18
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4067af
push 0x800
call eax
call fcn.0040639f
mov byte [ebp - 1], al
call fcn.0040619a
mov ecx, eax
test ecx, ecx
je 0x40683f
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004065d9
mov esi, eax
pop ecx
test esi, esi
js 0x40682f
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406801
call fcn.0040633c
mov esi, eax
jmp 0x40682f
push 0x405ab4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406823
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x406828
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406a9a
pop edi
mov eax, esi
pop esi
leave
ret 0x10
push 0x80004005
call fcn.00405ff5
int3

Function at 0x412dda
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x412e18
mov esp, ebp
pop ebp
ret
Function at 0x4040a1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407360
cmp edx, dword [eax]
je 0x4040c3
add eax, 8
inc ecx
cmp eax, 0x4073f0
jl 0x4040b4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407360]
jne 0x4041f1
mov eax, dword [0x407638]
cmp eax, 1
je 0x4041cb
test eax, eax
jne 0x4040f4
cmp dword [0x4071a4], 1
je 0x4041cb
cmp edx, 0xfc
je 0x4041f1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40412b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405750
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402c70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40416e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402c70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4064a4
push edi
call fcn.00405c00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405750
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405760
lea eax, [ebp - 0xa0]
push 0x406484
push eax
call fcn.00405760
push dword [esi + 0x407364]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405760
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405b75
add esp, 0x2c
pop edi
jmp 0x4041f1
lea eax, [ebp + 8]
lea esi, [esi + 0x407364]
push 0
push eax
push dword [esi]
call fcn.00402c70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x427234
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42723a
ret

Function at 0x437f18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4380c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004059dc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4380e0
call fcn.00405638
mov eax, ebx
call fcn.004249b8
mov edi, eax
dec edi
test edi, edi
jl 0x437fd0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042498c
mov edx, dword [0x4620fc]
call fcn.0040462c
test al, al
je 0x437fcc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042498c
lea edx, [ebp - 0x14]
call fcn.00471710
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004059dc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004056ac
inc esi
dec edi
jne 0x437f7e
mov al, byte [0x4380e4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4380f0
mov eax, dword [ebp - 0xc]
call fcn.0040f74c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405398
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00471710
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4380e0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00471710
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4380e0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4380e0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4380fc
call fcn.0040b360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4380d0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405324
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405324
lea eax, [ebp - 0x14]
call fcn.00405300
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405324
ret
Function at 0x4a733c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a7344
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a753f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004a6ee0
mov eax, ebx
call fcn.004a6f60
mov edx, dword [ebx + 9]
mov dword [edx + 8], eax
mov eax, ebx
call fcn.004a6e50
cmp eax, 2
jl 0x4a73bc
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 2
mov eax, ebx
call fcn.004a6fe4
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004a7314
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 9]
add eax, 0x1c
call fcn.00405354
mov esi, dword [ebx + 9]
cmp dword [esi + 8], 0
jne 0x4a73c7
lea eax, [esi + 0x1c]
call fcn.00405300
jmp 0x4a73c7
mov eax, dword [ebx + 9]
add eax, 0x1c
call fcn.00405300
mov eax, ebx
call fcn.004a6f60
mov edx, dword [ebx + 9]
mov dword [edx + 0x14], eax
mov eax, ebx
call fcn.004a6e50
cmp eax, 2
jl 0x4a741e
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 2
mov eax, ebx
call fcn.004a6fe4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004a7314
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 9]
add eax, 0x20
call fcn.00405354
mov esi, dword [ebx + 9]
cmp dword [esi + 0x14], 0
jne 0x4a7429
lea eax, [esi + 0x20]
call fcn.00405300
jmp 0x4a7429
mov eax, dword [ebx + 9]
add eax, 0x20
call fcn.00405300
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, ebx
call fcn.004a70e4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 9]
call fcn.004958f0
mov eax, ebx
call fcn.004a6e50
cmp eax, 2
jl 0x4a7465
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, ebx
call fcn.004a70e4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 9]
call fcn.004959ac
jmp 0x4a746f
xor edx, edx
mov eax, dword [ebx + 9]
call fcn.004959ac
mov eax, ebx
call fcn.004a6e50
cmp eax, 3
jl 0x4a748a
mov eax, ebx
call fcn.004a6f60
mov edx, dword [ebx + 9]
mov byte [edx + 0x39], al
jmp 0x4a7491
mov eax, dword [ebx + 9]
mov byte [eax + 0x39], 0
mov eax, ebx
call fcn.004a6f60
mov edx, eax
mov eax, dword [ebx + 9]
call fcn.004954bc
mov eax, ebx
call fcn.004a6f34
mov edx, eax
mov eax, dword [ebx + 9]
call fcn.004957e4
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, ebx
call fcn.004a70e4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 9]
add eax, 0x28
call fcn.00405354
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 9]
mov edx, dword [eax + 4]
mov eax, ebx
call fcn.004a70e4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 9]
add eax, 0x2c
call fcn.00405354
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, ebx
call fcn.004a70e4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 9]
add eax, 0x30
call fcn.00405354
mov eax, ebx
call fcn.004a6f34
mov edx, dword [ebx + 9]
mov dword [edx + 0x34], eax
mov eax, ebx
call fcn.004a6f00
mov eax, dword [ebx + 9]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, dword [ebx + 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7546
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00405324
ret
Function at 0x4c5764
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c5792
mov eax, ebx
call fcn.004c6218
cmp dword [ebx + 0x40], 0
je 0x4c578b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c5803
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c57f5
cmp dword [ebx + 8], 0
je 0x4c57b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c57c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c57f5
cmp dword [ebx + 8], 0
je 0x4c57a7
cmp eax, 3
je 0x4c57d9
dec eax
jne 0x4c57a7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c57a7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c57a7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c5821
cmp dword [ebx + 0x14], 0xcc
je 0x4c5821
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c582c
pop ebx
ret

Function at 0x4e6a64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4e6b3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4de774]
call fcn.004e6b48
mov esi, eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0xc], eax
xor eax, eax
mov al, byte [ebx + 0x60]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x14], eax
push esi
lea edi, [esi + 0x18]
lea esi, [ebx + 0x100]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0x12c]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x130]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x134]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x138]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x11c]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x120]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x124]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x128]
mov dword [esi + 0x3c], eax
mov edi, dword [ebx + 0x118]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 4]
call fcn.0040a09c
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6b42
lea eax, [ebp - 4]
call fcn.00405300
ret
Function at 0x4f1a2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f1ad8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4f1a04]
call fcn.00406948
add esp, 4
push 0
push 0
mov eax, edi
call fcn.0041dc60
or ebx, 0xffffffff
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jl 0x4f1aae
inc esi
mov eax, edi
call fcn.004d6074
and eax, 0xff
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x400]
shr ebx, 8
xor eax, ebx
mov ebx, eax
dec esi
jne 0x4f1a87
xor ebx, 0xffffffff
push 0
push 0
mov eax, edi
call fcn.0041dc60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1adf
lea eax, [ebp - 0xc]
mov edx, dword [0x4f1a04]
call fcn.00406954
ret
Function at 0x513290
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004086d0
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor ecx, ecx
xor edx, edx
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x513479
inc ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
inc ecx
and cl, 0xff
xor ebx, ebx
mov bl, cl
add dl, byte [eax + ebx]
and dl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [eax + ebx]
mov byte [ebp - 9], bl
mov esi, edx
and esi, 0xff
xor ebx, ebx
mov bl, cl
lea edi, [eax + ebx]
mov bl, byte [eax + esi]
mov byte [edi], bl
mov bl, byte [ebp - 9]
mov byte [eax + esi], bl
xor ebx, ebx
mov bl, cl
mov bl, byte [eax + ebx]
mov esi, edx
and esi, 0xff
add bl, byte [eax + esi]
and bl, 0xff
mov byte [ebp - 9], bl
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
mov bl, byte [ebx + esi]
movzx esi, byte [ebp - 9]
xor bl, byte [eax + esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov byte [esi + edi], bl
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x51340e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x513484
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffefc
mov edi, ecx
mov ebp, edx
mov dword [esp], eax
lea eax, [esp + 4]
mov edx, pe_nt_image_headers32
call fcn.004086d0
test edi, edi
jle 0x5134af
cmp edi, 0x100
jle 0x5134c5
mov ecx, 0x513544
mov dl, 1
mov eax, dword [0x408d18]
call fcn.0040e224
call fcn.00404c74
xor ecx, ecx
mov ebx, dword [esp]
lea esi, [esp + 4]
mov byte [ebx], cl
mov eax, ecx
cdq
idiv edi
add edx, ebp
mov al, byte [edx]
mov byte [esi], al
inc ecx
inc esi
inc ebx
cmp ecx, 0x100
jne 0x5134ce
xor esi, esi
mov ecx, pe_nt_image_headers32
mov eax, dword [esp]
lea edi, [esp + 4]
mov dl, byte [eax]
xor ebx, ebx
mov bl, dl
add esi, ebx
xor ebx, ebx
mov bl, byte [edi]
add esi, ebx
and esi, 0xff
mov ebx, dword [esp]
mov bl, byte [ebx + esi]
mov byte [eax], bl
mov ebx, dword [esp]
mov byte [ebx + esi], dl
inc edi
inc eax
dec ecx
jne 0x5134f4
mov edx, dword [esp]
add edx, 0x100
mov eax, dword [esp]
mov ecx, pe_nt_image_headers32
call fcn.00402d84
add esp, 0x104
pop ebp
pop edi
pop esi
pop ebx
ret