joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045e0
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, 2
setne cl
push edi
mov dword [0x497888], edx
mov edx, dword [0x497874]
mov dword [0x497880], eax
mov eax, dword [esp + 0x10]
push 0x49787c
mov dword [0x497884], ecx
mov ecx, dword [esp + 0x18]
push edx
mov dword [0x49787c], 0x10
mov dword [0x49788c], 0
mov dword [0x497890], eax
mov dword [0x497894], ecx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov edi, eax
test edi, edi
jne 0x40467d
push esi
push str.FLEXnet_Licensing_Service
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], str.SetServiceStatus_failed
je 0x404678
push edi
lea eax, [esp + 0x10]
push eax
push edi
push 1
push edi
push edi
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov eax, edi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x407c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.0045438d
mov edi, dword [esp + 0x34]
cmp edi, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esi], 0x46f6fc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jne 0x407cc9
mov edi, 0x46f400
lea ecx, [esi + 0x18]
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea ebp, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x407ce0
sub eax, ebp
push eax
push edi
call fcn.00406020
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x409990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4692bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x46f704
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], 3
call fcn.0043aee0
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edi, [esi + 0x24]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.004072a0
mov eax, dword [edi + 4]
push eax
call fcn.00452c81
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00407710
mov eax, dword [edi + 4]
push eax
call fcn.00452c81
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov edi, dword [esi + 0x14]
add esp, 4
cmp edi, ebx
mov byte [esp + 0x1c], bl
je 0x409a54
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x409a54
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x409a54
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov esi, dword [esi + 0xc]
cmp esi, ebx
mov dword [esp + 0x1c], 0xffffffff
je 0x409a89
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x409a89
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x409a89
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40a680
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x14
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], 0x40a0d0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], str.FLEXnet_Licensing_Service
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x40a6f5
push esi
push str.FLEXnet_Licensing_Service
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
mov dword [esp + 4], str.StartServiceCtrlDispatcher___failed
je 0x40a6ee
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
pop esi
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret
Function at 0x40cab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4695a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0x46f590
mov dword [esp + 0x28], 0x7ebacba2
mov dword [esp + 0x14], 0x46fa14
xor eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
mov word [esp + 8], ax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x46f9e4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 8]
push eax
mov byte [esp + 0x40], 2
call fcn.0040c7f0
mov edx, dword [esp + 0x24]
add esp, 8
push 0xd1e1863c
push 0x6ee71963
push 0xcdacd022
lea ecx, [esp + 0x28]
call dword [edx]
mov edx, dword [esi]
xor eax, 0xcb495fd8
mov ecx, eax
not ecx
xor ecx, eax
and ecx, 0x32884fd3
not eax
xor ecx, eax
xor ecx, 0xbb800d93
mov ecx, dword [edx + ecx*8 + 4]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx]
push edx
lea edx, [esp + 8]
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x40dd50
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x40dd94
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
push 4
lea ecx, [esi + 0x10]
push 0x5b
push 0x1a
call dword [eax]
xor al, 0xd8
mov cl, al
not cl
xor cl, al
and cl, 0x2c
xor cl, al
xor cl, 0x8b
mov byte [edi], cl
mov esi, dword [esi]
inc edi
cmp esi, ebx
jne 0x40dd63
mov eax, dword [esp + 0x10]
mov dword [eax], edi
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
pop esi
mov dword [eax], edx
pop ebx
ret
Function at 0x4346f0
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x18
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
pop edi
ret
Function at 0x435ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x160
mov ecx, dword [esp + 0x170]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
push ebx
push ebp
mov dword [ecx + 0x18], eax
push esi
mov dword [ecx + 0x1c], eax
push edi
mov dword [ecx + 0x20], eax
mov byte [esp + 0x94], al
lea edx, [esp + 0xc0]
push edx
mov edx, dword [esp + 0x180]
mov ecx, 0xa
mov esi, 0x471b18
lea edi, [esp + 0x9c]
lea eax, [esp + 0x11c]
push eax
mov eax, dword [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x180]
push ecx
push edx
push eax
xor ebp, ebp
call fcn.004370b0
mov ecx, 0xb
lea esi, [esp + 0xd4]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
lea esi, [esp + 0x100]
lea edi, [esp + 0x50]
add esp, 0x14
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
nop
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x435f74
mov eax, dword [esp + 0x40]
test eax, eax
je 0x436028
test byte [esp + 0x18], 1
je 0x435fb6
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x98]
push edx
mov eax, ecx
push eax
call fcn.00436fd0
mov edx, dword [esp + 0x18c]
mov ecx, ebp
shr ecx, 5
or ebx, eax
lea eax, [edx + ecx*4]
mov ecx, ebp
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
add esp, 0xc
xor ecx, edx
mov dword [eax], ecx
mov al, byte [esp + 0x10]
lea ecx, [esp + 0x6c]
push ecx
push 0x10
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x74], al
mov eax, dword [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x2c]
push ecx
inc ebp
call fcn.004396e0
mov eax, dword [esp + 0x18c]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
test eax, eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x40]
push eax
push ecx
je 0x436000
call fcn.00436f40
jmp 0x436005
call fcn.00436fd0
mov ecx, 0xb
lea esi, [esp + 0x74]
lea edi, [esp + 0x48]
or ebx, eax
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x48]
add esp, 0xc
xor al, 1
mov byte [esp + 0x3c], al
jmp 0x435f60
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x160
ret
Function at 0x4369c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1cc]
push edi
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1d8]
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov byte [esp + 0x94], al
mov ecx, 0xa
mov esi, 0x471b18
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x1d8]
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x1d4]
lea edx, [esp + 0x120]
push edx
push eax
push ecx
call fcn.004370b0
mov ecx, 0xb
lea esi, [esp + 0xd4]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
lea esi, [esp + 0x100]
lea edi, [esp + 0x50]
add esp, 0x14
mov ebp, eax
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x40]
jne 0x436a75
test eax, eax
je 0x436b62
mov cl, byte [esp + 0x18]
test cl, 1
je 0x436aee
shr cl, 1
test eax, eax
je 0x436a99
movzx eax, word [esp + 0x44]
shl eax, 1
sar eax, 1
xor al, cl
mov cl, byte [esp + 0x10]
and al, 1
xor al, cl
jmp 0x436aa4
mov al, byte [esp + 0x10]
and cl, 1
xor cl, al
mov al, cl
xor edx, edx
test al, al
setne dl
mov byte [esp + 0x94], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [edx + edx + 1]
mov esi, edx
mov edx, eax
push edx
call fcn.00436fd0
mov ecx, dword [esp + 0x1e4]
or ebp, eax
mov eax, ebx
shr eax, 5
lea eax, [ecx + eax*4]
mov ecx, ebx
and ecx, 0x1f
shl esi, cl
mov ecx, dword [eax]
add esp, 0xc
xor ecx, esi
mov dword [eax], ecx
mov dl, byte [esp + 0x10]
lea eax, [esp + 0x6c]
push eax
push 0x10
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x74], dl
mov edx, dword [esp + 0x20]
push 1
push edx
lea eax, [esp + 0x2c]
push eax
add ebx, 2
call fcn.004396e0
mov eax, dword [esp + 0x1e4]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
test eax, eax
push edx
lea eax, [esp + 0x44]
push eax
je 0x436b3a
call fcn.00436f40
jmp 0x436b3f
call fcn.00436fd0
mov ecx, 0xb
lea esi, [esp + 0x74]
lea edi, [esp + 0x48]
or ebp, eax
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x48]
add esp, 0xc
xor al, 1
mov byte [esp + 0x3c], al
jmp 0x436a61
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x1b8
ret
Function at 0x444590
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d4d8
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push 0xf0000000
push 1
push 0
mov esi, ecx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x444606
push 0x13
push str.CryptAcquireContext
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
call fcn.00406020
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0
call fcn.00444410
push 0x492894
lea ecx, [esp + 0x24]
push ecx
call fcn.00454142
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x54
ret

Function at 0x444620
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d506
push eax
mov al, byte [0x497b68]
mov dword fs:[0], esp
sub esp, 0x48
test al, 1
jne 0x44466f
or dword [0x497b68], 1
mov ecx, 0x497b64
mov dword [esp + 0x50], 0
call fcn.00444590
push 0x46e5c0
call fcn.00453232
add esp, 4
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x497b64]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4446ce
push 0xe
push 0x473f88
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], al
call fcn.00406020
lea eax, [esp]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 1
call fcn.00444410
push 0x492894
lea ecx, [esp + 0x20]
push ecx
call fcn.00454142
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 8
Function at 0x4448e0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 0x88]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add ecx, 8
mov edi, 8
mov edi, edi
mov ebx, dword [ecx - 8]
mov eax, esi
ror eax, 4
xor eax, ebx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x475278]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475478]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475678]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x475878]
mov eax, dword [ecx - 4]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x475378]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475578]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475778]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x475978]
xor edx, ebx
mov ebx, dword [ecx]
mov eax, edx
ror eax, 4
xor eax, ebx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x475278]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475478]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475678]
and eax, 0x3f
mov ebp, dword [eax*4 + 0x475878]
mov eax, dword [ecx + 4]
xor ebx, ebp
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x475378]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475578]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x475778]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x475978]
xor esi, ebx
add ecx, 0x10
dec edi
jne 0x444900
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x446e40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
sub eax, ebp
push edi
mov dword [esp + 0x20], 0xf5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jmp 0x446e71
mov ebx, dword [esp + 0x10]
mov edi, 3
sub edi, ebx
xor esi, esi
shl edi, 3
lea ebx, [ebx + 0x474658]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ebx]
mov ecx, 3
sub ecx, esi
shl ecx, 3
push eax
mov eax, dword [edx + ebp]
shr eax, cl
lea ecx, [esp + 0x24]
push eax
call fcn.0044de40
movzx edx, al
mov eax, dword [esp + 0x14]
mov ecx, edi
shl edx, cl
add ebx, 4
xor eax, edx
inc esi
cmp esi, 4
mov dword [esp + 0x14], eax
jl 0x446e83
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 4
mov dword [esp + 0x10], eax
jl 0x446e6d
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
add ebp, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x446e61
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x44adb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push esi
push str.:_Nonblocking_input_is_not_implemented_by_this_object.
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0042a000
add esp, 0xc
push eax
push 0
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0040c770
cmp dword [esp + 0x1c], 0x10
mov dword [esi], 0x46fa2c
jb 0x44ae0e
mov edx, dword [esp + 8]
push edx
call fcn.00452c81
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esi], 0x4746f4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x44c960
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
mov ecx, eax
or ecx, esi
or ecx, edx
test cl, 3
jne 0x44c990
shr edx, 2
test edx, edx
jbe 0x44c9a9
mov ecx, esi
sub ecx, eax
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x44c983
pop esi
ret
test edx, edx
jbe 0x44c9a9
mov ecx, esi
sub ecx, eax
mov esi, edx
lea ebx, [ebx]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x44c9a0
pop esi
ret

Function at 0x451020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46da98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x495f14]
xor eax, esp
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov ecx, dword [esp + 0x48]
push ebx
push ebx
lea eax, [esp + 0x14]
push eax
push 0x400
push ecx
push ebx
push 0x1300
mov dword [esp + 0x58], ebx
call dword [0x46f1a4]
mov edx, dword [esp + 0xc]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451090
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00427750
mov edx, dword [esp + 0xc]
push edx
call dword [0x46f174]
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x451178
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, 0x10
mov eax, ebx
jae 0x4510cf
lea eax, [esp + 0x1c]
cmp byte [eax + ecx - 1], 0xa
je 0x4510ec
cmp ebp, 0x10
mov eax, ebx
jae 0x4510e1
lea eax, [esp + 0x1c]
cmp byte [eax + ecx - 1], 0xd
jne 0x451175
lea edi, [ecx - 1]
or esi, 0xffffffff
cmp ecx, edi
jae 0x45110b
lea ecx, [esp + 0x18]
call fcn.00451ea3
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov eax, ecx
sub eax, edi
cmp eax, 0xffffffff
jae 0x45111a
mov esi, eax
test esi, esi
jbe 0x451169
cmp ebp, 0x10
mov edx, ebx
jae 0x4511c8
lea edx, [esp + 0x1c]
mov ecx, edx
sub eax, esi
add edx, edi
push eax
add edx, esi
push edx
add ecx, edi
push ecx
call fcn.00453b80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub eax, esi
add esp, 0xc
cmp ecx, 0x10
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
jae 0x451159
lea ecx, [esp + 0x1c]
mov byte [ecx + eax], 0
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
test ecx, ecx
mov edi, dword [esp + 0x14]
jne 0x4510c4
xor ebx, ebx
pop ebp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], 0
call fcn.00405f30
cmp dword [esp + 0x2c], 0x10
jb 0x4511a9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00452c81
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
pop ebx
xor ecx, esp
call fcn.00453275
add esp, 0x34
ret
mov ecx, ebx
jmp 0x45112b
Function at 0x451e00
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x451e76
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x451e76
mov dl, byte [ecx]
cmp dl, 0xbc
push ebx
push esi
jne 0x451e47
cmp byte [ecx + 1], 0xbd
jne 0x451e47
lea edx, [ecx + 2]
mov esi, edi
sub esi, edx
mov bl, byte [edx]
mov byte [esi + edx], bl
inc edx
test bl, bl
jne 0x451e27
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x451e34
pop esi
sub ecx, eax
pop ebx
mov byte [ecx + edi - 4], dl
mov eax, edi
pop edi
ret
xor dl, 0x23
mov byte [edi], dl
mov al, byte [ecx]
xor esi, esi
test al, al
je 0x451e6c
mov edx, edi
sub edx, ecx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc esi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
cmp byte [ecx], 0
jne 0x451e58
mov byte [esi + edi], 0
pop esi
pop ebx
mov eax, edi
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x45adc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x45adf6
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x45adfd
cmp ebx, dword [eax + 4]
jae 0x45adfd
xor eax, eax
jmp 0x45afed
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x45ae0e
xor eax, eax
inc eax
jmp 0x45afec
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x45ae24
cmp ecx, edx
jae 0x45af69
cmp dword [eax + 4], 0
je 0x45ae2d
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x45ae15
cmp dword [ebp + 8], 0
je 0x45ae4f
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x45af69
cmp eax, esi
jae 0x45af69
mov eax, dword [0x497ed0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x45ae74
cmp dword [esi*4 + 0x497ed8], edi
je 0x45af6d
inc esi
cmp esi, eax
jl 0x45ae62
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x46f1d0]
test eax, eax
je 0x45afe9
cmp dword [ebp - 8], 0x1000000
jne 0x45afe9
test byte [ebp - 0xc], 0xcc
je 0x45aef2
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x45afe9
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x45afe9
cmp word [eax + 0x18], 0x10b
jne 0x45afe9
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x45afe9
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x45aef2
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x45aef2
test byte [ecx + 0x27], 0x80
jne 0x45af69
push 1
push 0x497f18
call dword [0x46f0ec]
test eax, eax
jne 0x45ae06
mov ecx, dword [0x497ed0]
test ecx, ecx
mov edx, ecx
jle 0x45af26
lea eax, [ecx*4 + 0x497ed4]
cmp dword [eax], edi
je 0x45af26
dec edx
sub eax, 4
test edx, edx
jg 0x45af1a
test edx, edx
jne 0x45af57
push 0xf
pop ebx
cmp ecx, ebx
jg 0x45af33
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x45af4b
lea eax, [edx*4 + 0x497ed8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x45af39
cmp ecx, 0x10
jge 0x45af57
inc ecx
mov dword [0x497ed0], ecx
push 0
push 0x497f18
call dword [0x46f0ec]
jmp 0x45ae06
xor eax, eax
jmp 0x45afec
test esi, esi
jle 0x45ae06
mov ebx, dword [0x46f0ec]
push 1
push 0x497f18
call ebx
test eax, eax
jne 0x45ae06
cmp dword [esi*4 + 0x497ed8], edi
je 0x45afc3
mov eax, dword [0x497ed0]
lea esi, [eax - 1]
test esi, esi
jl 0x45afb1
cmp dword [esi*4 + 0x497ed8], edi
je 0x45afad
dec esi
jns 0x45afa1
test esi, esi
jge 0x45afc1
cmp eax, 0x10
jge 0x45afbc
inc eax
mov dword [0x497ed0], eax
lea esi, [eax - 1]
jmp 0x45afc3
je 0x45afdb
xor ecx, ecx
test esi, esi
jl 0x45afdb
lea eax, [ecx*4 + 0x497ed8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x45afc9
push 0
push 0x497f18
call ebx
jmp 0x45ae06
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10015930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
cmp dword [0x100227ec], edi
je 0x100159b2
push edi
push edi
push dword [ebp + 8]
call fcn.10014218
mov esi, eax
add esp, 0xc
cmp esi, edi
jl 0x100159b2
lea eax, [ebp + 0xa]
push 2
push eax
push esi
call fcn.10014293
add esp, 0xc
cmp word [ebp + 0xa], 0x5a4d
jne 0x100159ab
push edi
push 0x3c
push esi
call fcn.100142dd
lea eax, [ebp - 4]
push 4
push eax
push esi
call fcn.10014293
push edi
push dword [ebp - 4]
push esi
call fcn.100142dd
lea eax, [ebp + 0xa]
push 2
push eax
push esi
call fcn.10014293
add esp, 0x30
cmp word [ebp + 0xa], 0x4550
je 0x100159a8
cmp word [ebp + 0xa], 0x454c
jne 0x100159ab
push 1
pop edi
push esi
call dword [0x1001d274]
mov eax, edi
pop edi
pop esi
leave
ret