joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004d500
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x100cd008]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
mov esi, ecx
movsd qword [esp + 0x40], xmm3
push esi
push 0xe7
lea eax, [esp + 0x40]
movsd qword [esp + 0x20], xmm2
push eax
lea eax, [esp + 0x14]
movsd qword [esp + 0x2c], xmm1
push eax
movsd qword [esp + 0x20], xmm0
call fcn.10025c30
movsd xmm3, qword [esp + 0x18]
add esp, 0x10
movsd xmm2, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movsd xmm0, qword [esp + 0x18]
call fcn.10028030
movsd xmm1, qword [esp + 0x20]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x10]
call fcn.1003be10
movsd xmm1, qword [esi + 0x40]
movaps xmm5, xmm0
movsd xmm3, qword [0x100c1c78]
movsd xmm4, qword [esi + 0x30]
addsd xmm1, xmm3
movaps xmm2, xmm4
movsd xmm6, qword [esi + 0x20]
movsd qword [esp + 0x18], xmm5
divsd xmm2, xmm1
movsd xmm1, qword [esi + 0x38]
movaps xmm0, xmm2
mulsd xmm1, xmm2
movsd xmm2, qword [esi + 8]
mulsd xmm0, xmm4
xorps xmm1, xmmword [0x100c4140]
xorps xmm4, xmmword [0x100c4140]
mulsd xmm2, xmm1
subsd xmm3, xmm0
mulsd xmm6, xmm1
movsd xmm0, qword [esi]
mulsd xmm0, xmm3
addsd xmm2, xmm0
movsd xmm0, qword [esi + 0x10]
mulsd xmm0, xmm4
addsd xmm2, xmm0
movsd xmm0, qword [esi + 0x18]
mulsd xmm0, xmm3
movsd qword [esp + 0x10], xmm2
addsd xmm6, xmm0
movsd xmm0, qword [esi + 0x28]
mulsd xmm0, xmm4
addsd xmm6, xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
movsd qword [esp + 0x20], xmm6
lahf
test ah, 0x44
jp 0x1004d639
ucomisd xmm6, xmm0
lahf
test ah, 0x44
jp 0x1004d639
movsd xmm0, qword [esp + 8]
jmp 0x1004d65c
fld qword [esp + 0x20]
fld qword [esp + 0x10]
call fcn.1007368a
movsd xmm0, qword [esp + 8]
movsd xmm5, qword [esp + 0x18]
fstp qword [esp + 0x10]
subsd xmm0, qword [esp + 0x10]
push 0
subsd xmm5, xmm0
push 0x10c
lea eax, [esp + 0x18]
push eax
push 0
movsd qword [esp + 0x20], xmm5
call fcn.1003fdf0
add esp, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], edx
push 0x104
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
push 0x104
lea eax, [esp + 0x168]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x25c]
movsd xmm0, qword [esp + 8]
pop esi
xor ecx, esp
call fcn.10062dbb
mov esp, ebp
pop ebp
ret
Function at 0x1005da80
Capabilities:
Switch active desktop

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100cd008]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push 2
push 1
push 0
push 0
push 0x1007ded4
mov edi, edx
movsd qword [esp + 0x38], xmm1
mov esi, ecx
movsd qword [esp + 0x30], xmm0
mov byte [esp + 0x27], 1
call dword [sym.imp.USER32.dll_CreateDesktopW]
movsd xmm0, qword [esp + 0x18]
subsd xmm0, qword [0x100c2630]
movsd xmm3, qword [0x100c2708]
movsd xmm2, qword [0x100c2600]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
addsd xmm0, qword [esp + 0x20]
divsd xmm0, qword [0x100c2300]
movsd qword [ebx], xmm0
movsd xmm1, qword [esi]
divsd xmm1, xmm3
movsd xmm0, qword [edi]
addsd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esi + 0x18]
divsd xmm0, xmm2
addsd xmm0, qword [edi + 0x18]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [eax]
addsd xmm0, xmm1
movsd xmm1, qword [esi + 8]
divsd xmm1, xmm3
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [edi + 8]
addsd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esi + 0x20]
divsd xmm0, xmm2
addsd xmm0, qword [edi + 0x20]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + 8]
addsd xmm0, xmm1
movsd xmm1, qword [esi + 0x10]
divsd xmm1, xmm3
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [edi + 0x10]
addsd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esi + 0x28]
mov esi, ebx
divsd xmm0, xmm2
addsd xmm0, qword [edi + 0x28]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [eax + 0x10]
lea eax, [esp + 0x30]
push eax
addsd xmm0, xmm1
lea eax, [esi + 8]
push 0x1d4
push eax
movsd qword [esp + 0x64], xmm0
call fcn.10050920
mov edi, dword [esp + 0x20]
add esp, 0xc
movzx ebx, byte [esp + 0xf]
xor eax, eax
test edi, edi
cmove ebx, eax
lea eax, [esp + 0x48]
push eax
lea eax, [esi + 0x20]
push eax
push 0x1a9
lea eax, [esi + 0x38]
push eax
call fcn.10035da0
movsd xmm0, qword [0x100c1238]
add esp, 0x10
movsd xmm1, qword [esp + 0x20]
movsd xmm2, qword [esp + 0x18]
mulsd xmm1, xmm0
mulsd xmm2, xmm0
movsd qword [esi + 0x40], xmm1
mulsd xmm1, xmm1
movsd qword [esi + 0x48], xmm2
mulsd xmm2, xmm2
addsd xmm1, qword [0x100c0740]
addsd xmm2, xmm1
movsd xmm1, qword [esp + 0x28]
mulsd xmm1, xmm0
movsd xmm0, qword [0x100c1c78]
movsd qword [esi + 0x50], xmm1
mulsd xmm1, xmm1
addsd xmm1, xmm2
subsd xmm0, xmm1
call fcn.100748a0
movsd qword [esi + 0x58], xmm0
test bl, bl
je 0x1005dc64
push edi
call dword [sym.imp.USER32.dll_SwitchDesktop]
push edi
call dword [sym.imp.USER32.dll_CloseDesktop]
movsd xmm1, qword [0x100c1c78]
xorps xmm0, xmm0
movsd qword [esi + 0x60], xmm1
movups xmmword [esi + 0x68], xmm0
push 1
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x80], xmm1
movups xmmword [esi + 0x88], xmm0
movsd qword [esi + 0x98], xmm0
movsd qword [esi + 0xa0], xmm1
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10062dbb
mov esp, ebp
pop ebp
ret
Function at 0x61f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0061f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0061f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0061f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0061f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x61fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x61fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x63187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x61fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x61fc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4ca31f4c
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa995bb9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10038fb2
Capabilities:
Encode data using xor

Disassembly:
cmp bh, 0x48
jmp 0x10038fcb
add byte [eax], al
add byte [eax - 0x73], ah
and al, 0x44
call fcn.1002f3a3
dec ecx
pop ds
push cs
shr byte [eax - 0x15ee753f], 1
jge 0x1003258c
lodsd eax, dword [esi]
cli
ret
stc
pushal
add eax, edi
stc
pushal
sub esp, 0xffffffbc
jns 0x10031079
test cl, 0x29
cmp eax, edx
jmp 0x100325b2
push 0x30899cb3
cmp eax, edx
pushfd
call fcn.1002ff80
add byte [eax], al
inc edi
je 0x10039021
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x10039051
insb byte es:[edi], dx
dec edi
jne 0x1003905b
jo 0x1003905e
je 0x1003902e
push eax
add byte [ecx - 0x67544905], al
mov bh, 0x29
fldl2t
neg dword [ecx + 0xffff]
dec eax
popal
jo 0x10039047
jb 0x10039068
add byte gs:[ecx + 0x21ce68f4], cl
shr al, cl
or al, 0
push edx
into
call [eax + eax*4 + 0x6000ff7f]
invalid
invalid
fisttp word [ebx + 0x1f9247a]
invalid
Function at 0x401510
Capabilities:
Get common file path

Disassembly:
jmp 0x47aed6
push 0xc
mov eax, 0x49236b
call fcn.00403970
xor ebx, ebx
call fcn.00404e50
push eax
lea ecx, [ebp - 0x10]
call fcn.00405600
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x47af53
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x47af42
push edi
call fcn.00401f50
mov esi, eax
pop ecx
test esi, esi
jle 0x47af42
push esi
lea ecx, [ebp - 0x10]
call fcn.00403d90
push ebx
push ebx
push esi
push eax
push 0xffffffffffffffff
push edi
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea ecx, [ebp - 0x10]
call fcn.00402250
jmp 0x47af4a
lea ecx, [ebp - 0x10]
call fcn.00406de0
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x10]
call fcn.00407eb0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401990
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00406610
mov eax, esi
call fcn.00401190
ret 8
Function at 0x402650
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x474b33
push 0x41c
mov eax, 0x49162e
call fcn.004068a0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], ecx
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], ecx
mov byte [esi], cl
mov dword [ebp - 4], ecx
mov dword [ebp - 0x41c], 1
test edi, edi
je 0x474ba6
push edi
call fcn.00486690
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00403870
mov eax, dword [ebp - 0x414]
lea ecx, [ebp - 0x418]
push ecx
push 1
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x474c71
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00486538
add esp, 0xc
mov dword [ebp - 0x420], 0x3ff
lea eax, [ebp - 0x420]
mov dword [ebp - 0x414], ebx
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x424]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x474c43
cmp dword [ebp - 0x414], 1
je 0x474c43
cmp dword [ebp - 0x414], 2
je 0x474c43
test edi, edi
je 0x474c43
push 0x400
lea eax, [ebp - 0x410]
push edi
push eax
call dword [0x4c9a10]
add esp, 0xc
mov byte [ebp - 0x11], bl
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], ebx
push eax
call fcn.00486690
pop ecx
push eax
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00403870
mov eax, esi
call fcn.004084e0
ret
Function at 0x4239a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423a07
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4239fe
mov eax, dword [ebp - 4]
mov esi, 1
mov dword [edi], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423a70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsURLA]
test eax, eax
jne 0x423a8e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 1
pop ebp
ret
mov eax, 1
pop ebp
ret

Function at 0x424990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 8]
xor ecx, ecx
test eax, eax
cmove edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret

Function at 0x428b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test ebx, ebx
je 0x428b50
test al, 0x20
jne 0x428b68
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
jmp 0x428b5c
test al, 0x10
je 0x428b68
mov eax, dword [edi]
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428b9e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x428b9e
push 0
push 1
push dword [edi + 0x94]
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageA]
neg ebx
sbb ebx, ebx
and ebx, 5
push ebx
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x429210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
or dword [edi + 0x68], 0x20
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x42928b
mov eax, dword [ecx]
push esi
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [section..00cfg]
call esi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42928a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42928a
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x429292
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [section..00cfg]
call esi
push dword [ebp - 4]
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0
push dword [edi + 0x94]
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0x80004003
call fcn.00406920
int3

Function at 0x4292a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c3cb4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x4c7bd0]
mov edi, 0x64
test ecx, ecx
je 0x429302
movzx eax, word [ebp - 6]
xor edx, edx
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0x14]
div edi
movzx eax, word [ebp - 0x12]
push edx
push eax
movzx eax, word [ebp - 0xe]
push eax
push str._n_CSapOleDocObject::ImplDeactivateInPlace___starting_at___02i._02i._02i__02i:_02i:_02i._03i_
push ecx
call fcn.00402960
add esp, 0x24
and dword [esi + 0x68], 0xffffffdf
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x429333
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429333
push 0
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x42934a
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [section..00cfg]
call esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x4c7bd0]
test ecx, ecx
je 0x429393
movzx eax, word [ebp - 6]
xor edx, edx
push eax
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0x14]
div edi
movzx eax, word [ebp - 0x12]
push edx
push eax
movzx eax, word [ebp - 0xe]
push eax
push str._n_CSapOleDocObject::ImplDeactivateInPlace___returning_at___02i._02i._02i__02i:_02i:_02i._03i_
push ecx
call fcn.00402960
add esp, 0x24
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004038f0
mov esp, ebp
pop ebp
ret
Function at 0x4293b0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x4293b0
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4293d0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4293d0
push 0
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret

Function at 0x42f480
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4c3cb4]
xor eax, ebp
mov dword [ebp - 4], eax
push str..gui
push str.Filetype__.gui_
push 0
push 0
push 0
push 4
push str.SAP_Logon_Application
push 0x49a1b8
push str.SAPFront.App
lea eax, [ecx + 0x28]
push eax
call fcn.00481d86
call fcn.00481986
push 0x1f0
lea ecx, [ebp - 0x404]
push ecx
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x408]
push eax
push 0xf003f
push 0
push str.CLSID83658045_6571_3232_7082_797884697869LocalServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f54d
push str.__Inplace
lea eax, [ebp - 0x404]
push 0x400
push eax
call dword [0x4c9b68]
lea ecx, [ebp - 0x404]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f520
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
push 1
push 0
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004038f0
mov esp, ebp
pop ebp
ret 4
Function at 0x471348
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x10
mov eax, 0x4911fe
call fcn.00403970
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call fcn.00404e50
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00405600
push 0x104
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
call fcn.00403d90
push 0x104
mov ecx, edi
mov esi, eax
call fcn.00402250
push esi
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00403d70
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.00401310
cmp al, 0x5c
jne 0x4713d7
mov eax, dword [ebx]
push dword [eax]
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00404070
add esp, 0xc
mov dword [ebp - 4], 1
push 3
jmp 0x47140d
push 0x5c
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004042a0
mov ecx, eax
mov eax, dword [ebx]
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 5
push dword [eax]
lea eax, [ebp - 0x14]
push ecx
push eax
call fcn.00404070
add esp, 0x18
mov dword [ebp - 4], 3
push 0xd
pop ebx
push eax
mov ecx, edi
mov dword [ebp - 0x10], ebx
call fcn.00407930
test bl, 8
je 0x47142c
mov ecx, dword [ebp - 0x14]
and ebx, 0xfffffff7
lea ecx, [ecx - 0x10]
call fcn.00406610
test bl, 4
je 0x47143f
mov ecx, dword [ebp - 0x18]
and ebx, 0xfffffffb
lea ecx, [ecx - 0x10]
call fcn.00406610
test bl, 2
je 0x47144f
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00406610
mov eax, edi
call fcn.00401190
ret 4
Function at 0x4031d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465308
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4e9028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 8]
call sub.MFC80U.DLL_Ordinal_347
test edi, edi
mov dword [esp + 0x38], 0
jne 0x403220
xor eax, eax
jmp 0x403223
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_1270
mov eax, dword [esi + 4]
mov edx, dword [esp + 0xc]
push eax
push edx
call sub.MFC80U.DLL_Ordinal_5633
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
je 0x403277
mov esi, dword [esi + 4]
mov eax, dword [esp + 0xc]
push esi
push eax
call sub.MFC80U.DLL_Ordinal_5633
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC80U.DLL_Ordinal_602
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret