joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003028e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1005e7c0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100302d4
cmp word [ebx], dx
jne 0x100302d4
or byte [eax + edi + 0x28], 4
jmp 0x100302d9
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1003043c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1003041c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1003031a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10030350
cmp eax, edx
jae 0x1003035e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100302f5
jmp 0x1003043c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10030417
cmp dword [ebp - 0x18], 0
je 0x10030417
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1005e7c0]
test byte [eax + edi + 0x28], 0x48
je 0x100303ed
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100303b1
mov word [esi], cx
jmp 0x100303e8
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1005e7c0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1005e7c0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1005e7c0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1003043c
pop eax
cmp word [ebp - 4], ax
jne 0x100303fd
cmp esi, ebx
jne 0x100303fd
mov word [esi], ax
jmp 0x10030439
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10032088
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1003043c
push 0xd
pop eax
jmp 0x100303f8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1005e7c0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10030436
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1003043c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100341f0
Capabilities:
Parse pe header

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

Function at 0x10034670
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [esp + 0x30]
cmp dword [esi + 4], 0
je 0x100346f3
lea edi, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x1003472e
cmp dword [esp + 4], 0
je 0x10034715
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1003474f
mov ebx, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x1005e0c0]
nop word [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x1005e0c0], esi
jne 0x100346d0
mov byte [0x1005e0bc], 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov eax, ebx
jmp 0x10034727
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x10034791
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x10034719
mov eax, dword [esp]
jmp 0x10034727
mov eax, dword [esi]
jmp 0x10034726
push dword [esp]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, esi
dec eax
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
push 0x1003c170
push eax
push 0x1003c16c
push ecx
push 0
call fcn.10034640
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
mov dword [esp + 8], 0x1003c0c8
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x1003bde0
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x1003c15c
push eax
call fcn.10035150
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x1003c0c8
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x1003bde0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.10034610
int3
Function at 0x10035340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x10035391
cmp eax, 1
jne 0x1003540e
mov dword [esp], 0x100408e0
jmp 0x10035398
mov dword [esp], 0x100408de
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x1003542a
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x1004091c
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10022330
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10022310
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10022310
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10035150
mov edx, 7
mov dword [esp], 0x100408e2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x100353ad
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x10040950
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x10022330
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x10021290
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10022310
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10022310
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10035150
int3
Function at 0x40129f
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5c0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5c4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], eax
call fcn.00401298
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x41b5c8]
add ebx, 0x23f
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5cc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov ecx, dword [0xec6bf4]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132c
push 0x418300
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [ebp - 4]
mov ecx, dword [0xec6bf4]
add eax, dword [ebp - 0x28]
mov edx, 0xedeb2e40
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
mov eax, dword [0xec6bf0]
cmove eax, edx
xor edx, edx
mov dword [0xec6bf0], eax
cmp ecx, 0x3eb
mov eax, dword [0xec6b48]
cmove eax, edx
mov dword [0xec6b48], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], edx
mov dword [0xec6bec], 0xf4ea3dee
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov dword [ebp - 0x18], esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
add ebx, 0x61c88647
shr edx, cl
add edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
xor edx, dword [ebp - 0x20]
xor eax, edx
mov dword [ebp - 0x10], ebx
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
jne 0x4012fa
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d35e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405595
mov dword [ebp - 0x14], eax
cmp dword [0x8223a4], esi
jne 0x40d451
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d3de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d531
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d531
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d531
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8223a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8223a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8223ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8223b4], eax
test eax, eax
je 0x40d44e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8223b0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d476
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d469
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d48b
push 4
pop eax
jmp 0x40d533
cmp dword [ebp - 0x14], esi
je 0x40d48b
push dword [0x8223a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d470
mov eax, dword [0x8223b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d4e9
cmp dword [0x8223b4], edi
je 0x40d4e9
push eax
call ebx
push dword [0x8223b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d4e9
test eax, eax
je 0x40d4e9
call ecx
test eax, eax
je 0x40d4de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d4de
test byte [ebp - 8], 1
jne 0x40d4e9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d519
mov eax, dword [0x8223a8]
cmp eax, edi
je 0x40d516
push eax
call ebx
test eax, eax
je 0x40d516
call eax
mov esi, eax
test esi, esi
je 0x40d516
mov eax, dword [0x8223ac]
cmp eax, edi
je 0x40d516
push eax
call ebx
test eax, eax
je 0x40d516
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8223a4]
call ebx
test eax, eax
je 0x40d531
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d533
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004048a0
mov esp, ebp
pop ebp
ret
Function at 0x4ef0fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x2c]
je 0x4fc60b
cmp bl, cl
clc
stc
test eax, 0x80000000
pushal
jmp 0x4f6a1e
pushfd
lea esp, [esp + 0x24]
je 0x549040
stc
cmp cx, dx
stc
and eax, 0xffff
push 0x59d99b36
mov word [esp], di
mov byte [esp], bl
pushfd
lea esp, [esp + 8]
jmp 0x54a12c

Function at 0x4f9a4d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
test eax, eax
pushal
lea esp, [esp + 0x44]
je 0x4fc60b
clc
pushal
test eax, 0x80000000
jmp 0x4fc5b1
mov byte [esp + 4], 0x53
lea esp, [esp + 0x20]
je 0x549040
bt ebx, edi
bt ebp, esp
cmp si, bx
and eax, 0xffff
pushfd
mov byte [esp], dh
push 0xb535af3d
lea esp, [esp + 8]
jmp 0x54a12c
test ah, dl
bt esp, esi
add dword [ebp - 4], 0x14
push edx
mov byte [esp], bh
lea esp, [esp + 4]
jmp 0x549141
pushfd
add eax, 2
Function at 0x415275
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040eb3e
xor ebx, ebx
cmp dword [0x4257b4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41534a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4152b5
xor eax, eax
jmp 0x41540e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4152ae
push eax
call fcn.0040eadb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4257b4], eax
call esi
push eax
call fcn.0040eadb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4257b8], eax
call esi
push eax
call fcn.0040eadb
mov dword [0x4257bc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040a652
test eax, eax
pop ecx
pop ecx
je 0x415318
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f0b5
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41534a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040eadb
cmp eax, ebx
pop ecx
mov dword [0x4257c4], eax
je 0x41534a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040eadb
pop ecx
mov dword [0x4257c0], eax
mov eax, dword [0x4257c0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4153c3
cmp dword [0x4257c4], esi
je 0x4153c3
push eax
call fcn.0040eb47
pop ecx
call eax
cmp eax, ebx
je 0x415390
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4257c4]
call fcn.0040eb47
pop ecx
call eax
test eax, eax
je 0x415390
test byte [ebp - 0x18], 1
jne 0x4153c3
lea eax, [ebp - 0xc]
push eax
call fcn.0040a689
test eax, eax
pop ecx
je 0x4153ab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f0b5
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4153ba
or dword [ebp + 0x10], 0x200000
jmp 0x4153f4
or dword [ebp + 0x10], 0x40000
jmp 0x4153f4
mov eax, dword [0x4257b8]
cmp eax, esi
je 0x4153f4
push eax
call fcn.0040eb47
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4153f4
mov eax, dword [0x4257bc]
cmp eax, esi
je 0x4153f4
push dword [ebp - 4]
push eax
call fcn.0040eb47
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4257b4]
call fcn.0040eb47
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
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 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.00401485
lea eax, [ebp - 0x404]
push eax
call fcn.00401485
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b66
leave
ret

Function at 0x401485
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x401494
pop dword [ebp - 0x44]
mov eax, 0xb8359358
add eax, 0x480a813c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xc249f966
sub dword [ebp - 0x54], 0x73f7b41b
mov dword [ebp - 0x50], 0x20da8132
add dword [ebp - 0x50], 0x1158cb13
mov dword [ebp - 0x4c], 0x43443ada
sub dword [ebp - 0x4c], 0xf6f7f6ac
mov dword [ebp - 0x48], 0xe4d070df
sub dword [ebp - 0x48], 0xe4d070df
lea eax, [ebp - 0x54]
push eax
mov eax, 0x1da53bec
sub eax, 0x1d646ba0
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xc5ffa092
add dword [ebp - 0x54], 0xae72c8c4
mov dword [ebp - 0x50], 0x85449772
add dword [ebp - 0x50], 0xbc27ca03
mov dword [ebp - 0x4c], 0x30f3418a
sub dword [ebp - 0x4c], 0xcd83d51e
mov dword [ebp - 0x48], 0xcee0bde0
add dword [ebp - 0x48], 0x311f4220
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x82c84f0f
sub eax, 0x82877ec7
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x392ed
push 0
call eax
mov ecx, 0x4650
xor edx, edx
add edx, eax
mov esi, 0x43cf185c
add esi, 0xbc7297a4
add esi, dword [ebp - 0x44]
mov ebx, 0x956ca8e9
add ebx, 0xd9a047d3
sub dword [ebp - 0x24], esi
mov edi, dword [esi]
add edi, ebx
add dword [ebp - 0x30], edx
mov dword [edx], edi
xor dword [ebp - 0x28], 0xbdf9e2c4
add edx, 0x512d2d30
add edx, 0xaed2d2d4
add esi, 4
loop 0x4015b2
add eax, 0xb8b0f231
sub eax, 0xb8afe61e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x88b7f9f8
add ecx, 0x77880608
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x100076b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x100076bf
pop dword [ebp - 0x38]
mov eax, 0x536a54d6
add eax, 0xbc9621e9
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x64a7b4e3
sub dword [ebp - 0x48], 0x16556f98
mov dword [ebp - 0x44], 0xad8d5cb3
add dword [ebp - 0x44], 0x84a5ef92
mov dword [ebp - 0x40], 0xc253e110
sub dword [ebp - 0x40], 0x76079ce2
mov dword [ebp - 0x3c], 0x377c797e
sub dword [ebp - 0x3c], 0x377c797e
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x83a52b96
sub dword [ebp - 0x48], 0xf32c240
mov dword [ebp - 0x44], 0xd2fa91cd
add dword [ebp - 0x44], 0x6e71cfa8
mov dword [ebp - 0x40], 0x3b753c2b
sub dword [ebp - 0x40], 0xd805cfbf
mov dword [ebp - 0x3c], 0xf4aa97f3
add dword [ebp - 0x3c], 0xb55680d
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xe142deed
sub eax, 0xd141ee45
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc04
push 0
call eax
mov ecx, 0x57f6
mov ebx, eax
mov edi, 0x6ce36c2d
sub edi, 0x5ce1342d
add edi, dword [ebp - 0x38]
mov edx, 0x8bf20d8c
add dword [ebp - 0x10], 0x105bda78
mov esi, dword [edi]
sub dword [ebp - 8], 0x54790774
xor esi, edx
mov dword [ebp - 0x34], 0xe907ce41
mov dword [ebx], esi
add ebx, 4
add edi, 4
loop 0x100077d0
add eax, 0x152ab
xor ebx, ebx
add ebx, eax
add eax, 0xaffcf9f0
add eax, 0x50030615
mov ecx, 0x65030374
add ecx, 0xaafcfc8c
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x1000b110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp eax, 0x1a
jl 0x1000b168
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x1000b168
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push 0x10
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push dword [esi + 4]
push dword [esi]
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.100076b0
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4

Function at 0x1000b700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x410431
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41041f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41043d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [eax], al
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 0x41049b
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 0x410482
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41048b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x410495
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x410477
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x410401
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 0x4104e8
dec eax
je 0x4104df
sub eax, 3
je 0x4104d6
mov dword [ebp - 4], 0x40
jmp 0x410505
mov dword [ebp - 4], 4
jmp 0x4104eb
mov dword [ebp - 4], 0x20
jmp 0x4104eb
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 0x410537
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4104b7
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040fd48
test eax, 0xff93abb6
jne 0x410542
push 1
push esi
call edi
mov eax, esi
jmp 0x410543
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410c49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040fd26
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30