joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0x20100916
je 0x433dc8
push str.IMAGE::putimage
push edi
lea eax, [ebp - 0x7c]
push str.Fatal_error:_read_write_at_0x_p._At_function__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push 0x10
push str.EGE_ERROR_message
push eax
mov eax, dword [0x48577c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp esi, 0x20
jae 0x433ded
mov eax, dword [0x48577c]
test esi, esi
je 0x433ddf
and esi, 0xf
mov esi, dword [eax + esi*4 + 0x24]
jmp 0x433ded
dec dword [eax + 0x1a8]
mov eax, dword [0x48577c]
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x433e23
push 3
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [edi + 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 0x28

Function at 0x433e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0x20100916
mov edx, dword [ebp + 8]
je 0x433e94
push str.IMAGE::putimage
push ecx
lea eax, [ebp - 0x7c]
push str.Fatal_error:_read_write_at_0x_p._At_function__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push 0x10
push str.EGE_ERROR_message
push eax
mov eax, dword [0x48577c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp edx, 0x20
jae 0x433eb9
mov eax, dword [0x48577c]
test edx, edx
je 0x433eab
and edx, 0xf
mov edx, dword [eax + edx*4 + 0x24]
jmp 0x433eb9
dec dword [eax + 0x1a8]
mov eax, dword [0x48577c]
mov edx, dword [eax + 0x4c]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ecx + 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 0x20
Function at 0x436e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x436e5c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00436e70
Function at 0x45194f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004517c5

Function at 0x4587a4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004582f7

Function at 0x460ba0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x460bcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x460bcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x781206fc
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x286f3461
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10097788
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1014b7a8
call fcn.10143748
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1008c4ce
xor ebx, ebx
mov dword [esi], vtable.ScObjects::Thread.0
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.101061b1
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x100977cf
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x100977d1
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10097990
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [esi + 8]
mov edx, eax
add esp, 0x18
cmp edx, 0xffffffff
jne 0x10097801
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
jmp 0x10097809
mov eax, dword [ebp - 0x10]
mov ebx, edx
mov dword [esi + 0xc], eax
mov dword [ecx + 4], ebx
mov eax, esi
call fcn.10143711
ret

Function at 0x10097a80
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x10097a92
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x1009dc82
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1014c549
call fcn.1014377c
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
call fcn.10097c22
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.1009dd82
test eax, eax
jne 0x1009dcc6
push 0xffffffffffffffff
push 0x10155f30
mov ecx, esi
call fcn.101061b1
jmp 0x1009dd0c
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10155f30
test eax, eax
je 0x1009dcbf
call fcn.101061b1
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x10162258
push eax
call fcn.101061b1
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.101061b1
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x1009dce5
mov eax, esi
call fcn.10143726
ret

Function at 0x1009dd82
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107d14a0]
test esi, esi
jne 0x1009ddd7
push esi
push 1
push esi
push esi
push 0x107d14a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1009ddd1
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1009ddd1
push 8
push 1
push esi
push esi
push 0x107d14a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1009ddd1
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107d14a0], esi
jmp 0x1009ddd7
mov esi, dword [0x107d14a0]
mov eax, esi
pop esi
ret
Function at 0x1009df6e
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x1014c611
call fcn.1014377c
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], eax
call fcn.1009dd82
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
call fcn.10097c22
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.10097c22
push edi
mov eax, 0x101622e0
mov dword [ebp - 0x44], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.101061b1
pop ecx
pop ecx
push eax
call fcn.101061b1
pop ecx
pop ecx
push eax
call fcn.101061b1
pop ecx
pop ecx
push eax
call fcn.101061b1
pop ecx
pop ecx
push eax
call fcn.101061b1
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x1009e003
push 0xffffffffffffffff
push 0x10155f30
mov ecx, ebx
call fcn.101061b1
jmp 0x1009e0bf
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push esi
push esi
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1009dff0
push esi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1009dff0
push 4
pop ecx
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], esi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1009dff0
push dword [ebp - 0x40]
call fcn.101061b1
mov edi, eax
pop ecx
test edi, edi
je 0x1009dff0
push esi
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, ebx
push 0xffffffffffffffff
push 0x10155f30
test eax, eax
jne 0x1009e083
call fcn.101061b1
jmp 0x1009e0b8
call fcn.101061b1
cmp dword [ebp - 0x40], esi
jbe 0x1009e0b8
cmp esi, 0x28
jae 0x1009e0b8
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x10162258
push eax
call fcn.101061b1
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.101061b1
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x1009e08d
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x1009e0ce
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
call fcn.101061b1
mov eax, ebx
call fcn.10143726
ret
Function at 0x100ab3c5
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1014e980
call fcn.10143748
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1018ee8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100a71a2
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.10097c22
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.101061b1
pop ecx
pop ecx
push eax
call fcn.101061b1
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call fcn.101061b1
add esp, 0x18
test al, al
je 0x100ab438
cmp dword [esi + 0x5a], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
call fcn.101061b1
mov eax, esi
call fcn.10143711
ret 8

Function at 0x100ab5c0
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x1014c080
call fcn.10143748
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.1008c49b
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.10097af3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.101061b1
push 0
xor ecx, ecx
lea eax, [esi + 0x56]
cmp dword [esi + 0x5a], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x100ab65b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100ab65b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100ab65d
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.101061b1
lea ecx, [ebp - 0x18]
call fcn.101061b1
mov al, bl
call fcn.10143711
ret 8
Function at 0x101061b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x101061c0
pop dword [ebp - 4]
mov eax, 0x8556d508
sub eax, 0x75467348
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x9ac280fa
add dword [ebp - 0x14], 0xb38fc451
mov dword [ebp - 0x10], 0x6796db91
add dword [ebp - 0x10], 0xca9c70b4
mov dword [ebp - 0xc], 0xb63b89e8
sub dword [ebp - 0xc], 0x69ef45ba
mov dword [ebp - 8], 0xe1b28b83
add dword [ebp - 8], 0x1e4d747d
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x8d316978
sub dword [ebp - 0x14], 0x18bf0022
mov dword [ebp - 0x10], 0x8c4a922
add dword [ebp - 0x10], 0x38a7b853
mov dword [ebp - 0xc], 0x8edcaf82
add dword [ebp - 0xc], 0xd492bcea
mov dword [ebp - 8], 0x8daa7d1c
sub dword [ebp - 8], 0x8daa7d1c
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x311c62a3
sub eax, 0x21074fd7
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x6fb9d
push 0
call eax
mov ecx, 0xcf073bf2
add ecx, 0x30f901df
mov edi, eax
mov ebx, 0xc634bdc6
sub ebx, 0xb5b62bc6
add ebx, dword [ebp - 4]
mov esi, 0x9bd1d0af
add esi, 0xade44b72
mov edx, dword [ebx]
xor edx, esi
mov dword [edi], edx
add edi, 0xb48dfe8b
sub edi, 0xb48dfe87
add ebx, 0xf12a0ce3
add ebx, 0xed5f321
loop 0x101062dd
add eax, 0xb89ee107
sub eax, 0xb89df6f0
mov ebx, eax
add eax, 0x93623b9c
sub eax, 0x93623b97
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x10122f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012301b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10122fd2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10122fd2
cmp esi, ebx
jge 0x10122fd2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10123015
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10123015
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10151b24]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012302d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10123250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d1590], 0
mov eax, dword [ebp + 8]
je 0x10123278
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10123292
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.101061b1
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10143700
leave
ret 4

Function at 0x10123460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d1590], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10123496
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x101234f5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.101061b1
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.101061b1
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.101061b1
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143700
leave
ret 0x10
Function at 0x10123510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d1590], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1012353c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1012356d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1012356b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.101061b1
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1012356d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10143700
leave
ret 8
Function at 0x10132580
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x101325e1
cmp dword [edi + 0x264], ebx
je 0x101325da
cmp byte [0x107d1590], 0
mov eax, dword [edi + 0x250]
push edi
push eax
je 0x101325c9
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x101325cf
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x101326c1
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10132750
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x1013262f
lea eax, [ebp - 0x234]
push eax
call fcn.101061b1
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d1590], 0
je 0x1013265b
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x1013267d
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.101061b1
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x101326ab
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x101326c1
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x101326e8
cmp byte [0x107d1590], 0
jne 0x101326e8
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.101061b1
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x1013271d
push esi
xor ebx, ebx
call fcn.101061b1
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10132719
test byte [edi + 0x268], 3
jne 0x10132727
mov ebx, edx
jmp 0x10132727
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x1013274b
push 0
test ebx, ebx
pop ebx
jne 0x101325a0
test byte [edi + 0x26c], 2
jne 0x101325a0
test eax, eax
setne al
jmp 0x10132752
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143700
leave
ret 4
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
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.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
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 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e0277c5
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 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e0277c5
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret

Function at 0x2e014ca3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030759
call fcn.2e02e6de
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014da7
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e014b8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010d8f
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 0x2e014d65
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014d5c
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e0277c5
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 0x2e033941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014d4e
push esi
mov ecx, edi
call fcn.2e010e6c
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e0277c5
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 0x2e014da7
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 0x2e014d9e
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e0277c5
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e0277c5
pop ecx
pop ecx
mov al, bl
call fcn.2e02e6bc
ret 8
Function at 0x2e014de1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e03078d
call fcn.2e001511
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 0x2e014e1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014e81
lea eax, [ebp - 0x14]
mov edi, 0x2e033941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014e78
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014e78
inc eax
push eax
call fcn.2e0277c5
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 0x2e014e6a
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010e6c
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e0277c5
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00155b
ret 8