joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428ac2
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x461231
call fcn.00450d5a
mov eax, dword [ebp + 8]
mov esi, ecx
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
cmp dword [esi], 0xffffffff
je 0x428ba6
test eax, eax
je 0x428ba6
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1c], ecx
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
call ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edi, [esi + 0x18]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x428b97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x428b90
push 0x1388
push 0
lea eax, [ebp - 0x20]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x428b4d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 0x14], 0x80100020
jmp 0x428b97
cmp eax, 1
jne 0x428b72
push 0
push dword [ebp + 0xc]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x428b6b
mov dword [ebp - 0x14], 0x80100026
push dword [esi + 0x28]
call ebx
jmp 0x428b97
push dword [esi]
cmp eax, 0x102
jne 0x428b8a
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 0x14], 0x80100022
jmp 0x428b97
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [ebp - 0x14], 0x80100026
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00450dff
ret 0xc
mov eax, 0x80100014
call fcn.0040426a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
mov eax, 0x428bc0
ret
Function at 0x42a3fa
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x48d044]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x42a52d
lea eax, [ebx + 0x14]
mov dword [esp + 0x1c], vtable.CPCCSAutoWait.0
mov dword [esp + 0x20], eax
and dword [esp + 0x38], 0
push 0x5dc0
lea edi, [esp + 0x20]
call fcn.0040b2bc
lea edi, [ebx + 4]
lea esi, [esp + 0xc]
call fcn.004266c9
jmp 0x42a478
lea esi, [esp + 0xc]
call fcn.004282cf
mov ecx, dword [ebp + 8]
cmp dword [eax], ecx
lea edi, [esp + 0x24]
je 0x42a495
call fcn.004211d5
lea esi, [esp + 0x14]
lea edi, [ebx + 4]
call fcn.00405a83
mov edi, eax
lea esi, [esp + 0xc]
call fcn.00410aa7
test al, al
jne 0x42a45f
jmp 0x42a4a5
push dword [esp + 0x10]
lea esi, [ebx + 4]
push dword [esp + 0x10]
call fcn.004034ce
lea eax, [ebx + 0x24]
mov dword [esp + 0x14], vtable.CPCCSAutoWait.0
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
and dword [esp + 0xc], 0
push 0x64
lea edi, [esp + 0x18]
call fcn.0040b2bc
test eax, eax
jl 0x42a4f1
cmp dword [ebx + 0x34], 0
jle 0x42a50d
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x1f4
je 0x42a509
mov esi, dword [esp + 0x18]
test esi, esi
je 0x42a4ec
call fcn.0040b371
and dword [esp + 0x18], 0
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x1f4
jl 0x42a4be
jmp 0x42a50d
and dword [ebx + 0x34], 0
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x14]
call fcn.0040b338
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0040b338
xor eax, eax
jmp 0x42a532
mov eax, 0x80100012
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44bd6a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.0044c8f0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x46950c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jne 0x44be00
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.VCAPI
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x44be00
lea eax, [ebp - 0x110]
push eax
call esi
mov dword [0x4912c0], eax
cmp dword [0x4912c0], ebx
jne 0x44be1f
push str.VersitConverter.dll
call esi
cmp eax, ebx
mov dword [0x4912c0], eax
jne 0x44be1f
mov eax, 0x80100100
jmp 0x44be21
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x44be25
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push str.SOFTWAREPC_Connectivity_SolutionAPI_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x44be93
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.Options
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
pop ebx
jne 0x44be93
cmp dword [ebp - 8], 4
jne 0x44be93
mov eax, dword [ebp - 0xc]
jmp 0x44be95
xor eax, eax
pop esi
leave
ret
Function at 0x44c1f5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
inc dword [0x4912d0]
push esi
xor esi, esi
cmp dword [0x4912c0], esi
push edi
jne 0x44c2ed
call fcn.0044bd6a
cmp eax, esi
jne 0x44c2ef
push str.VCAPI_Initialize
push dword [0x4912c0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x44c2f5
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x4912c4], ecx
push ecx
call eax
mov edi, eax
cmp edi, esi
jge 0x44c262
push dword [0x4912c0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4912c0], esi
mov eax, edi
jmp 0x44c2ef
cmp dword [0x4912cc], esi
je 0x44c2b9
mov eax, dword [0x4912c8]
cmp eax, esi
je 0x44c2ad
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x4912c8], esi
je 0x44c2ad
push 0x3e8
push dword [0x4912cc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4912cc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [0x4912c8]
cmp eax, esi
je 0x44c2ad
push eax
call edi
mov dword [0x4912cc], esi
mov dword [0x4912c8], esi
call fcn.0044be25
test al, 1
jne 0x44c2ed
push esi
push esi
push 1
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4912c8], eax
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x44bf84
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4912cc], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov eax, 0x80100101
jmp 0x44c2ef

Function at 0x44c5c7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044c506
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0044c8f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44c616
cmp dword [ebp - 0x1c], 5
jb 0x44c62e
jmp 0x44c62a
cmp dword [ebp - 0x10], 1
jne 0x44c62e
cmp dword [ebp - 0x1c], 4
ja 0x44c62a
jne 0x44c62e
cmp dword [ebp - 0x18], 0
jbe 0x44c62e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46976c
call fcn.004044b9
test eax, eax
jge 0x44c64f
mov byte [0x491fb0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044c8d7
add ebp, 0x78
leave
ret

Function at 0x44c8d7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d044]
jne 0x44c8e1
repz ret
jmp fcn.00450ec2
Function at 0x44ef20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x44ef4d
call fcn.0045110e
mov dword [eax], esi
call fcn.004510fb
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044cb46
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x44ef29
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44ef7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00451121
pop ecx
call fcn.004510fb
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x44efa3
test al, 1
je 0x44efa3
test byte [esp + 0xc], 2
je 0x44efa3
call fcn.0045110e
mov dword [eax], 5
call fcn.004510fb
mov dword [eax], 0xd
jmp 0x44ef73
xor eax, eax
pop esi
ret

Function at 0x4540c5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x48d300]
je 0x4540e0
inc edi
cmp edi, 0x17
jb 0x4540d1
cmp edi, 0x17
jae 0x454260
push ebp
push 3
call fcn.0045a179
cmp eax, 1
pop ecx
je 0x45422c
push 3
call fcn.0045a179
test eax, eax
pop ecx
jne 0x454114
cmp dword [0x48d040], 1
je 0x45422c
cmp ebx, 0xfc
je 0x45425f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x491870
push ebp
call fcn.00450e31
add esp, 0xc
test eax, eax
je 0x45414a
push esi
push esi
push esi
push esi
push esi
call fcn.0044ca4a
add esp, 0x14
push 0x104
mov esi, 0x491889
push esi
push 0
mov byte [0x49198d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45418e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00450e31
add esp, 0xc
test eax, eax
je 0x45418e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0044ca4a
add esp, 0x14
push esi
call fcn.0044cbc0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4541d3
push esi
call fcn.0044cbc0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x491b84
push 0x469f08
sub ecx, eax
push ecx
push eax
call fcn.0045a0c6
add esp, 0x14
test eax, eax
je 0x4541d3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0044ca4a
add esp, 0x14
jmp 0x4541d5
xor esi, esi
push 0x46b49c
push ebx
push ebp
call fcn.0044ed0c
add esp, 0xc
test eax, eax
je 0x4541f5
push esi
push esi
push esi
push esi
push esi
call fcn.0044ca4a
add esp, 0x14
push dword [edi*8 + 0x48d304]
push ebx
push ebp
call fcn.0044ed0c
add esp, 0xc
test eax, eax
je 0x454217
push esi
push esi
push esi
push esi
push esi
call fcn.0044ca4a
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00459f09
add esp, 0xc
jmp 0x45425f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45425f
cmp ebp, 0xffffffff
je 0x45425f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x48d304]
push dword [esi]
call fcn.0044cbc0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x459f09
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00451221
xor ebx, ebx
cmp dword [0x491f14], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x459fdf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45a0bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x45a0bf
push eax
call fcn.004511b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x491f14], eax
call esi
push eax
call fcn.004511b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x491f18], eax
call esi
push eax
call fcn.004511b3
mov dword [0x491f1c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00452e9b
test eax, eax
pop ecx
pop ecx
je 0x459fad
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044ca4a
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x459fdf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004511b3
cmp eax, ebx
pop ecx
mov dword [0x491f24], eax
je 0x459fdf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004511b3
pop ecx
mov dword [0x491f20], eax
mov eax, dword [0x491f20]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45a064
cmp dword [0x491f24], ecx
je 0x45a064
push eax
call fcn.0045122a
push dword [0x491f24]
mov esi, eax
call fcn.0045122a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45a064
cmp edi, ebx
je 0x45a064
call esi
cmp eax, ebx
je 0x45a031
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45a031
test byte [ebp - 0x18], 1
jne 0x45a064
lea eax, [ebp - 0x10]
push eax
call fcn.00452ed2
test eax, eax
pop ecx
je 0x45a04c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044ca4a
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45a05b
or dword [ebp + 0x10], 0x200000
jmp 0x45a09f
or dword [ebp + 0x10], 0x40000
jmp 0x45a09f
mov eax, dword [0x491f18]
cmp eax, dword [ebp - 8]
je 0x45a09f
push eax
call fcn.0045122a
cmp eax, ebx
pop ecx
je 0x45a09f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45a09f
mov eax, dword [0x491f1c]
cmp eax, dword [ebp - 8]
je 0x45a09f
push eax
call fcn.0045122a
cmp eax, ebx
pop ecx
je 0x45a09f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x491f14]
call fcn.0045122a
cmp eax, ebx
pop ecx
je 0x45a0bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45a0c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10022d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10060f3]
mov esi, 0x18
lea edi, [esp + 0x6c]
mov dword [esp + 0x9c], 0x7d546fd8
mov dword [esp + 0x64], 0x3cc37f14
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
xor ebx, 0x350e08c4
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
mov eax, ebx
or eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
or eax, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x18
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
call fcn.01003760
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.010026d0
mov ecx, eax
mov dword [esp + 0x5c], 0
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x10023b2
mov eax, dword [esp + 0x5c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
jmp 0x100239c
mov eax, dword [esp + 0x64]
imul eax, eax, 0x6d7f65b7
mov ecx, dword [esp + 0x3c]
or ecx, ecx
mov edx, dword [esp + 0x34]
or edx, edx
mov esi, dword [esp + 0x9c]
xor esi, 0x2a11e6b1
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
xor ecx, 0xffffffff
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov dword [esp], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
call fcn.01003690
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
ja 0x1002494
mov eax, 0x4848cec6
lea ecx, [esp + 0x58]
mov edx, dword [esp + 0x60]
xor edx, 0x4c1bb99a
mov dword [esp + 0x8c], ecx
cmp eax, edx
jbe 0x1002421
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x58], 0
mov ecx, esp
lea edx, [esp + 0x58]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x50]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x30]
mov dword [ecx], edx
mov dword [ecx + 8], 0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
call ecx
sub esp, 0x10
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x14], eax
jmp 0x10023a8
mov eax, 0x7d556fd7
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x9c]
xor esi, 0x7d546fd8
mov di, cx
sub eax, edx
mov word [esp + 0x50], di
mov word [esp + 0x52], di
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
xor edx, 0x4f6ee1b2
mov dword [esp + 0xa0], edx
and ecx, eax
mov dword [esp + 0x68], 0
cmp ecx, esi
je 0x10023a8
jmp 0x1002421
Function at 0x1003690
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
or edx, 0x2b470478
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1b], 0x41
mov dword [esp + 0xc], 0x1a6e4ce7
cmp eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
je 0x1003723
xor eax, eax
mov cl, byte [esp + 0x1b]
mov edx, dword [esp + 8]
mov ch, byte [edx]
movsd xmm0, qword [esp + 0x10]
add cl, 0xbf
movsd qword [esp + 0x10], xmm0
cmp ch, cl
mov esi, eax
mov dword [esp], esi
mov dword [esp + 4], eax
je 0x1003723
mov eax, dword [esp]
mov ecx, 0x1a6e4ce8
mov dl, byte [esp + 0x1b]
mov esi, dword [esp + 0xc]
xor dl, 0x41
sub ecx, esi
mov dword [esp + 0x1c], 0x552cb60
mov esi, dword [esp + 8]
mov dh, byte [esi + eax]
mov edi, eax
add edi, ecx
cmp dh, dl
mov dword [esp], edi
mov dword [esp + 4], eax
jne 0x10036f0
mov eax, dword [esp + 4]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x1003f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], 0x320b832a
mov esi, 0x320b832a
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, 0x5cec50fe
mov dword [esp + 0x14], eax
mov eax, edi
mov dword [esp + 0x10], ecx
mov cl, al
mov byte [esp + 0xf], al
mov eax, edi
shl eax, cl
mov cl, byte [esp + 0xf]
shld ebx, edi, cl
xor edi, edi
mov cl, byte [esp + 0xf]
test cl, 0x20
cmovne ebx, eax
cmovne eax, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edx
jmp 0x1004058
mov eax, 0x320b8350
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x397a665
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, ecx
xor edx, edx
mov esi, dword [esp]
div esi
mov edi, dword [esp + 0x10]
mov bl, byte [edi + ecx]
sub bl, byte [edx + 0x1006119]
mov edx, dword [esp + 0x34]
xor edx, 0x320b830c
mov dword [esp + 0x30], 0x75a99c97
mov esi, dword [esp + 4]
mov byte [esi + ecx], bl
add ecx, edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x18]
cmp ecx, edx
jb 0x1003fdf
jmp 0x100408a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
cmp eax, 0x26
jne 0x1004058
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 0x586fa1ba
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 8]
shl eax, cl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax*4 + 0x1006140]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x18]
cmp eax, edx
jb 0x1003fdf
mov eax, 0x32e000cc
mov ecx, dword [esp + 0x20]
add ecx, 1
mov edx, dword [esp + 0x34]
xor edx, 0x4a7a456
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 8]
imul edi, esi, 0x6714ce0b
add ecx, edx
mov dword [esp + 0x30], edi
cmp eax, ecx
jb 0x100403f
jmp 0x1004050
Function at 0x4027c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403b48
push 0x40294c
mov eax, dword fs:[0x90]
pop eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT___set_app_type]
pop ecx
or dword [0x4079e4], 0xffffffff
or dword [0x4079e8], 0xffffffff
call dword [sym.imp.MSVCRT___p__fmode]
mov ecx, dword [0x4079d8]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT___p__commode]
mov ecx, dword [0x4079d4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4079e0], eax
call fcn.0040294b
cmp dword [0x405b80], ebx
jne 0x402849
push 0x402948
call dword [sym.imp.MSVCRT___setusermatherr]
pop ecx
call fcn.00402936
push 0x405014
push 0x405010
call sub.MSVCRT__initterm
mov eax, dword [0x4079d0]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x4079cc]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT___getmainargs]
push 0x40500c
push section..data
call sub.MSVCRT__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4028dc
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4028b0
cmp al, 0x22
jne 0x4028a2
cmp byte [esi], 0x22
jne 0x4028b9
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4028c3
cmp al, 0x20
jbe 0x4028b5
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4028e7
movzx eax, word [ebp - 0x2c]
jmp 0x4028ea
cmp byte [esi], 0x20
jbe 0x4028b9
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4028dc
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT__XcptFilter
pop ecx
pop ecx
ret
Function at 0x40ca0e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425a8c]
jne 0x40ca18
repz ret
jmp fcn.00410178

Function at 0x417a73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00412751
and dword [ebp - 4], 0
cmp dword [0x429768], 0
mov ebx, eax
jne 0x417b24
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417bd5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420c70
push edi
call esi
test eax, eax
je 0x417bd5
push eax
call fcn.004126df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429768], eax
call esi
push eax
call fcn.004126df
mov dword [esp], 0x420c4c
push edi
mov dword [0x42976c], eax
call esi
push eax
call fcn.004126df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429770], eax
call esi
push eax
call fcn.004126df
pop ecx
mov dword [0x429778], eax
test eax, eax
je 0x417b24
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004126df
pop ecx
mov dword [0x429774], eax
mov eax, dword [0x429774]
cmp eax, ebx
je 0x417b7c
cmp dword [0x429778], ebx
je 0x417b7c
push eax
call fcn.0041275a
push dword [0x429778]
mov esi, eax
call fcn.0041275a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417b7c
test edi, edi
je 0x417b7c
call esi
test eax, eax
je 0x417b73
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x417b73
test byte [ebp - 0xc], 1
jne 0x417b7c
or dword [ebp + 0x10], 0x200000
jmp 0x417bb5
mov eax, dword [0x42976c]
cmp eax, ebx
je 0x417bb5
push eax
call fcn.0041275a
pop ecx
test eax, eax
je 0x417bb5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x417bb5
mov eax, dword [0x429770]
cmp eax, ebx
je 0x417bb5
push eax
call fcn.0041275a
pop ecx
test eax, eax
je 0x417bb5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429768]
call fcn.0041275a
pop ecx
test eax, eax
je 0x417bd5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417bd7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret