joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50e3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00490d20
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00490d90
push 0
mov ecx, esi
call fcn.004911d0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x491388
lea ecx, [esp + 0xc]
call fcn.004910d0
cmp eax, 1
jae 0x4912d7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00490d40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x491324
push 0
lea ecx, [esp + 0x10]
call fcn.00491150
push eax
push edi
mov ecx, 0x6dab9c
call fcn.00490950
test eax, eax
jne 0x49132c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00490d40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00490d90
push edi
mov ecx, 0x6dab9c
call fcn.004908b0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00491140
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x491388
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x491388
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x4913b8
push 1
mov ecx, esi
call fcn.004911d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00490d40
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00490d40
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x491d30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00490d90
pop edi
add esp, 0x104
ret 4
Function at 0x49ec80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x49ecb3
push esi
call fcn.004a3c80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x49ecac
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x49ed39
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49ed22
mov eax, dword [esi + 8]
test eax, eax
je 0x49ecd7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x49ed1e
cmp eax, 2
je 0x49ed22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49ecca
cmp eax, 3
je 0x49ecfd
cmp eax, 1
jne 0x49ecca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x49ecca
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49ecca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0049ed70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x49ed59
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0049ed70
add esp, 4
pop esi
ret

Function at 0x4cf900
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4cf90b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4cfa0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x694710]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x694710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x694710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x694710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x694710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x694710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x694710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x694710]
xor eax, edx
inc ecx
dec edi
jne 0x4cf926
pop edi
test esi, esi
je 0x4cfa30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x694710]
xor eax, edx
inc ecx
dec esi
jne 0x4cfa12
pop esi
pop ebx
not eax
ret
Function at 0x501572
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5015aa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ff626
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ff5fe
jmp 0x5015b6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x502c64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x502ca6
call fcn.0050877b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x502ca6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x502c9d
xor eax, eax
jmp 0x502cae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00502cb4
pop edi
pop esi
pop ebx
ret 4

Function at 0x508cab
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x508cd9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x508cf7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00508c11
jmp 0x508cf7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x508cf7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00508c11
test edi, edi
mov eax, edi
jne 0x508ce1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor ecx, ecx
mov eax, 0x811c9dc5
test edx, edx
jbe 0x402792
push edi
lea esp, [esp]
movsx edi, byte [ecx + esi]
imul eax, eax, 0x1000193
inc ecx
xor eax, edi
cmp ecx, edx
jb 0x402780
pop edi
ret

