joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a0d
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.004119ce
lea ecx, [eax + 0x94]
call fcn.0040f81b
call fcn.004119ce
mov ecx, eax
pop ebp
jmp fcn.0040fdcb

Function at 0x4197c1
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x41a638
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, ecx
cmp eax, 3
jb 0x41a6aa
push 3
xor edx, edx
pop ecx
div ecx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x12
movzx ecx, byte [eax + ebx]
mov edx, dword [ebp - 4]
shl edx, 8
or ecx, edx
inc eax
mov dword [ebp - 4], ecx
cmp eax, 3
jl 0x41a669
xor edx, edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub dword [ebp - 8], 6
shr eax, cl
and eax, 0x3f
mov al, byte [eax + esi]
mov byte [edx + edi], al
inc edx
cmp edx, 4
jl 0x41a680
sub dword [ebp + 8], 3
add ebx, 3
add edi, 4
dec dword [ebp - 0xc]
jne 0x41a65d
mov eax, dword [ebp + 8]
dec eax
je 0x41a6e9
dec eax
jne 0x41a708
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + esi]
mov byte [edi], al
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
and eax, 3
shl eax, 4
shr ecx, 4
or eax, ecx
mov al, byte [eax + esi]
mov byte [edi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov al, byte [esi + eax*4]
mov byte [edi + 2], al
mov byte [edi + 3], 0x3d
jmp 0x41a708
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + esi]
mov byte [edi], al
movzx eax, byte [ebx]
and eax, 3
add eax, eax
mov al, byte [esi + eax*8]
mov byte [edi + 1], al
mov word [edi + 2], 0x3d3d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ac78
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp dword [edi + 4], esi
jne 0x41ac93
push 1
mov ecx, edi
call fcn.0044b261
push edi
push esi
push esi
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x41accd
push esi
push 0xffffffffffffffff
push str.Unable_to_decrypt_data
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.RSException.0
call fcn.00409030
push 0x485a4c
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR100.dll__CxxThrowException
pop edi
pop esi
leave
ret 0xc
Function at 0x41acd3
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [esi + 4], edi
jne 0x41acee
push 1
mov ecx, esi
call fcn.0044b261
push esi
push edi
push edi
push edi
push dword [ebp + 0x10]
push str.Acrobat_Credential
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x41ad2c
push edi
push 0xffffffffffffffff
push str.Unable_to_encrypt_data
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.RSException.0
call fcn.00409030
push 0x485a4c
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR100.dll__CxxThrowException
pop edi
pop esi
leave
ret 0xc

Function at 0x428b05
Capabilities:
Read file on windows

Disassembly:
push 0x90
mov eax, 0x46b6b8
call fcn.0043990a
mov edi, ecx
xor esi, esi
push 0x14
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x10], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
mov dword [ebp - 0x38], ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], eax
cmp ebx, 0xffffffff
jne 0x428b8c
push esi
push ebx
push str.Failed_to_create_connection
lea ecx, [ebp - 0x50]
call fcn.00409030
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.RSException.0
call fcn.00403cbd
mov dword [ebp - 0x2c], vtable.CMessageException.0
push 0x48b134
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCR100.dll__CxxThrowException
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
jne 0x428bfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x428c49
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x34]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, esi
je 0x428be6
dec eax
jne 0x428b8c
lea ecx, [ebp - 0x9c]
call fcn.00428a91
push 0x48b124
lea eax, [ebp - 0x9c]
jmp 0x428b86
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x428c10
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004399e2
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x428c30
lea ecx, [ebp - 0x80]
call fcn.00428a91
push 0x48b124
lea eax, [ebp - 0x80]
jmp 0x428b86
push esi
push 0xffffffffffffffff
push str.unexpected_error
lea ecx, [ebp - 0x50]
call fcn.00409030
mov byte [ebp - 4], 2
jmp 0x428b64
cmp eax, 0x6d
je 0x428c1b
push esi
push 0xffffffffffffffff
push str.Read_Error
lea ecx, [ebp - 0x50]
call fcn.00409030
mov byte [ebp - 4], 3
jmp 0x428b64
Function at 0x428c82
Capabilities:
Write file on windows

