joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e330
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [0x5852c4], eax
call fcn.0040e520
mov ecx, dword [0x585794]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ebx, eax
mov dword [0x5857bc], 1
test ecx, ecx
jne 0x40e376
push 0
push str.:8:SetDefinedIcon__d__FAILED:_The_hInstance_for_this_console_has_not_yet_been_initialized_by_calling_SetHInstance__:_GetHInstance___returned_NULL___
call fcn.00424a90
add esp, 8
jmp 0x40e3f2
push 0x65
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
mov esi, eax
call fcn.0041dc60
add esp, 4
test esi, esi
jne 0x40e39f
push esi
push str.:7:SetDefinedIcon__d__FAILED:_LoadIcon___FAILED_
call fcn.00424fd0
add esp, 8
jmp 0x40e3f2
mov eax, dword [0x585798]
test eax, eax
jne 0x40e3c5
call edi
test eax, eax
jne 0x40e3c5
push eax
push str.:8:SetDefinedIcon__d__FAILED:_GetHwnd___FAILED_or_has_not_been_intialized___
call fcn.00424fd0
add esp, 8
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x40e3f2
push esi
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
jne 0x40e3f2
push str._GetLastError_
push eax
push str.:6:SetDefinedIcon__d__encountered_a_problem:_DestroyIcon___FAILED:__s
call fcn.00424fd0
add esp, 0xc
call fcn.0040ebc0
test eax, eax
jne 0x40e408
push str.:5:InitConsole___encountered_a_problem:_EnableNumLock___FAILED_
call fcn.00424fd0
add esp, 4
mov eax, dword [0x585798]
test eax, eax
jne 0x40e413
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e488
push str.PAULA_Initialization...
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
test eax, eax
jne 0x40e43f
push str._GetLastError_
push str.:4:InitConsole___encountered_a_problem:_SetConsoleTitle___FAILED:__s
call fcn.00424fd0
add esp, 8
mov eax, dword [0x585798]
test eax, eax
jne 0x40e44a
call edi
push 0x243
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x40e476
push str._GetLastError_
push str.:2:InitConsole___encountered_a_problem:_SetWindowPos___FAILED:__s
call fcn.00424fd0
add esp, 8
mov eax, dword [0x585798]
test eax, eax
jne 0x40e481
call edi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x80
push 0x80
push dword [0x585794]
call fcn.0041ddf0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x40e4da
call edi
push 0x19
mov esi, eax
call fcn.0041dc30
add esp, 4
test esi, esi
je 0x40e4d0
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffaffff
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x19
call fcn.0041dc30
add esp, 4
call fcn.0041dd20
push 1
call fcn.0041ee70
add esp, 4
push 1
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push str.DoNotScrmbErLg.txt
push 0
call fcn.0047d960
push eax
call fcn.004289f0
add esp, 0xc
test eax, eax
je 0x40e516
push 0
call fcn.00425c60
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x40e990
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push 0
push eax
call fcn.004e69c0
add esp, 0xc
call fcn.0040e080
mov esi, eax
call fcn.0040e1f0
mov ecx, eax
cmp esi, 0x100
mov eax, 0xff
mov dword [ebp - 0x108], ecx
cmovae esi, eax
test edi, edi
jne 0x40ea07
xor eax, eax
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x10c], eax
lea ebx, [ecx - 1]
mov dword [ebp - 0x11c], eax
lea eax, [esi - 1]
mov dword [ebp - 0x114], eax
jmp 0x40ea73
push dword [edi + 4]
lea eax, [ebp - 0x11c]
push dword [edi]
push eax
call fcn.00457d10
xor ecx, ecx
add esp, 0xc
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [ebp - 0x11c], xmm0
mov edi, dword [ebp - 0x118]
test eax, eax
cmovs eax, ecx
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], eax
xor eax, eax
test edi, edi
cmovs edi, eax
mov dword [ebp - 0x118], edi
cmp dword [ebp - 0x114], esi
jl 0x40ea60
lea eax, [esi - 1]
mov dword [ebp - 0x114], eax
mov ebx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x108]
cmp ebx, eax
jl 0x40ea79
lea ebx, [eax - 1]
mov dword [ebp - 0x110], ebx
movups xmm0, xmmword [ebp - 0x11c]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00457ba0
add esp, 0x10
test eax, eax
js 0x40eba1
movups xmm0, xmmword [ebp - 0x11c]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00457b00
add esp, 0x10
test eax, eax
js 0x40eba1
cmp dword [ebp - 0x10c], esi
jge 0x40eba1
cmp edi, dword [ebp - 0x108]
jge 0x40eba1
cmp edi, ebx
jg 0x40eb8b
nop word [eax + eax]
movups xmm0, xmmword [ebp - 0x11c]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00457ba0
mov esi, eax
add esp, 0x10
sub esi, 1
je 0x40eb68
test esi, esi
jns 0x40eb1d
call fcn.0040e080
mov ecx, eax
mov eax, esi
sub ecx, dword [ebp - 0x10c]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp ecx, esi
cmovl esi, ecx
mov eax, dword [ebp - 0x10c]
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x120]
push eax
mov word [ebp - 0x106], di
lea eax, [ebp - 0x104]
push dword [ebp - 0x108]
push esi
push eax
call fcn.0040deb0
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
test eax, eax
mov eax, dword [ebp - 0x120]
cmp eax, esi
jg 0x40eb68
mov byte [ebp + eax - 0x104], 0
jmp 0x40eb6f
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x104]
push eax
call fcn.004a73a0
add esp, 4
test eax, eax
je 0x40eba1
inc edi
cmp edi, ebx
jle 0x40eae0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x40fa90
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
call fcn.0040dd70
mov esi, dword [ebp - 4]
add esp, 8
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
mov byte [ebp + 8], bl
test esi, esi
js 0x40fafe
test edi, edi
js 0x40fafe
call fcn.0040e080
cmp esi, eax
jge 0x40fafe
call fcn.0040e1f0
cmp edi, eax
jge 0x40fafe
lea eax, [ebp - 4]
mov word [ebp - 8], si
push eax
mov word [ebp - 6], di
lea eax, [ebp + 8]
push dword [ebp - 8]
push 1
push eax
call fcn.0040deb0
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
call fcn.0040e080
inc esi
mov dword [ebp + 8], eax
cmp esi, eax
jl 0x40fb1e
xor esi, esi
call fcn.0040e1f0
inc edi
cmp edi, eax
jl 0x40fb1e
mov esi, dword [ebp + 8]
lea edi, [eax - 1]
dec esi
push edi
push esi
call fcn.00410800
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fb40
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x587bec], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
je 0x40fb76
call fcn.004d9850
sub eax, dword [0x587bf0]
cmp eax, 0xfa0
jb 0x40fb9c
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x587bec], eax
cmp eax, 0xffffffff
jne 0x40fb92
mov dword [0x587bec], 0
call fcn.004d9850
mov dword [0x587bf0], eax
push ebx
movzx ebx, word [ebp + 0xc]
lea eax, [ebp - 0x10]
push esi
movzx esi, word [ebp + 8]
push edi
mov edi, dword [0x587bec]
push eax
mov word [ebp + 8], si
lea eax, [ebp - 8]
mov word [ebp + 0xa], bx
push dword [ebp + 8]
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
test eax, eax
jne 0x40fbd7
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x16], bx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov word [ebp - 0x12], bx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc], 0x10001
mov word [ebp - 0x18], si
mov word [ebp - 0x14], si
mov byte [ebp - 4], bl
test al, 8
je 0x40fc03
xor eax, 8
mov word [ebp - 2], ax
cmp ebx, 0x20
jge 0x40fc48
movzx eax, word [ebp + 0xc]
mov word [ebp + 0xa], ax
lea eax, [ebp + 0xc]
push eax
mov word [ebp + 8], si
lea eax, [ebp - 4]
mov esi, dword [ebp + 8]
push esi
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
lea eax, [ebp + 0xc]
push eax
push esi
push 1
lea eax, [ebp - 2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4100e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], 0
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x41018c
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x41018c
push edi
call fcn.004a55e0
add esp, 4
lea eax, [ebp - 0x214]
push 0
push eax
mov eax, dword [ebp - 0x210]
push 0
push 1
push 0
push 0
neg eax
push 0
sbb eax, eax
push ebx
add eax, 0x80000002
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41019f
cmp dword [ebp - 0x210], 0
mov ecx, str.HKLM
push str._GetLastError_
push esi
mov eax, str.HKCU
push ebx
cmove eax, ecx
push eax
push str.:1:ReadRegString___FAILED_to_read__s___s____s_:_RegCreateKeyEx___FAILED:__s
call fcn.00424fd0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004e69c0
push edi
call fcn.004a55e0
push esi
call fcn.004a73a0
add esp, 0x14
test eax, eax
jne 0x410252
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x207
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
je 0x410233
push ebx
push str._GetLastError_
push esi
push str.:4:GetRegString___s___FAILED:_RegQueryValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov ecx, 0x207
test eax, eax
cmovns ecx, eax
lea eax, [ebp - 0x20c]
dec ecx
push ecx
push eax
push edi
call fcn.004a9a20
add esp, 0xc
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x410800
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.0040e900
test eax, eax
je 0x410818
mov eax, 1
mov esp, ebp
pop ebp
ret
cmp dword [0x587bec], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push esi
push edi
mov dword [ebp - 8], 0
je 0x410843
call fcn.004d9850
sub eax, dword [0x587bf0]
cmp eax, 0xfa0
jb 0x410865
push 0xfffffffffffffff5
call ebx
mov dword [0x587bec], eax
cmp eax, 0xffffffff
jne 0x41085b
mov dword [0x587bec], 0
call fcn.004d9850
mov dword [0x587bf0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x587bec]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov word [ebp - 4], cx
mov word [ebp - 2], dx
mov esi, dword [ebp - 4]
test eax, eax
je 0x410893
cmp eax, 0xffffffff
je 0x410893
push esi
push eax
call edi
mov dword [ebp - 8], eax
jmp 0x4108a8
push str._GetLastError_
push eax
push edx
push ecx
push str.:7:SetConsoleCursorPosServer__d___d_:_FAILED___x:__s
call fcn.00424a90
add esp, 0x14
push 0xfffffffffffffff5
call ebx
test eax, eax
je 0x4108b9
cmp eax, 0xffffffff
je 0x4108b9
push esi
push eax
call edi
push 0xfffffffffffffff4
call ebx
test eax, eax
je 0x4108ca
cmp eax, 0xffffffff
je 0x4108ca
push esi
push eax
call edi
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push str.CONOUT_
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x4108f0
push esi
push eax
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4123c0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x587ebc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x412414
nop word [eax + eax]
mov dword [0x587ec0], 1
test eax, eax
je 0x4123f7
push 0x19
call edi
mov eax, dword [0x587ebc]
test esi, esi
je 0x412401
test eax, eax
jne 0x4123e0
jmp 0x41241c
test eax, eax
je 0x41258e
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
test esi, esi
je 0x41258e
push 0x104
push esi
push 0x587ec8
call fcn.004a9a20
push esi
call fcn.004a55e0
xor ecx, ecx
add esp, 0x10
xor esi, esi
cmp byte [0x587ec8], cl
je 0x412488
push ebx
mov dl, byte [ecx + 0x587ec8]
test esi, esi
je 0x41245a
xor eax, eax
mov bl, 0x20
cmp dl, 0x29
cmovne eax, esi
mov esi, eax
jmp 0x41246a
cmp dl, 0x28
jne 0x412468
mov esi, 1
mov bl, 0x20
jmp 0x41246a
mov bl, dl
mov byte [ecx + 0x587fd0], bl
inc ecx
mov eax, ecx
cmp byte [ecx + 0x587ec8], 0
jne 0x412442
pop ebx
cmp eax, 0x104
jae 0x412596
mov byte [ecx + 0x587fd0], 0
mov eax, 0x587ec8
mov ecx, 0x587fd0
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4124c0
test dl, dl
je 0x4124bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4124c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4124a0
xor eax, eax
jmp 0x4124c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x412568
push 0x587e7c
call fcn.004a75a0
add esp, 4
test eax, eax
je 0x412554
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor esi, esi
mov dword [0x587ec0], esi
nop dword [eax]
cmp dword [0x58579c], 0
jne 0x41253b
mov dword [0x587ebc], 1
test esi, esi
je 0x412515
push 0x587fd0
call edi
mov eax, 0x2ee
jmp 0x412521
push 0x587ec8
call edi
mov eax, 0x5dc
push 0x587ec0
push eax
call fcn.004da340
add esp, 8
xor esi, 1
cmp dword [0x587ec0], 0
je 0x4124f0
push 0x587ec8
call edi
pop edi
mov dword [0x587ebc], 0
xor eax, eax
pop esi
pop ebp
ret 4
push 0x20
push 0x587e7c
push 0x587e9c
call fcn.004a9a20
add esp, 0xc
push 0x587ec8
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0x3e8
mov dword [0x587ebc], 0
mov dword [0x587ec0], 1
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
call fcn.004e523e
int3
Function at 0x413bd0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, 0x100
mov dword [ebp - 0x10c], eax
push edi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004e69c0
push ebx
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x110], 0
call fcn.004a75a0
add esp, 0x10
test eax, eax
jne 0x413d51
lea esi, [ebp - 0x104]
call fcn.004041c0
push dword [ebp - 0x10c]
mov ecx, eax
mov eax, esi
push 0
push ebx
push 0xff
push eax
mov eax, dword [ecx]
push dword [ecx + 4]
or eax, 1
mov dword [ebp - 0x114], ecx
push eax
call fcn.004eea53
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
cmp eax, ecx
jne 0x413cd0
nop dword [eax]
lea eax, [ebp - 0x104]
cmp esi, eax
je 0x413c83
push esi
call fcn.004eea9f
add esp, 4
add edi, edi
lea eax, [edi + 0xa]
push eax
push 1
call fcn.004eea94
mov esi, eax
add esp, 8
test esi, esi
je 0x413d51
push dword [ebp - 0x10c]
lea ecx, [edi - 1]
push 0
push ebx
push ecx
mov ecx, dword [ebp - 0x114]
push esi
mov eax, dword [ecx]
push dword [ecx + 4]
or eax, 1
push eax
call fcn.004eea53
add esp, 0x1c
mov ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
cmp eax, ecx
je 0x413c70
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x110]
mov ebx, dword [ebp + 0xc]
push ecx
mov word [ebp - 0x108], di
mov word [ebp - 0x106], bx
push dword [ebp - 0x108]
push eax
push esi
call fcn.0040deb0
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
test eax, eax
jne 0x413d27
cmp byte [0x5867dd], al
jne 0x413d27
push str._GetLastError_
push esi
push ebx
push edi
push str.:3:OutConsole__d___d___s__FAILED:_WriteConsoleOutputCharacter___FAILED:__s
call fcn.00424fd0
add esp, 0x14
mov byte [0x5867dd], 1
lea eax, [ebp - 0x104]
cmp esi, eax
je 0x413d3a
push esi
call fcn.004eea9f
add esp, 4
mov eax, dword [ebp - 0x110]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x426d20
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push edi
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x426e7c
mov esi, dword [ebp + 0xc]
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x426e7c
push eax
push 0x20
push 3
push eax
push 7
push 0x80
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x426de4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x426da5
mov dword [ebp - 4], 1
jmp 0x426dcd
cmp dword [0x5744ac], 0
je 0x426dcd
push str._GetLastError_
push ebx
push esi
push edi
push str.:6:CopyFileWithDates___s_____s____d__encountered_a_problem:_GetFileTime___FAILED:__s
mov dword [0x5744ac], 0
call fcn.00424a90
add esp, 0x14
push 0x9df
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.CopyFileWithDates
push dword [ebp - 8]
call fcn.00426230
push ebx
push esi
push edi
call fcn.00429860
add esp, 0xc
test eax, eax
je 0x426e7c
cmp dword [ebp - 4], 0
je 0x426e70
push 0
push SQLGetDiagRec
push 3
push 0
push 7
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x426e70
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x426e5b
mov eax, dword [0x58aad4]
inc eax
mov dword [0x58aad4], eax
cmp eax, 0xa
jge 0x426e5b
push str._GetLastError_
push dword [ebp + 0x10]
push esi
push edi
push str.:6:_1_of_10:_CopyFileWithDates___s_____s____d__encountered_a_problem:_SetFileTime___FAILED:__s
call fcn.00424a90
add esp, 0x14
push 0xa05
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.CopyFileWithDates
push ebx
call fcn.00426230
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427800
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.004e69c0
add esp, 0xc
mov dword [ebp - 0x10c], 0
test esi, esi
je 0x427a45
cmp byte [esi], 0x30
je 0x427a45
xor eax, eax
cmp eax, 0x104
jae 0x427a56
mov byte [ebp + eax - 0x108], 0
inc eax
cmp eax, 0x104
jl 0x42784f
push ebx
push edi
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push 0x22
push eax
call fcn.004a8100
mov ebx, dword [ebp + 0xc]
add esp, 0x14
test ebx, ebx
je 0x4278d3
push 0xf83
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.CreateDirectorySuper
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0x427a60
push 0
push 0
call fcn.004283f0
mov edi, eax
test edi, edi
jne 0x42791f
push str._GetLastError_
push eax
push esi
push str.:8:CreateDirectorySuper___FAILED_to_create_thread_to_create_directory___s_._NumThreads_d:__s
call fcn.00424a90
add esp, 0x10
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x427a2f
cmp eax, 0x50
je 0x427a2f
cmp eax, 0xb7
je 0x427a2f
cmp eax, 0x4c7
je 0x427a2f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
call fcn.004d9850
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4279a5
nop dword [eax]
cmp dword [ebp - 0x10c], 0x103
jne 0x4279a5
call fcn.004d9850
sub eax, dword [ebp - 0x110]
cmp eax, ebx
ja 0x427977
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x427940
jmp 0x4279a5
push esi
call fcn.004d9850
sub eax, dword [ebp - 0x110]
push eax
push str.:5:CreateDirectorySuper___timed_out_after__ldms_while_creating___s_
call fcn.00424fd0
add esp, 0xc
mov dword [ebp - 0x10c], 0
mov dword [0x58a808], 0x5b4
push 0xfb7
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.CreateDirectorySuper
push edi
call fcn.00426230
push dword [0x58a808]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [ebp - 0x10c], 0
jne 0x427a2f
cmp byte [esi], 0x5c
jne 0x4279fa
push str._tmpP2_NODEL_
push esi
call fcn.004a96e0
add esp, 8
test eax, eax
jne 0x427a14
push str._tmpP2_NODEL
push esi
call fcn.004a9630
add esp, 8
test eax, eax
je 0x427a14
push dword [0x58a808]
push str._GetLastError_
push ebx
push esi
push str.:3:FYI:_CreateDirectorySuper__s___lu___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [0x58a808]
call edi
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
call fcn.004e523e
int3
Function at 0x428270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x148]
push 0x104
push 0
push eax
call fcn.004e69c0
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004e69c0
add esp, 0x18
test esi, esi
je 0x428345
push esi
call fcn.004a55e0
push 0x21e88e
push 0xde
call fcn.00457a30
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004a94b0
add esp, 0x1c
lea eax, [ebp - 0x148]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4282fd
push str._GetLastError_
push str.:2:CreateTempFile___FAILED:_GetTempPath___FAILED:__s
jmp 0x42833d
push esi
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x428333
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x428333
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str._GetLastError_
push str.:2:CreateTempFile___FAILED:_GetTempFileName___FAILED:__s
call fcn.00424a90
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004e50dc
mov esp, ebp
pop ebp
ret