joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4037e4
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.00403770
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x40381c
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x403802
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407e88]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403bc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403be4
mov al, byte [ebp - 4]
jmp 0x403be7
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x408280]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x405b7e
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405b79
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x405b79
mov esi, edx
add edx, 0x10
jmp 0x405b62
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x405c92
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405c92
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405c90
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x405c90
mov cl, byte [edx]
sub cl, 0x3c
jne 0x405bc6
jmp 0x405c90
sub cl, 3
jne 0x405be0
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x405c8b
inc cl
jne 0x405bf4
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x405c8b
inc cl
jne 0x405c08
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x405c1b
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x405c25
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x405c82
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x405c38
cmp byte [ebp - 0x25], 0
jne 0x405c80
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x405c6e
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x405c49
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x405c92
jmp 0x405c90
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x405bb8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406168
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.00406144
call fcn.0040336c
mov dword [0x408280], eax
lea edx, [eax + 0x18]
mov dword [0x4082e0], edx
pop edx
call fcn.00405fc4
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x4082ac], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4082c0], eax
mov dword [0x4082e8], eax
call fcn.00402f9c
cmp eax, 3
setb byte [0x408289]
call fcn.00403fbc
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x4063f4
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40611c
pop dword [ebp - 8]
mov eax, 0x40611c
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xab80d85c
add dword [ebp - 0x18], 0xa2d16cef
mov dword [ebp - 0x14], 0xc941df4e
add dword [ebp - 0x14], 0x68f16cf7
mov dword [ebp - 0x10], 0xffd8b80e
add dword [ebp - 0x10], 0x4c738c20
mov dword [ebp - 0xc], 0x6638f56a
sub dword [ebp - 0xc], 0x6638f56a
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xea4f5a48
sub dword [ebp - 0x18], 0x75dcf0f2
mov dword [ebp - 0x14], 0xbb5050fd
add dword [ebp - 0x14], 0x861c1078
mov dword [ebp - 0x10], 0x75b77dec
add dword [ebp - 0x10], 0xedb7ee80
mov dword [ebp - 0xc], 0x7d69765d
sub dword [ebp - 0xc], 0x7d69765d
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x33707
push 0
call eax
mov ecx, 0x4884e858
add ecx, 0xb77b52fb
xor edi, edi
add edi, eax
mov esi, 0xe7692a56
sub esi, 0xe7282a56
add esi, dword [ebp - 8]
mov ebx, 0x39fff53d
add ebx, 0x374857eb
xor dword [ebp - 4], eax
mov edx, dword [esi]
add dword [ebp - 4], 0xd4c2b9aa
add edx, ebx
add dword [ebp - 4], 0xadb2f470
mov dword [edi], edx
sub dword [ebp - 4], 0x27f50a95
add edi, 0xbb9b18c4
add edi, 0x4464e740
add esi, 4
loop 0x406231
add eax, 0x78c50d3c
sub eax, 0x78c42d1d
mov ebx, eax
add eax, 5
mov ecx, 0x140099c2
add ecx, 0xec3f663e
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4c0d1cbf
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x36a66e78
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x440950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2d000]
push edi
jmp 0x44096a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x440971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x440960
mov eax, 1
add ebx, ebx
jne 0x440983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x440978
jne 0x440994
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x440978
xor ecx, ecx
sub eax, 3
jb 0x4409a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x440a1a
mov ebp, eax
add ebx, ebx
jne 0x4409b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4409c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4409e4
inc ecx
add ebx, ebx
jne 0x4409d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4409c5
jne 0x4409e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4409c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x440a04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4409f5
jmp 0x440966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x440a04
add edi, ecx
jmp 0x440966
pop esi
mov edi, esi
mov ecx, 0x6d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x440a22
cmp byte [edi], 0x11
jne 0x440a22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x440a27
lea edi, [esi + 0x3e000]
mov eax, dword [edi]
or eax, eax
je 0x440a9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x47364]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4742c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x440a54
mov ecx, edi
jns 0x440a83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x47430]
or eax, eax
je 0x440a99
mov dword [ebx], eax
add ebx, 4
jmp 0x440a71
call dword [esi + 0x47440]
mov ebp, dword [esi + 0x47434]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x440ad3
sub esp, 0xffffff80
jmp 0x40a7cb
Function at 0x402420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402478
cmp byte [esi + ebx - 1], 0xa
je 0x40244c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x40a0a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x40a0b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402be0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x40a0b4]
movzx eax, al
bt eax, esi
jae 0x402c40
mov ecx, dword [0x40a0a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402ae5
test byte [0x40301c], 8
jne 0x402b80
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x40302c], 8
jne 0x402b30
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402ab4
cmp esi, 3
jbe 0x402af0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x404394]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402ab4
mov ecx, dword [0x40a0b4]
test ecx, ecx
je 0x402c20
mov dword [esp], 0x40302c
call dword [0x40a0b4]
test al, 8
je 0x402a8b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x402a8b
mov ebx, dword [0x40a0b4]
test ebx, ebx
je 0x402c00
mov dword [esp], 0x40301c
call dword [0x40a0b4]
test al, 8
je 0x402a76
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x402a7e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40a0b4
call sym._load_func.part.0
jmp 0x402a3d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40a0b4
call sym._load_func.part.0
jmp 0x402b8a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x40a0b4
call sym._load_func.part.0
jmp 0x402b3e
mov eax, 0xffffffff
jmp 0x402ae5
Function at 0x402da0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x4100e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428044]
jne 0x4100ef
repz ret
jmp fcn.00411dd9

Function at 0x41ada1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041213b
and dword [ebp - 4], 0
cmp dword [0x429f30], 0
mov ebx, eax
jne 0x41ae52
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41af03
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41af03
push eax
call fcn.004120c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429f30], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429f34], eax
call esi
push eax
call fcn.004120c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429f38], eax
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f40], eax
test eax, eax
je 0x41ae52
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004120c9
pop ecx
mov dword [0x429f3c], eax
mov eax, dword [0x429f3c]
cmp eax, ebx
je 0x41aeaa
cmp dword [0x429f40], ebx
je 0x41aeaa
push eax
call fcn.00412144
push dword [0x429f40]
mov esi, eax
call fcn.00412144
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41aeaa
test edi, edi
je 0x41aeaa
call esi
test eax, eax
je 0x41aea1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41aea1
test byte [ebp - 0xc], 1
jne 0x41aeaa
or dword [ebp + 0x10], 0x200000
jmp 0x41aee3
mov eax, dword [0x429f34]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41aee3
mov eax, dword [0x429f38]
cmp eax, ebx
je 0x41aee3
push eax
call fcn.00412144
pop ecx
test eax, eax
je 0x41aee3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429f30]
call fcn.00412144
pop ecx
test eax, eax
je 0x41af03
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41af05
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

Function at 0x1000b800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000b80f
pop dword [ebp - 0x1c]
mov eax, 0x1000b80f
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x7596ec41
sub dword [ebp - 0x2c], 0x2744a6f6
mov dword [ebp - 0x28], 0x11a869c4
sub dword [ebp - 0x28], 0xdf751d7f
mov dword [ebp - 0x24], 0xd129f617
sub dword [ebp - 0x24], 0x84ddb1e9
mov dword [ebp - 0x20], 0x3b20f397
add dword [ebp - 0x20], 0xc4df0c69
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x247d9c5e
sub eax, 0x147cabae
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x7c6a5727
add dword [ebp - 0x2c], 0xf808122f
mov dword [ebp - 0x28], 0x3a9559db
sub dword [ebp - 0x28], 0xf928f866
mov dword [ebp - 0x24], 0x9bfee9d3
sub dword [ebp - 0x24], 0x388f7d67
mov dword [ebp - 0x20], 0x1bc085dd
sub dword [ebp - 0x20], 0x1bc085dd
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x378cd
push 0
call eax
mov ecx, 0x4328
mov edi, eax
mov edx, 0xe07cec7b
sub edx, 0xd07ab47b
add edx, dword [ebp - 0x1c]
mov esi, 0x4c247b36
xor dword [ebp - 4], 0xff96d4f2
mov ebx, dword [edx]
add dword [ebp - 0x14], eax
add ebx, esi
sub dword [ebp - 0xc], esi
mov dword [edi], ebx
xor dword [ebp - 0xc], eax
add edi, 4
add edx, 0xe80c77b1
add edx, 0x17f38853
loop 0x1000b91b
add eax, 0xff73
mov ebx, eax
add eax, 0xb5940458
sub eax, 0xb5940453
mov ecx, 0x32a13b90
add ecx, 0xdd5ec470
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x2e0140e6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306ad
call fcn.2e001553
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
push ebx
push ebx
push 6
mov dword [ebp - 4], ebx
call fcn.2e019a56
add esp, 0xc
test al, al
je 0x2e0141a8
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e0141a8
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01419f
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e019a56
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014192
push esi
mov byte [ebp - 4], 2
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.2e010e73
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e019a56
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00159d
ret

Function at 0x2e014c09
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030723
call fcn.2e02e506
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [ecx + 0x10], 0
mov edi, dword [ebp + 0xc]
jbe 0x2e014cf9
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.2e014b12
push esi
mov dword [ebp - 4], 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.2e010dd2
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014cea
lea eax, [ebp - 0x30]
push eax
push 0
push 0x2e033925
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ce1
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e019a56
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
push esi
push 0
push 0
push 0x2e033925
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014cd3
push esi
mov byte [ebp - 4], 3
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.2e010e73
inc bl
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e019a56
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.2e019a56
mov al, bl
call fcn.2e02e4e4
ret 8
Function at 0x2e014d3b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e030750
call fcn.2e001553
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014d75
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014dea
lea eax, [ebp - 0x14]
mov edi, 0x2e033925
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014de1
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014de1
inc eax
push eax
call fcn.2e019a56
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014dd3
push esi
mov byte [ebp - 4], 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
mov byte [ebp - 4], bl
call fcn.2e010e73
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e019a56
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00159d
ret 8
Function at 0x2e01e38c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030a2c
call fcn.2e02e506
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e449
lea eax, [ebp - 0x30]
mov ebx, str.progid
push eax
push edi
push edi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e440
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e019a56
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], edi
push eax
push esi
push edi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x2e01e433
push esi
lea ecx, [ebp - 0x28]
call fcn.2e00d957
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e019a56
test al, al
jne 0x2e01e428
push edi
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e019a56
test eax, eax
cmove edi, ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.2e019a56
or dword [ebp - 4], 0xffffffff
push ebx
push esi
call fcn.2e019a56
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e4e4
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x65221476
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x1f1b7076
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219