joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008620
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi], ecx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], eax
jne 0x100865a
mov eax, 0x8000ffff
jmp 0x1008766
cmp eax, ecx
jne 0x1008668
mov eax, 0x80004003
jmp 0x1008766
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov dword [eax], ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ecx
push edx
push dword [esi]
mov dword [ebp - 0x218], 0x208
mov dword [ebp - 0x214], ecx
call ebx
mov edi, eax
test edi, edi
je 0x10086af
cmp edi, 0xea
jne 0x1008752
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x1008752
cmp dword [ebp - 0x214], 1
je 0x10086df
cmp dword [ebp - 0x214], 7
je 0x10086df
cmp dword [ebp - 0x214], 2
je 0x10086df
mov edi, 0x3f4
jmp 0x1008756
test edi, edi
jne 0x10086fa
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx], eax
jmp 0x1008762
shr eax, 1
dec eax
push eax
lea ecx, [ebp - 0x210]
call fcn.01008504
xor eax, eax
cmp dword [ebp - 0x210], eax
je 0x1008775
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x210]
push eax
push eax
push dword [ebp - 0x220]
push dword [esi]
call ebx
mov edi, eax
test edi, edi
jne 0x1008746
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x21c]
and dword [ebp - 0x210], edi
mov dword [ecx], eax
push dword [ebp - 0x210]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jle 0x1008762
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01006ce8
leave
ret 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0x8007000e
jmp 0x1008764
Function at 0x1008788
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x100e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x418], esi
je 0x1008976
cmp word [esi], bx
je 0x1008976
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100511a
test eax, eax
jl 0x1008976
cmp word [ebp - 0x20c], bx
push 2
lea ecx, [ebp - 0x20c]
pop esi
je 0x1008879
movzx eax, word [ebp - 0x20c]
push eax
call fcn.01007c2d
add esp, 4
test al, al
je 0x1008823
movzx eax, word [ecx + 2]
push eax
call fcn.01007c2d
add esp, 4
test al, al
jne 0x100882d
add ecx, esi
movzx eax, word [ecx]
cmp ax, bx
jne 0x1008805
cmp word [ecx], bx
je 0x1008879
add ecx, 4
movzx eax, word [ecx]
cmp ax, bx
je 0x100885b
push eax
call fcn.01007c2d
add esp, 4
test al, al
jne 0x1008854
add ecx, esi
movzx eax, word [ecx]
cmp ax, bx
jne 0x100883d
cmp word [ecx], bx
je 0x10088a8
add ecx, esi
cmp word [ecx], bx
je 0x10088a8
movzx eax, word [ecx]
push eax
call fcn.01007c2d
add esp, 4
test al, al
jne 0x100889f
add ecx, esi
cmp word [ecx], bx
jne 0x1008860
jmp 0x100889f
cmp word [ebp - 0x20c], bx
lea ecx, [ebp - 0x20c]
je 0x10088a8
movzx eax, word [ecx]
push eax
call fcn.01007c2d
add esp, 4
test al, al
jne 0x100889f
add ecx, esi
cmp word [ecx], bx
jne 0x1008888
cmp word [ecx], bx
je 0x10088a8
mov word [ecx + 2], bx
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0100511a
test eax, eax
jl 0x1008976
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, esi
cmp cx, bx
jne 0x10088cc
mov esi, dword [sym.imp.MSVCR80.dll_wcstok]
sub eax, edx
sar eax, 1
mov edi, 0x1002220
push edi
lea eax, [ebp + eax*2 - 0x414]
mov dword [ebp - 0x424], 0xc
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], 1
push eax
jmp 0x100896a
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.01005154
test eax, eax
jl 0x1008976
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008936
test al, 0x10
jne 0x100894e
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1008976
push 0x1001cd0
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.01005154
test eax, eax
jl 0x1008976
push edi
push ebx
call esi
cmp eax, ebx
pop ecx
pop ecx
jne 0x100890a
mov al, 1
jmp 0x1008978
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006ce8
leave
ret
Function at 0x100946d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
movzx edi, word [ebp + 0x10]
push 2
push edi
push dword [ebp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x10094be
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10094c1
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.010092c3
jmp 0x10094c1
mov ebx, dword [ebp - 4]
cmp dword [esi + 0xc], 0
jne 0x10094d8
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_LoadBitmapW]
test eax, eax
mov dword [esi + 0xc], eax
je 0x10094fd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esi + 8], eax
je 0x1009500
push dword [esi + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1009500
mov edi, dword [ebp - 8]
test ebx, ebx
je 0x100950b
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x1009518
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
cmp dword [esi + 8], eax
pop edi
pop esi
setne al
pop ebx
leave
ret 0xc

Function at 0x1009749
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 0x10]
xor edi, edi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.0100952c
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x100981d
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, edi
mov dword [ebp + 0x10], eax
je 0x1009804
push edi
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10097f3
mov eax, dword [ebp + 0x10]
add eax, 0xe
cmp eax, edi
je 0x10097f3
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.010092c3
cmp eax, edi
mov dword [ebp - 8], eax
je 0x10097f3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, edi
mov dword [esi + 8], eax
je 0x10097f3
push dword [esi + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], 1
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], edi
pop ebx
je 0x100981d
push dword [ebp - 4]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0xc
Function at 0x100a8cd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call fcn.0100511a
test eax, eax
jge 0x100a8e6
xor eax, eax
pop ebp
ret
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100a8eb
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x100a913
push 0x1001cd0
push dword [ebp + 0xc]
push esi
call fcn.01005154
test eax, eax
jl 0x100a8e2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call edi
cmp eax, 0xffffffff
jne 0x100a95e
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100a927
sub eax, edx
sar eax, 1
lea eax, [esi + eax*2 - 4]
movzx ecx, word [eax]
cmp cx, 0x73
je 0x100a948
cmp cx, 0x53
jne 0x100a95a
and word [eax + 2], 0
push esi
mov word [eax], 0x5c
call edi
cmp eax, 0xffffffff
jne 0x100a95e
xor eax, eax
jmp 0x100a961
xor eax, eax
inc eax
pop edi
pop ebp
ret

Function at 0x100a969
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
xor esi, esi
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0x1002520
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.010085b5
add esp, 0x18
test eax, eax
jge 0x100a995
xor eax, eax
jmp 0x100a9bc
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100a9ba
cmp dword [ebp + 0x14], esi
je 0x100a9b7
push dword [ebp + 8]
push dword [ebp + 0x18]
call dword [ebp + 0x14]
pop ecx
pop ecx
mov esi, eax
jmp 0x100a9ba
xor esi, esi
inc esi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x100aaba
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x100e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x258], 0
push 0x1002548
push ebx
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0xc]
push 0x100253c
push dword [ebp + 0x18]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x264], eax
call fcn.010085b5
add esp, 0x14
test eax, eax
jge 0x100ab13
xor eax, eax
jmp 0x100ac36
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x25c], eax
je 0x100ac2c
push esi
test byte [ebp - 0x254], 0x10
je 0x100abe7
mov ecx, 0x1002538
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100ab6f
test dx, dx
je 0x100ab6b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100ab6f
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ab49
xor eax, eax
jmp 0x100ab74
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100abe7
mov ecx, 0x1002530
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100aba9
test dx, dx
je 0x100aba5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100aba9
add eax, 4
add ecx, 4
test dx, dx
jne 0x100ab83
xor eax, eax
jmp 0x100abae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100abe7
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCR80.dll__wtol]
mov esi, eax
test esi, esi
pop ecx
je 0x100abe7
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x260]
push dword [ebp - 0x268]
push ebx
push esi
call fcn.0100a969
add esp, 0x1c
test eax, eax
jne 0x100ac04
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100ab31
jmp 0x100ac16
mov eax, dword [ebp - 0x264]
mov dword [eax], esi
mov dword [ebp - 0x258], 1
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x258], 0
pop esi
jne 0x100ac30
and word [edi], 0
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01006ce8
leave
ret
Function at 0x100af12
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100afa2
cmp dword [ebp - 4], ebx
je 0x100afa2
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1002598
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
call esi
cmp edi, ebx
jne 0x100afa2
cmp dword [ebp - 8], ebx
je 0x100afa2
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
mov edi, eax
call esi
cmp edi, ebx
je 0x100af94
cmp edi, 0xea
jne 0x100af9e
cmp dword [ebp - 0xc], ebx
je 0x100af9e
xor eax, eax
inc eax
jmp 0x100afa4
xor eax, eax
jmp 0x100afa4
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100b120
Capabilities:
Encrypt data using dpapi

Disassembly:
cmp dword [0x100fb74], 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jne 0x100b148
push 0x10040e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100b197
push eax
push 0x100fb74
call edi
cmp dword [0x100fb78], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x100b170
push 0x10040d4
push dword [0x100fb74]
call esi
test eax, eax
je 0x100b197
push eax
push 0x100fb78
call edi
cmp dword [0x100fb7c], 0
jne 0x100b192
push 0x10040c0
push dword [0x100fb74]
call esi
test eax, eax
je 0x100b197
push eax
push 0x100fb7c
call edi
xor eax, eax
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80070000
jmp 0x100b194
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x100d935e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d91d4

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x402a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4045c8
push 0x402c4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x4046f8], 0xffffffff
mov dword [0x4046fc], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4046f4]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x4046f0]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x404700], ecx
call fcn.00402cb0
mov eax, dword [0x4043b8]
test eax, eax
jne 0x402ad1
push 0x4028c0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00402c60
push 0x4040f0
push 0x4040ec
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x4046ec]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x4046e8]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x4040e8
push 0x4040e4
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x402bdf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402b45
cmp al, 0x22
jne 0x402b37
cmp byte [esi], 0x22
jne 0x402b4e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402b5e
cmp al, 0x20
ja 0x402b5e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x402b4e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x402b7f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402b84
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x402bc4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x402b4e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x402bdf
Function at 0x2e00ad6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x2e00ad7e
pop dword [ebp - 0x28]
mov eax, 0x7406450d
sub eax, 0x4605978f
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x86c110d4
sub dword [ebp - 0x38], 0x386ecb89
mov dword [ebp - 0x34], 0x9a1eba09
add dword [ebp - 0x34], 0x9814923c
mov dword [ebp - 0x30], 0xdb5630e3
sub dword [ebp - 0x30], 0x8f09ecb5
mov dword [ebp - 0x2c], 0x85e6756e
sub dword [ebp - 0x2c], 0x85e6756e
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xc9fef141
sub dword [ebp - 0x38], 0x558c87eb
mov dword [ebp - 0x34], 0xa9665c1b
add dword [ebp - 0x34], 0x9806055a
mov dword [ebp - 0x30], 0xa178fd6b
add dword [ebp - 0x30], 0xc1f66f01
mov dword [ebp - 0x2c], 0x73116b30
sub dword [ebp - 0x2c], 0x73116b30
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3f4d2
push 0
call eax
mov ecx, 0x415a
xor ebx, ebx
add ebx, eax
mov esi, 0x89f5e469
add esi, 0xa40f8997
add esi, dword [ebp - 0x28]
mov edx, 0x3e4fbf59
xor dword [ebp - 0x20], esi
mov edi, dword [esi]
add dword [ebp - 0x20], eax
sub edi, edx
mov dword [ebp - 0x18], 0x47afb8eb
mov dword [ebx], edi
xor dword [ebp - 0x14], 0xe50ae490
add ebx, 0x58a560bd
sub ebx, 0x58a560b9
add esi, 4
loop 0x2e00ae8c
add eax, 0xe4807553
sub eax, 0xe47f7d18
xor ebx, ebx
add ebx, eax
add eax, 0xa5f260fb
add eax, 0x5a0d9f0a
mov ecx, 0x15a571e8
sub ecx, 0xe7a571e8
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x2e013ece
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e03021f
call fcn.2e00153c
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
mov dword [ebp - 4], ebx
call fcn.2e014c10
test ax, ax
je 0x2e013f76
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e013f76
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 0x2e013f6d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e00ad6f
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 0x2e013f60
push esi
mov ecx, edi
call fcn.2e010c49
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e00ad6f
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e001586
ret
Function at 0x2e0149fe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030292
call fcn.2e02e16c
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014b02
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e0148ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010b76
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
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 0x2e014ac0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ab7
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e00ad6f
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014aa9
push esi
mov ecx, edi
call fcn.2e010c49
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e00ad6f
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014b02
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014af9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e00ad6f
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e00ad6f
pop ecx
pop ecx
mov al, bl
call fcn.2e02e14a
ret 8

Function at 0x2e014b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e0302bf
call fcn.2e00153c
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 0x2e014b76
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014bdc
lea eax, [ebp - 0x14]
mov edi, 0x2e032941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014bd3
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014bd3
inc eax
push eax
call fcn.2e00ad6f
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 0x2e014bc5
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010c49
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e00ad6f
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001586
ret 8