joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a683
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a4f4

Function at 0x41aa7d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a460
mov eax, dword [0x468200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418464
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41aabf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ac1b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425510
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x46a860]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b81c
mov ecx, dword [esi*4 + 0x46a860]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ac14
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ac14
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ac14
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b81c
add esp, 0x14
test edx, edx
jl 0x41ac14
jg 0x41ab8a
test eax, eax
jb 0x41ac14
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ac14
jl 0x41aba4
cmp dword [ebp - 0x1008], eax
ja 0x41ac14
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41abc2
test ebx, ebx
je 0x41abfb
cmp ecx, edi
jae 0x41abfb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41abdc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41abe8
cmp byte [ecx + 1], 0xa
jne 0x41abe8
inc ecx
jmp 0x41abe8
movzx eax, al
movsx eax, byte [eax + 0x4684c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41abc2
cmp edx, ebx
jne 0x41abc2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ac19
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040982d
leave
ret
Function at 0x41acba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x46a860]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41acfa
cmp byte [ebx], 0xa
jne 0x41acfa
or byte [eax + edi + 0x28], 4
jmp 0x41acff
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41adfd
mov al, byte [edx]
cmp al, 0x1a
je 0x41addf
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ad2e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ad53
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ad5d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41ad10
jmp 0x41adfd
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41adda
cmp dword [ebp - 0xc], 0
je 0x41adda
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x46a860]
test byte [eax + edi + 0x28], 0x48
je 0x41adb4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ad9f
mov byte [esi], dl
jmp 0x41adb0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x46a860]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41adfd
cmp byte [ebp - 1], 0xa
jne 0x41adc3
cmp esi, ebx
jne 0x41adc3
mov byte [esi], 0xa
jmp 0x41adfc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b83a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41adfd
mov byte [esi], 0xd
jmp 0x41adfc
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x46a860]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41adf9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41adfd
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ae06
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x46a860]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ae49
cmp word [esi], dx
jne 0x41ae49
or byte [edi + eax + 0x28], 4
jmp 0x41ae4e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41afa1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41af81
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ae90
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41aec6
cmp eax, edx
jae 0x41aed2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ae68
jmp 0x41afa1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41af7d
cmp dword [ebp - 0x14], 0
je 0x41af7d
mov eax, dword [ebx*4 + 0x46a860]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41af55
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41af1e
mov word [esi], cx
jmp 0x41af51
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x46a860]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x46a860]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x46a860]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41afa1
pop ebx
cmp word [ebp - 4], bx
jne 0x41af66
cmp esi, dword [ebp + 0xc]
jne 0x41af66
mov word [esi], bx
jmp 0x41af9e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b83a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41afa1
push 0xd
jmp 0x41af9a
mov ecx, dword [ebx*4 + 0x46a860]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41af98
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41afa1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4025b7
Capabilities:
Open clipboard
Print debug messages
Read clipboard data

Disassembly:
mov eax, 0x438240
call fcn.00437bf0
sub esp, 0x21c
mov eax, dword [0x444130]
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x402736
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_EnumClipboardFormats]
push esi
call edi
mov ebx, dword [ebp + 8]
test eax, eax
je 0x40261a
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.00402762
push str.Free_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call edi
mov edi, eax
cmp edi, esi
je 0x40272e
lea eax, [ebp - 0x228]
mov word [ebp - 0x228], si
push eax
push edi
call fcn.0040231d
pop ecx
pop ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x402722
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
mov dword [ebp - 0x28], eax
je 0x402722
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
test esi, esi
je 0x402717
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov dword [ebp - 0x24], edx
call fcn.004028cd
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
mov dword [eax + 0x20c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.004028cd
cmp dword [eax + 0x20c], 0
je 0x402717
add dword [ebp - 0x1c], esi
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.004028cd
mov dword [eax + 8], esi
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.004028cd
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004028cd
push esi
mov dword [eax + 4], edi
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004028cd
push dword [eax + 0x20c]
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x20]
add esp, 0xc
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push dword [eax - 8]
call fcn.00402f26
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
push edi
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
jmp 0x40261d
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov esi, dword [ebp - 0x10]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4027c3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x43825c
call fcn.00437bf0
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x4561f0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], ebx
mov esi, dword [eax]
call fcn.00402d79
mov eax, dword [0x444130]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
mov edi, dword [edi + 0xc]
cmp edi, ebx
jle 0x4028a2
push ebx
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
call ebx
test eax, eax
je 0x40281b
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
call ebx
test eax, eax
je 0x40289f
test edi, edi
jle 0x402899
mov ebx, edi
mov dword [ebp + 8], edi
push dword [esi + 0x18]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esi + 0x18]
push dword [esi + 0x21c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 8]
mov eax, dword [0x4561ec]
cmp ecx, eax
je 0x402880
mov edx, dword [ecx]
cmp edx, eax
je 0x40287c
mov ecx, edx
jmp 0x402872
mov esi, ecx
jmp 0x402896
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x40288f
mov esi, eax
mov eax, dword [eax + 4]
jmp 0x402883
cmp dword [esi + 8], eax
je 0x402896
mov esi, eax
dec ebx
jne 0x40282c
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ebx, dword [ebp + 8]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x404922
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 8], esi
cmp dword [esi + 0xc], ebx
je 0x404a82
mov dword [ebp - 0x48], 0x28
call fcn.004046de
mov ecx, esi
mov dword [ebp - 0x44], eax
call fcn.0040470e
push ebx
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], 1
mov word [ebp - 0x3a], 0x20
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x404a82
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404a73
mov ecx, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004046de
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.0040470e
push ebx
mov dword [ebp - 0x14], eax
push ebx
push ebx
lea eax, [ebp - 0x48]
push ebx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
lea esi, [ebp - 0x20]
mov ecx, dword [ebp - 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00404546
push ebx
push dword [ebp - 0xc]
call fcn.00404782
pop ecx
mov esi, eax
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push ebx
push ebx
push ebx
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
push ebx
call esi
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x20]
mov ecx, eax
push dword [eax + 0xc]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00404546
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push eax
push 0xe
call dword [sym.imp.USER32.dll_SetClipboardData]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
pop eax
jmp 0x404a84
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404a89
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
lea edi, [esi + 0xc]
mov dword [esi], 0x43c6cc
mov dword [esi + 0x1c], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [edi], ebp
cmp dword [0x45647c], ebp
jne 0x404b1f
push 0x114
mov ebx, 0x456368
push ebp
push ebx
mov dword [0x45647c], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x456368], 0x114
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call ebx
cmp dword [0x45636c], 5
jb 0x404b1f
push 0x11c
push ebp
push 0x456248
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x456248], 0x11c
push 0x456248
call ebx
mov eax, dword [0x45624c]
mov dword [0x45636c], eax
mov eax, dword [0x456250]
mov dword [0x456370], eax
mov dword [edi], ebp
cmp dword [0x45636c], 5
jb 0x404b4c
cmp dword [0x456370], ebp
jbe 0x404b4c
push edi
push 0x43cf58
push 1
push ebp
push 0x43cf68
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x404b4c
mov dword [edi], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x404a8b
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
lea edi, [esi + 0xc]
mov dword [esi], 0x43c6cc
mov dword [esi + 0x1c], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [edi], ebp
cmp dword [0x45647c], ebp
jne 0x404b1f
push 0x114
mov ebx, 0x456368
push ebp
push ebx
mov dword [0x45647c], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x456368], 0x114
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call ebx
cmp dword [0x45636c], 5
jb 0x404b1f
push 0x11c
push ebp
push 0x456248
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x456248], 0x11c
push 0x456248
call ebx
mov eax, dword [0x45624c]
mov dword [0x45636c], eax
mov eax, dword [0x456250]
mov dword [0x456370], eax
mov dword [edi], ebp
cmp dword [0x45636c], 5
jb 0x404b4c
cmp dword [0x456370], ebp
jbe 0x404b4c
push edi
push 0x43cf58
push 1
push ebp
push 0x43cf68
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x404b4c
mov dword [edi], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4075af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x43871b
call fcn.00437bf0
sub esp, 0xd0
mov eax, dword [0x444130]
and dword [ebp - 0x30], 0
push ebx
mov dword [ebp - 0x14], eax
and byte [ebp - 0x16], 0
push 1
pop ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x3a
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x77
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x66
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x77
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6b
mov byte [ebp - 0x17], 0x2e
call fcn.00402ee2
cmp dword [0x468f54], 0
jne 0x40766e
push 0x444be0
lea ecx, [ebp - 0x10]
call fcn.00402d79
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
push dword [eax - 8]
call fcn.00402f26
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x40770a
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x4076e7
cmp dword [ebp - 0xdc], 0xffffff10
jl 0x4076bf
cmp dword [ebp - 0xdc], 0xf0
jg 0x4076bf
push 0x444bdc
lea ecx, [ebp - 0x10]
call fcn.00402d79
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
push dword [eax - 8]
call fcn.00402f26
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x40770a
push 0x444bd8
lea ecx, [ebp - 0x10]
call fcn.00402d79
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
push dword [eax - 8]
call fcn.00402f26
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x40770a
push 0x444bd8
lea ecx, [ebp - 0x10]
call fcn.00402d79
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.00407597
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00402cb3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00402c6d
mov dword [ebp - 0x30], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x408000
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x408017
push 8
mov eax, esi
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x408011
push 0xf0000000
push 0x18
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x408049
lea eax, [esi + 4]
push eax
push ebx
push ebx
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40804d
push esi
call fcn.00408052
pop ecx
xor al, al
jmp 0x40804f
mov al, 1
pop esi
pop ebx
ret

Function at 0x408361
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, 0x4388a0
call fcn.00437bf0
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00402d79
lea eax, [ebp - 0x18]
mov edi, 0xf003f
push eax
push edi
push ebx
mov esi, SysReAllocStringLen
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4083b9
lea ecx, [ebp - 0x10]
call fcn.0040941f
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], ebx
je 0x408455
cmp eax, ebx
je 0x408403
lea eax, [ebp - 0x1c]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4083f2
lea ecx, [ebp - 0x10]
call fcn.0040941f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
je 0x408403
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push edi
push ebx
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x408428
lea ecx, [ebp - 0x10]
call fcn.0040941f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004082d8
mov eax, dword [eax]
pop ecx
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x10]
mov dword [ebp + 0xc], 0x2af9
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0x18]
jmp 0x40846f
lea eax, [ebp - 0x1c]
push eax
call fcn.004082d8
pop ecx
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.00402cb3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040941f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4085b5
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4388d8
call fcn.00437bf0
sub esp, 0x24c
push ebx
push esi
mov eax, dword [0x456bc8]
push 1
pop esi
lea ecx, [ebp - 0x258]
push 0x104
push ecx
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x408616
lea eax, [ebp - 0x258]
test eax, eax
je 0x408606
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x258]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.00402dfd
push 0x3c
lea eax, [ebp - 0x50]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x50], 0x3c
push eax
call fcn.00402c6d
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ebx
call fcn.00403003
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34], esi
call fcn.00402c6d
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x3c], eax
je 0x408672
mov dword [ebp - 0x44], 0x445314
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00402cb3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402cb3
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00402cb3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402cb3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret