joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452300
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x452210]
call fcn.004053b0
add esp, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call fcn.00402c48
mov ebx, dword [ebp - 8]
dec ebx
test ebx, ebx
jl 0x4522a8
inc ebx
xor ecx, ecx
mov eax, ecx
mov esi, 0x7cf
cdq
idiv esi
mov eax, edx
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + ecx]
xor dl, byte [eax + 0x456d58]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
inc ecx
dec ebx
jne 0x452286
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.00402c48
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452307
lea eax, [ebp - 0x14]
mov edx, dword [0x452210]
call fcn.004053bc
ret

Function at 0x454bac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x454c80
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x457fc8]
mov eax, dword [eax]
call fcn.00450904
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x454c5b
mov eax, dword [ebp - 8]
call fcn.00407f90
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [0x457d04]
mov edx, 0x454c98
call fcn.00404714
mov eax, dword [ebp - 0x18]
call fcn.004048c8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x454c4e
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.00404600
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00402a58
jmp 0x454c62
mov eax, esi
call fcn.00404408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c87
lea eax, [ebp - 0x18]
call fcn.00404408
lea eax, [ebp - 4]
call fcn.00404408
ret
Function at 0x40a58d
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x59c
mov eax, 0x5704db
call fcn.00523ccd
xor eax, eax
push 0x206
mov word [ebp - 0x430], ax
xor ebx, ebx
lea eax, [ebp - 0x42e]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x470], edi
call fcn.00517e90
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40a6a3
lea eax, [ebp - 0x430]
push eax
lea esi, [ebp - 0x44c]
mov dword [ebp - 4], ebx
call fcn.0040338f
mov edx, esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004085ed
push 1
xor edi, edi
call fcn.00404145
or dword [ebp - 4], 0xffffffff
jmp 0x40a714
lea eax, [ebp - 0x510]
push eax
call fcn.004036c8
mov esi, eax
push str.Cannot_get_CSIDL_PROGRAM_FILES_path.
push esi
mov dword [ebp - 4], 5
call fcn.00405d7d
pop ecx
pop ecx
lea eax, [ebp - 0x44c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 6
cmp dword [ebp - 0x438], 8
mov eax, dword [ebp - 0x44c]
jae 0x40a6ec
lea eax, [ebp - 0x44c]
push eax
push 2
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x44c]
call fcn.00404145
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x510]
call fcn.00402669
lea eax, [ebp - 0x46c]
push eax
mov dword [ebp - 0x46c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x40a738
mov dword [ebp - 0x46c], ebx
cmp dword [ebp - 0x46c], 1
jne 0x40a7ad
xor eax, eax
push 0x208
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push ebx
push eax
call fcn.00517e90
add esp, 0xc
push 0x105
lea eax, [ebp - 0x228]
push eax
push 0x584abc
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x40a7ad
lea eax, [ebp - 0x228]
push eax
lea esi, [ebp - 0x44c]
mov dword [ebp - 4], 7
call fcn.0040338f
mov ecx, dword [ebp - 0x470]
mov edx, esi
mov byte [ebp - 4], 8
call fcn.004085ed
push 1
xor edi, edi
call fcn.00404145
call fcn.00523d29
ret
Function at 0x412587
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c8b3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx]
mov esi, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x98], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4125f4
cmp eax, 1
je 0x4125f4
xor al, al
jmp 0x4125f7
xor eax, eax
inc eax
push 0x49
push eax
mov edi, str.srcApplicationLaunchInfoCollector.cpp
call int.004922e6
pop ecx
pop ecx
xor eax, eax
push 7
pop ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], ecx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], eax
mov word [esp + 0x48], dx
mov dword [esp + 0x74], eax
mov word [esp + 0x64], cx
mov byte [esp + 0x98], 1
mov ecx, dword [esi + 0x20]
sub ecx, eax
je 0x4126f0
dec ecx
jne 0x412731
mov esi, dword [ebx + 0x24]
jmp 0x41267d
mov edi, dword [esp + 0x14]
lea ecx, [esi + 0x14]
mov eax, edi
call fcn.00410033
test al, al
je 0x41267a
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x1c]
jne 0x41267a
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x412687
add esi, 0x50
cmp esi, dword [ebx + 0x28]
jne 0x412658
jmp 0x412731
lea edi, [esp + 0x2c]
call fcn.004930b5
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
push esi
mov ecx, ebx
mov dword [esi + 0xc], eax
call fcn.00412772
mov eax, dword [ebx + 0x28]
lea edi, [esi + 0x50]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x4126ce
mov dword [esp + 0x14], esi
sub dword [esp + 0x14], edi
mov esi, dword [esp + 0x14]
lea esi, [esi + edi]
call fcn.00413398
add edi, 0x50
cmp edi, dword [esp + 0x18]
jne 0x4126b9
mov esi, dword [ebx + 0x28]
lea edi, [esi - 0x50]
cmp edi, esi
je 0x4126ea
mov ebx, edi
call fcn.004133d5
add edi, 0x50
cmp edi, esi
jne 0x4126d8
mov ebx, dword [esp + 0x1c]
add dword [ebx + 0x28], 0xffffffb0
jmp 0x412731
push 0xffffffffffffffff
push eax
mov eax, esi
lea ecx, [esp + 0x50]
call fcn.00404082
mov eax, dword [esi + 0x1c]
lea edi, [esp + 0x24]
mov dword [esp + 0x44], eax
call fcn.004930b5
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
and dword [esp + 0x3c], 0
and dword [esp + 0x40], 0
lea esi, [ebx + 0x24]
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
call fcn.00412f49
push 1
xor edi, edi
lea esi, [esp + 0x68]
call fcn.00404145
push 1
lea esi, [esp + 0x4c]
call fcn.00404145
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret
Function at 0x48599c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56b754
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
lea ebx, [esp + 0xb0]
call fcn.0048595a
and dword [esp + 0xf8], 0
mov eax, ebx
call fcn.004954de
test al, al
je 0x485aaa
cmp dword [esp + 0xc4], 8
mov eax, dword [esp + 0xb0]
jae 0x485a12
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x485aaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x14]
push eax
call fcn.004036c8
mov esi, eax
push str.Cannot_delete_VRDevicesInfo_file:
push esi
mov byte [esp + 0x100], 1
call fcn.00405d7d
pop ecx
pop ecx
push edi
push esi
call fcn.0041056c
lea eax, [esp + 0xcc]
push eax
mov eax, esi
call fcn.00403732
push 2
pop ecx
mov byte [esp + 0xf8], cl
cmp dword [esp + 0xe0], 8
mov eax, dword [esp + 0xcc]
jae 0x485a82
lea eax, [esp + 0xcc]
push eax
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xd0]
call fcn.00404145
lea eax, [esp + 0x14]
mov byte [esp + 0xf8], 0
call fcn.00402669
push 1
xor edi, edi
lea esi, [esp + 0xb4]
call fcn.00404145
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret

Function at 0x486514
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5f7350]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor edi, edi
push 0x208
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x21c], edi
call fcn.00517e90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, eax
cmp edx, edi
jge 0x486576
push 0x18
mov eax, str.srcClientPaths.cpp
call fcn.0042ca65
lea eax, [ebp - 0x218]
push eax
call fcn.0040338f
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0051497f
leave
ret
Function at 0x491861
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x559c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
push 0x31a
setne al
movzx eax, al
push eax
mov edi, str.srcwindows_registry.cpp
mov ebx, edx
call fcn.0049231b
cmp dword [ebx + 0x14], 8
pop ecx
pop ecx
jb 0x4918c8
mov ebx, dword [ebx]
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x491956
lea eax, [esp + 0x14]
push eax
call fcn.004036c8
mov ebx, eax
and dword [esp + 0x170], 0
push str.RegDeleteValue_failed_with
push ebx
call fcn.00405d7d
pop ecx
pop ecx
push esi
push ebx
call fcn.00410478
lea eax, [esp + 0xb0]
push eax
mov eax, ebx
call fcn.00403732
mov byte [esp + 0x170], 1
test esi, esi
jle 0x491926
and esi, 0xffff
or esi, 0x80070000
push 1
push 0x323
push edi
push esi
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.0049844a
push 0x5c983c
lea eax, [esp + 0xd0]
push eax
call fcn.0051ed55
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret

Function at 0x49197a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x559c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
cmp dword [esi], 0
mov dword [esp + 0x10], eax
setne al
movzx eax, al
push 0x329
push eax
mov edi, str.srcwindows_registry.cpp
mov ebx, edx
call fcn.0049231b
cmp dword [ebx + 0x14], 8
pop ecx
pop ecx
jb 0x4919e8
mov ebx, dword [ebx]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [ebp + 0x10]
push 0
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x491a82
lea eax, [esp + 0x14]
push eax
call fcn.004036c8
mov ebx, eax
and dword [esp + 0x170], 0
push str.RegSetValueExW_failed_with
push ebx
call fcn.00405d7d
pop ecx
pop ecx
push esi
push ebx
call 0x56410478
push ebp
Function at 0x491e81
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00491ac9
push eax
push esi
push dword [ebp + 8]
call fcn.00491a7e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
in al, 0x2b

Function at 0x491f18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in al, 0x2b
call fcn.00491ac9
push eax
push esi
push dword [ebp + 8]
call fcn.00491a7e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00491ab9
xchg ebx, eax
ja 0x491f58
invalid
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
invalid
invalid
Function at 0x49219c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x492190
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4921ae
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [ebx + 0x108c794], cl
add byte [eax], al
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x49220c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4921f3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4921fc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x492206
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4921e8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x492172
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x492259
dec eax
je 0x492250
sub eax, 3
je 0x492247
mov dword [ebp - 4], 0x40
jmp 0x492276
mov dword [ebp - 4], 4
jmp 0x49225c
mov dword [ebp - 4], 0x20
jmp 0x49225c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4922a8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x492228
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00491ab9
invalid

Function at 0x4922e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
invalid
invalid

Function at 0x493656
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00491ac9
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00491a2a
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x493a31
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00491ab9
or edi, dword [ecx - 0x4a000299]
pushal
cld
invalid
Function at 0x401b93
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x408128
call fcn.004034ac
mov edi, 0x94
mov eax, edi
call fcn.00403500
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4466fc], ecx
mov eax, dword [esi + 4]
mov dword [0x446708], eax
mov edx, dword [esi + 8]
mov dword [0x44670c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x446700], esi
cmp ecx, 2
je 0x401bf3
or esi, 0x8000
mov dword [0x446700], esi
shl eax, 8
add eax, edx
mov dword [0x446704], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401c2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c2e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401c46
cmp eax, 0x20b
je 0x401c33
mov dword [ebp - 0x1c], esi
jmp 0x401c5a
cmp dword [ecx + 0x84], 0xe
jbe 0x401c2e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x401c54
cmp dword [ecx + 0x74], 0xe
jbe 0x401c2e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0040345a
pop ecx
test eax, eax
jne 0x401c86
cmp dword [0x4466ec], 1
jne 0x401c73
call fcn.00402c03
push 0x1c
call fcn.00402a8c
push 0xff
call fcn.00401fa0
pop ecx
pop ecx
call fcn.004033b8
mov dword [ebp - 4], esi
call fcn.0040320d
test eax, eax
jge 0x401c9f
push 0x1b
call fcn.00401b6e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x447c94], eax
call fcn.004030eb
mov dword [0x4466e4], eax
call fcn.00403049
test eax, eax
jge 0x401cc5
push 8
call fcn.00401b6e
pop ecx
call fcn.00402e16
test eax, eax
jge 0x401cd6
push 9
call fcn.00401b6e
pop ecx
call fcn.00401fd0
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x401ce9
push eax
call fcn.00401b6e
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402dad
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x401d0a
movzx eax, word [ebp - 0x34]
jmp 0x401d0d
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.00401654
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x401d2b
push edi
call fcn.004020f7
call fcn.00402119
jmp 0x401d5d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004034e7
ret
Function at 0x402035
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x44673c], esi
push edi
jne 0x402055
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x446738], esi
mov byte [0x446734], al
jne 0x4020bb
mov ecx, dword [0x447c88]
test ecx, ecx
je 0x40209c
mov eax, dword [0x447c84]
sub eax, 4
cmp eax, ecx
jmp 0x402095
mov eax, dword [eax]
test eax, eax
je 0x402087
call eax
mov eax, dword [0x447c84]
sub eax, 4
cmp eax, dword [0x447c88]
mov dword [0x447c84], eax
jae 0x40207f
mov eax, 0x446024
mov esi, 0x44602c
cmp eax, esi
mov edi, eax
jae 0x4020bb
mov eax, dword [edi]
test eax, eax
je 0x4020b4
call eax
add edi, 4
cmp edi, esi
jb 0x4020ac
mov eax, 0x446030
mov esi, 0x446038
cmp eax, esi
mov edi, eax
jae 0x4020da
mov eax, dword [edi]
test eax, eax
je 0x4020d3
call eax
add edi, 4
cmp edi, esi
jb 0x4020cb
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x4020f5
push dword [ebp + 8]
mov dword [0x44673c], 1
call fcn.00401fa0
pop ecx
pop ebp
ret

Function at 0x402a8c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x446440]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x446090]
je 0x402ab9
inc eax
cmp eax, 0x12
jb 0x402aaa
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x446090]
jne 0x402bed
mov eax, dword [0x4466ec]
cmp eax, 1
je 0x402bc8
cmp eax, edx
jne 0x402ae9
cmp dword [0x44607c], 1
je 0x402bc8
cmp ecx, 0xfc
je 0x402bed
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402b22
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00404a30
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00404c60
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x402b64
lea eax, [ebp - 0x10c]
push eax
call fcn.00404c60
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x408508
push edi
call fcn.00404b30
add esp, 0x10
push edi
call fcn.00404c60
push dword [esi + 0x446094]
mov ebx, eax
call fcn.00404c60
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00403500
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00404a30
push edi
push ebx
call fcn.00404a40
push 0x4084e8
push ebx
call fcn.00404a40
push dword [esi + 0x446094]
push ebx
call fcn.00404a40
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00404935
add esp, 0x2c
jmp 0x402bed
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x446094]
push dword [esi]
call fcn.00404c60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00404d1c
pop edi
pop esi
pop ebx
leave
ret