joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50fb70
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebp, 2
je 0x50fbef
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50fbc0
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.004d1630
add esp, 0x10
cmp dword [esp + 0x24], 0xffffffff
je 0x50fbc0
push 0
push 0
push 0x66
push 0x10a
push 0x10
call fcn.004af2c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
ret
test esi, esi
je 0x50fba5
cmp edi, 0x40a
je 0x50fbe4
cmp edi, 0x43f
je 0x50fbe4
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x50fbe9
mov eax, 0x20
cmp dword [esp + 0x20], eax
jne 0x50fba5
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.004b77e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x50fc21
push eax
push eax
push 0x41
push 0x10a
push 0x10
call fcn.004af2c0
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
test ebp, ebp
jne 0x50fc38
push dword [esp + 0x24]
push esi
push ebx
call fcn.005b5a50
add esp, 0xc
jmp case.0x50fd62.1036
cmp edi, 0x40a
je 0x50fc58
cmp edi, 0x43f
je 0x50fc58
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x50fc5d
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.004ea1d0
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x50fc8b
push eax
push eax
push 0x41
push 0x10a
push 0x10
call fcn.004af2c0
add esp, 0x14
jmp 0x50fcde
cmp ebp, 2
jne 0x50fd1d
cmp edi, 0x40a
je 0x50fcb4
cmp edi, 0x43f
je 0x50fcb4
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x50fcb9
mov eax, 0x20
push eax
push esi
call fcn.004bac50
add esp, 8
test eax, eax
jg 0x50fcf5
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.004ea1c0
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.004b7530
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
cmp edi, 0x40a
jne 0x50fd0c
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x50fd50
cmp edi, 0x40b
jne 0x50fd50
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x50fd50
cmp edi, 0x40a
je 0x50fd3d
cmp edi, 0x43f
je 0x50fd3d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x50fd42
mov eax, 0x20
push eax
push dword [esp + 0x24]
push esi
call fcn.005b5a50
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x50fd62.1036
movzx eax, byte [eax + 0x50fdbc]
jmp dword [eax*4 + 0x50fda8]
push esi
push ebx
call fcn.0053b420
jmp 0x50fd8b
push esi
push ebx
call fcn.0053af70
jmp 0x50fd8b
push esi
push ebx
call fcn.00547050
jmp 0x50fd8b
push esi
push ebx
call fcn.00549630
add esp, 8
push ebx
push edi
push dword [esp + 0x1c]
call fcn.004a45e0
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x517dc0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x517e5d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x517de1
cmp al, 0x6b
jne 0x517e5d
inc ecx
cmp al, 0x6b
jne 0x517e25
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x517e02
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x517e02
cmp dl, 0xbb
jne 0x517e08
inc eax
cmp eax, esi
jl 0x517df0
sub esi, eax
test eax, eax
jne 0x517e28
push 0
push 0
push 0x8a
push 0x80
push 4
call fcn.004af2c0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x517e4b
push 0
push 0
push 0x8b
push 0x80
push 4
call fcn.004af2c0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.005b5a50
add esp, 0xc
mov eax, esi
pop esi
ret
push 0
push 0
push 0x89
push 0x80
push 4
call fcn.004af2c0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x51c740
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005b3d10
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.00507bc0
add esp, 4
cmp eax, 0x72
jne 0x51c8ad
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ebp
push edi
mov edi, dword [esp + 0x2c]
mov ebp, eax
push edi
push esi
push dword [esp + 0x2c]
and eax, 1
shr ebp, 1
push dword [esp + 0x2c]
add eax, ebp
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x24], eax
call fcn.004e0490
push eax
call fcn.0051c4e0
add esp, 0x1c
test eax, eax
jne 0x51c7a2
pop edi
pop ebp
pop esi
pop ecx
ret
push ebx
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.004b7500
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x51c7d4
push eax
push eax
push 0x41
push 0x6f
push 0x34
call fcn.004af2c0
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
mov eax, dword [esp + 0x1c]
push edi
push ebx
push dword [esp + 0x30]
add eax, ebp
push dword [esp + 0x30]
push dword [esp + 0x20]
push eax
call fcn.004a5dd0
push eax
call fcn.0051c4e0
add esp, 0x1c
test eax, eax
jne 0x51c817
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.004b75f0
add esp, 0x10
xor eax, eax
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
xor edx, edx
test edi, edi
je 0x51c88e
cmp edi, 0x20
jb 0x51c86b
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x51c834
cmp ecx, ebx
jae 0x51c86b
mov ecx, edi
mov ebp, ebx
and ecx, 0xffffffe0
mov eax, esi
sub ebp, esi
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x51c840
cmp edx, edi
jae 0x51c88e
mov ebp, ebx
lea ecx, [edx + esi]
sub ebp, esi
mov esi, edi
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x51c880
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.004b75f0
add esp, 0x10
mov eax, 1
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call fcn.0051c4e0
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret
Function at 0x559d50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, 0x400
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, 0x80
mov esi, edx
mov ecx, edi
mov byte [ebp], 0
cmp dword [esp + 0x18], ecx
cmovle ecx, dword [esp + 0x18]
test eax, eax
cmovg esi, eax
cmp esi, edx
cmovg esi, edx
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x559da5
mov ebx, dword [esp + 0x1c]
mov edx, ebp
sub ebx, ebp
mov esi, ecx
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x559d93
mov esi, dword [esp + 0x14]
movzx ebx, byte [ecx + ebp - 1]
cmp ecx, edi
jge 0x559dca
mov edx, ebp
movzx eax, byte [edx]
lea edx, [edx + 1]
add eax, ebx
movzx eax, al
movzx ebx, byte [eax + 0x682568]
mov byte [ecx + ebp], bl
inc ecx
cmp ecx, edi
jl 0x559db0
mov ecx, dword [esp + 0x14]
lea ebx, [esi + 7]
sar ebx, 3
neg ecx
sub edi, ebx
and ecx, 7
movzx eax, byte [edi + ebp]
lea esi, [edi + ebp]
mov edx, 0xff
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x682568]
mov byte [esi], cl
test edi, edi
je 0x559e18
nop dword [eax + eax]
movzx eax, byte [esi + ebx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x682568]
mov byte [esi], cl
sub edi, 1
jne 0x559e00
lea esi, [ebp + 0xfc]
mov edi, 0x40
lea edx, [ebp + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x559e26
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x55c030
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, 0x98
call fcn.005b3d10
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 4], edi
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x58], 0x61707865
mov dword [esp + 0x5c], 0x3320646e
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], 0x79622d32
mov dword [esp + 0x64], 0x6b206574
test eax, eax
je 0x55c22d
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
nop
mov esi, 0x40
cmp eax, esi
cmovb esi, eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esi
push eax
call fcn.0055c250
add esp, 8
xor eax, eax
test esi, esi
je 0x55c1fc
cmp esi, 0x20
jb 0x55c1d4
lea edx, [edi - 1]
lea ecx, [esp + esi + 0x23]
add edx, esi
cmp edi, ecx
ja 0x55c14c
lea ecx, [esp + 0x24]
cmp edx, ecx
jae 0x55c1d4
lea ecx, [ebx - 1]
add ecx, esi
cmp edi, ecx
ja 0x55c159
cmp edx, ebx
jae 0x55c1d4
mov ebp, esi
lea edx, [edi + 0x10]
lea esi, [esp + 0x24]
mov ecx, ebx
sub ecx, esi
and ebp, 0xffffffe0
mov dword [esp + 0x14], ecx
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x14]
sub ecx, edi
mov esi, dword [esp + 0x18]
mov edi, ecx
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x24]
lea ecx, [ebx + eax]
movups xmm1, xmmword [esp + ecx + 0x24]
lea ecx, [esi + eax]
lea edx, [edx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x34]
add eax, 0x20
movups xmmword [esp + ecx + 0x24], xmm1
movups xmm1, xmmword [edi + edx - 0x20]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, ebp
jb 0x55c190
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xb0]
cmp eax, esi
jae 0x55c1fc
lea ecx, [esp + 0x24]
mov ebp, edi
sub ebx, ecx
sub ebp, ecx
lea edx, [esp + 0x24]
add edx, eax
inc eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edx + ebp], cl
cmp eax, esi
jb 0x55c1e2
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
add edi, esi
inc dword [esp + 0x94]
sub eax, esi
add ebx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
test eax, eax
jne 0x55c100
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
pop edi
xor ecx, esp
call fcn.005b35b0
add esp, 0x98
ret
Function at 0x5fca80
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x5fcaa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005e4a80
add esp, 4
or eax, 0xffffffff
jmp 0x5fcaa9
xor eax, eax
pop ebp
ret

