joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a8f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x49a8fc
jmp 0x49a930
mov eax, dword [ebp + 8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x49a930
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x49a930
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x49a940
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x49a94c
jmp 0x49a980
mov eax, dword [ebp + 8]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x49a980
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x49a980
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x49c620
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0
push 0
push 0x3e8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x49c663
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043fbe0
add esp, 4
test eax, eax
je 0x49c663
mov dword [ebp - 8], 1
jmp 0x49c66a
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x49ca40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x924], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0043fbe0
add esp, 4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
je 0x49ca83
push 0x4c2464
mov eax, dword [ebp + 8]
push eax
call fcn.00440130
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0x4c2468
lea edx, [ebp - 0x3f0]
push edx
call fcn.00440218
add esp, 0xc
lea eax, [ebp - 0x920]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x7dc], eax
cmp dword [ebp - 0x7dc], 0
je 0x49cb4f
lea edx, [ebp - 0x8f4]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.00440218
add esp, 0x10
lea edx, [ebp - 0x7d8]
push edx
mov ecx, dword [ebp - 0x924]
call fcn.0049c680
test eax, eax
je 0x49cb2e
push 0x4c2474
lea eax, [ebp - 0x8f4]
push eax
call fcn.004402a0
add esp, 8
test eax, eax
je 0x49cb2e
push 0x4c2478
lea ecx, [ebp - 0x8f4]
push ecx
call fcn.004402a0
add esp, 8
test eax, eax
je 0x49cb2e
mov eax, 1
jmp 0x49cb51
lea edx, [ebp - 0x920]
push edx
mov eax, dword [ebp - 0x7dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49cb4a
xor eax, eax
jmp 0x49cb51
jmp 0x49cab5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4
Function at 0x49daf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0c
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd0c], ecx
lea eax, [ebp - 0x3f0]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xd0c]
call fcn.0049d3f0
lea edx, [ebp - 0x3f0]
push edx
call fcn.0043fbe0
add esp, 4
movsx eax, byte [ebp + eax - 0x3f1]
cmp eax, 0x5c
je 0x49db4f
push 0x4c244c
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.00440130
add esp, 8
lea edx, [ebp - 0x3f0]
push edx
push 0x4c2450
lea eax, [ebp - 0x7d8]
push eax
call fcn.00440218
add esp, 0xc
lea ecx, [ebp - 0xd08]
push ecx
lea edx, [ebp - 0x7d8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xbc4], eax
cmp dword [ebp - 0xbc4], 0
je 0x49dc50
lea eax, [ebp - 0xcdc]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
push 0x4c2454
lea edx, [ebp - 0xbc0]
push edx
call fcn.00440218
add esp, 0x10
lea eax, [ebp - 0xbc0]
push eax
mov ecx, dword [ebp - 0xd0c]
call fcn.0049c680
test eax, eax
je 0x49dc31
push 0x4c245c
lea ecx, [ebp - 0xcdc]
push ecx
call fcn.004402a0
add esp, 8
test eax, eax
je 0x49dc31
push 0x4c2460
lea edx, [ebp - 0xcdc]
push edx
call fcn.004402a0
add esp, 8
test eax, eax
je 0x49dc31
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xcdc]
push ecx
mov ecx, dword [ebp - 0xd0c]
call fcn.0049d780
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xd0c]
call fcn.0049c7b0
test eax, eax
je 0x49dc31
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd0c]
call fcn.0049cb70
lea ecx, [ebp - 0xd08]
push ecx
mov edx, dword [ebp - 0xbc4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49dc4b
jmp 0x49dc50
jmp 0x49db84
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 4

Function at 0x49de60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 8], eax
mov eax, dword [0x4c243c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 1
jmp 0x49de8c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x20
jge 0x49deb6
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shr edx, cl
and edx, 1
je 0x49deb4
mov eax, dword [ebp - 0xc]
add eax, 0x41
mov byte [ebp - 4], al
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0049dc60
jmp 0x49de83
mov esp, ebp
pop ebp
ret

Function at 0x49e670
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x49e68f
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0xc]
jae 0x49e6bc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx edx, byte [ebp - 5]
xor ecx, dword [edx*4 + 0x4c2638]
mov dword [ebp - 4], ecx
jmp 0x49e686
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x49f250
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8eba
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4de880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00403fb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00403fb0
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], 0x105
mov dword [ebp - 0xb8], 0x105
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x38], 0
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0xac]
call fcn.00403370
mov byte [ebp - 4], 4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0049ed70
add esp, 0xc
mov byte [ebp - 4], 5
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x54]
call fcn.00404240
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00404240
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00404240
mov byte [ebp - 4], 8
lea eax, [ebp - 0xc0]
push eax
push 0xf003f
push 0
lea ecx, [ebp + 8]
call fcn.00401050
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0049ec10
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49f415
lea ecx, [ebp + 0x24]
call fcn.00401050
push eax
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 0xc1], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00401e40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00401e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.00401e40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00401030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00401030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.00403fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00403fe0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401030
mov al, byte [ebp - 0xc1]
jmp 0x49f49d
mov byte [ebp - 0xc2], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00401e40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00401e40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.00401e40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00401030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00401030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.00403fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00403fe0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401030
mov al, byte [ebp - 0xc2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f9e9
mov esp, ebp
pop ebp
ret 0x38
Function at 0x4a2bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 2
jne 0x4a2c38
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 0x20], eax
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.0041e240
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
jmp 0x4a2d09
cmp dword [ebp + 0x10], 0
jne 0x4a2c48
call fcn.00401560
mov dword [ebp - 0x24], eax
jmp 0x4a2c4e
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00440630
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0041e190
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4ee4b8b
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x484a4acd
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x54a490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc7000]
push edi
or ebp, 0xffffffff
jmp 0x54a4b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54a4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a4a8
mov eax, 1
add ebx, ebx
jne 0x54a4cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54a4c0
jne 0x54a4dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54a4c0
xor ecx, ecx
sub eax, 3
jb 0x54a4f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54a562
mov ebp, eax
add ebx, ebx
jne 0x54a4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x54a508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x54a52c
inc ecx
add ebx, ebx
jne 0x54a518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54a50d
jne 0x54a529
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54a50d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54a54c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54a53d
jmp 0x54a4ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54a54c
add edi, ecx
jmp 0x54a4ae
pop esi
mov edi, esi
mov ecx, 0x43d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54a56a
cmp byte [edi], 0x22
jne 0x54a56a
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 0x54a56f
lea edi, [esi + 0x147000]
mov eax, dword [edi]
or eax, eax
je 0x54a5e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x160d38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x160e50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54a59c
mov ecx, edi
jns 0x54a5cb
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 + 0x160e54]
or eax, eax
je 0x54a5e1
mov dword [ebx], eax
add ebx, 4
jmp 0x54a5b9
call dword [esi + 0x160e64]
mov ebp, dword [esi + 0x160e58]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x54a61b
sub esp, 0xffffff80
jmp 0x4966e0
Function at 0x10003649
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x1000379a
test ebx, ebx
je 0x1000379a
test ecx, ecx
je 0x1000379a
push esi
xor esi, esi
lea eax, [ebp - 0x20c]
push 0x208
push esi
push eax
mov dword [ebp - 0x210], esi
call fcn.1008f060
push 0xffffffffffffffff
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10091bbe
push 0xffffffffffffffff
push 0x100d3d18
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10096bde
push 0x103
push str.QQDoctorQQDoctorComCfg
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10096bde
add esp, 0x38
lea eax, [ebp - 0x20c]
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.10003613
test eax, eax
je 0x1000377f
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x214], esi
test eax, eax
je 0x10003785
lea ecx, [ebp - 0x214]
push ecx
push esi
lea ecx, [ebp - 0x218]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000377f
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x14]
jbe 0x1000374a
mov esi, 0x80028016
jmp 0x10003775
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10003785
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000377f
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x210]
jmp 0x1000378a
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x10003795
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x1000379f
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008bb47
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10003e0d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003e84
cmp dword [ebp - 8], 1
je 0x10003e5c
cmp dword [ebp - 8], 2
je 0x10003e5c
push 0xd
pop eax
jmp 0x10003e84
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x10003e7e
test ecx, ecx
je 0x10003e79
test cl, 1
jne 0x10003e57
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x10003e7e
jmp 0x10003e57
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008bb47
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10003f53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x218], ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x10003f7f
mov eax, dword [edi]
jmp 0x10003f81
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push str.http_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000403f
push esi
mov esi, 0x208
mov dword [ebp - 0x214], ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x210], esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push 0x100d2a54
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [ebp - 0x218], ebx
pop esi
jne 0x1000403f
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10097358
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10001a48
add esp, 0xc
lea ecx, [ebp - 0x20c]
push eax
push ecx
mov ecx, edi
call fcn.10001ddf
xor eax, eax
inc eax
jmp 0x10004041
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008bb47
mov esp, ebp
pop ebp
ret
Function at 0x10004051
Capabilities:
Query environment variable

