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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43a034]
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.004196e3
mov dword [ebp - 0x14], eax
cmp dword [0x43cd9c], esi
jne 0x424139
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4240c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x424219
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x424219
push 0x4310c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424219
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43cd9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43cda0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43cda4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43cdac], eax
test eax, eax
je 0x424136
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43cda8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42415e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x424151
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x424173
push 4
pop eax
jmp 0x42421b
cmp dword [ebp - 0x14], esi
je 0x424173
push dword [0x43cd9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x424158
mov eax, dword [0x43cda8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4241d1
cmp dword [0x43cdac], edi
je 0x4241d1
push eax
call ebx
push dword [0x43cdac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4241d1
test eax, eax
je 0x4241d1
call ecx
test eax, eax
je 0x4241c6
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 0x4241c6
test byte [ebp - 8], 1
jne 0x4241d1
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x424201
mov eax, dword [0x43cda0]
cmp eax, edi
je 0x4241fe
push eax
call ebx
test eax, eax
je 0x4241fe
call eax
mov esi, eax
test esi, esi
je 0x4241fe
mov eax, dword [0x43cda4]
cmp eax, edi
je 0x4241fe
push eax
call ebx
test eax, eax
je 0x4241fe
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43cd9c]
call ebx
test eax, eax
je 0x424219
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42421b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004126d0
mov esp, ebp
pop ebp
ret
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000cd63
pop dword [ebp - 0xc]
mov eax, 0xd3b6a953
add eax, 0x3c4a2410
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x378f3
push 0
mov eax, 0xbd931a5
add eax, 0x4280ebf
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x29c0ec0f
sub ecx, 0x29c0a9dc
mov edi, eax
mov ebx, 0x10018600
add ebx, dword [ebp - 0xc]
mov esi, 0x865b4a7a
sub esi, 0x8609e250
mov dword [ebp - 8], 0x684fe22b
mov edx, dword [ebx]
xor dword [ebp - 4], 0xf0d90eb2
xor edx, esi
sub dword [ebp - 8], 0x18febad7
mov dword [edi], edx
add dword [ebp - 4], ecx
add edi, 4
add ebx, 4
loop 0x1000cdbc
add eax, 0xfb9f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x940058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009401a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x94007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94006a
add dl, dl
jne 0x940089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9400dc
xor eax, eax
add dl, dl
jne 0x940096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94017d
add dl, dl
jne 0x9400a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9400b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9400bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9400c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9400d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x940075
mov eax, 1
add dl, dl
jne 0x9400ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9400f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9400e1
sub eax, ebx
mov ebx, 1
jne 0x940128
mov ecx, 1
add dl, dl
jne 0x94010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x940119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x940105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x940075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x94013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x940136
cmp eax, 0x7d00
jae 0x94016d
cmp eax, 0x500
jb 0x940168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x940075
cmp eax, 0x7f
ja 0x940170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x940075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x94019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x940075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x519820
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8c000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x430c48cc
push eax
push edi
jmp 0x51984a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x519851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519840
mov eax, 1
add ebx, ebx
jne 0x519863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x519874
jne 0x519893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519893
dec eax
add ebx, ebx
jne 0x519880
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x519858
add ebx, ebx
jne 0x51988f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5198e5
xor ecx, ecx
sub eax, 3
jb 0x5198ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51991a
sar eax, 1
mov ebp, eax
jmp 0x5198b6
add ebx, ebx
jne 0x5198b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519884
inc ecx
add ebx, ebx
jne 0x5198c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519884
add ebx, ebx
jne 0x5198d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5198c6
jne 0x5198e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5198c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x519904
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5198f6
jmp 0x519846
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x519904
add edi, ecx
jmp 0x519846
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x519926
cmp byte [edi], 0x11
jne 0x519926
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51992b
lea edi, [esi + 0x112000]
mov eax, dword [edi]
or eax, eax
je 0x5199a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x122d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x122f08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x519958
mov ecx, edi
jns 0x519987
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x122f10]
or eax, eax
je 0x51999d
mov dword [ebx], eax
add ebx, 4
jmp 0x519975
call dword [esi + 0x122f0c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5199d4
cmp al, 0xef
ja 0x5199c7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5199a9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5199b6
mov ebp, dword [esi + 0x122f14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x519a08
sub esp, 0xffffff80
jmp 0x420577
Function at 0x1007f50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x1007f72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1007f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1007f68
mov eax, 1
add ebx, ebx
jne 0x1007f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1007f80
jne 0x1007f9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1007f80
xor ecx, ecx
sub eax, 3
jb 0x1007fb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1008022
mov ebp, eax
add ebx, ebx
jne 0x1007fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1007fc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1007fec
inc ecx
add ebx, ebx
jne 0x1007fd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1007fcd
jne 0x1007fe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1007fcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100800c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1007ffd
jmp 0x1007f6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100800c
add edi, ecx
jmp 0x1007f6e
pop esi
mov edi, esi
mov ecx, 0x27
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100802a
cmp byte [edi], 2
jne 0x100802a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100802f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x100809e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x83e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8468]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100805c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8470]
or eax, eax
je 0x1008098
mov dword [ebx], eax
add ebx, 4
jmp 0x1008079
call dword [esi + 0x846c]
mov ebp, dword [esi + 0x8474]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10080d2
sub esp, 0xffffff80
jmp 0x10021f7
Function at 0x10008f28
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x10008f38
push 0xd
pop eax
jmp 0x10008f6e
push ebp
push esi
push edi
xor esi, esi
mov edi, edx
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008f44
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x10008f3f
push esi
push edx
push 7
push 0
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x1000b633
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0xea65a50a
add ecx, 0x159a9e36
xor edx, edx
add edx, eax
mov ebx, 0x4b4dd3da
sub ebx, 0x3b4bbfda
add ebx, dword [ebp - 0x14]
mov edi, 0x2befe1ce
sub edi, 0x73f8be9
xor dword [ebp - 0x10], 0x3c7303dd
mov esi, dword [ebx]
xor dword [ebp - 4], ecx
add esi, edi
xor dword [ebp - 4], ecx
mov dword [edx], esi
add dword [ebp - 8], edx
add edx, 0xcdb7ab23
add edx, 0x324854e1
add ebx, 0x4b635dc
add ebx, 0xfb49ca28
loop 0x1000b65e
Function at 0x1001305b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1001306a
pop dword [ebp - 0x2c]
mov eax, 0x9368d7cb
add eax, 0x7c98589f
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x13206336
sub dword [ebp - 0x3c], 0xc4ce1deb
mov dword [ebp - 0x38], 0xaaf7b576
sub dword [ebp - 0x38], 0x78c46931
mov dword [ebp - 0x34], 0xd5013eaa
sub dword [ebp - 0x34], 0x88b4fa7c
mov dword [ebp - 0x30], 0x3c2e64de
add dword [ebp - 0x30], 0xc3d19b22
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xf811564f
add dword [ebp - 0x3c], 0x7c611307
mov dword [ebp - 0x38], 0x3390ece7
add dword [ebp - 0x38], 0xddb748e
mov dword [ebp - 0x34], 0x7870fb56
sub dword [ebp - 0x34], 0x15018eea
mov dword [ebp - 0x30], 0x759c4818
sub dword [ebp - 0x30], 0x759c4818
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x2887965b
sub eax, 0x1885965b
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b127
push 0
call eax
mov ecx, 0x1de0a103
sub ecx, 0x1de05fe3
xor esi, esi
add esi, eax
mov edx, 0x4428ae5d
add edx, 0xcbda0da3
add edx, dword [ebp - 0x2c]
mov edi, 0x14358d89
sub edi, 0x3f9e09ce
mov ebx, dword [edx]
mov dword [ebp - 0x14], 0xc5404a8e
add ebx, edi
xor dword [ebp - 0x18], edx
mov dword [esi], ebx
sub dword [ebp - 0x24], ebx
add esi, 0xb2934040
add esi, 0x4d6cbfc4
add edx, 0x4744caba
add edx, 0xb8bb354a
loop 0x10013189
add eax, 0x22f2775a
add eax, 0xdd0e7ff9
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10001de4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10001df3
pop dword [ebp - 0x44]
mov eax, 0x802a7e9e
add eax, 0x8fd59f55
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x637effa9
add dword [ebp - 0x54], 0xead345a2
mov dword [ebp - 0x50], 0xbcc7bd8
sub dword [ebp - 0x50], 0xd9992f93
mov dword [ebp - 0x4c], 0xe34c8110
sub dword [ebp - 0x4c], 0x97003ce2
mov dword [ebp - 0x48], 0xcd0a85f0
add dword [ebp - 0x48], 0x32f57a10
lea eax, [ebp - 0x54]
push eax
mov eax, 0x14037dac
add eax, 0xfbfcb258
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xaee73e0c
add dword [ebp - 0x54], 0xc58b2b4a
mov dword [ebp - 0x50], 0x6d4b17cb
sub dword [ebp - 0x50], 0x2bdeb656
mov dword [ebp - 0x4c], 0xac096064
add dword [ebp - 0x4c], 0xb7660c08
mov dword [ebp - 0x48], 0x1da5b697
sub dword [ebp - 0x48], 0x1da5b697
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x377ec
push 0
call eax
mov ecx, 0x7f6d9f68
sub ecx, 0x7f6d535b
xor esi, esi
add esi, eax
mov edx, 0x88f2e05a
sub edx, 0x78f27c5a
add edx, dword [ebp - 0x44]
mov ebx, 0x684fcffa
sub dword [ebp - 4], edi
mov edi, dword [edx]
xor dword [ebp - 0x3c], eax
add edi, ebx
add dword [ebp - 0xc], edi
mov dword [esi], edi
sub dword [ebp - 4], edi
add esi, 0x154e93f0
add esi, 0xeab16c14
add edx, 0x955415e1
sub edx, 0x955415dd
loop 0x10001f0c
add eax, 0x12307
mov ebx, eax
add eax, 5
mov ecx, 0xe7d2c67f
sub ecx, 0xd7d2c67f
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10005097
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000aae8]
jne 0x100050a1
repz ret
jmp fcn.10005e03

Function at 0x1000520a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000aae8]
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.1000267b
and dword [ebp - 0x14], 0
cmp dword [0x1000b4e4], 0
mov dword [ebp - 0x18], eax
jne 0x100052bd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10005365
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10005365
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000b4e4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000b4e8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000b4ec], eax
call edi
push eax
call esi
mov dword [0x1000b4f4], eax
test eax, eax
je 0x100052bd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000b4f0], eax
mov eax, dword [0x1000b4f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10005316
cmp dword [0x1000b4f4], ecx
je 0x10005316
push eax
call esi
push dword [0x1000b4f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10005316
test ebx, ebx
je 0x10005316
call edi
test eax, eax
je 0x1000530d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000530d
test byte [ebp - 8], 1
jne 0x10005316
or dword [ebp + 0x10], 0x200000
jmp 0x10005349
mov eax, dword [0x1000b4e8]
cmp eax, dword [ebp - 0x18]
je 0x10005349
push eax
call esi
test eax, eax
je 0x10005349
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10005349
mov eax, dword [0x1000b4ec]
cmp eax, dword [ebp - 0x18]
je 0x10005349
push eax
call esi
test eax, eax
je 0x10005349
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000b4e4]
call esi
test eax, eax
je 0x10005365
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10005367
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005097
leave
ret
Function at 0x40141d
Capabilities:
Get file size

Disassembly:
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40149f
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x401497
push ebp
push esi
push esi
push esi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
cmp ebp, esi
je 0x40148f
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebp
call fcn.004013bf
add esp, 0xc
mov esi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop edi
pop esi
ret

Function at 0x4014a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call fcn.00416f58
mov esi, eax
pop ecx
test esi, esi
je 0x4014f2
xor edx, edx
test ebx, ebx
jbe 0x4014f2
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x4014dc
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40155e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc00
push ebx
push esi
push edi
mov esi, 0x42bad4
push 0x42bad0
mov ebx, ecx
push esi
call fcn.00416fd0
pop ecx
test eax, eax
pop ecx
je 0x401600
push dword [0x423454]
lea eax, [ebp - 0x400]
push esi
push eax
call fcn.00412024
lea eax, [ebp - 0x400]
push eax
call fcn.00412186
test eax, eax
jne 0x4015ad
push esi
call fcn.004121c0
jmp 0x401600
cmp dword [ebx + 8], 0x1f4
jae 0x401600
mov edi, 0x400
lea eax, [ebp - 0x800]
push edi
push 0
push eax
call fcn.00416f70
add esp, 0xc
lea eax, [ebp - 0x800]
mov ecx, ebx
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00401852
test eax, eax
jne 0x401605
lea eax, [ebp - 0x400]
push eax
call fcn.004121fa
test eax, eax
je 0x401605
push esi
call fcn.004121c0
test eax, eax
je 0x401605
push 1
pop eax
jmp 0x401670
cmp byte [ebp - 0x800], 0
lea esi, [ebp - 0x800]
je 0x40166e
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0xc00]
push edi
push eax
push dword [0x423464]
push esi
push dword [0x423458]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xc00]
push eax
call fcn.004121fa
test eax, eax
je 0x401659
push 0
lea eax, [ebp - 0x400]
push esi
push eax
mov ecx, ebx
call fcn.00401885
jmp 0x40165c
inc dword [ebx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x401614
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret