joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102a8ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, dword [eax + 0x38]
mov ebx, eax
mov ebp, dword [eax + 0x34]
test esi, esi
jle 0x102a8fd0
mov ecx, ebp
mov eax, dword [eax + 0x260]
movzx edi, cl
xor ecx, ecx
lea esi, [esi]
mov edx, eax
add ecx, 1
shl eax, 8
shr edx, 0x18
xor edx, edi
xor eax, dword [edx*4 + 0x102bc180]
cmp ecx, esi
jne 0x102a8ec8
mov dword [ebx + 0x260], eax
mov byte [ebx + ebp + 0x58], 1
mov eax, dword [ebx + 0x44]
add eax, dword [ebx + 0x24]
cmp ecx, 2
je 0x102a8f70
cmp ecx, 3
je 0x102a8fb0
cmp ecx, 1
je 0x102a8f98
mov byte [ebx + esi + 0x54], 1
mov eax, dword [ebx + 0x44]
mov ecx, ebp
mov edx, dword [ebx + 0x24]
mov byte [edx + eax], cl
mov eax, dword [ebx + 0x44]
lea edx, [eax + 1]
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x24]
mov byte [edx + eax + 1], cl
mov eax, dword [ebx + 0x44]
lea edx, [eax + 1]
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x24]
mov byte [edx + eax + 1], cl
mov eax, dword [ebx + 0x44]
lea edx, [eax + 1]
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x24]
mov byte [edx + eax + 1], cl
mov edx, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x24]
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
movzx eax, byte [ebx + 0x38]
sub eax, 4
mov byte [ecx + edx + 1], al
mov eax, dword [ebx + 0x44]
add eax, 1
mov dword [ebx + 0x44], eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebp
mov byte [eax], cl
mov eax, dword [ebx + 0x44]
lea edx, [eax + 1]
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x24]
mov byte [edx + eax + 1], cl
mov eax, dword [ebx + 0x44]
add eax, 1
mov dword [ebx + 0x44], eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebp
mov byte [eax], cl
mov eax, dword [ebx + 0x44]
add eax, 1
mov dword [ebx + 0x44], eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebp
mov byte [eax], cl
mov eax, dword [ebx + 0x44]
lea edx, [eax + 1]
mov dword [ebx + 0x44], edx
mov edx, dword [ebx + 0x24]
mov byte [edx + eax + 1], cl
jmp 0x102a8f74
mov byte [eax + ebp + 0x58], 1
jmp 0x102a8f08
Function at 0x418852
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x418861
pop dword [ebp - 0x20]
mov eax, 0x27179bce
sub eax, 0x26d6136d
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3b864
push 0
mov eax, 0xf76421b
sub eax, 0xf33f003
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xd7b0c39c
sub ecx, 0xd7b0850e
mov edx, eax
mov esi, 0xc99be
sub esi, 0xffc945be
add esi, dword [ebp - 0x20]
mov ebx, 0x167adc39
sub ebx, 0xe73e9b5b
sub dword [ebp - 0x18], 0xaed51b1f
mov edi, dword [esi]
xor dword [ebp - 0x10], edx
xor edi, ebx
add dword [ebp - 8], 0x6b51cef7
mov dword [edx], edi
add dword [ebp - 0x10], edi
add edx, 4
add esi, 0xd0f7d7f2
add esi, 0x2f082812
loop 0x4188c0
add eax, 0xed0b
mov ebx, eax
add eax, 0xe494450b
add eax, 0x1b6bbafa
mov ecx, 0x2f4691fb
add ecx, 0xd0f96e05
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4083a0
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x4091f0
call fcn.004089f8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40dcf8
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4081c8
cmp eax, esi
jne 0x4081bb
xor esi, esi
inc esi
mov edi, esi
jmp 0x4081cb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40819f
xor esi, esi
inc esi
cmp dword [0x40dcfc], esi
jne 0x4081dd
push 0x1f
call fcn.0049d000
pop ecx
jmp 0x408217
cmp dword [0x40dcfc], ebx
jne 0x408211
mov dword [0x40dcfc], esi
push 0x4012d8
push 0x4012cc
call fcn.004082fc
pop ecx
pop ecx
test eax, eax
je 0x408217
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4082ec
mov dword [0x40c798], esi
cmp dword [0x40dcfc], esi
jne 0x40823a
push 0x4012c8
push 0x4012b0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40dcfc], 2
test edi, edi
jne 0x408247
xor eax, eax
mov ecx, 0x40dcf8
xchg dword [ecx], eax
cmp dword [0x40dd08], 0
je 0x408273
push 0x40dd08
call fcn.00408850
pop ecx
test eax, eax
je 0x408273
push ebx
push 2
push ebx
mov esi, dword [0x40dd08]
mov ecx, esi
call dword [0x40e1a4]
call esi
push dword [0x40c7a4]
push dword [0x40c7a0]
push dword [0x40c79c]
call fcn.004042e2
add esp, 0xc
mov dword [0x40c794], eax
cmp dword [0x40c7ac], 0
jne 0x4082d1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40c798], 0
jne 0x4082e5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x40c794]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00408945
jmp 0x408183

Function at 0x408734
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x409230
call fcn.004089f8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x408794
cmp eax, 0xffffffff
je 0x408794
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40878d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40878d
cmp edx, 0x10000000
jae 0x40878d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40878a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x408800
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40883e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x408836
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x408840
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x408826
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x4079d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4079e8
pop dword [ebp - 0x10]
mov eax, 0x9001a53
add eax, 0xf7405f95
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3c6b2
push 0
mov eax, 0x126c047a
add eax, 0xedd4dc5e
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x1ad6302
add ecx, 0xfe52f070
mov edx, eax
mov edi, 0x6cf7443a
add edi, 0x9349f78a
add edi, dword [ebp - 0x10]
mov esi, 0x8f4e0fc6
xor dword [ebp - 8], ebx
mov ebx, dword [edi]
mov dword [ebp - 4], 0x8811cbe0
sub ebx, esi
add dword [ebp - 0xc], 0x8bff60b9
mov dword [edx], ebx
add dword [ebp - 0xc], ebx
add edx, 0x5abd2ef8
sub edx, 0x5abd2ef4
add edi, 4
loop 0x407a41
add eax, 0x1409b
xor ebx, ebx
add ebx, eax
add eax, 0x7bb98de9
sub eax, 0x7bb98de4
mov ecx, 0xc42aea95
sub ecx, 0xc3eaea95
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x4179b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4179c3
pop dword [ebp - 0x18]
mov eax, 0x7468781
sub eax, 0x7050dbe
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3d725
push 0
mov eax, 0x33bd1a9
sub eax, 0x2f97f91
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x46c1
xor ebx, ebx
add ebx, eax
mov esi, 0x5a4fe758
add esi, 0xa5f36ca8
add esi, dword [ebp - 0x18]
mov edx, 0xfc1f9af4
sub edx, 0x484a8354
sub dword [ebp - 0x10], 0xd0e74d1
mov edi, dword [esi]
xor dword [ebp - 0xc], 0xd75fe1e1
add edi, edx
add dword [ebp - 4], 0xca1908d2
mov dword [ebx], edi
add dword [ebp - 0x14], 0x409c264c
add ebx, 4
add esi, 0x73e7584
sub esi, 0x73e7580
loop 0x417a1e
add eax, 0x10dd7
mov ebx, eax
add eax, 0x86caa9da
sub eax, 0x86caa9d5
mov ecx, 0xdcf9f289
add ecx, 0x23460d77
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407949
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407949
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407949
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407949
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407949
mov dword [0x41203c], eax
call fcn.00407949
test eax, eax
jge 0x402550
push 8
call fcn.00407949
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407949
pop ecx
push 1
call fcn.00407949
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407949
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407949
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407949
jmp 0x402495

