Function at 0x403d12
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
cmp word [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
je 0x40400d
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x403ff2
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x403ff2
xor edi, edi
cmp ax, di
mov dword [esp + 0x2c], edi
je 0x403db0
cmp ax, 0x23
jne 0x403d73
add dword [esp + 0x10], 2
jmp 0x403d9c
cmp ax, 0x2a
jne 0x403d84
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x2c], eax
jmp 0x403d9c
cmp ax, 0x2d
je 0x403d9c
cmp ax, 0x2b
je 0x403d9c
cmp ax, 0x30
je 0x403d9c
cmp ax, 0x20
jne 0x403da9
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403d66
cmp dword [esp + 0x2c], 0
jne 0x403dd8
push esi
call fcn.00407810
pop ecx
mov dword [esp + 0x2c], eax
jmp 0x403dd0
movzx eax, ax
push eax
call fcn.004077e3
test eax, eax
pop ecx
je 0x403dd8
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403dbd
and dword [esp + 0x18], 0
cmp word [esi], 0x2e
jne 0x403e25
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x403dfe
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x1c], eax
call ebp
mov esi, eax
jmp 0x403e25
call fcn.00407810
pop ecx
mov dword [esp + 0x18], eax
jmp 0x403e1d
movzx eax, ax
push eax
call fcn.004077e3
test eax, eax
pop ecx
je 0x403e25
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403e0a
movzx eax, word [esi]
and dword [esp + 0x14], 0
cmp ax, 0x49
jne 0x403e4e
cmp word [esi + 2], 0x36
jne 0x403e4e
cmp word [esi + 4], 0x34
jne 0x403e4e
add esi, 6
mov dword [esp + 0x14], 0x40000
jmp 0x403e80
movzx eax, ax
sub eax, 0x46
je 0x403e7b
sub eax, 6
je 0x403e7b
dec eax
dec eax
je 0x403e7b
sub eax, 0x1a
je 0x403e73
sub eax, 4
jne 0x403e80
mov dword [esp + 0x14], 0x20000
jmp 0x403e7b
mov dword [esp + 0x14], 0x10000
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x14]
mov ecx, 0x10063
cmp eax, ecx
jg 0x403f34
je 0x403f2c
sub eax, 0x43
je 0x403f2c
push 0x10
pop ecx
sub eax, ecx
je 0x403f71
sub eax, ecx
je 0x403f2c
sub eax, ecx
je 0x403f15
sub eax, 0xffd0
je 0x403f2c
sub eax, ecx
je 0x403f71
movzx eax, word [esi]
cmp eax, 0x69
jg 0x403fa9
je 0x403fbe
cmp eax, 0x45
je 0x403eff
cmp eax, 0x47
je 0x403eff
cmp eax, 0x58
je 0x403fbe
cmp eax, 0x64
je 0x403fbe
add eax, 0xffffff9b
cmp eax, 2
ja 0x403fe8
push str.Floating_point____e____f____g__and___G__is_not_supported_by_the_WTL::CString_class.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x403fe8
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x403f23
push 6
pop edi
jmp 0x403f93
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x403f81
push 2
pop edi
add ebx, 4
jmp 0x403f93
sub eax, 0x10073
je 0x403f71
sub eax, 0xffd0
je 0x403f2c
sub eax, 0x10
je 0x403f55
sub eax, 0x10
je 0x403f2c
sub eax, 0x10
jne 0x403ec5
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x403f1e
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x403f61
sub eax, edx
sar eax, 1
jmp 0x403f81
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x403f1e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x403f8b
xor edi, edi
inc edi
test edi, edi
je 0x403ec5
cmp edi, dword [esp + 0x2c]
jg 0x403f9d
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x403fe8
cmp edi, eax
jmp 0x403fdf
sub eax, 0x6e
je 0x403fe5
dec eax
je 0x403fbe
dec eax
je 0x403fcd
sub eax, 5
je 0x403fbe
sub eax, 3
jne 0x403fe8
test dword [esp + 0x14], 0x40000
je 0x403fcd
add ebx, 8
jmp 0x403fd0
add ebx, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jl 0x403fe8
mov edi, eax
jmp 0x403fe8
add ebx, 4
add dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
jmp 0x403ffd
push esi
call ebp
sub eax, esi
sar eax, 1
add dword [esp + 0x10], eax
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x403d3f
pop ebp
push dword [esp + 0xc]
mov ecx, edi
call fcn.00402b7b
test eax, eax
je 0x404040
mov eax, dword [edi]
push dword [esp + 0x1c]
mov ecx, dword [eax - 4]
push dword [esp + 0x28]
inc ecx
push ecx
push eax
call fcn.00407568
add esp, 0x10
push 0xffffffffffffffff
mov ecx, edi
call fcn.00403a36
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8