joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12da0930
Capabilities:
Delete file

Disassembly:
sub esp, 0x930
push ebx
push ebp
mov ebp, dword [esp + 0x93c]
push esi
mov ebx, ecx
push edi
mov ecx, 0x24b
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 4]
xor edi, edi
test ecx, ecx
mov esi, ebp
je 0x12da0ae7
mov eax, esi
xor edx, edx
shr eax, 4
div dword [ebx + 8]
mov edx, dword [ecx + edx*4]
test edx, edx
je 0x12da0ae7
mov eax, dword [edx + 8]
cmp eax, esi
jne 0x12da098a
mov ecx, dword [edx + 0xc]
cmp ecx, edi
je 0x12da0996
mov edx, dword [edx]
test edx, edx
je 0x12da0ae7
jmp 0x12da097c
test edx, edx
je 0x12da0ae7
lea esi, [edx + 0x10]
mov ecx, 0x24c
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x12da09c6
push eax
call fcn.12f5dc5d
add esp, 4
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x12da09dd
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x12da09f2
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x24], esi
lea edx, [esp + 0x3c]
test edx, edx
je 0x12da0a22
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x12da0a22
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x12da0a37
push eax
call fcn.12f5d12c
add esp, 4
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x12da0a50
push eax
call fcn.12f5d12c
add esp, 4
mov dword [esp + 0x30], esi
mov ecx, dword [ebx + 4]
mov dword [esp + 0x34], esi
mov esi, ebp
xor ebp, ebp
xor edi, edi
cmp ecx, ebp
je 0x12da0ae7
mov eax, esi
xor edx, edx
shr eax, 4
div dword [ebx + 8]
mov eax, dword [ecx + edx*4]
cmp eax, ebp
lea ecx, [ecx + edx*4]
je 0x12da0ae7
mov edx, dword [eax + 8]
cmp edx, esi
jne 0x12da0a87
mov edx, dword [eax + 0xc]
cmp edx, edi
je 0x12da0a91
mov ecx, eax
mov eax, dword [eax]
cmp eax, ebp
je 0x12da0ae7
jmp 0x12da0a79
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x10]
mov dword [eax], ecx
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
jne 0x12da0ae7
mov esi, dword [ebx + 4]
cmp esi, ebp
je 0x12da0aca
mov eax, dword [ebx + 8]
cmp eax, ebp
jbe 0x12da0aca
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebp
je 0x12da0ac4
mov eax, dword [eax]
cmp eax, ebp
jne 0x12da0abe
add ecx, 4
dec edx
jne 0x12da0ab8
push esi
call fcn.12f5bf80
mov ecx, dword [ebx + 0x14]
add esp, 4
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x10], ebp
call fcn.12f54a00
mov dword [ebx + 0x14], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x930
ret 4
Function at 0x12da0b00
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x18]
xor ebp, ebp
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
mov dword [esi + 8], ebp
je 0x12da0b33
push eax
call fcn.12f5dc5d
add esp, 4
mov dword [esi + 0x10], 0xffffffff
lea ebx, [esi + 0x2c]
cmp ebx, ebp
je 0x12da0b5a
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x12da0b5a
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x41
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esi + 0x130]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x12da0b7c
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esi + 0xc], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebp
je 0x12da0b8b
xor ecx, ecx
mov dword [eax], ecx
mov word [eax + 4], cx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x28], ebp
cmp eax, ebp
je 0x12da0ba1
push eax
call fcn.12f5d12c
add esp, 4
mov dword [esi + 0x18], ebp
mov eax, dword [esi + 0x20]
mov dword [esi + 0x1c], ebp
cmp eax, ebp
je 0x12da0bb7
push eax
call fcn.12f5d12c
add esp, 4
mov dword [esi + 0x20], ebp
sub esp, 0x930
mov ecx, 0x24c
mov edi, esp
mov dword [esi + 0x24], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x940]
call fcn.12da0810
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x12da0be0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x13056ecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x93c
push ebp
mov ebp, ecx
push esi
push 1
lea eax, [ebp + 0x1c]
lea ecx, [esp + 0xc]
push eax
call fcn.12f560a0
mov edx, dword [ebp + 0xc]
xor esi, esi
cmp edx, esi
mov dword [esp + 0x94c], esi
jne 0x12da0c49
lea ecx, [esp + 8]
mov dword [esp + 0x94c], 0xffffffff
call fcn.12f56100
pop esi
pop ebp
mov ecx, dword [esp + 0x93c]
mov dword fs:[0], ecx
add esp, 0x948
ret
xor eax, eax
push ebx
neg edx
sbb edx, edx
push edi
mov ebx, edx
mov ecx, 0x24b
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], esi
cmp ebx, esi
rep stosd dword es:[edi], eax
je 0x12da0d6a
cmp ebx, 0xffffffff
mov edx, ebx
jne 0x12da0c8b
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
jbe 0x12da0c8b
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
test edx, edx
jne 0x12da0c8b
inc eax
add ecx, 4
cmp eax, esi
jb 0x12da0c7d
mov ebx, dword [edx]
test ebx, ebx
jne 0x12da0cb0
mov eax, dword [edx + 4]
mov esi, dword [ebp + 8]
inc eax
cmp eax, esi
jae 0x12da0cb0
mov ecx, dword [ebp + 4]
lea ecx, [ecx + eax*4]
mov ebx, dword [ecx]
test ebx, ebx
jne 0x12da0cb0
inc eax
add ecx, 4
cmp eax, esi
jb 0x12da0ca2
lea esi, [edx + 0x10]
mov ecx, 0x24c
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x12da0cd8
push eax
call fcn.12f5dc5d
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
je 0x12da0cef
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x12da0d04
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x30], esi
lea edx, [esp + 0x48]
test edx, edx
je 0x12da0d34
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x12da0d34
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x12da0d49
push eax
call fcn.12f5d12c
add esp, 4
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
cmp eax, esi
je 0x12da0d62
push eax
call fcn.12f5d12c
add esp, 4
mov dword [esp + 0x3c], esi
cmp ebx, esi
jne 0x12da0c6a
mov esi, dword [ebp + 4]
xor edi, edi
cmp esi, edi
je 0x12da0d90
mov eax, dword [ebp + 8]
cmp eax, edi
jbe 0x12da0d90
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x12da0d8a
mov eax, dword [eax]
cmp eax, edi
jne 0x12da0d84
add ecx, 4
dec edx
jne 0x12da0d7e
push esi
call fcn.12f5bf80
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edi
call fcn.12f54a00
mov dword [ebp + 0x14], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x954], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x94c]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x948
ret
Function at 0x12da0f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13056f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
lea eax, [esi + 4]
lea ecx, [esp + 0x14]
push eax
call fcn.12f560a0
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 0x28]
mov eax, edi
xor edx, edx
shr eax, 4
div ebp
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], 0
test ecx, ecx
mov ebx, edx
je 0x12da0f8e
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x12da0f8a
cmp dword [eax + 8], edi
je 0x12da0f82
mov eax, dword [eax]
test eax, eax
jne 0x12da0f75
jmp 0x12da0f8a
test eax, eax
jne 0x12da1024
test ecx, ecx
jne 0x12da0fbe
lea edi, [ebp*4]
push edi
call fcn.12f5bf8b
mov edx, eax
mov ecx, edi
mov dword [esi + 0x24], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x28], ebp
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x12da0ff2
mov eax, dword [esi + 0x38]
push 0x14
lea ecx, [esi + 0x34]
push eax
push ecx
call fcn.12f549d0
mov ecx, dword [esi + 0x38]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x12da0ff2
inc ecx
mov edx, dword [esi + 0x30]
mov dword [eax], edx
mov dword [esi + 0x30], eax
sub eax, 0x14
dec ecx
jne 0x12da0fe4
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x2c]
inc ecx
xor edx, edx
mov dword [esi + 0x2c], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [esi + 0x24]
mov dword [ecx + ebx*4], eax
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x12da4c00
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130570b8
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x12da4ccf
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
pop edi
cmp eax, 5
push str.TSecBxFltCDOSL
jae 0x12da4c5d
lea eax, [esp + 0x10]
push str..Global_s
push eax
jmp 0x12da4c67
lea ecx, [esp + 0x10]
push 0x130cc104
push ecx
call fcn.12f5ce9d
add esp, 0xc
lea ecx, [esp + 4]
push 0xffffffffffffffff
call fcn.12f29880
push 0
push 0x80
push 3
push 0
push 3
lea edx, [esp + 0x20]
push 0xc0000000
push edx
mov dword [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 4]
jne 0x12da4cca
call fcn.12f298b0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
call fcn.12f298b0
mov ecx, dword [esp + 0x4c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x54
ret

Function at 0x12daa300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x130571b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push 0x13198cc0
lea ecx, [esp + 8]
mov esi, 1
call fcn.12f41570
push esi
push 0
push ecx
mov dword [esp + 0x44], 0
mov ecx, esp
mov dword [esp + 0x14], esp
push str.safe_office_com_protect
call fcn.12f46a80
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.12e9bfa0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 2
call fcn.12e9c170
test eax, eax
je 0x12daa381
lea ecx, [esp + 0xc]
call fcn.12e9c660
test eax, eax
jne 0x12daa377
jmp 0x12daa381
xor ecx, ecx
cmp eax, 1
sete cl
mov esi, ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.12e9c060
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.12f41ea0
mov ecx, dword [esp + 0x30]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret
Function at 0x12dacb60
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x12dacbbe
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x12dacb9a
push esi
call fcn.12f5c44d
add esp, 4
lea eax, [eax + eax + 2]
jmp 0x12dacb9c
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret 0xc

Function at 0x12dacbd0
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x12dacc17
mov ecx, dword [esp]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 0xc

Function at 0x12dacc20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
xor esi, esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x12daccba
mov ecx, dword [esp + 4]
push ebx
lea edx, [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
push eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
call ebx
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x12dacca4
add eax, 2
mov dword [esp + 0x18], eax
shr eax, 1
lea edx, [eax + eax]
push edx
call fcn.12f5bf8b
mov esi, eax
add esp, 4
test esi, esi
je 0x12dacca4
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop ebx
pop esi
add esp, 8
ret 8
mov eax, esi
pop esi
add esp, 8
ret 8
Function at 0x12daccd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
xor esi, esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x12dacd67
mov ecx, dword [esp + 4]
push ebx
lea edx, [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
push eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
call ebx
test eax, eax
jne 0x12dacd51
mov eax, dword [esp + 0x18]
cmp eax, 1
jb 0x12dacd51
inc eax
push eax
mov dword [esp + 0x1c], eax
call fcn.12f5bf8b
mov esi, eax
add esp, 4
test esi, esi
je 0x12dacd51
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push esi
push eax
push 0
push edi
push ecx
call ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop ebx
pop esi
add esp, 8
ret 8
mov eax, esi
pop esi
add esp, 8
ret 8

Function at 0x12dacd70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x12dacdd4
mov dword [esp + 8], eax
lea edx, [esp + 0x10]
lea eax, [esp + 4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0xc
ret 8

Function at 0x12daff80
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x131998ac]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
jne 0x12db0068
push str.cfgmgr32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x12daffeb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CM_Request_Device_Eject_ExW
push esi
call edi
push str.CM_Get_DevNode_Registry_Property_ExW
push esi
mov dword [0x13199898], eax
call edi
push str.CM_Get_Child_Ex
push esi
mov dword [0x1319989c], eax
call edi
push str.CM_Get_Sibling_Ex
push esi
mov dword [0x131998a0], eax
call edi
push str.CM_Get_Parent_Ex
push esi
mov dword [0x131998a4], eax
call edi
mov dword [0x131998a8], eax
pop edi
cmp dword [0x13199898], ebx
je 0x12db0049
cmp dword [0x1319989c], ebx
je 0x12db0049
cmp dword [0x131998a4], ebx
je 0x12db0049
cmp dword [0x131998a0], ebx
je 0x12db0049
cmp dword [0x131998a8], ebx
je 0x12db0049
mov eax, dword [0x130761e8]
push eax
call fcn.12f29440
add esp, 4
test eax, eax
jne 0x12db0068
push 0x12db0540
push 0x13199898
call fcn.12f295a0
add esp, 8
call fcn.12f29460
pop esi
mov dword [0x131998ac], 1
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1319989c], ebx
mov dword [0x131998a8], ebx
mov dword [0x131998a4], ebx
mov dword [0x131998a0], ebx
pop esi
pop ebx
ret
Function at 0x12db1620
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x12db164e
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, edx
cmp eax, ecx
ja 0x12db1646
call edi
cmp eax, dword [esi + 8]
jae 0x12db164e
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

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

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov eax, 3
lea edi, [esp + 0x1c]
mov ebp, ecx
mov dword [esp + 0x18], str.lync.exe_excel.exe_winword.exe_powerpnt.exe
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], str.cocreateinstance
mov dword [esp + 0x24], str.cocreateinstanceex
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x130c69e4
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], str.ssl_
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], str.SDXHelper.exe
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], str.ntopenfile
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], str.appvlp.exe
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], str.ntclose
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 4
mov eax, dword [edi - 4]
add edi, 4
push eax
mov ecx, ebp
call fcn.12db1c30
test eax, eax
je 0x12db1ea7
mov esi, dword [edi]
test esi, esi
je 0x12db1e4d
push esi
mov ecx, ebp
call fcn.12db1660
mov eax, dword [0x13198f68]
test eax, eax
je 0x12db1e44
push esi
push str.InitStaticConfig_1___s_
push str.DelayInstall
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
inc ebx
add edi, 4
cmp ebx, 5
jb 0x12db1e18
mov eax, dword [ebp + 8]
test eax, eax
jne 0x12db1ea5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 4]
test eax, eax
jne 0x12db1e84
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
jne 0x12db1e75
mov eax, 0x1388
jmp 0x12db1e81
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [ebp + 4], eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12db1ea5
mov edx, dword [ebp + 4]
push edx
push str.InitStaticConfig_2___lu_
push str.DelayInstall
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edi, 0x1c
dec eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
jne 0x12db1e02
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
Function at 0x12dd9fc0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13059d8b
push eax
mov eax, dword [0x13198f68]
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
mov ebx, dword [esp + 0x2f4]
push ebp
mov ebp, dword [esp + 0x2f4]
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x12dda01b
mov eax, dword [ebp + 0x90c]
mov ecx, dword [ebp + 0x914]
push ebx
push eax
push ecx
push str.AddPrintText__________d__d___p_
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov eax, dword [ebp + 0x914]
cmp eax, esi
jbe 0x12dda030
mov edx, dword [ebp + 0x90c]
inc edx
cmp eax, edx
jb 0x12dda08b
cmp ebx, esi
je 0x12dda08b
push 0x20
push ebx
call fcn.12e339f0
add esp, 8
test eax, eax
jne 0x12dda08b
mov ecx, 0x31
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], si
push 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
lea ecx, [ebp + 0x918]
push eax
push ecx
call fcn.12dd9bb0
add esp, 0xc
test eax, eax
jne 0x12dda0a6
cmp dword [0x13198f68], esi
je 0x12dda08b
push str.AddPrintText_____ret1_
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2e8
ret
mov edx, dword [ebp + 0x90c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe6]
mov word [esp + 0xe4], si
inc edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push edx
push eax
push 0x131a8544
push str._s_s__lu.ptxt
lea ecx, [esp + 0xf4]
push 0x103
push ecx
call fcn.12f5d8c0
add esp, 0x18
lea ecx, [esp + 0x14]
push 2
call fcn.12f29880
mov dword [esp + 0x2f4], esi
mov dword [esp + 0x10], esi
push ebx
xor edi, edi
or esi, 0xffffffff
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12dda15c
push edi
push 0x80
push 2
push edi
push 1
lea edx, [esp + 0xf8]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x12dda15c
lea eax, [esp + 0x10]
push edi
push eax
push ebx
call fcn.12f5c44d
add esp, 4
shl eax, 1
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12dda194
lea ecx, [esp + 0xe4]
push ecx
push ebx
call fcn.12f5c44d
mov edx, dword [esp + 0x18]
add esp, 4
shl eax, 1
push eax
push edx
push edi
push esi
push str.AddPrintText_____hFile:_p__bWrite:_d__dwWriten:_d__TextLen:_d__FilePath:_s_
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
test edi, edi
je 0x12dda19e
inc dword [ebp + 0x90c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.12f298b0
mov eax, edi
jmp 0x12dda08d