joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00419db0
push ebp
push 0x410d00
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x419ed0
mov al, byte [ebp - 0x110]
test al, al
je 0x419e99
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.004042c0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00407490
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00407fc0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x431008
call fcn.00416ca0
mov edx, 0x419e2a
mov ecx, ebp
call fcn.00410bc0
jmp 0x419ed0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x431008
call fcn.00416ca0
mov edx, 0x419e99
mov ecx, ebp
call fcn.00410bc0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x419f94
mov al, byte [ebp - 0x110]
test al, al
je 0x419f5d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.004042c0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00407490
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00407fc0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x431008
call fcn.00416ca0
mov edx, 0x419eee
mov ecx, ebp
call fcn.00410bc0
jmp 0x419f94
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x431008
call fcn.00416ca0
mov edx, 0x419f5d
mov ecx, ebp
call fcn.00410bc0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00419af0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00419db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41df00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [ebx + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x41df1c
mov dword [ebx + 0xc], 0
mov esi, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404555
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x40458c
mov esp, ebp
pop ebp
ret
Function at 0x407bcb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x30], ecx
lea ebx, [edx + 0xc]
mov dword [edi - 4], esp
or dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0x5032b0
mov ecx, esi
mov eax, dword fs:[0]
mov dword [edi], eax
mov dword fs:[0], edi
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
push eax
call fcn.0042411e
pop eax
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
and dword [edi + 8], 0
and dword [eax], 0
mov dword [eax + 4], 1
and dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], 0x20
mov byte [ecx + 0x20], 3
and dword [ecx], 0
and dword [ecx + 8], 0
mov dword [ecx + 0x14], eax
and dword [eax + 8], 0
mov eax, dword [esi + 8]
mov dword [ecx + 0x18], 0x53ba50
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
push ecx
push ebx
call fcn.00423def
pop ecx
pop edx
movzx ecx, al
call fcn.00406faa
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x3c]
mov dword [ecx + 0x1c], eax
movsd qword [ecx + 0x14], xmm0
mov dword [ecx + 0x24], str._H:_M:_S____
mov dword [ecx + 0x28], 8
mov dword [ecx + 0x2c], 0x5b9dc0
and dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0x53dc7c
push 5
pop eax
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 0x53dcb8
mov dword [ecx + 0x40], 0xd
mov dword [ecx + 0x44], 0x53dd54
mov dword [ecx + 0x48], eax
xor eax, eax
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x20], edx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407df1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
lea esi, [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [esi - 4], esp
or dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x5032d0
mov ecx, edi
mov eax, dword fs:[0]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esi
push eax
call fcn.00407d00
pop eax
movzx eax, byte [ebx + 0xc]
mov edx, dword [ebx + 8]
mov edi, dword [edi + 4]
mov ecx, dword [ebx + 4]
and dword [esi + 8], 0
push edx
push ecx
push eax
push 0
mov dword [ebp - 0x24], edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x407e67
mov ecx, dword [ebp - 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
jmp 0x407e6d
mov eax, dword [ebp - 0x20]
mov byte [eax], 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
call fcn.004ca955
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40897b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
cmp dword [edx], 0
je 0x4089a9
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 0x408a89
push 0
jmp 0x408a8b
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 0x408ab0
mov al, bh
xor al, 1
test edi, edi
mov byte [edx + 0xc], al
mov eax, esi
je 0x4089f6
mov eax, esi
sub eax, edi
jbe 0x4089f0
cmp byte [ecx + edi], 0xbf
jg 0x4089f6
jmp 0x408ac0
jne 0x408ac0
test eax, eax
je 0x408a99
mov bl, byte [ecx + edi]
movzx eax, bl
test bl, bl
jns 0x408a54
movzx ebp, byte [ecx + edi + 1]
and eax, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x408a41
movzx esi, byte [ecx + edi + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x408a48
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 0x408a4d
shl eax, 6
or eax, ebp
jmp 0x408a51
shl eax, 0xc
or eax, esi
mov esi, dword [esp + 8]
xor ebp, ebp
inc ebp
test bh, bh
jne 0x408a9d
cmp eax, 0x110000
je 0x408aac
cmp eax, 0x80
mov ebx, ebp
jb 0x408a7d
cmp eax, 0x800
push 2
pop ebx
jb 0x408a7d
cmp eax, 0x10000
push 4
pop ebx
sbb ebx, 0
add edi, ebx
mov bh, 1
mov dword [edx + 4], edi
jmp 0x4089c7
push 1
push ebp
push ebx
push edi
push esi
call fcn.00406c20
add esp, 0x20
jmp 0x408abb
test bh, bh
je 0x408aac
mov eax, dword [esp + 4]
xor ecx, ecx
inc ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x408ab6
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 0x5ba384
push esi
push edi
call fcn.005378b0
Function at 0x428299
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], 0x503550
cmp byte [ebp + 8], 0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
je 0x428340
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], 0x53eddc
mov dword [edx + 4], 3
and dword [edx + 0x10], 0
mov dword [ecx], 1
mov dword [ebx], eax
mov eax, fcn.00429950
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.00407945
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.00427a33
pop eax
pop ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
call fcn.00459b3c
jmp 0x428372
mov ecx, edi
call fcn.004278f4
lea edi, [ebp - 0x58]
mov edx, eax
mov ecx, edi
call fcn.00428132
cmp dword [edi], 0
je 0x42836f
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 0x431320
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 0x431370
cmp esi, edi
ja 0x4313d8
cmp edi, dword [esp + 0x1c]
ja 0x4313e6
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x431372
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x431360
jmp 0x4313cf
ja 0x431378
cmp eax, edx
mov esi, edi
jne 0x431333
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 0x4313b0
mov ebp, esi
sub ecx, edx
jns 0x4313c7
jmp 0x4313d1
cmp esi, edi
je 0x4313f6
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x4313d1
xor al, 1
cmp ebp, edi
jne 0x431390
jmp 0x4313d1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x5404a0
call fcn.00537570
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x5404a0
call fcn.00537350
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x540490
call fcn.005373b0
int3
Function at 0x434172
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 0x434299
push 4
pop edi
sub edi, 1
jb 0x434181
cmp edx, 0xf
jbe 0x4342a9
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 + 0x543f34]
xor ebp, dword [esi*4 + 0x543b34]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x544334]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x544734]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x544b34]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x544f34]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x545334]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x545734]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x545b34]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x545f34]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x546334]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x546734]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x546b34]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x546f34]
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 + 0x547334]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x547734]
push 0x543b24
call fcn.004346fd
pop ecx
mov ebx, ebp
jmp 0x43418d
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x543b34]
test edx, edx
jne 0x434286
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x543b14
call fcn.005372f0
Function at 0x43a8db
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], 0x503620
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 0x43a964
mov dword [esi + 8], edx
mov dword [esi + 0x40], 4
push 0x10
pop ecx
push 4
pop edx
call fcn.004eca76
movsd xmm0, qword [0x5914c8]
movsd xmm1, qword [0x5914c0]
xor ecx, ecx
mov dword [esi + 4], eax
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
mov dword [esi + 0x40], 3
call fcn.0044f970
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.004eca76
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 0x568250
push eax
push 0xfde49a8b
push 0x34e9783e
push 0x17d4a87b
call fcn.00449285
add esp, 0x14
test eax, eax
je 0x43aa48
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 0x43aa35
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.00421070
jmp 0x43aa4e
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 0x44d3b9
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], 0x503ab0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, 0x573b64
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], 0x5b9dc0
and dword [edx + 8], 0
and dword [edx + 0xc], 0
mov dword [edi], ecx
mov dword [edi + 4], 0x5b9604
mov dword [edi + 8], 1
and dword [edi + 0xc], 0
or word [edi + 0x10], 0xffff
lea ecx, [esi + 0x30]
call fcn.0044a113
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.005282a0
add esp, 0xc
mov byte [edi + 0x84], 2
push 0x40
lea eax, [esi + 0x30]
push eax
push edi
call fcn.005282a0
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 0x46ab30
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], 0x5045f0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edx, dword [0x5dd848]
test edx, edx
jne 0x46ac72
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 0x46abae
mov esi, eax
push str.WaitOnAddress
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46abae
mov edi, eax
push str.WakeByAddressSingle
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46abae
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0
jmp 0x46ac22
push 0x588660
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x46ac89
mov edi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46ac89
mov esi, eax
push str.NtReleaseKeyedEvent
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x46ac89
push str.NtWaitForKeyedEvent
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x46ac89
mov edi, eax
lea eax, [ebp - 0x30]
push 0
push 0
push 0xc0000000
push eax
call esi
test eax, eax
jne 0x46ac89
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.004643d7
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 [0x5dd848], edx
je 0x46ac6f
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.0046acc6
mov ecx, dword [ebp - 0x20]
call fcn.00422a30
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:UsersMark.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.8_src_thread_parkerwindowsmod.rs
push 0x588760
call fcn.005385c3
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0046acc6
add esp, 0x10
pop ebp
ret
Function at 0x49e3c5
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 0x58c6e4
push dword [edi + 0x38]
call fcn.0049e1bb
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 0x49e4fe
test eax, eax
je 0x49e494
cmp eax, 0x90317
je 0x49e4f7
cmp eax, 0x90321
jne 0x49e50b
mov dword [edi + 0x68], 0x10000
mov byte [edi + 0x6c], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x38]
jne 0x49e47f
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0049e37d
and dword [edi + 0xac], 0
jmp 0x49e51c
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.0049e529
pop ecx
pop ecx
mov ebp, edx
mov edx, eax
mov ecx, ebx
push ebp
call fcn.00421f68
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 0x49e4db
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0049e37d
mov eax, dword [edi + 0x38]
xor ecx, ecx
or eax, dword [edi + 0x3c]
sete cl
mov dword [edi + 0xac], ecx
jmp 0x49e51c
mov word [esi], 0x104
jmp 0x49e521
cmp dword [esp + 0x10], 4
jne 0x49e513
mov eax, dword [esp + 0xc]
jmp 0x49e516
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x49e521
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
Function at 0x4a068d
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 + 0xec]
mov edx, dword [edx + 0xf0]
push 0x58c6e4
push dword [edi + 0xe0]
call fcn.0049e1bb
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 + 0x128]
push 0
push 0
push eax
push ecx
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x4a07f3
test eax, eax
je 0x4a076e
cmp eax, 0x90317
je 0x4a07ec
cmp eax, 0x90321
jne 0x4a0800
mov dword [edi + 0x110], 0x10000
mov byte [edi + 0x114], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0xe0]
jne 0x4a0759
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.004a0639
and dword [edi + 0x154], 0
jmp 0x4a0811
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xec]
mov ebp, dword [esp + 0xc]
mov edx, dword [edi + 0xf0]
and dword [edi + 0xd8], 0
lea ebx, [edi + 0xd0]
sub eax, ecx
add ebp, eax
push ebp
push eax
call fcn.0049e529
pop ecx
pop ecx
mov ebp, edx
mov edx, eax
mov ecx, ebx
push ebp
call fcn.00421f68
pop eax
and dword [edi + 0xcc], 0
and dword [edi + 0xc8], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0xe0]
jne 0x4a07ca
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.004a0639
mov eax, dword [edi + 0xe0]
xor ecx, ecx
or eax, dword [edi + 0xe4]
sete cl
mov dword [edi + 0x154], ecx
jmp 0x4a0811
mov word [esi], 0x104
jmp 0x4a0816
cmp dword [esp + 0x10], 4
jne 0x4a0808
mov eax, dword [esp + 0xc]
jmp 0x4a080b
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x4a0816
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