Function at 0x407756
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 0x40791b
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [ecx]
cmp byte [esi], 0x25
jne 0x407904
push esi
call ebx
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x407904
xor edi, edi
mov dword [ebp - 8], edi
test al, al
je 0x40767f
cmp al, 0x23
jne 0x40764b
add dword [ebp - 4], 2
jmp 0x40766f
cmp al, 0x2a
jne 0x40765f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x40766f
cmp al, 0x2d
je 0x40766f
cmp al, 0x2b
je 0x40766f
cmp al, 0x30
je 0x40766f
cmp al, 0x20
jne 0x40767a
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x407641
cmp dword [ebp - 8], edi
jne 0x4076ac
push esi
call fcn.0040a24f
mov dword [ebp - 8], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x4076ac
movsx edx, al
push edx
call fcn.0040aaa2
add esp, 4
test eax, eax
je 0x4076ac
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x407691
cmp byte [esi], 0x2e
mov dword [ebp - 0xc], edi
jne 0x407700
push esi
call ebx
mov esi, eax
cmp byte [esi], 0x2a
push esi
jne 0x4076d4
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 0x407700
call fcn.0040a24f
mov dword [ebp - 0xc], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x407700
movsx ecx, al
push ecx
call fcn.0040aaa2
add esp, 4
test eax, eax
je 0x407700
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4076e5
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x49
jne 0x407731
mov al, byte [esi + 1]
cmp al, 0x36
jne 0x40771f
cmp byte [esi + 2], 0x34
jne 0x40771f
add esi, 3
mov ebx, 0x40000
jmp case.0x407743.71
cmp al, 0x33
jne 0x40772e
cmp byte [esi + 2], 0x32
jne 0x40772e
add esi, 3
jmp case.0x407743.71
inc esi
jmp case.0x407743.71
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x407743.71
movzx edx, byte [eax + 0x407a10]
jmp dword [edx*4 + 0x407a00]
mov ebx, 0x10000
jmp case.0x407743.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 0x407824
je 0x4077e7
cmp eax, 0x73
jg 0x407813
je 0x4077f5
cmp eax, 0x43
je 0x4077e7
cmp eax, 0x53
je 0x4077a8
cmp eax, 0x63
je 0x4077e7
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x4077a1.70
movzx eax, byte [eax + 0x407a4c]
jmp dword [eax*4 + 0x407a38]
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x4077c0
lea edi, [eax + 6]
jmp 0x40787e
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4077c3
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 1
jge 0x407876
mov edi, 1
jmp 0x40787e
add dword [ebp + 0xc], 4
mov edi, 2
jmp 0x40787e
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x40780a
lea edi, [eax + 6]
jmp 0x40787e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4077d2
sub eax, 0x10043
je 0x4077e7
sub eax, 0x10
je 0x4077f5
jmp 0x40778b
cmp eax, 0x20053
jg 0x40783e
je 0x40784e
cmp eax, 0x10073
je 0x4077f5
cmp eax, 0x20043
jmp 0x407789
sub eax, 0x20063
je 0x4077e7
sub eax, 0x10
jne 0x40778b
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov eax, dword [eax - 4]
test eax, eax
jne 0x407863
lea edi, [eax + 6]
jmp 0x40787e
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407866
jmp 0x4077ce
test edi, edi
je 0x40778b
mov eax, dword [ebp - 8]
cmp edi, eax
jg 0x407887
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x4077a1.70
cmp edi, eax
jl case.0x4077a1.70
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40790c
test ebx, 0x40000
je case.0x4077a1.112
add dword [ebp + 0xc], 8
jmp 0x4078b4
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov edi, 0x20
cmp eax, edi
jl case.0x4077a1.70
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x40790c
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 0x40790c
add dword [ebp + 0xc], 4
add dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
jmp 0x40790c
push esi
call ebx
sub eax, esi
add dword [ebp - 4], eax
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x407620
pop ebx
mov edx, dword [ebp - 4]
push edx
mov ecx, edi
call fcn.004071c0
test eax, eax
jne 0x407932
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.0040a9be
mov eax, dword [edi]
lea esi, [eax - 0xc]
add esp, 0x10
cmp dword [esi], 1
jle case.0x4079b7.79
add eax, 0xfffffff4
cmp eax, dword [0x41b020]
je 0x407983
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40797c
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.00409b02
add esp, 4
mov eax, dword [0x41b024]
mov dword [edi], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00406e30
test eax, eax
je case.0x4079b7.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.00409d86
add esp, 0x10
cmp eax, 0x50
ja case.0x4079b7.0
movzx edx, byte [eax + 0x407a90]
jmp dword [edx*4 + 0x407a80]
push 0x8007000e
call fcn.00401000
push 0x80070057
call fcn.00401000
push 0x80004005
call fcn.00401000
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