joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1025b580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 1
push 0x102f8fc0
lea ecx, [esp + 0x24]
call fcn.1009cf30
mov edx, dword [0x102f8fb4]
mov ebx, dword [esp + 0x38]
xor eax, eax
cmp edx, eax
mov dword [esp + 0x30], eax
jle 0x100367c9
mov edi, dword [0x102f8fb0]
lea ecx, [edi + 4]
cmp dword [ecx], ebx
je 0x10036797
inc eax
add ecx, 0xc
cmp eax, edx
jge 0x100367c9
jmp 0x10036789
mov ecx, edx
lea esi, [eax + eax*2]
sub ecx, eax
dec ecx
lea esi, [edi + esi*4]
je 0x100367c2
lea ecx, [ecx + ecx*2]
lea edx, [eax + eax*2 + 3]
shl ecx, 2
lea eax, [edi + edx*4]
push ecx
push eax
push esi
call fcn.10077870
mov edx, dword [0x102f8fb4]
add esp, 0xc
dec edx
mov dword [0x102f8fb4], edx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x102f8fb4]
mov ebp, dword [esp + 0x3c]
cmp esi, esi
mov edi, eax
jl 0x100367f9
lea edx, [esi + 1]
push 0xffffffffffffffff
push edx
mov ecx, 0x102f8fb0
call fcn.10036a30
mov ecx, dword [0x102f8fb0]
lea eax, [esi + esi*2]
lea edx, [ecx + eax*4]
mov dword [ecx + eax*4], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov eax, dword [0x102f8fb4]
cmp eax, 0x32
jle 0x1003683f
add eax, 0xfffffff6
test eax, eax
je 0x10036838
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [0x102f8fb0]
lea ecx, [eax + 0x78]
push ecx
push eax
call fcn.10077870
add esp, 0xc
sub dword [0x102f8fb4], 0xa
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10036889
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.101a0d80
add esp, 8
mov eax, dword [eax]
push ebp
push ebx
push eax
push 1
push str.CTSCDTVPNGatewayMgr::AddConnectFail__Add:_d___s__08x_:_d_
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x1030a1dc
mov byte [esp + 0x50], 1
call fcn.100a4680
add esp, 0x20
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.1008ec90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.1009cf90
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x10036be0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x102f9050
jmp 0x10036c10

Function at 0x10036ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025b603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x10269ebc
mov esi, dword [edi + 0x50]
mov dword [esp + 0x14], 1
test esi, esi
je 0x10036cfb
mov eax, dword [edi + 0x54]
mov ecx, eax
dec eax
test ecx, ecx
je 0x10036cef
push ebx
lea ebx, [eax + 1]
mov ecx, esi
call fcn.1000fa90
add esi, 0x68
dec ebx
jne 0x10036ce1
pop ebx
mov eax, dword [edi + 0x50]
push eax
call fcn.1024ac9a
add esp, 4
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 0
call fcn.1009ca50
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.100a0380
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10038e90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1025b8e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x1388
lea eax, [esi + 0x10]
lea ecx, [esi + 4]
push 0
push eax
mov dword [eax], ecx
push 0
push 2
lea ecx, [esp + 0x1c]
mov dword [esi + 8], esi
mov dword [esi + 0x14], 0x1000a740
call fcn.10040ed0
lea edx, [esp + 4]
mov ecx, 0x102f9278
push edx
mov dword [esp + 0x4c], 0
call fcn.10042090
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x44], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x50], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x58], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.10040f50
mov ecx, dword [esp + 0x40]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x100399c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1025b993
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x1026c87c]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov dword [esi], 0x10269ee0
mov eax, dword [0x1026c87c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 4
test eax, eax
je 0x10039a32
call fcn.101a6d70
push eax
lea ecx, [esp + 0x18]
push str.__lu
push ecx
call fcn.10091c10
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10039a53
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x14]
push str.__lu
push edx
call fcn.10091c10
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10039a74
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x10]
push str.__lu
push eax
call fcn.10091c10
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10039a95
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x102c581c
push ecx
call fcn.10091c10
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.1008e4f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push str._s_s_s_s_s
push edi
mov byte [esp + 0x40], 5
call fcn.10091c10
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.1008ec90
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.1008ec90
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.1008ec90
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.1008ec90
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.1008ec90
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x10039b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025b9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x1026c87c]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 3
cmp eax, 0xffffffff
je 0x10039bb9
push eax
lea eax, [esp + 0x14]
push str.__lu
push eax
call fcn.10091c10
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x10039bd5
push eax
lea ecx, [esp + 0x10]
push str.__lu
push ecx
call fcn.10091c10
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x10039bf1
push eax
lea edx, [esp + 0xc]
push str.__lu
push edx
call fcn.10091c10
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x10039c0d
push eax
lea eax, [esp + 8]
push 0x102c581c
push eax
call fcn.10091c10
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.1008e4f0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
add esi, 4
push str._s_s_s_s_s
push esi
mov byte [esp + 0x38], 4
call fcn.10091c10
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.1008ec90
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call fcn.1008ec90
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.1008ec90
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.1008ec90
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1008ec90
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x10039d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025ba27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x1026c87c]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x18], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
test eax, eax
je 0x10039d8c
push 0x102c5854
jmp 0x10039d91
push 0x102c5844
lea ecx, [esp + 8]
call fcn.1008ef10
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x102b7d2c
push edx
call fcn.10091c10
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.1008e290
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.1008ec90
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.1008ec90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x1003c0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025be84
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
call fcn.10039930
lea ecx, [esi + 8]
call fcn.1003c0b0
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.100945b0
mov eax, dword [0x1026c87c]
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.100a2e50
mov edx, dword [0x1026c87c]
lea edi, [esi + 0x58]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [ecx], edx
push 0x102f440c
mov byte [esp + 0x20], 4
mov dword [edi], ebx
call fcn.1008ef10
mov dword [edi + 8], ebx
add edi, 0xc
xor eax, eax
lea edx, [esi + 0x48]
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [edx], ecx
mov eax, esi
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100411f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x102f9278
jmp 0x10041250
push 0xffffffffffffffff
push 0x1025c622
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0x1e
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x5c]
mov byte [esp + 0x1c], 4
call fcn.1009ca00
lea ebp, [esi + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [ebp], 0x10269f24
mov dword [ebp + 4], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
lea ecx, [ebp + 0x14]
mov byte [esp + 0x1c], 6
call fcn.1009ca00
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x34]
mov byte [esp + 0x34], 7
call fcn.100411b0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x4c]
call fcn.10040ed0
mov dword [ebp], 0x10269f1c
lea ecx, [esi + 0x104]
mov byte [esp + 0x1c], 8
call fcn.10043140
lea ebp, [esi + 0x140]
mov dword [esp + 0x10], ebp
mov dword [ebp], 0x10269f24
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], 0x11
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov eax, 0xa
mov dword [ebp + 0x1c], eax
lea ecx, [ebp + 0x20]
mov byte [esp + 0x1c], al
call fcn.1009ca00
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x40]
mov byte [esp + 0x34], 0xb
call fcn.100411b0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x58]
call fcn.10040ed0
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x94]
mov byte [esp + 0x34], 0xc
call fcn.100411b0
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0xac]
call fcn.10040ed0
mov ecx, dword [esp + 0x14]
mov eax, 0x10
mov dword [ebp], 0x10269f10
mov dword [esi + 0x248], eax
mov dword [esi + 0x24c], eax
mov dword [esi + 0x254], edi
mov dword [esi], 0x10269f0c
mov dword [esi + 0x250], 4
mov dword [esi + 0x258], 0x7530
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10042f50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1025c868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x2710
lea eax, [esi + 0x34]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x38], 0x1000a740
call fcn.10040ed0
lea eax, [esp + 4]
mov ecx, 0x102f9278
push eax
mov dword [esp + 0x4c], 0
call fcn.10042090
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x64], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x84], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.10040f50
mov ecx, dword [esp + 0x40]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x10043e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025c9b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebp
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov edi, ecx
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.10040ed0
lea eax, [edi + 0x20]
push 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0
call fcn.1009cf30
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x5c], 1
lea ebp, [ecx + 0xc]
push ebp
call fcn.10039900
xor edx, edx
div dword [edi + 0xc]
mov eax, dword [edi + 8]
test eax, eax
je 0x10043edb
mov esi, dword [eax + edx*4]
test esi, esi
je 0x10043edb
lea edx, [esi + 8]
push ebp
push edx
call fcn.100398e0
add esp, 8
test eax, eax
jne 0x10043ed7
mov esi, dword [esi]
test esi, esi
jne 0x10043ebe
jmp 0x10043f3f
test esi, esi
jne 0x10043edf
xor esi, esi
jmp 0x10043f3f
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov esi, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], 0
call fcn.1009cf90
test esi, esi
je 0x10043f6a
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.10042550
lea edx, [esp + 0x18]
mov ecx, edi
push edx
call fcn.10043ca0
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.10040f50
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x10043f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025c9d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
mov esi, ecx
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0xf8]
push 0x2710
push 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x40]
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x44], 0x1000a740
call fcn.10040ed0
lea edx, [esp + 4]
mov ecx, 0x102f9278
push edx
mov dword [esp + 0x88], 0
call fcn.10042090
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], eax
mov dword [esp + 0x84], 0xffffffff
call fcn.10040f50
push 0xffffffffffffffff
lea eax, [esi + 0x94]
push 0xffffffffffffffff
push 0
push eax
push 2
push 0
lea ecx, [esp + 0x58]
mov dword [eax], esi
mov dword [esi + 0x98], 0x1000a750
call fcn.10040ed0
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 1
push ecx
mov ecx, 0x102f9278
call fcn.10042090
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0xb0], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esi + 0xc8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0xcc], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xd8], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0xe0], ecx
lea ecx, [esp + 0x40]
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe4], edx
mov dword [esp + 0x84], 0xffffffff
call fcn.10040f50
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x10044de0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1025ca48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0xc8
lea eax, [esi + 0x44]
lea ecx, [esi + 0x3c]
push 0
push eax
mov dword [eax], ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [esi + 0x40], esi
mov dword [esi + 0x48], 0x1000a740
call fcn.10040ed0
lea edx, [esp + 4]
mov ecx, 0x102f9278
push edx
mov dword [esp + 0x4c], 0
call fcn.10042090
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x8c], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [esp + 0x48], 0xffffffff
call fcn.10040f50
mov ecx, dword [esp + 0x40]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x10046d50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
xor ecx, ecx
xor edx, edx
push edi
mov dword [esi], 0x61707865
mov dword [esi + 4], 0x3320646e
mov dword [esi + 8], 0x79622d32
mov dword [esi + 0xc], 0x6b206574
mov cl, byte [eax + 0xf]
mov dl, byte [eax + 0xe]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xd]
mov dl, byte [eax + 0xc]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 0xb]
mov dl, byte [eax + 0xa]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 9]
mov dl, byte [eax + 8]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 7]
mov dl, byte [eax + 6]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 5]
mov dl, byte [eax + 4]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 3]
mov dl, byte [eax + 2]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 1]
mov dl, byte [eax]
push ecx
lea edi, [esi + 0x10]
push edx
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
push edi
call fcn.100780e0
mov eax, dword [esp + 0x5c]
add esp, 0x48
mov dword [esi + 0x34], eax
mov ecx, 1
lea edx, [eax + 0x12345678]
xor eax, 0x87654321
mov dword [esi + 0x38], edx
mov edx, dword [esi]
xor edx, eax
mov dword [esi + 0x30], ecx
mov dword [esi], edx
mov edx, dword [esi + 4]
xor edx, eax
mov dword [esi + 0x3c], eax
mov dword [esi + 4], edx
mov edx, dword [esi + 8]
xor edx, eax
mov dword [esi + 8], edx
mov edx, dword [esi + 0xc]
xor edx, eax
mov dword [esi + 0xc], edx
mov edx, dword [edi]
mov dword [esi + 0x40], ecx
xor edx, eax
mov dword [esi + 0x44], 0
mov dword [edi], edx
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
xor edx, eax
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x1c]
xor edi, eax
xor edx, eax
mov dword [esi + 0x18], edi
mov edi, dword [esi + 0x20]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x24]
xor edi, eax
xor edx, eax
mov dword [esi + 0x20], edi
mov edi, dword [esi + 0x28]
mov dword [esi + 0x24], edx
mov edx, dword [esi + 0x2c]
xor edi, eax
xor edx, eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edx
pop edi
pop esi
ret