Disassembly:
push 0x74
mov eax, 0x46b6ee
call fcn.0043990a
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
jne 0x428cac
lea ecx, [ebp - 0x80]
call fcn.00428a91
push 0x48b124
lea eax, [ebp - 0x80]
push eax
call sub.MSVCR100.dll__CxxThrowException
xor esi, esi
push 0x14
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [ebp - 0x10], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
cmp ebx, 0xffffffff
jne 0x428d1e
push esi
push ebx
push str.Failed_to_create_connection
lea ecx, [ebp - 0x48]
call fcn.00409030
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], vtable.RSException.0
call fcn.00403cbd
mov dword [ebp - 0x64], vtable.CMessageException.0
push 0x48b134
lea eax, [ebp - 0x64]
jmp 0x428ca6
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, esi
jne 0x428d74
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x428d87
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, esi
je 0x428d61
dec eax
jne 0x428d1e
jmp 0x428c96
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004399e2
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xe8
je 0x428c96
call edi
cmp eax, 0xe9
je 0x428c96
push esi
push 0xffffffffffffffff
push str.Connection_Closed
lea ecx, [ebp - 0x48]
call fcn.00409030
mov byte [ebp - 4], 2
jmp 0x428cfa
Function at 0x437e45
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x42c
mov eax, 0x46dcaf
call fcn.00439973
mov eax, dword [ebp + 8]
push 0x200
mov dword [ebp - 0x42c], eax
call fcn.00439837
pop ecx
mov dword [ebp - 0x430], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
and dword [ebp - 4], 0
lea eax, [ebp - 0x424]
push eax
mov edi, str.SoftwareAdobeAdobe_Acrobat11.0LanguageNext
push edi
mov ebx, SysReAllocString
push ebx
call esi
test eax, eax
je 0x437ef3
lea eax, [ebp - 0x424]
push eax
push edi
lea edi, [ebx + 1]
push edi
call esi
test eax, eax
je 0x437ef3
lea eax, [ebp - 0x424]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageNext
push ebx
call esi
test eax, eax
je 0x437ef3
lea eax, [ebp - 0x424]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageNext
push edi
call esi
test eax, eax
je 0x437ef3
lea eax, [ebp - 0x424]
push eax
push str.SoftwareAdobeAcrobat_Reader11.0LanguageCurrent
push edi
call esi
test eax, eax
je 0x437ef3
or esi, 0xffffffff
push dword [ebp - 0x430]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
call fcn.004399f6
ret
mov edi, dword [ebp - 0x430]
lea eax, [ebp - 0x434]
push eax
push edi
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push dword [ebp - 0x424]
mov dword [ebp - 0x434], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x424]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x434]
shr esi, 1
test ebx, ebx
jne 0x437edc
cmp dword [ebp - 0x438], 1
jne 0x437edc
cmp esi, 4
jb 0x437edc
mov ebx, dword [sym.imp.MSVCR100.dll__wcsicmp]
xor eax, eax
mov word [edi + 0x1fe], ax
lea eax, [edi + esi*2 - 8]
push 0x47e4a4
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x4380a8
lea eax, [edi + esi*2 - 8]
push 0x47e49c
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x4380a8
push edi
call fcn.004376d4
pop ecx
test eax, eax
je 0x4380a8
lea eax, [ebp - 0x428]
push eax
push 0x100
push edi
call fcn.004379ff
test eax, eax
js 0x4380a8
push edi
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x420]
push eax
call fcn.00401233
test eax, eax
js 0x4380a8
push 0x5c
push edi
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x437edc
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x42c]
call fcn.004379ff
test eax, eax
js 0x4380a8
mov eax, dword [ebp - 0x428]
inc eax
cmp eax, ebx
jae 0x437edc
push dword [ebp - 0x42c]
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00401233
test eax, eax
js 0x4380a8
lea eax, [ebp - 0x428]
push eax
push 0x100
push edi
call fcn.004379ff
test eax, eax
js 0x4380a8
mov eax, dword [ebp - 0x428]
inc eax
cmp eax, ebx
jae 0x437edc
mov ebx, dword [ebp - 0x42c]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call fcn.00401233
test eax, eax
js 0x4380a8
push 0x47e494
push edi
push ebx
call fcn.00401266
test eax, eax
js 0x4380a8
lea eax, [ebp - 0x218]
push eax
push edi
push ebx
call fcn.00401266
test eax, eax
js 0x4380a8
cmp esi, 5
jbe 0x437edc
lea eax, [ebp + esi*2 - 0x42a]
push eax
push edi
push ebx
call fcn.00401266
test eax, eax
js 0x4380a8
xor esi, esi
inc esi
jmp 0x437edf
xor esi, esi
jmp 0x437edf
Function at 0x439878
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497fa4]
jne 0x439882
repz ret
jmp fcn.0043a108
Function at 0x445818
Capabilities:
Check http status code
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x1b4], 0
je 0x44594c
lea ecx, [ebx + 0x1a4]
call fcn.0044522f
cmp byte [eax + 0x18], 0
je 0x44594c
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
add eax, 0xffffff38
inc edi
cmp eax, 0x63
ja 0x4458c0
lea ecx, [ebx + 0x1d4]
call fcn.004084da
mov eax, dword [ebx + 0x1d8]
lea ecx, [ebx + 0x1d4]
mov dword [ebp + 8], eax
call fcn.004084da
mov ecx, dword [esi]
lea edx, [ebp - 4]
push edx
push dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov edi, eax
test edi, edi
je 0x445894
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
je 0x4458c0
push dword [esi]
push 0x13
call fcn.00454423
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, 0xc8
jge 0x4458b8
cmp eax, 0x12c
jge 0x4458c0
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
je 0x4458c0
mov eax, dword [0x47f454]
mov dword [ebp + 0xc], eax
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.0044ce32
mov dword [ebp + 0xc], eax
test edi, edi
je 0x44593d
add eax, 0xffffff38
cmp eax, 0x63
ja 0x445939
lea edi, [ebx + 0x1ec]
mov ecx, edi
call fcn.004084da
mov ebx, dword [edi + 4]
mov ecx, edi
call fcn.004084da
mov ecx, dword [esi]
lea edx, [ebp + 0x10]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov edi, eax
test edi, edi
je 0x445910
cmp dword [ebp + 0x10], ebx
je 0x445939
push dword [esi]
push 0x13
call fcn.00454423
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, 0xc8
jge 0x445931
cmp eax, 0x12c
jge 0x445939
cmp ebx, dword [ebp + 0x10]
je 0x445939
mov eax, dword [0x47f454]
mov dword [ebp + 0xc], eax
test edi, edi
jne 0x445945
mov eax, dword [0x47f454]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
jmp 0x44595c
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044ce32
pop ebx
leave
ret 0xc
Function at 0x45037d
Capabilities:
Check http status code
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x1c8], 0
je 0x4504ce
lea ecx, [edi + 0x1b8]
call fcn.0044522f
cmp byte [eax + 0x18], 0
je 0x4504ce
mov eax, dword [ebp + 0xc]
push ebx
add eax, 0xffffff38
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
cmp eax, 0x63
ja 0x450425
lea ecx, [edi + 0x188]
call fcn.004084da
mov eax, dword [edi + 0x18c]
lea ecx, [edi + 0x188]
mov dword [ebp - 4], eax
call fcn.004084da
mov ebx, dword [ebp - 4]
mov ecx, dword [esi]
lea edx, [ebp + 8]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [ebp - 4], eax
test eax, eax
je 0x4503fc
cmp dword [ebp + 8], ebx
je 0x450425
push dword [esi]
push 0x13
call fcn.00454423
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, 0xc8
jge 0x45041d
cmp eax, 0x12c
jge 0x450425
cmp ebx, dword [ebp + 8]
je 0x450425
mov eax, dword [0x47f454]
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
push 0
push eax
call fcn.0044f564
mov edx, dword [edi]
pop ecx
pop ecx
push eax
push ebx
push dword [ebp + 0xc]
mov ecx, edi
push esi
call dword [edx + 0x6c]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4504bf
add eax, 0xffffff38
cmp eax, 0x63
ja 0x4504b9
lea ecx, [edi + 0x1a0]
call fcn.004084da
mov ebx, dword [edi + 0x1a4]
lea ecx, [edi + 0x1a0]
call fcn.004084da
mov ecx, dword [esi]
lea edx, [ebp + 0x10]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [ebp - 4], eax
test eax, eax
je 0x450490
cmp dword [ebp + 0x10], ebx
je 0x4504b9
push dword [esi]
push 0x13
call fcn.00454423
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, 0xc8
jge 0x4504b1
cmp eax, 0x12c
jge 0x4504b9
cmp ebx, dword [ebp + 0x10]
je 0x4504b9
mov eax, dword [0x47f454]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 4], 0
jne 0x4504c7
mov eax, dword [0x47f454]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
jmp 0x4504de
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044ce32
pop edi
leave
ret 0xc
Function at 0x45445e
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x4724f1
call fcn.0043990a
mov esi, dword [ebp + 0xc]
push 0x3c
pop edi
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
mov dword [esi], edi
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
add esp, 0xc
mov ecx, edi
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
call fcn.00408498
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.00408498
push esi
xor esi, esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x454501
push esi
push 0xffffffffffffffff
push str.Unable_to_crack_url
lea ecx, [ebp - 0x24]
call fcn.00409030
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], esi
call fcn.0041b98b
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], vtable.RSException.0
call fcn.00403cbd
push 0x485a4c
lea eax, [ebp - 0x58]
push eax
call sub.MSVCR100.dll__CxxThrowException
call fcn.004399e2
ret

Function at 0x454722
Capabilities:
Connect to http server

Disassembly:
push 0x4c
mov eax, 0x4725d3
call fcn.0043990a
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x45475f
push dword [esi + 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040fc9d
mov ecx, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.00408498
mov dword [ebp + 8], eax
jmp 0x454762
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x454789
push dword [esi + 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040fc9d
or dword [ebp - 0x10], 2
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00408498
mov edi, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4547b0
push dword [esi + 0x14]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040fc9d
or dword [ebp - 0x10], 4
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00408498
jmp 0x4547b2
xor eax, eax
movzx ecx, word [esi + 0x18]
push 0
push 0x400a00
push 3
push dword [ebp + 8]
push edi
push ecx
push eax
push dword [0x49d288]
call dword [sym.imp.WININET.dll_InternetConnectA]
test byte [ebp - 0x10], 4
mov esi, eax
je 0x4547ed
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x18]
call fcn.00403754
lea ecx, [ebp - 0x20]
call fcn.00403754
test byte [ebp - 0x10], 2
je 0x454807
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x30]
call fcn.00403754
lea ecx, [ebp - 0x38]
call fcn.00403754
test byte [ebp - 0x10], 1
je 0x45481d
lea ecx, [ebp - 0x48]
call fcn.00403754
lea ecx, [ebp - 0x50]
call fcn.00403754
mov eax, esi
call fcn.004399e2
ret
Function at 0x402750
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x620
mov eax, dword [0x418034]
xor eax, esp
mov dword [esp + 0x61c], eax
mov eax, dword [esp + 0x624]
lea edx, [esp]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402770
push 5
push 0
push 0
lea eax, [esp + 0xc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push eax
push str.The_ShellExecute_error_is__ld
call fcn.00401340
mov ecx, dword [esp + 0x624]
add esp, 8
xor ecx, esp
call fcn.00403f3b
add esp, 0x620
ret

Function at 0x403e60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
push esi
push edi
push str.IsWow64Process
push str.kernel32
mov edi, 0x20019
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [esp + 0xc], 0
test esi, esi
je 0x403eb9
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 0xc], 0
je 0x403eb9
mov edi, 0x20119
lea ecx, [esp + 0x10]
push ecx
push edi
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403f22
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push esi
push edx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x403f0d
push esi
push eax
push str.GetRegValueLong___Get_value_error____ld_for__s_n
call fcn.00401340
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x18
ret
push ebx
push eax
push str.GetRegValueLong___Open_registry_error____ld_for__s_n
call fcn.00401340
mov eax, dword [esp + 0x14]
add esp, 0xc
pop edi
pop esi
add esp, 0x18
ret

Function at 0x403f3b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418034]
jne 0x403f45
repz ret
jmp fcn.00404f1d

Function at 0x405a9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push esi
Function at 0x405e3b
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405dcf
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405ded
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x405e4b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x405e32
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je fcn.00405e3b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x405e45
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x405e27
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405db1
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x405e98
dec eax
je 0x405e8f
sub eax, 3
je 0x405e86
mov dword [ebp - 4], 0x40
jmp 0x405eb5
mov dword [ebp - 4], 4
jmp 0x405e9b
mov dword [ebp - 4], 0x20
jmp 0x405e9b
mov dword [ebp - 4], ecx
dec ebp
cld
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x405ee7
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x405e67
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004056f8
jne 0x405e99
xor byte [ebp + 0x6a1475ff], dl
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x405ef3
push 0x8000
push ebx
push esi
call dword [ebp - 8]
Function at 0x405fc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00405708
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004056bd
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a

Function at 0x4062f1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004056bd
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004056f8
or cl, dh
jae 0x406330
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00405708
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call [ebx - 0x3a]
test ecx, esi
cli
invalid