joyce8/EMBER2024-capa huggingface dataset:
Function at 0x173a3eb
Capabilities:
Execute syscall

Disassembly:
mov ebx, 0x3b9421b6
neg bx
jg 0xe7edc3
movzx ebx, byte [ebx + edx - 0x3b94de4a]
call fcn.016b38ca
add ecx, ecx
neg eax
not eax
xor cx, cx
jnp 0x175ad63
inc eax
not cx
xor ebx, eax
xchg ch, cl
movzx edx, cx
add edi, eax
jmp edi
xor eax, 0xe4bca21c
dec ecx
lea esp, [esp + 0xc]
jne 0xe17e0a
adc ebp, 4
shrd dx, ax, cl
mov word [ebp], dx
pop ecx

Function at 0x1749afb
Capabilities:
Execute syscall

Disassembly:
inc ebx
movzx esi, byte [ebp - 0x5c95a30f]
inc ecx
movsx edx, ah
call fcn.015465c3
syscall
push ecx
pushfd
dec eax
mov ecx, 0x8432bd34
xor dh, byte [esi - 0x63]
ret 0x8b48
Function at 0x8385f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x67000]
push edi
jmp 0x83860a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x838611
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x838600
mov eax, 1
add ebx, ebx
jne 0x838623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x838634
jne 0x838653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x838653
dec eax
add ebx, ebx
jne 0x838640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x838618
add ebx, ebx
jne 0x83864f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8386a5
xor ecx, ecx
sub eax, 3
jb 0x83866b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8386da
sar eax, 1
mov ebp, eax
jmp 0x838676
add ebx, ebx
jne 0x838676
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x838644
inc ecx
add ebx, ebx
jne 0x838684
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x838644
add ebx, ebx
jne 0x838691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x838686
jne 0x8386a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x838686
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8386c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8386b6
jmp 0x838606
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8386c4
add edi, ecx
jmp 0x838606
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8386e2
cmp byte [edi], 0x11
jne 0x8386e2
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 0x8386e7
lea edi, [esi + 0x3e1000]
mov eax, dword [edi]
or eax, eax
je 0x83875f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x43b1c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x43b340]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x838714
mov ecx, edi
jns 0x838743
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 + 0x43b344]
or eax, eax
je 0x838759
mov dword [ebx], eax
add ebx, 4
jmp 0x838731
call dword [esi + 0x43b354]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x838790
cmp al, 0xef
ja 0x838783
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x838765
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x838772
mov ebp, dword [esi + 0x43b348]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x8387c4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x430006
Capabilities:
Encode data using xor

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401450
Capabilities:
Copy file
Move file
Persist via lnk shortcut

Disassembly:
sub esp, 0x820
push ebx
push esi
push edi
push ebp
call fcn.00404a00
mov edi, eax
push str.FastCopy.ini
mov esi, dword [esp + 0x83c]
lea eax, [esp + 0x62c]
push esi
push eax
call dword [0x40f2b4]
mov eax, dword [esp + 0x840]
lea ecx, [esp + 0x42c]
add esp, 0xc
push 0x40b1d8
push eax
push ecx
call dword [0x40f2b4]
lea ecx, [esp + 0x634]
add esp, 0xc
push ecx
call dword [0x40f14c]
inc eax
cmp eax, 1
sbb ebx, ebx
inc ebx
jne 0x4014bd
push 0
push esi
call dword [0x40f23c]
mov ebp, dword [esp + 0x83c]
test ebp, ebp
je 0x4015ae
cmp dword [0x40f294], 0
jne 0x4014e1
cmp byte [ebp], 0
je 0x4015ae
jmp 0x4014ec
cmp word [ebp], 0
je 0x4015ae
lea eax, [esp + 0x218]
push 0x40b1bc
push ebp
push eax
call dword [0x40f2b4]
lea eax, [esp + 0x224]
add esp, 0xc
push eax
call dword [0x40f14c]
cmp eax, 0xffffffff
je 0x4015ae
test ebx, ebx
jne 0x401538
lea eax, [esp + 0x628]
push 1
lea ecx, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
lea eax, [esp + 0x10]
push str.to_OldDir_VirtualStore_.lnk
push esi
push eax
call dword [0x40f2b4]
lea eax, [esp + 0x1c]
add esp, 0xc
push 0x40b180
push eax
push ebp
call fcn.00404ce0
lea eax, [esp + 0x224]
lea ecx, [esp + 0x1c]
add esp, 0xc
push eax
push str._s.obsolete
push ecx
call dword [0x40f198]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x224]
add esp, 0xc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x218]
push ecx
call dword [0x40f14c]
cmp eax, 0xffffffff
je 0x4015ae
lea eax, [esp + 0x218]
push eax
call dword [0x40f18c]
test edi, edi
jne 0x4015ba
test ebx, ebx
jne 0x40163c
lea eax, [esp + 0x420]
push eax
call dword [0x40f14c]
cmp eax, 0xffffffff
je 0x40163c
test ebx, ebx
jne 0x4015e9
lea eax, [esp + 0x628]
push 1
lea ecx, [esp + 0x424]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test edi, edi
je 0x40163c
lea eax, [esp + 0x420]
lea ecx, [esp + 0x10]
push eax
push 0x40b150
push ecx
call dword [0x40f198]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x42c]
add esp, 0xc
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x420]
push ecx
call dword [0x40f14c]
cmp eax, 0xffffffff
je 0x40163c
lea eax, [esp + 0x420]
push eax
call dword [0x40f18c]
lea eax, [esp + 0x10]
push str.to_ExeDir.lnk
push esi
push eax
call dword [0x40f2b4]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x840]
add esp, 0xc
push 0x40b180
push eax
push ecx
call fcn.00404ce0
add esp, 0xc
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x820
ret
Function at 0x401d70
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401e7f
push eax
mov dword fs:[0], esp
sub esp, 0x188
lea ecx, [ebp - 0x90]
push esi
push edi
push 1
push 0x80000001
call fcn.00404f50
push 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.00404f90
test eax, eax
je 0x401e6f
mov al, byte [0x40b240]
lea edi, [ebp - 0x193]
mov ecx, 0x40
mov byte [ebp - 0x194], al
xor eax, eax
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x194]
lea ecx, [ebp - 0x90]
push eax
push str.Programs
call fcn.00405120
push 1
lea ecx, [ebp - 0x194]
push ecx
call fcn.004054f0
add esp, 8
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x194]
push 0x104
push ecx
mov dword [esi + 0x20], eax
push str.Desktop
lea ecx, [ebp - 0x90]
call fcn.00405120
push 1
lea eax, [ebp - 0x194]
push eax
call fcn.004054f0
add esp, 8
lea ecx, [ebp - 0x90]
mov dword [esi + 0x24], eax
call fcn.00405100
mov dword [ebp - 4], 0xffffffff
call fcn.00401e89
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
call fcn.00401e89
xor eax, eax
jmp 0x401e5f
Function at 0x402420
Capabilities:
Get file size
Read file via mapping
Timestomp file
Write file on windows

Disassembly:
sub esp, 0x24
mov dword [esp + 4], 0
push ebx
push esi
push edi
push ebp
mov eax, dword [esp + 0x38]
push 0
push 0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 3
push 0
push 1
push 0x80000000
push eax
call edi
cmp eax, 0xffffffff
mov esi, eax
jne 0x40245c
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
push 0
mov eax, dword [esp + 0x40]
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push eax
call edi
cmp eax, 0xffffffff
mov edi, eax
je 0x402537
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x40252c
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x40251e
lea eax, [esp + 0x18]
push 0
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402517
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], eax
jne 0x402517
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x40250f
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [esp + 0x14], 1
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push edi
call ebx
jmp 0x40253d
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
jmp 0x40253d
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x402550
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x410
lea eax, [esp]
push esi
mov esi, dword [esp + 0x41c]
push edi
push esi
push str._s.new
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x428]
add esp, 0xc
push ecx
push eax
call fcn.00402420
add esp, 8
test eax, eax
jne 0x402597
xor eax, eax
pop edi
pop esi
add esp, 0x410
ret
mov eax, dword [0x40d104]
cmp al, 4
jb 0x4025be
cmp eax, 0x80000000
jae 0x4025be
lea eax, [esp + 8]
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
add esp, 0x410
ret
lea eax, [esp + 0x210]
push 0x104
lea ecx, [esp + 0xc]
push eax
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call edi
lea ecx, [esp + 0x314]
push 0x104
push ecx
push esi
call edi
lea eax, [esp + 0x10c]
push 0x104
push eax
mov edi, str.WININIT.INI
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x10c]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10c]
lea ecx, [esp + 0x210]
lea edx, [esp + 0x314]
push eax
push ecx
push edx
push 0x40b33c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
add esp, 0x410
ret
Function at 0x402660
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xe78
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea edi, [esp + 0x14]
xor eax, eax
mov ecx, 0xe
mov dword [esp + 0x10], ebx
push 0x208
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc80]
mov dword [esp + 0x10], ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [esi]
push 0x104
lea eax, [esp + 0x50]
mov ecx, esi
push eax
push 0x46f
call dword [edi + 0xac]
test eax, eax
jne 0x4026ba
xor eax, eax
jmp 0x402861
cmp dword [0x40f294], 0
jne 0x4026d6
dec eax
mov ecx, dword [0x40f17c]
imul ecx, eax
cmp byte [esp + ecx + 0x4c], 0x5c
jne 0x40270b
jmp 0x4026e8
dec eax
mov ecx, dword [0x40f17c]
imul ecx, eax
cmp word [esp + ecx + 0x4c], 0x5c
jne 0x40270b
cmp dword [0x40f294], 0
mov ecx, dword [0x40f17c]
je 0x402703
imul ecx, eax
mov word [esp + ecx + 0x4c], 0
jmp 0x40270b
imul ecx, eax
mov byte [esp + ecx + 0x4c], 0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x664]
lea edx, [esp + 0x4c]
push eax
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x402733
xor eax, eax
jmp 0x402861
lea eax, [esp + 0x254]
push 0
push 0x1a
push eax
push 0
call fcn.00404a40
add esp, 0x10
test eax, eax
jne 0x402754
xor eax, eax
jmp 0x402861
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x254]
lea edx, [esp + 0xa74]
push eax
push ecx
push edx
call dword [0x40f2b4]
lea ecx, [esp + 0x670]
lea edx, [esp + 0x260]
add esp, 0xc
push ecx
push edx
call dword [0x40f158]
lea ecx, [esp + 0x874]
lea edx, [esp + 0x25c]
add esp, 8
push ecx
push edx
call fcn.00404ba0
add esp, 8
test eax, eax
mov eax, 0
je 0x402861
lea eax, [esp + 0x86c]
lea ecx, [esp + 0xa74]
lea edx, [esp + 0x4c]
push eax
push ecx
mov eax, dword [esi + 0xbc]
push edx
mov ecx, dword [esi + 0xb8]
push eax
mov edx, dword [esi + 0xa0]
push ecx
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0xe9c]
push edx
push eax
mov edx, dword [esi + 0x98]
push ecx
mov eax, dword [esi + 0x3c]
lea ecx, [esp + 0x274]
push edx
push eax
push str._runas_p__d__d__d__d___s____s____s____s____s_
push ecx
call dword [0x40f198]
mov dword [esp + 0x40], 0x3c
lea ecx, [esp + 0xcac]
add esp, 0x30
lea edx, [esp + 0x254]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
push 0
mov dword [esp + 0x20], str.runas
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 1
mov edi, dword [edi + 0xd8]
mov ecx, esi
call edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
push 1
mov ecx, esi
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0xe78
ret 4
Function at 0x4035f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x450
mov dword [esp], 0
push ebx
push esi
mov ebx, dword [esp + 0x45c]
push edi
lea eax, [esp + 0x10]
push ebp
push ebx
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x228]
lea ecx, [esp + 0x20]
add esp, 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
push ecx
call ebp
cmp eax, 0xffffffff
mov ebp, eax
jne 0x403640
xor eax, eax
jmp 0x403738
lea eax, [esp + 0x248]
lea ecx, [esp + 0x14]
push eax
push ebx
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x36c]
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
add esp, 0x10
push ecx
push edx
push eax
call fcn.00403520
add esp, 0xc
test eax, eax
je 0x403716
cmp byte [esp + 0x35c], 0
jne 0x403716
lea edi, [esp + 0x118]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, str.FastCopy.exe
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jge 0x403716
push ecx
sub edx, ecx
push str.FastCopy.exe
lea eax, [esp + edx + 0x120]
push eax
call fcn.004048d0
add esp, 0xc
test eax, eax
jne 0x403716
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x468], 0
mov dword [esp + 0x10], eax
je 0x403716
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [esp + 0x468]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x21c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403640
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x450
ret 8
Function at 0x405e30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405ec0
push eax
mov dword fs:[0], esp
sub esp, 4
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0x4096a8
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
lea edx, [esi + 0x10]
mov dword [esi + 0xc], ecx
mov eax, 0x80000000
mov dword [esi], 0x4096e8
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x30], ecx
lea edi, [esi + 0x20]
mov dword [edx], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [edi + 8], eax
mov eax, esi
mov dword [edi + 0xc], edx
mov edi, dword [ebp + 8]
mov dword [esi + 0x38], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4085c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a168
push 0x408762
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT40.dll___set_app_type]
add esp, 4
mov dword [0x40f334], 0xffffffff
mov eax, dword [0x40f334]
mov dword [0x40f338], eax
call dword [sym.imp.MSVCRT40.dll___p__fmode]
mov ecx, dword [0x40d0b0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT40.dll___p__commode]
mov ecx, dword [0x40d0ac]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT40.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40f33c], eax
call fcn.004087b0
cmp dword [0x40d0a8], 0
jne 0x408650
push 0x4087a0
call dword [sym.imp.MSVCRT40.dll___setusermatherr]
add esp, 4
call fcn.00408780
push 0x40b014
push 0x40b010
call sub.MSVCRT40.dll__initterm
add esp, 8
mov eax, dword [0x40d0a4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x40d0a0]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCRT40.dll___getmainargs]
add esp, 0x14
push 0x40b00c
push section..data
call sub.MSVCRT40.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT40.dll___p__acmdln]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x4086c4
mov al, byte [ebp - 0x40]
inc esi
mov al, byte [esi]
test al, al
je 0x4086bc
cmp al, 0x22
jne 0x4086b1
cmp byte [esi], 0x22
jne 0x4086ce
inc esi
jmp 0x4086ce
cmp al, 0x20
jbe 0x4086ce
inc esi
cmp byte [esi], 0x20
ja 0x4086c8
cmp byte [esi], 0
je 0x4086de
cmp byte [esi], 0x20
ja 0x4086de
inc esi
cmp byte [esi], 0
jne 0x4086d3
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x5c], 1
mov eax, 0xa
je 0x408705
mov eax, dword [ebp - 0x58]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.MSVCRT40.dll_exit]
jmp 0x408748
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c36e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0x20], 0
mov edi, dword [ebp + 0xc]
je 0x1000c4b2
xor edx, edx
mov dword [ebp - 0x390], 1
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x394], edx
jb 0x1000c3b2
mov eax, dword [esi]
jmp 0x1000c3b4
mov eax, esi
lea ecx, [ebp - 0x394]
push ecx
push edx
lea ecx, [ebp - 0x390]
push ecx
push edx
push eax
push dword [ebx + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x1000c49d
cmp dword [ebp - 0x390], 1
je 0x1000c3ef
cmp dword [ebp - 0x390], 2
jne 0x1000c49d
test ecx, ecx
je 0x1000c410
push esi
lea eax, [ebx + 8]
push eax
push str.ORegistryKey.GetValue_failure:_Cannot_get_registry__s_value__s
push ecx
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.100088e9
jmp 0x1000c4c5
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x1000c41e
mov eax, dword [edi]
jmp 0x1000c420
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x394]
cmp ecx, 2
ja 0x1000c434
mov al, 1
jmp 0x1000c49f
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, edi
call fcn.1000f5d8
cmp dword [edi + 0x14], 8
jb 0x1000c44b
mov ecx, dword [edi]
jmp 0x1000c44d
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x1000c457
mov eax, dword [esi]
jmp 0x1000c459
mov eax, esi
lea edx, [ebp - 0x394]
push edx
push ecx
lea ecx, [ebp - 0x390]
push ecx
push 0
push eax
push dword [ebx + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000c488
push esi
lea ecx, [ebx + 8]
push ecx
push str.ORegistryKey.GetValue_failure:_Cannot_get_registry__s_value__s
push eax
jmp 0x1000c3fe
mov eax, dword [ebp - 0x394]
mov ecx, edi
shr eax, 1
push 0
dec eax
push eax
call fcn.1000f5d8
jmp 0x1000c430
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102790a9
mov esp, ebp
pop ebp
ret 8
push esi
push str.ORegistryKey.GetValue_failure:_Cannot_get_value._The_tregistry_key_is_closed_or_not_set
push 0x3a
lea ecx, [ebp - 0x38c]
call fcn.10008a70
push 0x1060513c
lea eax, [ebp - 0x38c]
push eax
call fcn.1027a8f4
int3

Function at 0x10013922
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp + 0xc], edx
jbe 0x10013948
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x10013935
pop esi
mov eax, ecx
pop ebp
ret 8