joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4087cb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
cmp dword [edx], 0
je 0x4087f9
mov esi, dword [edx + 0x30]
cmp dword [edx + 0x24], 0xffffffff
mov edi, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
lea eax, [edx + 8]
mov edx, eax
je 0x4088d9
push 0
jmp 0x4088db
mov dword [esp + 4], ecx
mov al, byte [edx + 0xe]
mov esi, dword [edx + 0x34]
mov edi, dword [edx + 4]
mov ecx, dword [edx + 0x30]
mov bh, byte [edx + 0xc]
xor ebp, ebp
inc ebp
mov byte [esp + 3], al
mov dword [esp + 8], esi
cmp byte [esp + 3], 0
jne 0x408900
mov al, bh
xor al, 1
test edi, edi
mov byte [edx + 0xc], al
mov eax, esi
je 0x408846
mov eax, esi
sub eax, edi
jbe 0x408840
cmp byte [ecx + edi], 0xbf
jg 0x408846
jmp 0x408910
jne 0x408910
test eax, eax
je 0x4088e9
mov bl, byte [ecx + edi]
movzx eax, bl
test bl, bl
jns 0x4088a4
movzx ebp, byte [ecx + edi + 1]
and eax, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x408891
movzx esi, byte [ecx + edi + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x408898
movzx ebp, byte [ecx + edi + 3]
and eax, 7
shl esi, 6
shl eax, 0x12
and ebp, 0x3f
or ebp, esi
or eax, ebp
jmp 0x40889d
shl eax, 6
or eax, ebp
jmp 0x4088a1
shl eax, 0xc
or eax, esi
mov esi, dword [esp + 8]
xor ebp, ebp
inc ebp
test bh, bh
jne 0x4088ed
cmp eax, 0x110000
je 0x4088fc
cmp eax, 0x80
mov ebx, ebp
jb 0x4088cd
cmp eax, 0x800
push 2
pop ebx
jb 0x4088cd
cmp eax, 0x10000
push 4
pop ebx
sbb ebx, 0
add edi, ebx
mov bh, 1
mov dword [edx + 4], edi
jmp 0x408817
push 1
push ebp
push ebx
push edi
push esi
call fcn.00406a70
add esp, 0x20
jmp 0x40890b
test bh, bh
je 0x4088fc
mov eax, dword [esp + 4]
xor ecx, ecx
inc ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x408906
mov byte [edx + 0xe], 1
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
push 0x5b9394
push esi
push edi
call fcn.005365b0
Function at 0x4277b9
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
lea eax, [ebp - 0x18]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov edi, edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502a70
cmp byte [ebp + 8], 0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
je 0x427860
inc ebx
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x38]
mov dword [eax], ebx
lea ebx, [ebp - 0x68]
mov dword [edx], 0x53dd68
mov dword [edx + 4], 3
and dword [edx + 0x10], 0
mov dword [ecx], 1
mov dword [ebx], eax
mov eax, fcn.00428e70
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 2
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.00407795
mov eax, dword [ebx + 8]
mov ecx, esi
mov esi, dword [ebx + 4]
and dword [ebp - 0x10], 0
mov edx, edi
push eax
mov dword [ebp - 0x20], esi
push esi
call fcn.00426f53
pop eax
pop ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
call fcn.00459070
jmp 0x427892
mov ecx, edi
call fcn.00426e14
lea edi, [ebp - 0x58]
mov edx, eax
mov ecx, edi
call fcn.00427652
cmp dword [edi], 0
je 0x42788f
and word [ebp - 0x24], 0
mov word [ebp - 0x22], bx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
mov byte [esi], 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x430850
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 0x4308a0
cmp esi, edi
ja 0x430908
cmp edi, dword [esp + 0x1c]
ja 0x430916
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x4308a2
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x430890
jmp 0x4308ff
ja 0x4308a8
cmp eax, edx
mov esi, edi
jne 0x430863
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 0x4308e0
mov ebp, esi
sub ecx, edx
jns 0x4308f7
jmp 0x430901
cmp esi, edi
je 0x430926
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x430901
xor al, 1
cmp ebp, edi
jne 0x4308c0
jmp 0x430901
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x53f428
call fcn.00536270
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x53f428
call fcn.00536050
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x53f418
call fcn.005360b0
int3
Function at 0x4336a2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov ebx, ecx
not ebx
cmp edx, 0x40
jb 0x4337c9
push 4
pop edi
sub edi, 1
jb 0x4336b1
cmp edx, 0xf
jbe 0x4337d9
movzx ebp, byte [eax + 0xe]
movzx esi, byte [eax + 0xf]
mov ecx, ebx
mov dword [esp], edx
mov edx, 0xff
shr ecx, 0x18
mov ebp, dword [ebp*4 + 0x542ebc]
xor ebp, dword [esi*4 + 0x542abc]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x5432bc]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x5436bc]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x543abc]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x543ebc]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x5442bc]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x5446bc]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x544abc]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x544ebc]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x5452bc]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x5456bc]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x545abc]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x545ebc]
mov esi, ebx
and ebx, edx
shr esi, 8
and esi, edx
mov edx, dword [esp]
xor esi, ecx
movzx ecx, byte [eax]
xor ebp, dword [esi*4 + 0x5462bc]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x5466bc]
push 0x542aac
call fcn.00433c2d
pop ecx
mov ebx, ebp
jmp 0x4336bd
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x542abc]
test edx, edx
jne 0x4337b6
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x542a9c
call fcn.00535ff0
Function at 0x439e07
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502b40
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x439e90
mov dword [esi + 8], edx
mov dword [esi + 0x40], 4
push 0x10
pop ecx
push 4
pop edx
call fcn.004ebf96
movsd xmm0, qword [0x5904a8]
movsd xmm1, qword [0x5904a0]
xor ecx, ecx
mov dword [esi + 4], eax
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov dword [esi + 0x40], 3
call fcn.0044eea4
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
mov eax, edx
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi + 0x40], 2
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm0
push 0x10
pop ecx
push 4
pop edx
call fcn.004ebf96
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
mov ecx, dword [esi + 4]
mov edx, 0xf1fbf10e
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
and dword [esi + 0x40], 0
mov byte [esi + 3], 0
push 0x5671d4
push eax
push 0xfde49a8b
push 0x34e9783e
push 0x17d4a87b
call fcn.004487b5
add esp, 0x14
test eax, eax
je 0x439f74
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
push eax
push ecx
mov dword [esi + 8], edx
call dword [edx + 0xc]
add esp, 8
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
xor edi, 0xf1fbf10e
xor ecx, 0x34e9783e
xor edx, 0x17d4a87b
xor eax, 0xfde49a8b
or ecx, edi
or eax, edx
or eax, ecx
jne 0x439f61
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
push 4
pop edx
call fcn.00420590
jmp 0x439f7a
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
and dword [esi + 0x40], 0
mov byte [esi + 3], 0
call fcn.00404402
mov eax, dword [esi + 0xc]
and dword [eax], 0
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44c8ed
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
lea eax, [esi + 0x78]
mov dword [esi], ecx
lea edx, [esi + 0xc]
lea edi, [esi + 0x1c]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502fd0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, 0x572af4
mov dword fs:[0], eax
and dword [edx - 4], 0
and dword [edx - 8], 0
and dword [eax + 8], 0
mov dword [edx], ecx
mov dword [edx + 4], 0x5b8dd0
and dword [edx + 8], 0
and dword [edx + 0xc], 0
mov dword [edi], ecx
mov dword [edi + 4], 0x5b8614
mov dword [edi + 8], 1
and dword [edi + 0xc], 0
or word [edi + 0x10], 0xffff
lea ecx, [esi + 0x30]
call fcn.00449644
mov edi, dword [esi]
mov eax, 0x1010101
lea ecx, [esi + 4]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x40]
push 0x2c
push ecx
push eax
call fcn.00527800
add esp, 0xc
mov byte [edi + 0x84], 2
push 0x40
lea eax, [esi + 0x30]
push eax
push edi
call fcn.00527800
add esp, 0xc
mov eax, dword [esi + 0x78]
and dword [edi + 0x80], 0
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44e4e6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503020
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ec288
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 8
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.0044e616
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004ec2d1
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46a060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
lea eax, [ebp - 0x18]
mov ebx, ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503b10
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edx, dword [0x5dc7f8]
test edx, edx
jne 0x46a1a2
push str.api_ms_win_core_synch_l1_2_0.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp - 0x2c], ebx
je 0x46a0de
mov esi, eax
push str.WaitOnAddress
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a0de
mov edi, eax
push str.WakeByAddressSingle
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a0de
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0
jmp 0x46a152
push 0x587614
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x46a1b9
mov edi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a1b9
mov esi, eax
push str.NtReleaseKeyedEvent
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x46a1b9
push str.NtWaitForKeyedEvent
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46a1b9
mov edi, eax
lea eax, [ebp - 0x30]
push 0
push 0
push 0xc0000000
push eax
call esi
test eax, eax
jne 0x46a1b9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
and dword [ebp - 0x10], 0
push 0xc
pop ecx
call fcn.00463907
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 8], eax
xor eax, eax
lock cmpxchg dword [0x5dc7f8], edx
je 0x46a19f
mov ecx, dword [edx]
mov dword [ebp - 0x20], edx
mov edx, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
call fcn.0046a1f6
mov ecx, dword [ebp - 0x20]
call fcn.00421f50
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
and dword [ebx + 4], 0
mov dword [ebx], edx
mov dword fs:[0], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5b
pop edx
mov ecx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Usersdanya.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.8_src_thread_parkerwindowsmod.rs
push 0x587718
call fcn.005372c3
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0046a1f6
add esp, 0x10
pop ebp
ret
Function at 0x470fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503ed0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.00471bf8
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.00471302
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x503f00
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ec288
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.0047097f
push 0x28
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00527800
add esp, 0xc
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004ec2d1
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x473390
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov esi, esp
mov dword [esi + 0xe8], ebp
lea eax, [esi + 0xf0]
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5040c0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
push 2
pop ecx
mov dword [esi + 0x18], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
and dword [esi + 0x28], 0
mov byte [esi + 5], 1
call fcn.00441d61
mov edi, eax
lea ebx, [esi + 0x30]
add edi, 0x64
push 0xb8
push dword [esi + 8]
push ebx
call fcn.00527800
add esp, 0xc
mov edx, dword [ebp + 8]
mov byte [esi + 5], 0
mov ecx, edi
push ebx
call fcn.004734df
pop eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
mov byte [esi + 5], 0
push eax
call fcn.004428ab
pop eax
lea ecx, [esi + 0x10]
mov byte [esi + 7], 0
mov dword [esi + 0xf8], 1
call fcn.004734ce
and dword [esi + 0xf8], 0
lea ecx, [esi + 0x10]
mov byte [esi + 6], 0
call fcn.0043d490
mov eax, dword [esi + 0xf0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x48a573
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504540
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.0048aea5
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.0048a7ab
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5045c0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ec288
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.00489f4c
push 0x68
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00527800
add esp, 0xc
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004ec2d1
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x48b929
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504650
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.0048c38a
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.0048bca3
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x48bb5e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504680
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ec288
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.0048b312
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
movsd xmm0, qword [eax + 0x18]
movsd qword [ecx + 0x18], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004ec2d1
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x49d8f5
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov edi, edx
mov ecx, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
push 0x58b6c0
push dword [edi + 0x38]
call fcn.0049d6eb
pop ecx
pop ecx
test eax, eax
mov ecx, esp
cmove edx, eax
and dword [ecx + 0x24], 0
and dword [ecx + 0x28], 0
and dword [ecx + 0x2c], 0
mov dword [ecx], edx
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
lea eax, [esp + 0x30]
and dword [ecx + 0x10], 0
and dword [ecx + 0xc], 0
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
and dword [ecx + 0x20], 0
and dword [ecx + 0x1c], 0
and dword [eax], 0
mov dword [eax + 4], 4
mov dword [eax + 8], ecx
lea ecx, [edi + 0x80]
push 0
push 0
push eax
push ecx
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x49da2e
test eax, eax
je 0x49d9c4
cmp eax, 0x90317
je 0x49da27
cmp eax, 0x90321
jne 0x49da3b
mov dword [edi + 0x68], 0x10000
mov byte [edi + 0x6c], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x38]
jne 0x49d9af
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0049d8ad
and dword [edi + 0xac], 0
jmp 0x49da4c
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x44]
mov ebp, dword [esp + 0xc]
mov edx, dword [edi + 0x48]
and dword [edi + 0x30], 0
lea ebx, [edi + 0x28]
sub eax, ecx
add ebp, eax
push ebp
push eax
call fcn.0049da59
pop ecx
pop ecx
mov ebp, edx
mov edx, eax
mov ecx, ebx
push ebp
call fcn.00421488
pop eax
and dword [edi + 0x24], 0
and dword [edi + 0x20], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x38]
jne 0x49da0b
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0049d8ad
mov eax, dword [edi + 0x38]
xor ecx, ecx
or eax, dword [edi + 0x3c]
sete cl
mov dword [edi + 0xac], ecx
jmp 0x49da4c
mov word [esi], 0x104
jmp 0x49da51
cmp dword [esp + 0x10], 4
jne 0x49da43
mov eax, dword [esp + 0xc]
jmp 0x49da46
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x49da51
xor eax, eax
inc eax
mov dword [edi + 0xac], eax
mov word [esi], 4
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret