joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406660
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424485
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x1000
push eax
push eax
mov byte [ebp - 4], 1
push 4
push dword [ecx]
mov dword [ebp - 0x5c], 1
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x40676b
mov ecx, esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406700
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.00407520
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406e50
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x40676b
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406761
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40686b
push ecx
push edx
call fcn.0040d4e3
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x68]
push eax
call fcn.00406910
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4067bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4067d1
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x406807
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4067fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40686b
push ecx
push edx
call fcn.0040d4e3
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x406851
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406847
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40686b
push ecx
push edx
call fcn.0040d4e3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret
call fcn.0041331b
int3
Function at 0x406910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x468
mov eax, dword [0x43000c]
xor eax, esp
mov dword [esp + 0x464], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0xc], eax
test edi, edi
je 0x406a5c
cmp dword [esi + 8], 0
jne 0x406953
call fcn.00406a80
test eax, eax
je 0x406a5c
cmp dword [esi], 0
je 0x406a5c
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
mov eax, ecx
xor ecx, 0x8000000
or eax, 0x8000000
cmp dword [ebp + 0x10], 0
push 0x400
cmove ecx, eax
lea eax, [esp + 0x6c]
mov dword [esi + 4], ecx
push 0
push eax
mov dword [esp + 0x30], 0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x34], str.winsta0default
movaps xmmword [esp + 0x1c], xmm0
call fcn.0040ec50
add esp, 0xc
lea eax, [esp + 0x68]
push dword [esp + 0xc]
push edi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push dword [esi + 8]
lea eax, [esp + 0x78]
push dword [esi + 4]
push 0
push 0
push 0
push eax
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x406a23
test eax, eax
jne 0x406a28
mov edi, 1
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x406a39
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406a44
push eax
call esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x46c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040ce5c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d9ad
Capabilities:
Parse pe header

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

Function at 0x41c7a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.0041bc72
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041bc27
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0041bc72
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041bc27
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0041bc62
xchg ebx, eax
lahf
push ecx
push cs
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0041bc72
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041bc27
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0041bc62
and al, 0x6e
push eax
imul ebp, dword [eax + 4], 0x8d000001
test esp, ecx
cld
invalid

Function at 0x41d0af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
test dword [eax], eax
stc
invalid
inc dword [ebx - 0x6ff43]
invalid
invalid
jge 0x41d0b8
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x41d062
call fcn.0041bc62
push cs
fsub dword [edi - 0x40]
and byte [ebp - 0x72c], 0
invalid
movsd dword es:[edi], dword [esi]
invalid
Function at 0x41f170
Capabilities:
Parse pe header

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

Disassembly:
cmp ecx, dword [0x10274b00]
jne 0x10008093
repz ret
jmp fcn.1000932e

Function at 0x1000a9ab
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.10007d58
and dword [ebp - 4], 0
cmp dword [0x102764dc], 0
mov ebx, eax
jne 0x1000aa5c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000ab0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000ab0d
push eax
call fcn.10007ce6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102764dc], eax
call esi
push eax
call fcn.10007ce6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102764e0], eax
call esi
push eax
call fcn.10007ce6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102764e4], eax
call esi
push eax
call fcn.10007ce6
pop ecx
mov dword [0x102764ec], eax
test eax, eax
je 0x1000aa5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10007ce6
pop ecx
mov dword [0x102764e8], eax
mov eax, dword [0x102764e8]
cmp eax, ebx
je 0x1000aab4
cmp dword [0x102764ec], ebx
je 0x1000aab4
push eax
call fcn.10007d61
push dword [0x102764ec]
mov esi, eax
call fcn.10007d61
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000aab4
test edi, edi
je 0x1000aab4
call esi
test eax, eax
je 0x1000aaab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000aaab
test byte [ebp - 0xc], 1
jne 0x1000aab4
or dword [ebp + 0x10], 0x200000
jmp 0x1000aaed
mov eax, dword [0x102764e0]
cmp eax, ebx
je 0x1000aaed
push eax
call fcn.10007d61
pop ecx
test eax, eax
je 0x1000aaed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000aaed
mov eax, dword [0x102764e4]
cmp eax, ebx
je 0x1000aaed
push eax
call fcn.10007d61
pop ecx
test eax, eax
je 0x1000aaed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102764dc]
call fcn.10007d61
pop ecx
test eax, eax
je 0x1000ab0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ab0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000c370
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.1000c370]
mov dword [ebp - 4], eax
jmp 0x1000c383
jmp 0x1000c3aa
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1000c3aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax], 0x4550
jne 0x1000c381
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x1000c3c9
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov al, 1
test al, 1
jne 0x1000c383
jmp 0x1000c3c2
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
Function at 0x1000cbc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [0x10274350], 0x25b6
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10274350]
add eax, 0xcfd
mov dword [0x10274350], eax
mov dword [ebp - 0x10], 0
jmp 0x1000cc85
jmp 0x1000cd4b
mov dword [0x10274354], 0x177c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x12], dx
mov ax, word [ebp - 0x12]
movzx ecx, ax
cmp ecx, 0x64
je 0x1000cd0b
jmp 0x1000cd46
jmp 0x1000cc3f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x1000cc90
mov dword [ebp - 4], 0
jmp 0x1000cd52
mov eax, dword [0x10274354]
sub eax, 0xccd
mov dword [0x10274354], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x1000cce6
jmp 0x1000cd4b
jmp 0x1000ccd9
cmp dword [ebp - 0x10], 0x104
jl 0x1000cca7
jmp 0x1000cc3f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x1000cc5d
jmp 0x1000cd4d
mov eax, dword [0x10274350]
sub eax, 0x51
mov dword [0x10274354], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x14], dx
mov ax, word [ebp - 0x14]
movzx ecx, ax
cmp ecx, 0
je 0x1000cc3d
jmp 0x1000cc83
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x1000cc85
mov dword [0x10274354], 0x90
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x1000cc0c
jmp 0x1000cc07
mov dword [0x10274354], 0x1a29
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x1000cd44
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x1000cd42
mov dword [ebp - 4], 1
jmp 0x1000cd52
jmp 0x1000cd44
jmp 0x1000cd46
jmp 0x1000cc07
jmp 0x1000cd4d
jmp 0x1000cc51
mov eax, dword [ebp - 4]
add esp, 0x14
pop ebp
ret
Function at 0x10002cdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10002ceb
pop dword [ebp - 0x14]
mov eax, 0x10002ceb
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x623ed36e
sub dword [ebp - 0x24], 0x13ec8e23
mov dword [ebp - 0x20], 0xfc811523
sub dword [ebp - 0x20], 0xca4dc8de
mov dword [ebp - 0x1c], 0xd72312f7
sub dword [ebp - 0x1c], 0x8ad6cec9
mov dword [ebp - 0x18], 0x96f2cf4e
add dword [ebp - 0x18], 0x690d30b2
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xdaae930e
add dword [ebp - 0x24], 0x99c3d648
mov dword [ebp - 0x20], 0x50fd9f68
add dword [ebp - 0x20], 0xf06ec20d
mov dword [ebp - 0x1c], 0xf40e0b0d
add dword [ebp - 0x1c], 0x6f61615f
mov dword [ebp - 0x18], 0x8812f40f
sub dword [ebp - 0x18], 0x8812f40f
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xd8bc327
add eax, 0x275ae01
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x34a9b
push 0
call eax
mov ecx, 0x6fccb66a
sub ecx, 0x6fcc7d61
mov esi, eax
mov edx, 0x1002d600
add edx, dword [ebp - 0x14]
mov ebx, 0xbe01edd3
add ebx, 0x5cac3c83
xor dword [ebp - 8], 0xd0c3ac2
mov edi, dword [edx]
add dword [ebp - 0xc], 0xd924817d
sub edi, ebx
mov dword [esi], edi
sub dword [ebp - 4], esi
add esi, 4
add edx, 0xd6d20fa4
add edx, 0x292df060
loop 0x10002dfd
add eax, 0xd6f7
mov ebx, eax
add eax, 0x535ac931
sub eax, 0x535ac92c
mov ecx, 0x16239f35
add ecx, 0xf9dc60cb
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x100082b2
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x1001588f
call fcn.100136c7
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x100083a3
cmp byte [esi + 0x49], bl
je 0x100083a3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100082e7
xor al, al
jmp 0x100083a5
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10007fd9
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10008345
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x1000834a
dec eax
je 0x1000834e
dec eax
dec eax
je 0x1000839f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002786
mov al, bl
jmp 0x100083a5
mov edx, dword [ebp - 0x2c]
jmp 0x10008310
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000835a
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x10008381
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000836d
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10008333
cmp byte [esi + 0x49], 0
je 0x1000839f
test edi, edi
jne 0x10008302
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10007de1
jmp 0x10008302
mov bl, 1
jmp 0x10008335
mov al, 1
call fcn.1001374a
ret
Function at 0x1000bc24
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x1000bc56
jl 0x1000bc46
cmp dword [ebp + 0x18], ecx
jae 0x1000bc56
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x1000bc6e
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x1000bc6b
jl 0x1000bc68
cmp dword [ebp + 0x18], eax
jae 0x1000bc6b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000bcd3
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x1000bc93
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x1000bcc1
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x1000bc93
cmp dword [ebp - 8], 0
jne 0x1000bc6e
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x1000bc6e
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x1000c752
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x1000c75f
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateProcessA]
pop ebp
ret
Function at 0x1000ca62
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
mov ebx, dword [ebp + 0x798]
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x794]
push 0x3ff
lea eax, [ebp + 0x389]
push 0
push eax
mov byte [ebp + 0x388], 0
call sub.msvcr100.dll_memset
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov edi, 0x400
lea eax, [ebp + 0x388]
push edi
push eax
call dword [sym.imp.msvcr100.dll_sprintf_s]
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x388]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000cafb
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x1000cb3e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x100195d2
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x1000cb25
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1000cb3e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.msvcr100.dll__mbscmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013502
add ebp, 0x78c
leave
ret

Function at 0x1000cd3a
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x1000cd5b
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1000cd5b
inc esi
mov eax, esi
pop esi
ret

Function at 0x1000d7ac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10015f92
call fcn.10013691
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1000d806
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.100108bc
pop ecx
pop ecx
push ebx
push edi
call fcn.10002cdc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e5f7
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000d823
call fcn.1000e489
jmp 0x1000d825
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1000d871
call fcn.1000e7cb
jmp 0x1000d871
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10013502
add ebp, 0x20c
leave
ret
Function at 0x1000d89b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10022df0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10015fc2
call fcn.10013691
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1000d8f5
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.100108bc
pop ecx
pop ecx
push ebx
push edi
call fcn.10002cdc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e5f7
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1000d912
call fcn.1000e489
jmp 0x1000d914
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1000d960
call fcn.1000e7cb
jmp 0x1000d960
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10013502
add ebp, 0x20c
leave
ret

Function at 0x1000e055
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10016022
call fcn.10013691
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.10002cdc
test eax, eax
je 0x1000e080
call fcn.1000e046
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x100173dc
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1000e0db
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.100108bc
pop ecx
pop ecx
push edi
push esi
call fcn.10002cdc
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1000e72f
push eax
push esi
push 0x100197c4
call fcn.100108bc
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1000e0d4
ret
cmp ebx, edi
je 0x1000e0e6
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1000e197
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1000e143
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1000e09f
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1000e197
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1000e197
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1000e09f
mov eax, esi
call fcn.10013736
ret