joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
push 1
mov dword [ebp - 0x18], esi
call fcn.00409870
mov dword [eax], eax
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 2
cmp dword [ebp + 0x18], esi
ja 0x4524d0
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x1c]
call fcn.00409750
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4524c3
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5559
add esp, 4
xor edx, edx
mov word [ebp + 8], dx
xor eax, eax
jmp 0x4525e7
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.004520a0
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
cmp edi, eax
je 0x4525a2
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
jb 0x45251f
mov ecx, dword [esi]
jmp 0x452521
mov ecx, esi
lea edx, [ebp - 0x10]
push edx
call fcn.00401db0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45253e
jmp 0x452574
push 0
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x20], esp
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.00454610
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452597
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
cmp edi, dword [ebp - 0x1c]
jne 0x452512
mov byte [ebx + 0x18], 1
mov byte [ebp - 4], 9
lea ebx, [ebp - 0x1c]
call fcn.00409750
xor ebx, ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004d5559
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4525dc
mov edx, dword [ebp + 8]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov eax, 1
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x452610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdf9e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
je 0x452663
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x452657
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x18], ebx
xor eax, eax
jmp 0x452723
cmp dword [ebp + 0x18], ebx
jne 0x45268f
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x452681
mov edx, dword [ebp + 8]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
jmp 0x452727
push 0x20
call fcn.004d67b0
add esp, 4
mov dword [ebp - 0x10], eax
mov cl, 1
mov byte [ebp - 4], cl
cmp eax, ebx
je 0x4526bc
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], dx
mov byte [ebp - 4], cl
mov esi, eax
jmp 0x4526be
xor esi, esi
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x45263e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x1c], eax
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [esi + 4]
or eax, 0xffffffff
mov dword [esi], edi
call fcn.004022e0
lea ebx, [edi + 4]
push ebx
push 0
push esi
push 0x452780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [ebx]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x452718
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x18], 0
xor ecx, ecx
mov eax, ebx
mov word [ebp + 8], cx
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x452750
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x45277e
push 0x1388
push eax
mov byte [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x452778
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi], 0
ret
Function at 0x454740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe661
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi], ebx
jne 0x454849
cmp dword [ebp + 8], ebx
je 0x454849
mov eax, 0x45ab60
test eax, eax
je 0x454849
push 0x18
mov dword [esi + 0x54], 0x45ab60
call fcn.004d67b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x4547b3
lea ecx, [edi + 8]
push ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
jmp 0x4547b5
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], edi
mov dword [edi + 4], esi
mov edx, dword [esi + 0x50]
push 0x20
mov dword [edx], eax
call fcn.004d67b0
add esp, 4
mov dword [ebp + 8], eax
mov ecx, 1
mov dword [ebp - 4], ecx
cmp eax, ebx
je 0x4547fa
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], dx
mov byte [ebp - 4], cl
mov edi, eax
jmp 0x4547fc
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x454849
lea eax, [edi + 4]
push eax
mov eax, 0x517384
mov dword [edi], esi
call fcn.00401cd0
lea ebx, [esi + 4]
push ebx
push 0
push edi
push 0x454980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
xor eax, eax
cmp dword [ebx], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x454860
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x7fe
mov esi, ecx
push eax
lea ecx, [ebp - 0x802]
push ecx
xor edi, edi
mov word [ebp - 0x804], ax
call fcn.004da450
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x454961
movzx edx, word [esi]
push ebx
push edx
lea eax, [ebp - 0x804]
push str.__c:
push eax
lea ebx, [edi + 1]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
push edi
push 3
push edi
push 3
push SysReAllocString
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45494e
push 0x227
call fcn.004d4853
add esp, 4
mov esi, eax
xor eax, eax
push eax
lea edx, [ebp - 0x814]
push edx
push 0x227
push esi
push 0xc
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x810]
push eax
push 0x2d1400
push edi
mov dword [esi + 4], 0x227
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45493e
mov eax, dword [esi + 0x1c]
cmp eax, 7
je 0x45493c
cmp eax, 4
jne 0x45493e
xor ebx, ebx
push esi
call fcn.004d5559
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x4549c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fe60b
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x5365f0]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00451f50
push 0x7fe
xor ebx, ebx
lea ecx, [esp + 0x2a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x30], ax
call fcn.004da450
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x454aeb
lea edi, [esp + 0x24]
cmp word [edi], bx
je 0x454aeb
mov ecx, edi
call fcn.00454860
test eax, eax
je 0x454ac9
mov eax, dword [0x517b44]
mov dx, word [edi]
mov ecx, dword [0x517b48]
mov dword [esp + 0x1c], eax
sub esp, 0x1c
mov word [esp + 0x38], dx
mov esi, esp
mov dword [esp + 0x3c], ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
lea eax, [esp + 0x38]
mov dword [esp + 0x34], esp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454a91
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3c]
call fcn.004027c0
mov dword [esp + 0x854], ebx
mov dword [esp + 0x854], 0xffffffff
mov ecx, dword [esp + 0x30]
call fcn.00452990
mov esi, dword [esp + 0x14]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x454ad0
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2 + 2]
cmp edi, ebx
jne 0x454a43
mov eax, dword [esi + 0xc]
mov byte [esi + 0x18], 1
cmp eax, ebx
je 0x454b2a
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
test eax, eax
js 0x454b2a
cmp dword [esp + 0x14], ebx
je 0x454b2a
mov ecx, dword [esi + 0x50]
mov edx, 8
mov word [ecx + 8], dx
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
push edx
call eax
add esp, 4
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.004d5564
mov esp, ebp
pop ebp
ret