Function at 0x407949
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x407958
pop dword [ebp - 4]
mov eax, 0x46ee1644
sub eax, 0x46ad9cec
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x39a42
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x485b
xor ebx, ebx
add ebx, eax
mov esi, 0x67425ad8
add esi, 0x98fee0ec
add esi, dword [ebp - 4]
mov edi, 0x92180992
sub edi, 0x1ac1e5e0
mov edx, dword [esi]
xor edx, edi
mov dword [ebx], edx
add ebx, 0x620b043e
sub ebx, 0x620b043a
add esi, 4
loop 0x4079ae
add eax, 0xa2d1fa36
add eax, 0x5d2f1a09
mov ebx, eax
add eax, 0x7d417c67
sub eax, 0x7d417c62
mov ecx, 0x34237b54
add ecx, 0xcc1c84ac
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x421ff4
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
call fcn.004212c4
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x42213b
push 2
push esi
push dword [ebp + 8]
call fcn.004212c4
add esp, 0xc
cmp eax, ebx
je 0x42213b
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4220de
mov ebx, 0x1000
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp - 4], eax
jne 0x42206f
call fcn.0041d53a
mov dword [eax], 0xc
or esi, 0xffffffff
jmp 0x422126
push 0x8000
push dword [ebp + 8]
call fcn.004221af
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ebx
mov eax, ebx
jge 0x422089
mov eax, edi
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0041f4ff
add esp, 0xc
cmp eax, 0xffffffff
je 0x4220a5
sub edi, eax
test edi, edi
jg 0x422081
jmp 0x4220bd
call fcn.0041d548
cmp dword [eax], 5
jne 0x4220ba
call fcn.0041d53a
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004221af
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x422126
jge 0x422126
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004212c4
push dword [ebp + 8]
call fcn.00420851
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x422126
call fcn.0041d53a
mov dword [eax], 0xd
call fcn.0041d548
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004212c4
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42213d
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40e570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x40e5c0
cmp esi, edi
ja 0x40e628
cmp edi, dword [esp + 0x1c]
ja 0x40e636
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x40e5c2
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x40e5b0
jmp 0x40e61f
ja 0x40e5c8
cmp eax, edx
mov esi, edi
jne 0x40e583
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x40e600
mov ebp, esi
sub ecx, edx
jns 0x40e617
jmp 0x40e621
cmp esi, edi
je 0x40e646
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x40e621
xor al, 1
cmp ebp, edi
jne 0x40e5e0
jmp 0x40e621
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x4d2e6c
call fcn.004cbbd0
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x4d2e6c
call fcn.004cb960
mov ecx, 0x4d2e5c
call fcn.004cbd00
Function at 0x41196c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, edx
mov edi, ecx
add esi, 0xac
add edi, 0x64
mov ebx, esp
mov ecx, ebx
mov edx, esi
push edi
call fcn.0041a52f
add esp, 4
mov eax, dword [ebx]
xor eax, 6
or eax, dword [ebx + 4]
je 0x4119c3
mov ebx, esp
mov ecx, ebx
call fcn.0040feb9
mov ecx, ebx
mov edx, esi
push edi
call fcn.0041a52f
add esp, 4
mov eax, dword [esp]
xor eax, 6
or eax, dword [esp + 4]
jne 0x4119a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41c8fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov edi, edx
mov esi, ecx
mov al, byte [edx + 0x24]
cmp al, 0xc
jne 0x41c942
mov byte [edi + 0x24], 0xc
lea eax, [edi + 0x25]
lea ecx, [esp + 0x28]
push 0x57
push ecx
push eax
call fcn.004b64b0
add esp, 0xc
mov ebx, esp
mov ecx, ebx
mov edx, edi
call fcn.00418451
cmp dword [ebx], 2
jne 0x41c97f
mov dword [esi], 8
jmp 0x41ca56
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
mov ebp, dword [edi + 0x34]
mov ebx, dword [edi + 0x30]
mov byte [edi + 0x24], 0xb
cmp al, 0xb
jne 0x41c9be
mov eax, dword [edi + 0x38]
mov dword [edi + 0x38], 0
test eax, eax
je 0x41c9e3
mov dword [esi], 4
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x3c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x44]
jmp 0x41ca53
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
movups xmm0, xmmword [esp]
movups xmmword [esp + 0x28], xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
movups xmm1, xmmword [esp + 0x14]
movups xmmword [esp + 0x3c], xmm1
movups xmmword [esi], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x38]
movups xmmword [esi + 0x10], xmm0
jmp 0x41ca56
mov dword [esi], 3
mov byte [esi + 4], al
movzx eax, word [edi + 0x25]
mov word [esi + 5], ax
mov al, byte [edi + 0x27]
mov byte [esi + 7], al
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebx
jmp 0x41ca56
mov eax, dword [edi + 0x48]
mov dword [edi + 0x48], 0
test eax, eax
je 0x41ca09
mov dword [esi], 2
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x4c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x54]
jmp 0x41ca53
mov eax, dword [edi + 0x58]
mov dword [edi + 0x58], 0
test eax, eax
je 0x41ca2f
mov dword [esi], 5
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x5c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x64]
jmp 0x41ca53
mov eax, dword [edi + 0x68]
mov dword [edi + 0x68], 0
test eax, eax
je 0x41ca61
mov dword [esi], 6
mov dword [esi + 4], eax
movsd xmm0, qword [edi + 0x6c]
movsd qword [esi + 8], xmm0
mov eax, dword [edi + 0x74]
mov dword [esi + 0x10], eax
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, word [edi + 0x78]
mov word [edi + 0x78], 0
test ax, ax
je 0x41ca7c
mov dword [esi], 7
mov word [esi + 4], ax
jmp 0x41ca56
lea ecx, [edi + 0x24]
call fcn.004117d9
jmp 0x41c910
Function at 0x42b054
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x138
mov dword [esp + 0x20], edx
mov dword [esp + 0x118], ecx
call fcn.0042b06e

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x440
mov dword [esp + 0xc], ecx
call fcn.0043127c
Function at 0x43ec39
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov edi, edx
mov esi, ecx
mov ecx, dword [edx + 0xe0]
mov edx, dword [edx + 0xf0]
cmp edx, ecx
jb 0x43edc6
mov edx, dword [edi + 0xec]
xor eax, eax
mov ebx, esp
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx], ecx
mov dword [ebx + 4], 1
mov dword [ebx + 8], edx
xorps xmm0, xmm0
movups xmmword [ebx + 0xc], xmm0
xorps xmm0, xmm0
movsd qword [ebx + 0x1c], xmm0
lea ecx, [esp + 0x30]
mov dword [ecx], eax
mov dword [ecx + 4], 4
mov dword [ecx + 8], ebx
lea edx, [edi + 0x128]
push eax
push eax
push ecx
push edx
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x43ed4a
cmp eax, 0x80090318
je 0x43ed9c
test eax, eax
jne 0x43ed91
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0xec]
mov eax, dword [edi + 0xf0]
sub ecx, edx
mov ebx, ecx
mov dword [edi + 0xd8], 0
add ebx, ebp
jb 0x43edd0
cmp eax, ebx
jb 0x43eddc
lea eax, [edi + 0xd0]
add edx, ecx
mov ecx, eax
push ebp
call fcn.0040fc21
add esp, 4
xor eax, eax
mov dword [edi + 0xcc], eax
mov dword [edi + 0xc8], eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0xe0]
jne 0x43ed28
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0043eba8
mov eax, dword [edi + 0xe0]
xor ecx, ecx
or eax, dword [edi + 0xe4]
sete cl
mov dword [edi + 0x154], ecx
jmp 0x43edb9
cmp eax, 0x90317
je 0x43eda9
cmp eax, 0x90321
jne 0x43ed91
mov dword [edi + 0x110], 0x10000
mov byte [edi + 0x114], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0xe0]
jne 0x43ed7c
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0043eba8
mov dword [edi + 0x154], 0
jmp 0x43edb9
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x43edbe
cmp dword [esp + 0x10], 4
jne 0x43edb0
mov eax, dword [esp + 0xc]
jmp 0x43edb3
mov word [esi], 0x104
jmp 0x43edbe
xor eax, eax
inc eax
mov dword [edi + 0x154], eax
mov word [esi], 4
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4f51e8
call fcn.004cb960
mov edx, ebx
push 0x4f51f8
call fcn.004cbbd0
mov ecx, ebx
mov edx, eax
push 0x4f51f8
call fcn.004cb960
Function at 0x45458d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x3c]
lea ebx, [esp + 8]
mov dword [ebx], 1
mov dword [ebx + 4], eax
add eax, 0xb
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 0
lea ecx, [esp + 0x1c]
mov edx, ebx
call fcn.00430c31
lea eax, [esp + 4]
mov dword [eax], 0x800
xor esi, esi
lea ebp, [esp + 0x18]
mov dword [ebp], esi
mov ecx, 0x800
xor edx, edx
call fcn.004a5ddb
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
lea eax, [esp + 0x1c]
mov ebx, dword [eax + 4]
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
lea eax, [esp + 4]
push eax
push edx
push ebp
push 0
push ebx
push edi
call esi
cmp eax, 0xea
jne 0x454630
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
sub ecx, edx
cmp ecx, eax
jb 0x454621
mov edx, dword [esp + 0xc]
jmp 0x4545f5
lea ecx, [esp + 8]
push eax
call fcn.004ce145
add esp, 4
jmp 0x45461b
test eax, eax
jne 0x454651
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
cmp eax, 0xb
jbe 0x45467f
mov ecx, dword [esp]
mov dword [ecx + 8], 0xde
jmp 0x454657
mov ecx, dword [esp]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx], 0x80000000
cmp dword [esp + 8], 0
je 0x454696
push dword [esp + 0xc]
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x454696
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov dword [edx + 8], ecx
movsd xmm0, qword [esp + 8]
movsd qword [edx], xmm0
mov byte [edx + 0xc], al
cmp dword [esp + 0x1c], 0
je 0x4546af
push dword [esp + 0x20]
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x480
mov ebx, edx
mov dword [esp + 0xcc], ecx
call fcn.00454d41
Function at 0x4581ee
Capabilities:
Get remote cert context via schannel

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
add edx, 0x68
lea eax, [esp + 8]
mov dword [eax], 0
push eax
push 0x53
push edx
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x458222
xor ecx, ecx
cmp eax, 0x8009030e
jne 0x45826b
mov edx, 0x8009030e
jmp 0x45826d
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edi, dword [eax + 8]
mov ecx, edi
xor edx, edx
call fcn.004a5ddb
mov ebx, eax
mov ebp, edx
push edi
push dword [esp + 4]
push edx
call fcn.004b64b0
add esp, 0xc
cmp ebx, 0x80000000
jne 0x45825f
mov ecx, ebp
mov edx, edi
call fcn.0043d9ff
push dword [esp + 4]
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x458277
mov edx, eax
call fcn.0043d9ff
mov ebx, 0x80000000
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x45ac1c
Capabilities:
Get remote cert context via schannel

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
add edx, 0x128
lea eax, [esp + 8]
mov dword [eax], 0
push eax
push 0x53
push edx
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x45ac53
xor ecx, ecx
cmp eax, 0x8009030e
jne 0x45ac9c
mov edx, 0x8009030e
jmp 0x45ac9e
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edi, dword [eax + 8]
mov ecx, edi
xor edx, edx
call fcn.004a5ddb
mov ebx, eax
mov ebp, edx
push edi
push dword [esp + 4]
push edx
call fcn.004b64b0
add esp, 0xc
cmp ebx, 0x80000000
jne 0x45ac90
mov ecx, ebp
mov edx, edi
call fcn.0043d9ff
push dword [esp + 4]
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
jmp 0x45aca8
mov edx, eax
call fcn.0043d9ff
mov ebx, 0x80000000
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov dword [esi + 8], edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret