Function at 0x40aec0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov esi, eax
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
cmp byte [eax], bl
je 0x40b1c1
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
lea ecx, [ecx]
cmp byte [esi], 0x25
jne 0x40b1a4
push esi
call ebp
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x40b1a4
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
test al, al
je 0x40af62
mov ebx, dword [esp + 0x2c]
lea esp, [esp]
cmp al, 0x23
jne 0x40af29
add ebx, 2
jmp 0x40af48
cmp al, 0x2a
jne 0x40af38
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x10], eax
jmp 0x40af48
cmp al, 0x2d
je 0x40af48
cmp al, 0x2b
je 0x40af48
cmp al, 0x30
je 0x40af48
cmp al, 0x20
jne 0x40af53
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x40af20
cmp dword [esp + 0x10], 0
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x18]
jne 0x40af90
push esi
call fcn.004234cd
mov cl, byte [esi]
add esp, 4
mov dword [esp + 0x10], eax
test cl, cl
je 0x40af90
movsx ecx, cl
push ecx
call fcn.004253ec
add esp, 4
test eax, eax
je 0x40af90
push esi
call ebp
mov esi, eax
mov cl, byte [esi]
test cl, cl
jne 0x40af75
cmp byte [esi], 0x2e
mov dword [esp + 0x18], 0
jne 0x40afeb
push esi
call ebp
mov esi, eax
push esi
cmp byte [esi], 0x2a
jne 0x40afb7
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
jmp 0x40afeb
call fcn.004234cd
mov cl, byte [esi]
add esp, 4
mov dword [esp + 0x18], eax
test cl, cl
je 0x40afeb
lea esp, [esp]
movsx ecx, cl
push ecx
call fcn.004253ec
add esp, 4
test eax, eax
je 0x40afeb
push esi
call ebp
mov esi, eax
mov cl, byte [esi]
test cl, cl
jne 0x40afd0
mov al, byte [esi]
mov dword [esp + 0x14], 0
cmp al, 0x49
jne 0x40b025
mov al, byte [esi + 1]
cmp al, 0x36
jne 0x40b013
cmp byte [esi + 2], 0x34
jne 0x40b013
add esi, 3
mov dword [esp + 0x14], 0x40000
jmp case.0x40b037.71
cmp al, 0x33
jne 0x40b022
cmp byte [esi + 2], 0x32
jne 0x40b022
add esi, 3
jmp case.0x40b037.71
inc esi
jmp case.0x40b037.71
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x40b037.71
movzx eax, byte [eax + 0x40b2fc]
jmp dword [eax*4 + 0x40b2ec]
mov dword [esp + 0x14], 0x10000
jmp case.0x40b037.70
mov dword [esp + 0x14], 0x20000
push esi
call ebp
mov esi, eax
movsx eax, byte [esi]
mov ecx, dword [esp + 0x14]
or eax, ecx
cmp eax, 0x10063
jg 0x40b0d9
je 0x40b085
cmp eax, 0x73
jg 0x40b0cb
je 0x40b0b4
cmp eax, 0x43
je 0x40b085
cmp eax, 0x53
je 0x40b0fe
cmp eax, 0x63
jne 0x40b12e
mov ebx, 2
add edi, 4
mov eax, dword [esp + 0x10]
cmp ebx, eax
cmovg eax, ebx
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je case.0x40b144.70
cmp ebx, eax
cmovl eax, ebx
mov ebx, eax
add dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x40b1af
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x40b0c2
lea ebx, [eax + 6]
jmp 0x40b08d
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
jmp 0x40b115
sub eax, 0x10043
je 0x40b085
sub eax, 0x10
je 0x40b0b4
jmp 0x40b12e
cmp eax, 0x20053
jg 0x40b0f2
je 0x40b0fe
cmp eax, 0x10073
je 0x40b0b4
cmp eax, 0x20043
je 0x40b085
jmp 0x40b12e
sub eax, 0x20063
je 0x40b085
sub eax, 0x10
jne 0x40b12e
mov eax, dword [edi]
add edi, 4
test eax, eax
jne 0x40b10c
lea ebx, [eax + 6]
jmp 0x40b08d
push eax
call fcn.0042517b
add esp, 4
mov ebx, eax
mov eax, 1
cmp ebx, 1
cmovl ebx, eax
test ebx, ebx
jne 0x40b08d
mov ecx, dword [esp + 0x14]
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x40b144.70
movzx eax, byte [eax + 0x40b338]
jmp dword [eax*4 + 0x40b324]
test ecx, 0x40000
je case.0x40b144.112
add edi, 8
jmp 0x40b15b
add edi, 4
mov eax, dword [esp + 0x18]
mov ebx, 0x20
add eax, dword [esp + 0x10]
cmp eax, ebx
jl case.0x40b144.70
mov ebx, eax
add dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x40b1af
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 [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x40b1af
add edi, 4
add dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x40b1af
push esi
call ebp
sub eax, esi
add ebx, eax
mov dword [esp + 0x2c], ebx
push esi
call ebp
mov esi, eax
cmp byte [esi], 0
jne 0x40aef0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 1
lea esi, [eax - 0xc]
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov ebp, dword [esp + 0x2c]
jg 0x40b1db
cmp ebp, dword [eax - 4]
jle 0x40b232
mov edi, dword [eax - 8]
cmp ebp, edi
cmovl ebp, edi
push ebp
call fcn.004046a0
test eax, eax
je 0x40b2df
lea eax, [edi + 1]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x24]
push eax
push dword [ebp]
call fcn.00424ec9
push eax
call fcn.00405100
mov eax, dword [ebp]
add esp, 0x14
mov dword [eax - 8], edi
cmp esi, dword [0x44b080]
je 0x40b236
push esi
call ebx
test eax, eax
jg 0x40b236
push esi
call fcn.00423300
add esp, 4
jmp 0x40b236
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp]
test ecx, ecx
je 0x40b2df
push dword [esp + 0x20]
mov eax, dword [ecx - 4]
push dword [esp + 0x2c]
inc eax
push eax
push ecx
call fcn.004256b3
mov eax, dword [ebp]
add esp, 0x10
cmp dword [eax - 0xc], 1
lea esi, [eax - 0xc]
jle 0x40b2ba
add eax, 0xfffffff4
cmp eax, dword [0x44b080]
je 0x40b28c
push esi
call ebx
test eax, eax
jg 0x40b284
mov eax, dword [ebp]
sub eax, 0xc
push eax
call fcn.00423300
add esp, 4
mov eax, dword [0x44b084]
mov dword [ebp], eax
push dword [esi + 4]
mov ecx, ebp
call fcn.004046a0
test eax, eax
je 0x40b2ba
mov edx, dword [ebp]
mov eax, dword [esi + 4]
inc eax
push eax
mov ecx, dword [edx - 4]
lea eax, [esi + 0xc]
push eax
inc ecx
push ecx
push edx
call fcn.00424ec9
push eax
call fcn.00405100
add esp, 0x14
push dword [ebp]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [ebp]
pop edi
pop esi
mov dword [ecx - 8], eax
mov ecx, dword [ebp]
pop ebp
pop ebx
mov byte [eax + ecx], 0
mov eax, 1
add esp, 0x14
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8