joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100062fa
pop dword [ebp - 0x4c]
mov eax, 0x23b2d85c
add eax, 0xec4d8a9e
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x33e70
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x19b18e15
add ecx, 0xe64ea570
mov ebx, eax
mov edx, 0x295c89d3
sub edx, 0x195b03d3
add edx, dword [ebp - 0x4c]
mov edi, 0x476c6f2d
add dword [ebp - 0x44], 0x7e5c5952
mov esi, dword [edx]
xor dword [ebp - 0x18], 0x8f031c1c
sub esi, edi
add dword [ebp - 0x40], 0xef9dea8b
mov dword [ebx], esi
xor dword [ebp - 0x30], edi
add ebx, 0x7dbc27a1
sub ebx, 0x7dbc279d
add edx, 0x5e53a94e
add edx, 0xa1ac56b6
loop 0x1000634e
add eax, 0x7a35e770
sub eax, 0x7a352689
mov ebx, eax
add eax, 0x757f7f2d
sub eax, 0x757f7f28
mov ecx, 0xea62caca
sub ecx, 0xda62caca
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1000c871
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x1000c892
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x1000c897
mov ebx, 0xfff80000
jmp 0x1000c89d
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x10013e68]
mov eax, dword [0x10013e60]
test edx, edx
jne 0x1000c8b8
test eax, eax
je 0x1000c8cb
mov edx, eax
mov dword [0x10013e68], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x1000c8cb
cmp ecx, edi
jb 0x1000c8cb
cmp ecx, ebx
jbe 0x1000c9ab
mov edx, eax
test eax, eax
jmp 0x1000c8ed
test edx, edx
je 0x1000c8e8
mov eax, dword [edx + 8]
test eax, eax
je 0x1000c8e8
cmp eax, edi
jb 0x1000c8e8
cmp eax, ebx
jbe 0x1000c9ab
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10013e68], edx
jne 0x1000c8d1
and esi, 0xffff0000
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c9d0
lea edx, [esi - 0x40000000]
mov ecx, edi
call fcn.100062eb
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c93e
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.100062eb
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jae 0x1000c953
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.100062eb
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, esi
mov ecx, edi
call fcn.100062eb
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, ebx
mov ecx, esi
call fcn.100062eb
mov edx, eax
test edx, edx
je 0x1000c9ee
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10013e60]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10013e68], edx
mov dword [0x10013e60], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x1000c99b
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x1000c9ee
cmp esi, ebx
ja 0x1000c9ee
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000ec20
add esp, 0xc
mov eax, esi
jmp 0x1000c9f0
jae 0x1000c920
lea ecx, [esi + 0x40000000]
mov edx, ebx
call fcn.100062eb
mov edx, eax
test edx, edx
jne 0x1000c971
jmp 0x1000c940
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1000ca7b
Capabilities:
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [0x10013e58]
xor ebx, ebx
test edi, edi
je 0x1000cab8
push esi
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1000caa9
mov esi, dword [edi]
push edi
call fcn.1000dd99
mov edi, esi
pop ecx
test esi, esi
jne 0x1000ca8a
jmp 0x1000cab7
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov dword [0x10013e70], ebx
pop esi
mov dword [0x10013e58], edi
mov eax, ebx
pop edi
pop ebx
ret

Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x6d462c24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x6d462c33
pop dword [ebp - 0x3c]
mov eax, 0x6d462c33
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xcfce4223
sub dword [ebp - 0x4c], 0x817bfcd8
mov dword [ebp - 0x48], 0x247aa3cd
add dword [ebp - 0x48], 0xdb8a878
mov dword [ebp - 0x44], 0x9f3bda2
add dword [ebp - 0x44], 0x4258868c
mov dword [ebp - 0x40], 0x25bf0a6a
add dword [ebp - 0x40], 0xda40f596
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x7761a418
sub eax, 0xa1b13c8
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x2d645b60
sub dword [ebp - 0x4c], 0xb8f1f20a
mov dword [ebp - 0x48], 0xd1b6fb02
add dword [ebp - 0x48], 0x6fb56673
mov dword [ebp - 0x44], 0x59abae9f
sub dword [ebp - 0x44], 0xf63c4233
mov dword [ebp - 0x40], 0x9c43774b
add dword [ebp - 0x40], 0x63bc88b5
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b032
push 0
call eax
mov ecx, 0xab6d3823
sub ecx, 0xab6ce12c
mov edx, eax
mov ebx, 0x6d46e800
add ebx, dword [ebp - 0x3c]
mov esi, 0x21e67f3e
add esi, 0x86db83e3
xor dword [ebp - 0x1c], ebx
mov edi, dword [ebx]
xor dword [ebp - 0x18], ebx
add edi, esi
add dword [ebp - 0x14], 0x8181e2bc
mov dword [edx], edi
sub dword [ebp - 0x1c], esi
add edx, 4
add ebx, 4
loop 0x6d462d45
add eax, 0x4e831b39
sub eax, 0x4e81cc8a
mov ebx, eax
add eax, 0x299584d5
add eax, 0xd66a7b30
mov ecx, 0xd2d71f2e
add ecx, 0x9a6ee0d2
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x6d4678c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d4678ce
repz ret
jmp fcn.6d467caf
Function at 0x10007b43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10007b52
pop dword [ebp - 8]
mov eax, 0x10007b52
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x379a3
push 0
mov eax, 0xfc01e8ed
sub eax, 0xec0067a9
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xfbecc070
add ecx, 0x413808b
mov esi, eax
mov edx, 0x184c0920
sub edx, 0x8495320
add edx, dword [ebp - 8]
mov ebx, 0x77d95e52
xor dword [ebp - 4], edi
mov edi, dword [edx]
sub edi, ebx
add dword [ebp - 4], ebx
mov dword [esi], edi
add dword [ebp - 4], ecx
add esi, 0x92f6553a
add esi, 0x6d09aaca
add edx, 0xdd761abe
add edx, 0x2289e546
loop 0x10007ba6
add eax, 0x34fc5925
add eax, 0xcb049d9a
mov ebx, eax
add eax, 5
mov ecx, 0x3caba025
sub ecx, 0x2caba025
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x10009943
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100174bf
call fcn.10016e93
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100099c0
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100099c0
call fcn.100080da
mov esi, eax
jmp 0x10009ac6
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x100099e3
call fcn.100080da
jmp 0x10009ab9
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x100099d9
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009a16
mov esi, 0x8007000e
jmp 0x10009abb
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009ae9
jb 0x10009a31
cmp eax, 0xffffffff
ja 0x10009ae9
cmp eax, 0x400
jbe 0x10009a46
push eax
lea ecx, [ebp - 0x418]
call fcn.10007b43
jmp 0x10009a68
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009a68
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009a0c
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100099d9
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10007b43
mov esi, eax
test edi, edi
je 0x10009ac6
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009adf
lea ecx, [ebp - 0x418]
call fcn.100080a2
mov eax, esi
call fcn.10016de8
ret 0x10
push 0x80070216
call fcn.10007b43
int3
Function at 0x10001e90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1001372c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.100016b0
mov ebx, eax
cmp ebx, esi
je 0x10001f0a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x10001ef5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006d82
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10001f8c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.10001e90
mov ebx, eax
cmp ebx, esi
jne 0x10001ee4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10001f40
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x10001fa5
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.10001560
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x10001fc8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006d82
mov esp, ebp
pop ebp
ret 4
Function at 0x10004090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000d056
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1001372c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x1000410d
call fcn.100013e0
mov edi, eax
jmp 0x100041f2
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10004126
call fcn.100013e0
jmp 0x100041e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x10004144
call fcn.100013e0
jmp 0x100041e9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x10004165
mov edi, 0x8007000e
jmp 0x100041eb
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10003090
mov dword [ebp - 4], 1
jmp 0x1000419d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x100041ae
mov edi, 0x8007000e
jmp 0x100041eb
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x100041c7
call fcn.100013e0
jmp 0x100041e9
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.10003ed0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x10004210
lea ecx, [ebp - 0x418]
call fcn.10001e10
jmp 0x10004210
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10006d82
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10006d82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001372c]
jne 0x10006d8c
repz ret
jmp fcn.10008628
Function at 0x1000bc8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001372c]
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.10009406
and dword [ebp - 0x14], 0
cmp dword [0x10015028], 0
mov dword [ebp - 0x18], eax
jne 0x1000bd3e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000bde6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000bde6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10015028], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001502c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10015030], eax
call edi
push eax
call esi
mov dword [0x10015038], eax
test eax, eax
je 0x1000bd3e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10015034], eax
mov eax, dword [0x10015034]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000bd97
cmp dword [0x10015038], ecx
je 0x1000bd97
push eax
call esi
push dword [0x10015038]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000bd97
test ebx, ebx
je 0x1000bd97
call edi
test eax, eax
je 0x1000bd8e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000bd8e
test byte [ebp - 8], 1
jne 0x1000bd97
or dword [ebp + 0x10], 0x200000
jmp 0x1000bdca
mov eax, dword [0x1001502c]
cmp eax, dword [ebp - 0x18]
je 0x1000bdca
push eax
call esi
test eax, eax
je 0x1000bdca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000bdca
mov eax, dword [0x10015030]
cmp eax, dword [ebp - 0x18]
je 0x1000bdca
push eax
call esi
test eax, eax
je 0x1000bdca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10015028]
call esi
test eax, eax
je 0x1000bde6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000bde8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006d82
leave
ret
Function at 0x408518
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x408527
pop dword [ebp - 0x24]
mov eax, 0x408527
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x39399
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x4173
mov edi, eax
mov esi, 0x427600
add esi, dword [ebp - 0x24]
mov ebx, 0x6e5abc6a
mov dword [ebp - 0xc], 0xecb93460
mov edx, dword [esi]
add dword [ebp - 0x20], edx
xor edx, ebx
xor dword [ebp - 0xc], ecx
mov dword [edi], edx
xor dword [ebp - 8], eax
add edi, 0x11568098
sub edi, 0x11568094
add esi, 0x28117ca8
add esi, 0xd7ee835c
loop 0x40856a
add eax, 0x9335e3c6
sub eax, 0x9334eb27
mov ebx, eax
add eax, 0x42f4ae5c
add eax, 0xbd0b51a9
mov ecx, 0x906126b1
sub ecx, 0x902126b1
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x410f5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42104c]
jne 0x413fe3
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x422720], eax
mov dword [0x42271c], ecx
mov dword [0x422718], edx
mov dword [0x422714], ebx
mov dword [0x422710], esi
mov dword [0x42270c], edi
mov word [0x422738], ss
mov word [0x42272c], cs
mov word [0x422708], ds
mov word [0x422704], es
mov word [0x422700], fs
mov word [0x4226fc], gs
pushfd
pop dword [0x422730]
mov eax, dword [ebp]
mov dword [0x422724], eax
mov eax, dword [ebp + 4]
mov dword [0x422728], eax
lea eax, [ebp + 8]
mov dword [0x422734], eax
mov eax, dword [ebp - 0x320]
mov dword [0x422670], 0x10001
mov eax, dword [0x422728]
mov dword [0x422624], eax
mov dword [0x422618], 0xc0000409
mov dword [0x42261c], 1
mov eax, dword [0x42104c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x421050]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x422668], eax
push 1
call fcn.00415efd
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x402cf0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x422668], 0
jne 0x4140cf
push 1
call fcn.00415efd
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x50783659
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x50783668
pop dword [ebp - 0x1c]
mov eax, 0x7a90c40b
add eax, 0xd5e7725d
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x35b70
push 0
mov eax, 0x5a21d49c
add eax, 0xf656abb4
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xe5f8c469
sub ecx, 0xe5f8811e
xor ebx, ebx
add ebx, eax
mov edi, 0xd8640956
add edi, 0x7814d6aa
add edi, dword [ebp - 0x1c]
mov edx, 0x8eb6fd97
sub edx, 0xc243e746
mov dword [ebp - 0xc], 0xf7b49186
mov esi, dword [edi]
xor dword [ebp - 4], edi
sub esi, edx
mov dword [ebp - 8], 0x9ee03ab5
mov dword [ebx], esi
add ebx, 0x57bacf94
sub ebx, 0x57bacf90
add edi, 0x55eb39a8
add edi, 0xaa14c65c
loop 0x507836c9
add eax, 0xffff
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb8a3b9be
add ecx, 0x97d44642
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x401dca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x401dd9
pop dword [ebp - 0x20]
mov eax, 0x401dd9
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xf4e2d5e6
add dword [ebp - 0x30], 0x596f6f65
mov dword [ebp - 0x2c], 0xc4c4f0ac
sub dword [ebp - 0x2c], 0x9291a467
mov dword [ebp - 0x28], 0x2d0097f4
add dword [ebp - 0x28], 0x1f4bac3a
mov dword [ebp - 0x24], 0x5738c479
sub dword [ebp - 0x24], 0x5738c479
lea eax, [ebp - 0x30]
push eax
mov eax, 0xf6d3e399
sub eax, 0xf691b325
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x2584c286
sub dword [ebp - 0x30], 0xb1125930
mov dword [ebp - 0x2c], 0x396b26a1
sub dword [ebp - 0x2c], 0xf7fec52c
mov dword [ebp - 0x28], 0x36111f67
add dword [ebp - 0x28], 0x2d5e4d05
mov dword [ebp - 0x24], 0xb9603336
add dword [ebp - 0x24], 0x469fccca
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xd7032902
sub eax, 0xd6c0f7de
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x40300
push 0
call eax
mov ecx, 0x51e5
xor ebx, ebx
add ebx, eax
mov esi, 0x434400
add esi, dword [ebp - 0x20]
mov edx, 0xebf7182
sub edx, 0x37833244
xor dword [ebp - 0x14], 0xdbd7dbc0
mov edi, dword [esi]
mov dword [ebp - 0xc], 0xad795c64
add edi, edx
sub dword [ebp - 0x10], 0x55e29118
mov dword [ebx], edi
xor dword [ebp - 0x10], 0xc88bdc16
add ebx, 0x3d20881e
add ebx, 0xc2df77e6
add esi, 0xa6d489e8
add esi, 0x592b761c
loop 0x401eec
add eax, 0x5ca5a3c2
sub eax, 0x5ca4695b
mov ebx, eax
add eax, 0x15959df
add eax, 0xfea6a626
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c