Function at 0x40cbd6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp byte [esi], 0
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
je 0x40cd9b
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [ecx]
cmp byte [esi], 0x25
jne 0x40cd84
push esi
call ebx
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x40cd84
xor edi, edi
mov dword [ebp - 8], edi
test al, al
je 0x40caff
cmp al, 0x23
jne 0x40cacb
add dword [ebp - 4], 2
jmp 0x40caef
cmp al, 0x2a
jne 0x40cadf
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x40caef
cmp al, 0x2d
je 0x40caef
cmp al, 0x2b
je 0x40caef
cmp al, 0x30
je 0x40caef
cmp al, 0x20
jne 0x40cafa
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x40cac1
cmp dword [ebp - 8], edi
jne 0x40cb2c
push esi
call fcn.00552c0e
mov dword [ebp - 8], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x40cb2c
movsx edx, al
push edx
call fcn.00552be5
add esp, 4
test eax, eax
je 0x40cb2c
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x40cb11
cmp byte [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x40cb80
push esi
call ebx
mov esi, eax
cmp byte [esi], 0x2a
push esi
jne 0x40cb54
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
call ebx
mov esi, eax
jmp 0x40cb80
call fcn.00552c0e
mov dword [ebp - 0xc], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x40cb80
movsx ecx, al
push ecx
call fcn.00552be5
add esp, 4
test eax, eax
je 0x40cb80
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x40cb65
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x49
jne 0x40cbb1
mov al, byte [esi + 1]
cmp al, 0x36
jne 0x40cb9f
cmp byte [esi + 2], 0x34
jne 0x40cb9f
add esi, 3
mov ebx, 0x40000
jmp case.0x40cbc3.71
cmp al, 0x33
jne 0x40cbae
cmp byte [esi + 2], 0x32
jne 0x40cbae
add esi, 3
jmp case.0x40cbc3.71
inc esi
jmp case.0x40cbc3.71
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x40cbc3.71
movzx edx, byte [eax + 0x40ce90]
jmp dword [edx*4 + 0x40ce80]
mov ebx, 0x10000
jmp case.0x40cbc3.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
movsx eax, byte [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x40cca4
je 0x40cc67
cmp eax, 0x73
jg 0x40cc93
je 0x40cc75
cmp eax, 0x43
je 0x40cc67
cmp eax, 0x53
je 0x40cc28
cmp eax, 0x63
je 0x40cc67
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x40cc21.70
movzx eax, byte [eax + 0x40cecc]
jmp dword [eax*4 + 0x40ceb8]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40cc40
lea edi, [eax + 6]
jmp 0x40ccfe
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cc43
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 1
jge 0x40ccf6
mov edi, 1
jmp 0x40ccfe
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x40ccfe
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40cc8a
lea edi, [eax + 6]
jmp 0x40ccfe
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x40cc52
sub eax, 0x10043
je 0x40cc67
sub eax, 0x10
je 0x40cc75
jmp 0x40cc0b
cmp eax, 0x20053
jg 0x40ccbe
je 0x40ccce
cmp eax, 0x10073
je 0x40cc75
cmp eax, 0x20043
jmp 0x40cc09
sub eax, 0x20063
je 0x40cc67
sub eax, 0x10
jne 0x40cc0b
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40cce3
lea edi, [eax + 6]
jmp 0x40ccfe
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cce6
jmp 0x40cc4e
test edi, edi
je 0x40cc0b
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x40cd07
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x40cc21.70
cmp edi, eax
jl case.0x40cc21.70
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40cd8c
test ebx, 0x40000
je case.0x40cc21.112
add dword [ebp + 0xc], 8
jmp 0x40cd34
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov edi, 0x20
cmp eax, edi
jl case.0x40cc21.70
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40cd8c
push str.Floating_point____e____f____g__and___G__is_not_supported_by_the_WTL::CString_class.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x40cd8c
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x40cd8c
push esi
call ebx
sub eax, esi
add dword [ebp - 4], eax
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x40caa0
pop ebx
mov edx, dword [ebp - 4]
push edx
mov ecx, edi
call fcn.00404230
test eax, eax
jne 0x40cdb2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [eax - 4]
push edx
inc ecx
push ecx
push eax
call fcn.00551d39
mov eax, dword [edi]
lea esi, [eax - 0xc]
add esp, 0x10
cmp dword [esi], 1
jle case.0x40ce37.79
add eax, 0xfffffff4
cmp eax, dword [0x610020]
je 0x40ce03
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40cdfc
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.00551d56
add esp, 4
mov eax, dword [0x610024]
mov dword [edi], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00402ba0
test eax, eax
je case.0x40ce37.79
mov eax, dword [esi + 4]
mov edx, dword [edi]
mov ecx, dword [edx - 4]
inc eax
push eax
add esi, 0xc
inc ecx
push esi
push ecx
push edx
call fcn.00551af6
add esp, 0x10
cmp eax, 0x50
ja case.0x40ce37.0
movzx edx, byte [eax + 0x40cf10]
jmp dword [edx*4 + 0x40cf00]
push 0x8007000e
call fcn.00402500
push 0x80070057
call fcn.00402500
push 0x80004005
call fcn.00402500
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
pop edi
mov byte [eax + edx], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8