Function at 0x43c4f0
Capabilities:
Print debug messages
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4e362c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
dec eax
push edi
mov edi, 0x4e6548
cmp eax, 3
ja case.default.0x43c510
jmp dword [eax*4 + 0x43c854]
mov edi, 0x4e6534
jmp case.default.0x43c510
mov edi, 0x4e64f8
jmp case.default.0x43c510
mov edi, 0x4e650c
jmp case.default.0x43c510
mov edi, 0x4e6520
push 0
push 0x80
push 3
push 0
xor ebx, ebx
mov dword [ebp - 0x34], 0
cmp dword [edi + 0x10], ebx
push 0
push 0x80000000
sete bl
push str..CmgShieldFFE
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x43c585
push str.C:_bambooxml_data_build_dirCRED_CBV99_JOB1_srcBaseComponentCmgClientCommonLib_srcMyDebug.cpp:FlushQueuedLogMessages_CEF____error_opening_CEF_device_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d700
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x30], 1
jbe 0x43c7ef
push esi
mov edx, dword [edi + 8]
mov esi, dword [edi + 4]
mov ecx, dword [edi + 0xc]
lea eax, [edx - 1]
and eax, ecx
mov ebx, dword [esi + eax*4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
jb 0x43c5cb
mov ebx, dword [ebx]
cmp eax, 8
jae 0x43c5e0
movups xmm0, xmmword [ebx]
mov dword [ebp - 8], 7
movups xmmword [ebp - 0x1c], xmm0
jmp 0x43c628
mov esi, eax
lea ecx, [ebp - 0x1c]
or esi, 7
mov eax, 0x7ffffffe
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00414370
mov ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push ecx
call fcn.00470170
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [ebp - 8], esi
mov esi, dword [edi + 4]
mov dword [ebp - 0xc], eax
lea eax, [edx - 1]
and eax, ecx
push dword [esi + eax*4]
push edi
call fcn.0043af20
add esp, 8
add dword [edi + 0x10], 0xffffffff
jne 0x43c64b
mov dword [edi + 0xc], 0
jmp 0x43c64e
inc dword [edi + 0xc]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 0
cmovae eax, dword [ebp - 0x1c]
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov dword [ebp - 0x20], eax
mov ebx, 1
cmovg ebx, eax
add ebx, 0x18
push ebx
call fcn.0047a020
mov esi, eax
add esp, 4
test esi, esi
je 0x43c776
push ebx
push 0
push esi
call fcn.00470010
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi], ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0x18
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
test eax, eax
jle 0x43c726
cmp dword [ebp - 8], 8
lea ecx, [esi + 0x18]
push 0
push 0
push eax
push ecx
push 0xffffffffffffffff
lea ebx, [ebp - 0x1c]
mov dword [ebp - 0x2c], 0
cmovae ebx, dword [ebp - 0x1c]
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x43c726
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c702
sub ecx, edx
lea eax, [esi + 0x18]
sar ecx, 1
push ecx
push ebx
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00478df2
add esp, 0x14
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push dword [esi]
push esi
push 0x83210124
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43c757
push esi
mov dword [ebp - 0x28], 1
call fcn.00479a10
add esp, 4
jmp 0x43c781
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FlushQueuedLogMessages_CEF:_error_0x_x_writing_message_n
call fcn.0043e860
add esp, 8
push esi
call fcn.00479a10
add esp, 4
jmp 0x43c781
push str.FlushQueuedLogMessages_CEF:_memory_allocation_failed__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x30], 0
mov ebx, dword [ebp - 0x28]
je 0x43c78e
test ebx, ebx
je 0x43c808
mov dword [ebp - 0x30], 0
test ebx, ebx
jne 0x43c7ab
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x43c7e1
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43c7d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c84d
push edx
push ecx
call fcn.0046d73e
add esp, 8
cmp dword [edi + 0x10], 0
ja 0x43c597
mov eax, dword [ebp - 0x24]
pop esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0046d700
mov esp, ebp
pop ebp
ret
push str.FlushQueuedLogMessages_CEF:_exit_loop_on_error_n
call fcn.0043e860
mov edx, dword [ebp - 8]
add esp, 4
cmp edx, 8
jb 0x43c7eb
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43c841
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c84d
push edx
push ecx
call fcn.0046d73e
add esp, 8
jmp 0x43c7eb
call fcn.00479239
nop
pop ss
lds eax, [ebx]
push ds
lds eax, [ebx]
and eax, 0x2c0043c5
lds eax, [ebx]
int3