Function at 0x5fcad0
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x5fcaf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005e4a80
add esp, 4
or eax, 0xffffffff
jmp 0x5fcaf9
xor eax, eax
pop ebp
ret

Function at 0x6011d7
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00600f2f

Function at 0x62b860
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.006190f0
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x62b89e
cmp dword [ebp + 8], 0
je 0x62b88c
lea eax, [ebp + 8]
push eax
call fcn.0062bc60
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x62b89e
mov eax, 4
jmp 0x62b9ce
call fcn.00618ec0
movzx edx, al
test edx, edx
jne 0x62b8cc
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x62b8bd
mov dword [ebp - 0xc], 4
jmp 0x62b8c4
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x62b9ce
movzx eax, byte [ebp - 1]
test eax, eax
je 0x62b975
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x62bbc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.005e40a7
lea ecx, [ebp - 8]
call fcn.0060f470
movzx edx, al
test edx, edx
jne 0x62b937
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.005e40b7
mov eax, dword [ebp - 0x10]
jmp 0x62b9ce
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00617750
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x62b962
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.005e40b7
mov eax, dword [ebp - 0x14]
jmp 0x62b9ce
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.005e40b7
mov eax, dword [ebp - 0x18]
jmp 0x62b9ce
call fcn.00619040
movzx ecx, al
test ecx, ecx
jne 0x62b9ae
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0062bb90
add esp, 0x10
jmp 0x62b9ce
call fcn.00618f50
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0062bb90
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x62b9e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.006190f0
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x62ba1e
cmp dword [ebp + 8], 0
je 0x62ba0c
lea eax, [ebp + 8]
push eax
call fcn.0062bc80
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x62ba1e
mov eax, 4
jmp 0x62bb4e
call fcn.00618ec0
movzx edx, al
test edx, edx
jne 0x62ba4c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x62ba3d
mov dword [ebp - 0xc], 4
jmp 0x62ba44
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x62bb4e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x62baf5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x62bc10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.005e40a7
lea ecx, [ebp - 8]
call fcn.0060f470
movzx edx, al
test edx, edx
jne 0x62bab7
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.005e40b7
mov eax, dword [ebp - 0x10]
jmp 0x62bb4e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00617750
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x62bae2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.005e40b7
mov eax, dword [ebp - 0x14]
jmp 0x62bb4e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.005e40b7
mov eax, dword [ebp - 0x18]
jmp 0x62bb4e
call fcn.00619040
movzx ecx, al
test ecx, ecx
jne 0x62bb2e
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0062bb60
add esp, 0x10
jmp 0x62bb4e
call fcn.00618f50
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0062bb60
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x62ef8e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0062e5de

Function at 0x62ef99
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0062e919
Function at 0x100be85
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1002ae0
call fcn.0100c180
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x100bec2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100bec2
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100beda
cmp eax, 0x20b
je 0x100bec7
mov dword [ebp - 0x1c], ebx
jmp 0x100beee
cmp dword [ecx + 0x84], 0xe
jbe 0x100bec2
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100bee8
cmp dword [ecx + 0x74], 0xe
jbe 0x100bec2
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1017860], 0xffffffff
or dword [0x1017864], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1017858]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1017854]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x101785c], eax
call fcn.0100c178
cmp dword [0x100eb60], ebx
jne 0x100bf49
push fcn.0100c178
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100c161
push 0x100e018
push 0x100e014
call sub.msvcrt.dll__initterm
mov eax, dword [0x1017850]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x101784c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x100e010
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x100bfdf
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x100bfb3
cmp al, 0x22
jne 0x100bfa5
cmp byte [esi], 0x22
jne 0x100bfbc
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x100bfc6
cmp al, 0x20
jbe 0x100bfb8
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x100bfea
movzx eax, word [ebp - 0x50]
jmp 0x100bfed
cmp byte [esi], 0x20
jbe 0x100bfbc
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100bfdf
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100c00a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100c03f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100c1bb
ret

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 0x40366e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41907c]
jne 0x403678
repz ret
jmp fcn.004049bc

Function at 0x40aaaf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41907c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405868
and dword [ebp - 0x14], 0
cmp dword [0x41af9c], 0
mov dword [ebp - 0x18], eax
jne 0x40ab62
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ac0a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ac0a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41af9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41afa0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41afa4], eax
call edi
push eax
call esi
mov dword [0x41afac], eax
test eax, eax
je 0x40ab62
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41afa8], eax
mov eax, dword [0x41afa8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40abbb
cmp dword [0x41afac], ecx
je 0x40abbb
push eax
call esi
push dword [0x41afac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40abbb
test ebx, ebx
je 0x40abbb
call edi
test eax, eax
je 0x40abb2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40abb2
test byte [ebp - 8], 1
jne 0x40abbb
or dword [ebp + 0x10], 0x200000
jmp 0x40abee
mov eax, dword [0x41afa0]
cmp eax, dword [ebp - 0x18]
je 0x40abee
push eax
call esi
test eax, eax
je 0x40abee
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40abee
mov eax, dword [0x41afa4]
cmp eax, dword [ebp - 0x18]
je 0x40abee
push eax
call esi
test eax, eax
je 0x40abee
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41af9c]
call esi
test eax, eax
je 0x40ac0a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ac0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040366e
leave
ret
Function at 0x40e5e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41304b
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x41907c]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x41907c]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
lea edx, [esp + 0x28]
push edx
xor ebx, ebx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x40e66a
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push ebx
mov eax, 0x41637c
call fcn.004012f0
jmp 0x40e77c
add eax, 2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00401da0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x850], ebx
mov edi, dword [esp + 0x2c]
push edi
push ecx
push ebx
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x40e6c0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push ebx
mov eax, 0x41637c
call fcn.004012f0
jmp 0x40e76f
push 0x7fe
lea edx, [esp + 0x42]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x48], cx
call fcn.00404910
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x40e718
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push ebx
mov eax, 0x41637c
mov word [esi], dx
call fcn.004012f0
jmp 0x40e76f
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x4c]
push 0x400
push eax
call fcn.0040367d
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
mov ecx, esi
mov eax, 0x41637c
je 0x40e76a
mov eax, dword [esp + 0x18]
call fcn.00401250
cmp edi, ebx
je 0x40e77c
push edi
call fcn.00403d7c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.0040366e
mov esp, ebp
pop ebp
ret