Function at 0x402960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push 0xffffffffffffffff
push 0x43bc2b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
test esi, esi
je 0x402a88
mov eax, dword [esp + 0xb4]
push 0x30
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403d00
mov dword [esp + 0xac], 0
cmp dword [esp + 0x64], 0
je 0x402a5f
xor eax, eax
mov dword [esp + 0x10], esi
mov ecx, 0x811c9dc5
test esi, esi
jbe 0x4029e1
movsx edx, byte [eax + edi]
imul ecx, ecx, 0x1000193
inc eax
xor ecx, edx
cmp eax, esi
jb 0x4029d0
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 8
call fcn.00402b50
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x1c]
test al, 6
jne 0x402a25
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00402b50
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
test byte [esp + eax + 0x1c], 6
jne 0x402a25
mov bl, 1
lea esi, [esp + 0x18]
call fcn.004047c0
test eax, eax
jne 0x402a5f
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x1c]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x402a4d
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x402a5f
push 0
call fcn.00402530
lea ecx, [esp + 0x68]
mov dword [esp + 0xac], 0xffffffff
call fcn.00403e20
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x6c], 0x440ab0
call fcn.004250eb
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa4
ret
Function at 0x402f70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43bc02
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x440b4c
mov dword [edi + 0x58], 0x440ab8
lea esi, [edi + 8]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.00404460
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x440b48
call fcn.00404ec0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x440b0c
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x44be18]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x2c]
push 0x21
mov byte [esp + 0x24], 2
call fcn.004046e0
test eax, eax
jne 0x403072
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x403061
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x403072
push ebx
call fcn.00402530
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x403d00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43bbb2
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [edi], 0x441978
mov dword [edi + 0x54], 0x440ab8
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x34], 1
call fcn.004043c0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x440b58
call fcn.00404ec0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x440b0c
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x44be18]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x28]
or ebp, 2
push ebp
mov byte [esp + 0x20], 2
call fcn.004046e0
test eax, eax
jne 0x403e06
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x403df5
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x403e06
push ebx
call fcn.00402530
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x404ec0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43a11b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x440ac0
call fcn.00425601
push 4
mov dword [esp + 0x20], 0
call fcn.00426f3f
mov edi, eax
add esp, 4
test edi, edi
je 0x404f3e
call fcn.00425396
mov dword [edi], eax
call fcn.004251c4
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004254e6
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x404f33
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042550e
jmp 0x404f40
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x405850
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [ecx + 0x14]
mov eax, 0xcccccccd
mul ebx
push ebp
push esi
mov esi, edx
shr esi, 3
push edi
inc esi
xor edi, edi
mov ebp, 0x811c9dc5
cmp esi, ebx
jae 0x405875
sub ebx, esi
test ebx, ebx
jbe 0x4058ae
lea esp, [esp]
cmp edi, dword [ecx + 0x14]
jbe 0x40588e
call fcn.0042694c
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x18], 8
jb 0x405899
mov eax, dword [ecx + 4]
jmp 0x40589c
lea eax, [ecx + 4]
movzx eax, word [eax + edi*2]
imul ebp, ebp, 0x1000193
add edi, esi
xor ebp, eax
cmp edi, ebx
jb 0x405880
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x408fe0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43b1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00408270
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409036
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.00408150
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00408270
cmp dword [esp + 0x24], 8
jb 0x40907e
mov edx, dword [esp + 0x10]
push edx
call fcn.00426a65
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x43a0b1
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax], 0x4419f4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x34], cl
mov byte [eax + 0x35], cl
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x40a430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0
je 0x40a53d
test edi, edi
jbe 0x40a53d
lea eax, [esp + 0x14]
push eax
call fcn.0041cab0
mov eax, edi
shr eax, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.0040fa70
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x40a4a0
call fcn.0042694c
mov esi, dword [esp + 0x20]
xor eax, eax
mov edx, dword [ebp + 8]
mov cl, byte [eax + edx]
movzx edx, cl
and edx, 3
mov dl, byte [edx + 0x440e04]
movzx ebx, cl
and dl, 0xf
and ebx, 3
xor dl, byte [ebx + 0x440e04]
inc eax
xor dl, cl
mov byte [eax + esi - 1], dl
cmp eax, edi
jb 0x40a4a6
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, ecx
cmp eax, ecx
jbe 0x40a4ed
call fcn.0042694c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, eax
cmp eax, ecx
jbe 0x40a4fc
call fcn.0042694c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push esi
push edi
push eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.00413fe0
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x40a524
push eax
call fcn.00426a65
add esp, 4
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00426a65
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411770
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x43a11b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x4418e4
call fcn.00425601
push 4
mov dword [esp + 0x20], 0
call fcn.00426f3f
mov edi, eax
add esp, 4
test edi, edi
je 0x4117ee
call fcn.00425396
mov dword [edi], eax
call fcn.004251c4
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004254e6
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4117e3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042550e
jmp 0x4117f0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x417660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea eax, [esi + 0x7b0]
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call dword [0x43e1c4]
add esi, 0x798
mov dword [esp + 0x30], 0
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x4176c3
call fcn.0042694c
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x4176d0
call fcn.0042694c
mov eax, dword [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x4176ef
mov edi, edi
mov ecx, dword [edi]
cmp byte [ecx + 0x34], 0
jne 0x4176ef
add edi, 8
cmp edi, ebx
jne 0x4176e0
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x4176fc
call fcn.0042694c
mov eax, dword [esi]
test eax, eax
je 0x417708
cmp eax, dword [esp + 0x14]
je 0x41770d
call fcn.0042694c
cmp ebx, edi
je 0x41772d
mov edx, dword [esp + 0x14]
push edi
push edx
lea edi, [esp + 0x1c]
call fcn.00419060
mov edi, dword [esp + 0x10]
mov eax, edi
call fcn.00413160
jmp 0x417731
mov edi, dword [esp + 0x10]
mov byte [edi + 0x896], 0
mov esi, dword [edi + 0x7d4]
test esi, esi
je 0x41776b
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41776b
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41776b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
xor eax, eax
mov dword [edi + 0x7d4], eax
mov dword [edi + 0x7d0], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x43e1c0]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8