joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401210
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x402a7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebp
push esi
lea ecx, [esp + 8]
call fcn.00401b60
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 0
call fcn.00401b60
lea eax, [esp + 0x2c]
push 0x103
push eax
mov byte [esp + 0x140], 1
call dword [sym.imp.MSVCRT.dll__getcwd]
mov esi, dword [esp + 0x148]
add esp, 8
mov ecx, esi
mov edx, dword [esi]
push 0
push 0
push 0x20
call dword [edx + 0x10]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4012f8
push edi
push ebp
lea eax, [esp + 0x28]
push 0
push eax
mov ecx, esi
call fcn.00401360
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 2
call fcn.00401c80
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 1
call fcn.00401c60
mov edi, dword [esi + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, ebp
dec ecx
inc ebp
push ecx
lea ecx, [esp + 0x28]
push ebp
push ecx
mov ecx, esi
call fcn.00401360
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 3
call fcn.00401c80
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 1
call fcn.00401c60
pop edi
jmp 0x401302
push esi
lea ecx, [esp + 0xc]
call fcn.00401c80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push 5
push edx
push eax
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 0
call fcn.00401c60
lea ecx, [esp + 8]
mov dword [esp + 0x138], 0xffffffff
call fcn.00401c60
mov ecx, dword [esp + 0x130]
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x134
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401318
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
mov eax, 0x5818
call fcn.004019ec
call fcn.004017e0
lea ebx, [ebp - 0x580c]
mov esi, 0x403040
mov ecx, 0x15fd
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
call sub.KERNEL32.dll_FreeConsole
mov esi, dword [ebp - 0x618]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x57f4
mov dword [esp], 0
call sub.KERNEL32.dll_VirtualAlloc
sub esp, 0x10
mov edi, eax
xor ecx, ecx
nop
mov edx, edi
mov al, byte [ebx + ecx]
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x57f4
jne 0x401384
lea ecx, [edi + 0x51f4]
nop
xor dword [edx], esi
add esi, 0x499602d2
add edx, 4
cmp edx, ecx
jne 0x40139c
call edi
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
leave
lea esp, [ecx - 4]
ret

Function at 0x4014d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4014f6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40158a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401545
cmp eax, 0x40
je 0x401545
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4014e9
cmp eax, 0x40
je 0x4014e9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x4014e9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sub.msvcrt.dll__assert
lea esi, [esi]
lea edi, [edi]

Function at 0xdc871c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
not al
mov byte [esp], 0x70
cmc
rol al, 2
inc ecx
bt si, 0xb
sub bl, al
dec ch
movzx eax, al
movzx cx, al
dec cl
bsr cx, bp
mov ecx, dword [eax*4 + 0xdc9e83]
push 0x74470b13
pushfd
mov byte [esp + 4], 0x14
dec ecx
cmc
mov dword [esp + 0xc], 0x8182684f
mov byte [esp + 4], 0x74
cmc
ror ecx, 0x1a
jmp 0xdc9611
mov al, byte [esi - 1]
shld cx, cx, 4
sub al, bl
bswap ecx
setp cl
movzx cx, dl
inc al
rcr ch, 5
ror al, 3
dec ch
setle ch
pushal
bsr cx, bp
dec al
not cl
pushal
push edx
jmp 0xdc800c
Function at 0x401cc0
Capabilities:
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4df004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00402c50
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00402c50
lea eax, [ebp - 0x20c]
push eax
call fcn.0040c064
lea eax, [ebp - 0x20c]
push eax
call fcn.0040c330
mov ecx, eax
add esp, 0x20
test ecx, ecx
je 0x401e3e
push dword [ecx]
mov eax, dword [ecx + 0x10]
push dword [ecx + 4]
inc eax
push dword [ecx + 8]
push dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 0x14]
add eax, 0x76c
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.004016b0
lea ecx, [ebp - 0x104]
add esp, 0x24
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d60
lea eax, [ebp + 0xc]
sub ecx, edx
push eax
push 0
push dword [ebp + 8]
mov eax, 0x100
sub eax, ecx
push eax
lea eax, [ebp - 0x104]
add eax, ecx
push eax
call fcn.00401000
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.00405d99
add esp, 0x1c
lea eax, [ebp - 0x204]
push 0xff
push eax
push str._APPDATA_InfotecsViPNet_SafeBootmgmt_agent.log
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401e3e
push ebx
push esi
lea esi, [ebp - 0x104]
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x401dc4
lea eax, [ebp - 0x204]
sub esi, ecx
push 0x4dcdc4
push eax
xor edi, edi
call fcn.004064c8
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401e01
mov edi, 7
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401e51
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x401e22
push ebx
push esi
lea eax, [ebp - 0x104]
push 1
push eax
call fcn.00406c1c
add esp, 0x10
mov ecx, 7
cmp esi, eax
cmovne edi, ecx
push ebx
call fcn.00406555
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401e51
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00401e51
mov esp, ebp
pop ebp
ret

Function at 0x4128e0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041275f

Function at 0x41466e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041432e
Function at 0x41c170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.0049c460
mov eax, dword [0x4df004]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.0041b7c0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041b620
add esp, 0xc
test eax, eax
je 0x41c272
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041b320
add esp, 0xc
test eax, eax
je 0x41c272
lea eax, [esp + 0x20]
push eax
call fcn.0041b560
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x41c290
push edi
call fcn.00427020
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.00420650
mov esi, eax
add esp, 0xc
test esi, esi
je 0x41c272
push esi
call fcn.00427660
add esp, 4
test eax, eax
jle 0x41c272
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.004203f0
add esp, 0x18
test eax, eax
jle 0x41c272
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.00427570
add esp, 0x14
test eax, eax
jle 0x41c272
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.004205e0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00401e51
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x41c2a8
cmp dword [edi], edx
je 0x41c2d2
inc eax
add ecx, 4
cmp eax, 4
jl 0x41c295
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.0041fc20
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00401e51
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x41c306
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.0041fc20
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00401e51
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401e51
add esp, 0x6c
ret

Function at 0x41ecc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x41ece7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x41ecd6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x41ee30
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x10c
call fcn.0049c460
mov eax, dword [0x4df004]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x41eecf
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x41eecf
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00401000
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00405d99
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00401e51
add esp, 0x10c
ret
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00401000
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00405d99
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.0041ecf0
test eax, eax
jle 0x41ef63
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x41ef77
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
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]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00401e51
add esp, 0x10c
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.00401e51
add esp, 0x10c
ret
Function at 0x42d6d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.0049c460
mov eax, dword [0x4df004]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x42d736
cmp edi, dword [esi]
je 0x42d72d
test ebp, ebp
je 0x42d7b0
test ebx, ebx
js 0x42d7b0
mov eax, 1
mov dword [esi], edi
jmp 0x42d73c
mov edi, dword [esi]
test edi, edi
je 0x42d7b0
test ebp, ebp
je 0x42d8cb
push edi
call fcn.004203b0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x42d770
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.0041ef90
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x42d7cb
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.0041b3a0
add esp, 0xc
test eax, eax
je 0x42d7b0
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.0041b550
add esp, 0xc
test eax, eax
je 0x42d7b0
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.0041b320
add esp, 0xc
test eax, eax
jne 0x42d7e7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401e51
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x42d7b0
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00403420
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x42d80a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00402c50
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x42d810
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.0041b3a0
add esp, 0xc
test eax, eax
je 0x42d7b0
push edi
call fcn.004203b0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0041b550
add esp, 0x10
test eax, eax
je 0x42d7b0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x42d860
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.0041b3a0
add esp, 0xc
test eax, eax
je 0x42d7b0
push edi
call fcn.004203b0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0041b550
add esp, 0x10
test eax, eax
je 0x42d7b0
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0041b620
add esp, 8
test eax, eax
je 0x42d7b0
mov eax, 1
jmp 0x42d7b2
test eax, eax
je 0x42d8a9
jmp 0x42d80e
Function at 0x43f720
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.0049c460
mov eax, dword [0x4df004]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [ecx]
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x43f829
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
lea esi, [edx + 2]
lea edi, [ebx + 3]
sub ebx, edx
nop dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.0043fae0
movzx ecx, byte [edi - 3]
lea edi, [edi + 8]
movzx eax, byte [esp + 0x28]
lea esi, [esi + 8]
xor ecx, eax
add esp, 0xc
movzx eax, byte [esp + 0x1d]
mov byte [esi - 0xa], cl
mov byte [esp + 0x14], cl
movzx ecx, byte [edi - 0xa]
xor ecx, eax
movzx eax, byte [esp + 0x1e]
mov byte [esi - 9], cl
mov byte [esp + 0x15], cl
movzx ecx, byte [esi + ebx - 8]
xor ecx, eax
movzx eax, byte [esp + 0x1f]
mov byte [esi - 8], cl
mov byte [esp + 0x16], cl
movzx ecx, byte [edi - 8]
xor ecx, eax
movzx eax, byte [esp + 0x20]
mov byte [esi - 7], cl
mov byte [esp + 0x17], cl
movzx ecx, byte [edi - 7]
xor ecx, eax
movzx eax, byte [esp + 0x21]
mov byte [esi - 6], cl
mov byte [esp + 0x18], cl
movzx ecx, byte [edi - 6]
xor ecx, eax
movzx eax, byte [esp + 0x22]
mov byte [esi - 5], cl
mov byte [esp + 0x19], cl
movzx ecx, byte [edi - 5]
xor ecx, eax
movzx eax, byte [esp + 0x23]
mov byte [esi - 4], cl
mov byte [esp + 0x1a], cl
movzx ecx, byte [edi - 4]
xor ecx, eax
mov byte [esi - 3], cl
mov byte [esp + 0x1b], cl
sub ebp, 1
jne 0x43f770
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop ebp
xor ecx, esp
call fcn.00401e51
add esp, 0x18
ret
Function at 0x441b00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0049c460
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
je 0x441bf5
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
cmp edx, 0x20
jb 0x441bce
push ebp
lea eax, [ebx - 1]
lea ebp, [esi - 1]
add eax, edx
add ebp, edx
cmp esi, eax
ja 0x441b47
cmp ebp, ebx
jae 0x441bcd
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x441b54
cmp ebp, edi
jae 0x441bcd
mov eax, edx
lea ebp, [esi + 0x10]
mov edx, edi
and eax, 0xffffffe0
sub edx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov eax, ebx
mov edx, esi
sub edx, ebx
mov dword [esp + 0x14], edx
mov edx, edi
mov edi, dword [esp + 0x14]
sub edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
nop word [eax + eax]
movups xmm0, xmmword [eax]
add ecx, 0x20
lea eax, [eax + 0x20]
lea ebp, [ebp + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [edi + eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ebp - 0x20]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [ebp - 0x20], xmm1
cmp ecx, dword [esp + 0x1c]
jb 0x441b90
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
pop ebp
cmp ecx, edx
jae 0x441bf2
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x441be0
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x451da0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.00451e90
mov edi, eax
add esp, 8
test edi, edi
jne 0x451e46
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0041fc20
push 0x4c5304
push esi
push 0x4c5308
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.0041f670
add esp, 0x2c
call fcn.0040dbde
cmp dword [eax], 2
je 0x451e26
call fcn.0040dbde
cmp dword [eax], 6
je 0x451e26
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0041fc20
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0041fc20
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x4e0854
call fcn.0042f680
mov esi, eax
add esp, 4
test esi, esi
jne 0x451e67
push edi
call fcn.00406555
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.0042f2c0
push edi
push 1
push 0x6a
push esi
call fcn.0042f2f0
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x4582b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x458379
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4582d1
cmp al, 0x6b
jne 0x458379
inc ecx
cmp al, 0x6b
jne 0x45833b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4582f2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4582f2
cmp dl, 0xbb
jne 0x45831b
inc eax
cmp eax, esi
jl 0x4582e0
sub esi, eax
test eax, eax
jne 0x45833e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0041fc20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0041fc20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x458367
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0041fc20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.00403420
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.0041fc20
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x45b3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.0049c460
mov eax, dword [0x4df004]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x45b5a7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x45b5a7
cmp dword [esp + 0x88], 0x40000000
ja 0x45b5a7
push ebx
push edi
push eax
call fcn.004203c0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.0041b7c0
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.0041b3a0
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.0041b550
add esp, 0x20
test eax, eax
je 0x45b583
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041b550
add esp, 0xc
test eax, eax
je 0x45b583
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.0041b550
add esp, 0xc
test eax, eax
je 0x45b583
push 0
cmp esi, edi
jb 0x45b54b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0041b2f0
add esp, 0xc
test eax, eax
je 0x45b583
sub esi, edi
je 0x45b57b
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.0041b3a0
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.0041b550
add esp, 0x18
test eax, eax
jne 0x45b497
jmp 0x45b583
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041b2f0
add esp, 0xc
test eax, eax
je 0x45b583
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.00403420
lea eax, [esp + 0x48]
push edi
push eax
call fcn.0041e980
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.0041b560
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00401e51
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.00401e51
add esp, 0x70
ret