joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10058a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10080a30]
sub esi, 1
jne 0x10058a20
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc0], ebx
jne 0x10058a56
push esi
push dword [esp + 0x14]
push 4
push ebx
call fcn.10056af0
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

Function at 0x10058ac0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10080a30]
sub edi, 1
jne 0x10058b31
pop edi
not edx
pop esi
mov eax, edx
add esp, 0x10
ret 4

Function at 0x100594b0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x10059512
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100594f6
cmp edi, 2
jb 0x100594f6
cmp byte [esi], cl
jne 0x100594f6
cmp byte [esi + 1], cl
jne 0x100594f6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10080a30]
jmp 0x100594c7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10080a30]
test edi, edi
jne 0x100594c7
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10059548
nop dword [eax]
cmp cl, 0x23
jne 0x1005952f
cmp byte [esi], cl
jne 0x1005952f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10080a30]
test cl, cl
jne 0x10059520
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x1005af60
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x5da0], 0
lea esi, [edi + 0x5da4]
je 0x1005afda
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005af94
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100679e0
push dword [esp + 0x14]
mov ecx, esi
mov dword [esi], 0
push dword [esp + 0x14]
call fcn.100674f0
mov edx, dword [esi]
mov ecx, 0x101db198
push dword [edi + 0x5da0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5dac]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
ret
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
call fcn.100674f0
pop edi
pop esi
ret
Function at 0x10062460
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x101db19c]
push esi
mov esi, dword [esp + 8]
mov dword [eax + 0x5d34], 0
test esi, esi
je 0x100624ba
lea eax, [esp + 8]
mov dword [esp + 8], 0
push edi
push eax
call fcn.100624c0
push 0x10082044
push esi
mov edi, eax
call fcn.100592a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100624b9
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
ret
Function at 0x1006b260
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 8
ja 0x1006b36f
test byte [edi], 2
jne 0x1006b36f
mov eax, dword [edi + 0x468]
lea esi, [esi + esi*2]
mov ecx, dword [edi + 0x50]
movss xmm2, dword [esi*8 + 0x10082f48]
movss xmm4, dword [esi*8 + 0x10082f4c]
lea edx, [eax*8]
sub edx, eax
movzx eax, word [ecx + edx*4 + 4]
movd xmm5, eax
movzx eax, word [ecx + edx*4 + 6]
cvtdq2ps xmm5, xmm5
movd xmm3, eax
addss xmm5, dword [esi*8 + 0x10082f40]
mov eax, dword [esp + 0x14]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm5
addss xmm3, dword [esi*8 + 0x10082f44]
movss dword [eax + 4], xmm4
movss dword [eax], xmm2
mov ecx, dword [esi*8 + 0x10082f50]
mov edx, dword [esi*8 + 0x10082f54]
mov eax, dword [esp + 0x10]
addss xmm4, xmm3
movaps xmm0, xmm3
mov dword [eax], ecx
mov dword [eax + 4], edx
mulss xmm1, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
mulss xmm0, dword [edi + 0x30]
movss dword [eax], xmm1
movaps xmm1, xmm2
movss dword [eax + 4], xmm0
addss xmm1, xmm5
addss xmm5, dword [0x10085f84]
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x30]
mulss xmm1, dword [edi + 0x2c]
movss dword [eax + 0xc], xmm0
movaps xmm0, xmm5
addss xmm5, xmm2
movss dword [eax + 8], xmm1
mulss xmm0, dword [edi + 0x2c]
mov eax, dword [esp + 0x1c]
mulss xmm3, dword [edi + 0x30]
movss dword [eax], xmm0
movss dword [eax + 4], xmm3
mulss xmm5, dword [edi + 0x2c]
mulss xmm4, dword [edi + 0x30]
pop edi
movss dword [eax + 8], xmm5
pop esi
movss dword [eax + 0xc], xmm4
mov al, 1
ret 0x14
pop edi
xor al, al
pop esi
ret 0x14

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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1006f747
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1006f76c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1006f791
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1006f7d2
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1006f7f7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1006f81c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1005b0d0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1006b0f0
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x406898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x405a6c
push 0x4059f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4068bf
push 0x800
call eax
call fcn.004064af
mov byte [ebp - 1], al
call fcn.004062aa
mov ecx, eax
test ecx, ecx
je 0x40694f
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov dl, byte [ebp - 1]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004066e9
mov esi, eax
pop ecx
test esi, esi
js 0x40693f
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x406911
call fcn.0040644c
mov esi, eax
jmp 0x40693f
push 0x405a90
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406933
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
mov esi, eax
jmp 0x406938
mov esi, 0x80004005
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 8]
call fcn.00406baa
pop edi
mov eax, esi
pop esi
leave
ret 0x10
push 0x80004005
call fcn.00406105
int3

Function at 0x409eb3
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x409eee
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x409ed5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x409ee6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x409ef0
inc edi
add eax, 0x28
cmp edi, esi
jb 0x409ecb
xor eax, eax
pop edi
pop esi
ret
Function at 0x1005e2fd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1005e33c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005e33c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005e33c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1005e33c
cmp dword [ecx + 0x74], 0xe
jbe 0x1005e33c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10060fef
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1006108c
push ebx
push esi
call fcn.10060fb8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10060f4c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10061039
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006108b
push edi
push eax
call fcn.1005ef8d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10061059
call fcn.1005efdd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006108a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10060f4c
add esp, 0x20
test eax, eax
jne 0x10061078
push edi
call fcn.1005efdd
jmp 0x10061080
push ebx
call fcn.1005efdd
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100612f9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10068668
push 0x10068660
push str.FlsAlloc
push 0x1f
call fcn.10061215
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1006132d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10067120]
call esi
jmp 0x10061333
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10061377
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10068678
push 0x10068670
push str.FlsGetValue
push 0x21
call fcn.10061215
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100613ae
push dword [ebp + 8]
mov ecx, esi
call dword [0x10067120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100613b6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10068680
push 0x10068678
push str.FlsSetValue
push 0x22
call fcn.10061215
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100613f0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10067120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10066a30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10066a5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10066a5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x335edc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x335edf1
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x335ede2
and ecx, 3
je 0x335ee09
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x335edf6
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x335ee14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x335ee4d
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x335ee35
pop esi
and esi, 3
je 0x335ee72
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x335ee53
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x335ee7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x335eea8
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x335ee99
and ecx, 3
je 0x335eec0
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x335eead
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x335eec8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x335eed4
pop edi
pop ebx
ret
Function at 0x335f7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0335f448
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x17f932f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x335f89e
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.03331f3c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0335eec8
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.03331f3c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0335eec8
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x335f84b
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x335f8ec
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.03331f3c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0335eec8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.03331f3c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x335f916
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x335f916
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x335f906
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x17f9336
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0335f5e4
ret

Function at 0x336e0f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x336e14c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x18d9814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x18d9c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x18da014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x18da414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x336e107
pop edi
pop esi
pop ebx
ret
Function at 0x1019aeb8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101b2ca8]
jne 0x1019aec2
repz ret
jmp fcn.1019e98b

Function at 0x101a0b3f
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.1019af53
and dword [ebp - 4], 0
cmp dword [0x101b4008], 0
mov ebx, eax
jne 0x101a0bf0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101a0ca1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101a0ca1
push eax
call fcn.1019aee1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101b4008], eax
call esi
push eax
call fcn.1019aee1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101b400c], eax
call esi
push eax
call fcn.1019aee1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101b4010], eax
call esi
push eax
call fcn.1019aee1
pop ecx
mov dword [0x101b4018], eax
test eax, eax
je 0x101a0bf0
push 0x101adc04
push edi
call esi
push eax
call fcn.1019aee1
pop ecx
mov dword [0x101b4014], eax
mov eax, dword [0x101b4014]
cmp eax, ebx
je 0x101a0c48
cmp dword [0x101b4018], ebx
je 0x101a0c48
push eax
call fcn.1019af5c
push dword [0x101b4018]
mov esi, eax
call fcn.1019af5c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101a0c48
test edi, edi
je 0x101a0c48
call esi
test eax, eax
je 0x101a0c3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101a0c3f
test byte [ebp - 0xc], 1
jne 0x101a0c48
or dword [ebp + 0x10], 0x200000
jmp 0x101a0c81
mov eax, dword [0x101b400c]
cmp eax, ebx
je 0x101a0c81
push eax
call fcn.1019af5c
pop ecx
test eax, eax
je 0x101a0c81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101a0c81
mov eax, dword [0x101b4010]
cmp eax, ebx
je 0x101a0c81
push eax
call fcn.1019af5c
pop ecx
test eax, eax
je 0x101a0c81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101b4008]
call fcn.1019af5c
pop ecx
test eax, eax
je 0x101a0ca1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101a0ca3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ab376
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 dword [0x101b2728], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.101ac2b6
xor ecx, ecx
mov edx, eax
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 0x101ab3bc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101b2724], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
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
jne 0x101ab47e
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x101b2724], 0x1941
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 [0x101b2728], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x101ab3f5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101b2728], 0x1dce
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x101ab492
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
jb 0x101ab42f
jmp 0x101ab3f5
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x101ab42f
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 0x101ab4e4
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x101ab492
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101ab400
jmp 0x101ab455