Disassembly:
push 0x814
mov eax, 0x100bd025
call fcn.1008c851
mov esi, ecx
mov edi, 0x400
lea eax, [ebp - 0x810]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.1008f060
push edi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.1008f060
mov dword [ebp - 0x820], edi
xor eax, eax
lea edi, [ebp - 0x81c]
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
mov edi, 0x20019
mov dword [ebp - 4], ebx
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_pathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x81c]
call fcn.10003d94
test eax, eax
jne 0x100041c2
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x100d2a54
lea ecx, [ebp - 0x81c]
call fcn.10003e0d
test eax, eax
sete bl
test eax, eax
je 0x10004142
lea ecx, [ebp - 0x81c]
call fcn.10003d7a
push edi
push str.SoftwareMicrosoftIE_SetupSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x81c]
call fcn.10003d94
test eax, eax
jne 0x10004142
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push str.Path
lea ecx, [ebp - 0x81c]
call fcn.10003e0d
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
je 0x100041c2
mov edi, 0x200
lea eax, [ebp - 0x410]
push edi
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jle 0x100041c2
push str.iexplore.exe
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.10096f99
pop ecx
pop ecx
test eax, eax
je 0x100041a6
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push str.iexplore.exe
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.10096bde
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call fcn.10001a48
pop ecx
push eax
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.10001ddf
lea ecx, [ebp - 0x81c]
call fcn.10003d7a
mov eax, ebx
call fcn.1008c7fb
ret

Function at 0x100041d5
Capabilities:
Create process on windows

Disassembly:
push 0xc
push 0x10100648
call fcn.1008ccb0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push 5
push esi
push esi
call fcn.10001e70
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x1c], eax
jmp 0x1000420b
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.1008ccf6
ret
Function at 0x1000421b
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x100bd05d
call fcn.1008c851
mov esi, ecx
push 0x100d2a54
lea ecx, [ebp - 0x40]
call fcn.100028c0
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.100041d5
mov edi, eax
push 0x20
pop eax
cmp eax, edi
jbe 0x1000439e
lea ecx, [ebp - 0x40]
call fcn.10003f53
test eax, eax
je 0x10004399
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.iexplore.exe
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1008e2a4
pop ecx
pop ecx
test eax, eax
je 0x10004399
push 0x100d2a54
lea ecx, [ebp - 0x28]
call fcn.100028c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10004051
test eax, eax
je 0x1000438e
push 0x40
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], 0x44
push ebx
push eax
call fcn.1008f060
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
add ebx, 4
add ebx, dword [esi + 0x10]
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10096c2c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x100042f5
xor ebx, ebx
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f53
jmp 0x100043a2
push 0x100d3f58
push ebx
push edi
call fcn.100968db
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.1009715a
push 0x100d3f5c
push ebx
push edi
call fcn.1009715a
add esp, 0x24
cmp dword [esi + 0x14], 8
jb 0x1000432b
mov esi, dword [esi]
push esi
push ebx
push edi
call fcn.1009715a
add esp, 0xc
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov esi, eax
call fcn.10096af0
pop ecx
test esi, esi
je 0x100042e3
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x90]
call esi
xor esi, esi
inc esi
jmp 0x100042e5
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f53
push 0x20
pop eax
cmp eax, edi
sbb esi, esi
neg esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f53
mov eax, esi
call fcn.1008c7fb
ret