Function at 0x40d3e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502c9d
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x557200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 0
push 0x561238
mov dword [ebp - 0x108], 0x561238
call fcn.0049ff05
add esp, 4
test eax, eax
jne 0x40de8c
push 0x561238
mov byte [ebp - 4], 1
call fcn.0049ff05
add esp, 4
test eax, eax
jne 0x40de92
mov eax, dword [ebp + 8]
push 0x561238
mov esi, dword [eax + 4]
call fcn.0049ff2a
add esp, 4
cmp dword [ebp + 0xc], esi
jl 0x40de2e
sub esp, 0x18
lea eax, [ebp + 0x1c]
mov ecx, esp
lea esi, [ebp + 0x34]
push eax
call fcn.00408370
mov edx, esi
lea ecx, [ebp - 0x78]
call fcn.00433fe0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
push 4
xor eax, eax
mov dword [ebp - 0x104], 0
push 0x534e74
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
call fcn.004084c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
push 2
xor eax, eax
mov dword [ebp - 0xec], 0
push 0x534e80
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
call fcn.004084c0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xec]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x28]
call fcn.004341c0
add esp, 8
lea ecx, [ebp - 0x78]
push eax
call fcn.00412080
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d56f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de98
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40d5c7
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d5bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de98
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x40d60b
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d601
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de98
push edx
push ecx
call fcn.004b51c1
add esp, 8
cmp dword [edi + 0x14], 8
push dword [ebp - 0xd0]
jb 0x40d619
mov edi, dword [edi]
push edi
sub esp, 0x18
mov ecx, esp
push 8
push str.___s:_d_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
lea eax, [ebp - 0xc0]
push eax
call fcn.00433e40
add esp, 0x24
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.0042c010
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x18
mov ecx, esp
push 0xf
push str._P:_6d__T:_6d_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
lea eax, [ebp - 0x90]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 7
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
cmovae eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x64], 8
push eax
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], 8
push eax
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
cmp dword [ebp - 0x94], 8
push eax
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push eax
sub esp, 0x18
mov ecx, esp
push 0xd
push str.__s___s__s__s
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
lea eax, [ebp - 0x60]
push eax
call fcn.00433e40
push 0x561238
mov byte [ebp - 4], 8
call fcn.0049ff05
add esp, 0x30
test eax, eax
jne 0x40de9d
push 0x561238
call fcn.0049ff2a
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x60]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.00434770
add esp, 8
test al, al
je 0x40dc52
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x40d785
jmp dword [eax*4 + 0x40dea8]
lea eax, [ebp - 0xcc]
push str.event
push eax
call fcn.0044aa90
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
call fcn.0044b0d0
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 0xc1], al
test edi, edi
je 0x40d7e7
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x40d7e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40d7e1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0xc1]
test al, al
je case.default.0x40d785
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00441cc0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
push eax
call fcn.0044ca90
mov edi, eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
push str.event
push eax
call fcn.0044aa90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xd
push 0x294
jmp 0x40dba7
lea eax, [ebp - 0xcc]
push str.event
push eax
call fcn.0044aa90
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call fcn.0044ad90
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 0xc1], al
test edi, edi
je 0x40d897
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x40d897
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40d891
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0xc1]
test al, al
je case.default.0x40d785
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00441cc0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
push eax
call fcn.0044c870
mov edi, eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x10
push str.event
push eax
call fcn.0044aa90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x11
push 0x297
jmp 0x40dba7
lea eax, [ebp - 0xcc]
push str.event
push eax
call fcn.0044aa90
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
call fcn.0044b000
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 0xc1], al
test edi, edi
je 0x40d947
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x40d947
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40d941
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0xc1]
test al, al
je case.default.0x40d785
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00441cc0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x13
push eax
call fcn.0044c930
mov edi, eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x14
push str.event
push eax
call fcn.0044aa90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x15
push 0x29a
jmp 0x40dba7
lea eax, [ebp - 0xcc]
push str.event
push eax
call fcn.0044aa90
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
call fcn.0044b1a0
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 0xc1], al
test edi, edi
je 0x40d9f7
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x40d9f7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40d9f1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0xc1]
test al, al
je case.default.0x40d785
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00441cc0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x17
push eax
call fcn.0044cad0
mov edi, eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x18
push str.event
push eax
call fcn.0044aa90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x19
push 0x29d
jmp 0x40dba7
lea eax, [ebp - 0xcc]
push str.event
push eax
call fcn.0044aa90
add esp, 8
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
call fcn.0044ae60
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 0xc1], al
test edi, edi
je 0x40daa7
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x40daa7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40daa1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0xc1]
test al, al
je case.default.0x40d785
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00441cc0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x1b
push eax
call fcn.0044c8b0
mov edi, eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x1c
push str.event
push eax
call fcn.0044aa90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x1d
push 0x2a0
jmp 0x40dba7
lea eax, [ebp - 0xcc]
push str.event
push eax
call fcn.0044aa90
add esp, 8
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
call fcn.0044af30
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 0xc1], al
test edi, edi
je 0x40db57
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x40db57
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40db51
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0xc1]
test al, al
je case.default.0x40d785
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00441cc0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x1f
push eax
call fcn.0044c8f0
mov edi, eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x20
push str.event
push eax
call fcn.0044aa90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x21
push 0x2a3
push str.void___cdecl_DevLogger::EventLog_enum_DevLogger::LOGSTEP_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_unsigned_int_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____..._
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceLoggerDevLogger.cpp
lea ecx, [ebp - 0xe0]
call fcn.0044dd10
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00441ec0
push eax
lea ecx, [ebp - 0x30]
call fcn.004455d0
mov ecx, dword [esi]
push eax
push edi
call fcn.0044a6f0
mov edi, dword [ebp - 0xc8]
or esi, 0xffffffff
test edi, edi
je 0x40dc07
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x40dc07
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40dc07
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0xd0]
test edi, edi
je 0x40dc2f
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x40dc2f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x40dc2f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.00441d90
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmovae eax, dword [ebp - 0x60]
push eax
call esi
push 0x532228
call esi
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x40dc86
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
cmp edx, 8
jb 0x40dcd2
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov word [ebp - 0x60], ax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], eax
cmp edx, 8
jb 0x40dd1f
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x94]
xor eax, eax
mov word [ebp - 0x90], ax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x40dd72
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0xac]
xor eax, eax
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], eax
cmp edx, 8
jb 0x40ddcb
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ddc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x64]
xor eax, eax
mov word [ebp - 0xc0], ax
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xb0], eax
cmp edx, 8
jb 0x40de1e
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40de14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0x68], eax
push 0x561238
call fcn.0049ff2a
mov edx, dword [ebp + 0x30]
add esp, 4
cmp edx, 8
jb 0x40de71
mov ecx, dword [ebp + 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40de67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dea3
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4f32
mov esp, ebp
pop ebp
ret
push eax
call fcn.0049fb75
push eax
call fcn.0049fb75
call fcn.004b9cae
push eax
call fcn.0049fb75
call fcn.004b9cae
mov edi, ss
inc eax
add byte [eax + ebx*8], bh
inc eax
add ah, ch
fadd dword [eax]
pushfd
fld dword [eax]
dec esp
fiadd dword [eax]
cld
fiadd dword [eax]