joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3fe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41af20]
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.00409c0e
mov dword [ebp - 0x14], eax
cmp dword [0x43e7fc], esi
jne 0x40d4f1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d47e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d5d1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d5d1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d5d1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43e7fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43e800], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43e804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e80c], eax
test eax, eax
je 0x40d4ee
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e808], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d516
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d509
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d52b
push 4
pop eax
jmp 0x40d5d3
cmp dword [ebp - 0x14], esi
je 0x40d52b
push dword [0x43e7fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d510
mov eax, dword [0x43e808]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d589
cmp dword [0x43e80c], edi
je 0x40d589
push eax
call ebx
push dword [0x43e80c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d589
test eax, eax
je 0x40d589
call ecx
test eax, eax
je 0x40d57e
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 0x40d57e
test byte [ebp - 8], 1
jne 0x40d589
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d5b9
mov eax, dword [0x43e800]
cmp eax, edi
je 0x40d5b6
push eax
call ebx
test eax, eax
je 0x40d5b6
call eax
mov esi, eax
test esi, esi
je 0x40d5b6
mov eax, dword [0x43e804]
cmp eax, edi
je 0x40d5b6
push eax
call ebx
test eax, eax
je 0x40d5b6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43e7fc]
call ebx
test eax, eax
je 0x40d5d1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d5d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404247
mov esp, ebp
pop ebp
ret
Function at 0x101344cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102b3a40]
jne 0x101344d6
repz ret
jmp fcn.1013477d

Function at 0x10134e0b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102b3a24], 0
mov byte [0x102b3a28], 0
mov dword [0x102b3a20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10134e59
xor eax, eax
mov dword [0x102b3a20], 0
mov dword [ebp - 0x20], eax
jmp 0x10134e93
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x102b3a1c]
add ecx, 0x1875
mov dword [0x102b3a18], ecx
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b3a20]
add eax, 1
mov dword [0x102b3a20], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10134e59
jmp 0x10134e48
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102b3a2c], 0
mov dword [0x102b3a18], 0xf66
mov edi, dword [0x102b3a24]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102b3a2c], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102b3a24], edx
mov dword [0x102b3a18], 0xae7
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102b3a28], cl
mov esi, dword [0x102b3a1c]
add esi, 0x3b4
mov dword [0x102b3a1c], esi
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102b3a1c], 0x13f5
mov cl, byte [0x102b3a28]
mov esi, dword [0x102b3a24]
mov byte [ebx + esi], cl
mov esi, dword [0x102b3a18]
add esi, 0x17fb
mov dword [0x102b3a18], esi
mov esi, dword [0x102b3a20]
add esi, 1
mov dword [0x102b3a20], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10134e93
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013525f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x102b3a18], 0x11b7
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10134f87
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
add ecx, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x10135ab4]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0x173e00
mov edx, dword [0x102b3a04]
mov dword [esp + 0x68], edx
mov edx, dword [0x102b3a08]
mov dword [esp + 0x38], edx
mov edx, dword [0x102b3a0c]
mov dword [esp + 0x48], edx
mov edx, dword [0x102b3a10]
mov dword [esp + 0x84], edx
mov edx, dword [0x102b3a14]
mov dword [esp + 0x58], edx
mov dword [0x102b3a1c], 0x1181
mov dword [0x102b3a18], 0x1c79
mov dword [esp + 0x18], eax
jmp 0x1013539e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1013535c
jmp 0x101353b1
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1013543b
mov dword [esp + 0xc], eax
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
call eax
sub esp, 4
mov eax, 2
mov dword [0x102b3a18], 0x10a4
mov dword [esp + 8], eax
jmp 0x10135396
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [0x102b3a1c], 0x61d
mov dword [0x102b3a18], 0xfffff615
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
call fcn.10135956
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x1013531e
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
je 0x10135305
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
jmp 0x1013539e
Function at 0x1013543b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x102b3a18], 0x10a7
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x1013545f
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101373b6]
mov dl, byte [eax + 0x10137387]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1013545f
lea eax, [ebp - 0x24]
mov dword [0x102b3a18], 0xffffeddf
mov dword [0x102b3a1c], 0xe10
mov dword [ebp - 0x34], eax
call fcn.10136083
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10134b5f
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10135577
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102b3a1c]
add ecx, 0xfffff018
mov dword [0x102b3a18], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10134cc6
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x50], ecx
mov dword [0x102b3a1c], 0x21d3
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x1c], ecx
mov dword [0x102b3a18], 0x1603
add ecx, 0x266b
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10135568
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x1013557f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x102b3a1c]
add ecx, 0xffffe74f
mov dword [0x102b3a1c], ecx
mov dword [ebp - 0x10], eax
call fcn.101349d6
xor ecx, ecx
mov edx, eax
mov dword [0x102b3a1c], 0x61d
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101355d7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102b3a18], 0x1f62
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101356ed
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1013568d
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1013563c
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101356c0
jmp 0x10135696
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jb 0x10135622
jmp 0x101356ed
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x102b3a18], 0xca2
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102b3a1c], 0x74f
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101357aa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x102b3a1c]
add ebx, 0x1b00
mov dword [0x102b3a18], ebx
mov dword [0x102b3a20], 0
mov dword [0x102b3a24], 0
mov dword [0x102b3a30], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10135823
mov dword [0x102b3a1c], 0x2214
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [0x102b3a18], 0x13c0
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102b3a20], edx
mov dword [0x102b3a1c], 0xfffffc39
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102b3a24], edx
mov dword [0x102b3a1c], 0x17df
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102b3a28], cl
mov dword [0x102b3a1c], 0x1320
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102b3a28]
mov edx, dword [0x102b3a24]
mov byte [ebx + edx], cl
mov edx, dword [0x102b3a18]
add edx, 0x6df
mov dword [0x102b3a18], edx
mov edx, dword [0x102b3a20]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102b3a24]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102b3a30], ecx
mov dword [0x102b3a18], 0x1c96
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x102b3a1c], 0xffffff80
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [0x102b3a1c]
add edx, 0x8ed
mov dword [0x102b3a1c], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x10135811
mov eax, dword [0x102b3a20]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x102b3a24]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10135823
Function at 0x10135956
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [0x102b3a18], 0x10f6
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [0x102b3a1c], 0x819
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
add ecx, 0x3c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x101359f2
mov eax, dword [ebp - 0x18]
add esp, 0x30
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jne 0x101359f2
jmp 0x10135a08
mov dword [0x102b3a1c], 0x61e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10135a52
jmp 0x10135aaa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], edx
jne 0x101359a9
mov eax, dword [ebp - 0x28]
mov dword [0x102b3a18], 0x1447
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x10135aaa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10135aaa
mov dword [0x102b3a1c], 0x39e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101359d4
jmp 0x10135aaa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10135aaa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x6c
jne 0x10135aaa
mov dword [0x102b3a1c], 0x1617
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x30], dx
mov eax, 1
mov cx, word [ebp - 0x30]
cmp cx, 0x6c
mov dword [ebp - 0x18], eax
je 0x101359a1
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101359a1
Function at 0x10135e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x102b3a1c]
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
add esi, 0xfffff90b
mov dword [0x102b3a1c], esi
mov dword [0x102b3a18], 0x20f7
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10135ed6
jmp 0x10135ee1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
jmp 0x10135ed6
mov eax, dword [ebp - 0x18]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x102b3a18], 0x90
mov dword [0x102b3a1c], 0x217f
mov edx, dword fs:[0x18]
mov dword [0x102b3a18], 0x8df
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [0x102b3a1c], 0x1d98
mov edx, eax
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x10135ed6
mov dword [0x102b3a18], 0x2360
mov eax, dword [ebp - 0x1c]
mov cx, word [eax + 0x24]
mov dword [0x102b3a1c], 0x2445
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov word [ebp - 0x2e], cx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x10135ec3
mov dword [0x102b3a18], 0x3bf
xor eax, eax
mov cx, word [ebp - 0x2e]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x10135f31
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x44], eax
mov word [ebp - 0x46], dx
mov word [ebp - 0x48], di
jb 0x10135fe4
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x49], bl
jne 0x10136026
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [0x102b3a1c], 0x1325
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
mov dword [ebp - 0x40], eax
jb 0x10135fb0
mov dword [0x102b3a18], 0x1966
mov al, byte [ebp - 0x49]
test al, 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
jne 0x10135ed6
jmp 0x10135f31
Function at 0x10113a24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012c6e0]
jne 0x10113a2e
repz ret
jmp fcn.10114eed

Function at 0x10117a96
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.10113aa5
and dword [ebp - 4], 0
cmp dword [0x1012e83c], 0
mov ebx, eax
jne 0x10117b47
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10117bf8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10117bf8
push eax
call fcn.10113a33
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1012e83c], eax
call esi
push eax
call fcn.10113a33
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1012e840], eax
call esi
push eax
call fcn.10113a33
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1012e844], eax
call esi
push eax
call fcn.10113a33
pop ecx
mov dword [0x1012e84c], eax
test eax, eax
je 0x10117b47
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10113a33
pop ecx
mov dword [0x1012e848], eax
mov eax, dword [0x1012e848]
cmp eax, ebx
je 0x10117b9f
cmp dword [0x1012e84c], ebx
je 0x10117b9f
push eax
call fcn.10113aae
push dword [0x1012e84c]
mov esi, eax
call fcn.10113aae
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10117b9f
test edi, edi
je 0x10117b9f
call esi
test eax, eax
je 0x10117b96
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10117b96
test byte [ebp - 0xc], 1
jne 0x10117b9f
or dword [ebp + 0x10], 0x200000
jmp 0x10117bd8
mov eax, dword [0x1012e840]
cmp eax, ebx
je 0x10117bd8
push eax
call fcn.10113aae
pop ecx
test eax, eax
je 0x10117bd8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10117bd8
mov eax, dword [0x1012e844]
cmp eax, ebx
je 0x10117bd8
push eax
call fcn.10113aae
pop ecx
test eax, eax
je 0x10117bd8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1012e83c]
call fcn.10113aae
pop ecx
test eax, eax
je 0x10117bf8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10117bfa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10118f67
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x1012c2c8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x1012c2d0], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x73b
mov byte [0x1012c2d4], 0
mov dword [0x1012c2c4], ecx
mov dword [0x1012c2cc], 0
mov dword [ebp - 0x20], eax
jmp 0x10118fce
mov dword [0x1012c2c4], 0x1a71
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1012c2c4], 0x754
mov eax, dword [0x1012c2cc]
add eax, 1
mov dword [0x1012c2cc], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x10118fce
xor eax, eax
mov dword [0x1012c2c4], 0x2598
mov dword [0x1012c2cc], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x1012c2d8], 0
mov dword [ebp - 0x28], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1012c2c8], 0x2103
mov edi, dword [0x1012c2d0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1012c2d8], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1012c2d0], edx
mov dword [0x1012c2c4], 0x1177
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x1012c2d4], cl
mov dword [0x1012c2c4], 0xfffffe65
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov dword [0x1012c2c8], 0x1fe1
mov cl, byte [0x1012c2d4]
mov esi, dword [0x1012c2d0]
mov byte [ebx + esi], cl
mov dword [0x1012c2c4], 0x21f9
mov esi, dword [0x1012c2cc]
add esi, 1
mov dword [0x1012c2cc], esi
cmp esi, 0x100
mov dword [ebp - 0x24], esi
jl 0x10119017
jmp 0x10118fbc