Function at 0x455960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
push 0
push 0xea60
push 0xea60
push esi
push 0x455eb0
push eax
mov dword [esi + 0x8a8], eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
lea ecx, [esi + 0x10]
push ecx
push 0
push esi
push 0x455d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4559c7
mov eax, dword [esi + 0x8e4]
test eax, eax
je 0x4559c7
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
cmp dword [esi + 0x8e8], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x45c0b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2713
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
jne 0x45c0ee
mov eax, 0x80004005
jmp 0x45c215
cmp dword [esi + 4], 0
je 0x45c210
cmp dword [esi + 0x10], 0
je 0x45c210
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x1a4]
push edx
mov edx, dword [esi + 0x14]
push 0
push 0
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov edi, eax
test edi, edi
jns 0x45c153
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x45c14c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x45c215
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x45c177
mov dword [ebp - 0x1a4], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0
lea edi, [esi + 0xc]
push edi
jmp 0x45c17b
push 0
push 0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x60]
push ecx
mov ecx, dword [esi + 0x14]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x18]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
je 0x45c1f9
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Error_in_CAeWmiWrapper::ExecuteMethod__Unable_to_execute_method.
call edi
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x19e]
push ecx
mov word [ebp - 0x1a0], ax
call fcn.004da450
push esi
push esi
push str.Error_in_CAeWmiWrapper::ExecuteMethod_HRESULT_hres:__0x_x___d
lea edx, [ebp - 0x1a0]
call fcn.00401000
add esp, 0x18
lea edx, [ebp - 0x1a0]
push edx
call edi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407540
mov eax, esi
jmp 0x45c215
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.00407540
xor eax, eax
jmp 0x45c215
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x45c600
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2d95
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x1a6]
push ecx
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov word [ebp - 0x1a8], ax
call fcn.004da450
add esp, 0xc
lea edx, [ebp - 0x1a8]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 4], 0
cmp dword [esi + 0x8bc], 8
lea eax, [esi + 0x8a8]
jb 0x45c67d
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.0045cbb0
test al, al
jne 0x45c69c
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x45c6cd
movzx eax, byte [ebp - 0x13]
movzx ecx, byte [ebp - 0x14]
movzx edx, byte [ebp - 0x15]
push eax
push ecx
push edx
push str._02x__02x__02x
push 0x93d1ec
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x45ccd0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
je 0x45cd1b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x45cd14
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x45cd57
mov esi, dword [edi]
add eax, 4
push eax
mov eax, dword [esi + 4]
push eax
push esi
call fcn.0045ce80
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45cd6f
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x45cd22
push ecx
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004d4798
int3
Function at 0x45cff0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
xor ebx, ebx
push ebx
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.ANTIEXECUTABLE
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
jne 0x45d054
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.ANTIEXECUTABLE
lea ecx, [ebp - 8]
push ecx
call esi
test eax, eax
jne 0x45d054
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push ebx
lea edx, [ebp - 8]
push edx
call esi
test eax, eax
jne 0x45d054
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetUserKey]
push edi
lea eax, [ebp - 0xc]
push eax
push 2
push ecx
mov byte [ebp - 1], bl
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
jne 0x45d092
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000d
jne 0x45d0d5
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push ebx
push 2
push eax
call edi
test eax, eax
je 0x45d0d5
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x45d0a3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0xc], ebx
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
push 1
push edx
call esi
test eax, eax
jne 0x45d0d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000d
jne 0x45d0d5
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push ebx
push 1
push ecx
call edi
test eax, eax
je 0x45d0d5
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
pop edi
cmp eax, ebx
je 0x45d0e4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x45d0f3
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d100
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x45d265
cmp dword [ebp + 0xc], ebx
je 0x45d265
cmp dword [ebp + 0x10], ebx
je 0x45d265
cmp byte [eax + 4], bl
je 0x45d265
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push ebx
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.ANTIEXECUTABLE
lea ecx, [ebp - 8]
push ecx
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call esi
test eax, eax
jne 0x45d172
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push ebx
lea edx, [ebp - 8]
push edx
call esi
test eax, eax
je 0x45d22f
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x45d22f
mov esi, dword [ebp + 0x10]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45d197
sub eax, edx
sar eax, 1
push ebx
lea edx, [eax + eax]
mov eax, dword [ebp - 0xc]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x45d22f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
push ecx
push 1
push edx
push 0x6801
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x45d22f
push edi
call fcn.004d4853
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x45d22f
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call fcn.004da560
mov eax, dword [ebp - 0x10]
add esp, 0xc
push edi
lea edx, [ebp - 0x14]
push edx
push esi
push ebx
push 1
push ebx
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x45d226
cmp dword [ebp - 0x14], edi
jne 0x45d226
mov ecx, dword [ebp + 0xc]
push edi
push esi
push ecx
call fcn.004da560
add esp, 0xc
mov byte [ebp - 1], 1
push esi
call fcn.004d632b
add esp, 4
mov eax, dword [ebp - 0x10]
pop esi
cmp eax, ebx
je 0x45d23e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x45d24c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x45d25b
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45d270
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x45d3b3
cmp dword [ebp + 0xc], esi
je 0x45d3b3
cmp byte [eax + 4], 0
je 0x45d3b3
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push esi
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.ANTIEXECUTABLE
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x45d2d7
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
lea edx, [ebp - 4]
push edx
call edi
test eax, eax
je 0x45d370
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x45d370
mov edx, dword [ebp - 8]
push 0
push 0x42
push str.c3c2d6ff42b842d591eddab6d161294e
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x45d370
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push 1
push ecx
push 0x6801
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x45d370
push ebx
call fcn.004d4853
mov esi, eax
add esp, 4
test esi, esi
je 0x45d370
mov eax, dword [ebp + 8]
push ebx
push eax
push esi
call fcn.004da560
mov edx, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0
push 1
push 0
push edx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x45d370
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push esi
push ecx
call fcn.004da560
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop edi
test eax, eax
je 0x45d37f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x45d38d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x45d39d
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test esi, esi
je 0x45d3aa
push esi
call fcn.004d632b
add esp, 4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45dad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x21a]
push ecx
xor ebx, ebx
mov word [ebp - 0x21c], ax
call fcn.004da450
add esp, 0xc
test esi, esi
je 0x45dbbe
push 0x208
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x45dbbe
mov edx, dword [0x5192a4]
mov eax, dword [str..C:]
mov ecx, dword [0x5192a0]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
mov ax, word [0x5192a8]
mov dword [ebp - 0x10], ecx
mov cx, word [ebp - 0x21c]
lea edx, [ebp - 0x14]
mov word [ebp - 8], ax
mov word [ebp - 0xc], cx
mov dword [ebp - 0x220], ebx
test edx, edx
je 0x45db7b
mov ecx, dword [ebp + 8]
push edi
mov eax, edx
push eax
push ecx
lea ebx, [ebp - 0x220]
mov eax, esi
call fcn.0045da70
test eax, eax
jne 0x45dba0
xor edx, edx
cmp edx, str..C:
je 0x45dbd1
mov eax, dword [ebp + 8]
push edi
push str..C:
push eax
lea ebx, [ebp - 0x220]
mov eax, esi
call fcn.0045da70
test eax, eax
je 0x45dbd1
cmp dword [ebp - 0x220], edi
jne 0x45dbd1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4