Function at 0x401290
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp + 4], 0
push ebx
push esi
push edi
mov edi, dword [esp + 0x28]
cmp word [edi], 0
mov ebx, eax
mov dword [esp + 0x1c], ebx
je 0x401580
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
cmp word [edi], 0x25
jne 0x401565
push edi
call ebp
mov edi, eax
movzx eax, word [edi]
cmp ax, 0x25
je 0x401565
xor esi, esi
mov dword [esp + 0x10], esi
cmp ax, si
je 0x401327
cmp ax, 0x23
jne 0x4012ea
add dword [esp + 0x14], 2
jmp 0x401313
cmp ax, 0x2a
jne 0x4012fb
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x10], eax
jmp 0x401313
cmp ax, 0x2d
je 0x401313
cmp ax, 0x2b
je 0x401313
cmp ax, 0x30
je 0x401313
cmp ax, 0x20
jne 0x401320
push edi
call ebp
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x4012dd
cmp dword [esp + 0x10], 0
jne 0x40134f
push edi
call fcn.0041f53b
pop ecx
mov dword [esp + 0x10], eax
jmp 0x401347
movzx eax, ax
push eax
call fcn.004204d3
pop ecx
test eax, eax
je 0x40134f
push edi
call ebp
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x401334
and dword [esp + 0x1c], 0
cmp word [edi], 0x2e
jne 0x40139c
push edi
call ebp
mov edi, eax
cmp word [edi], 0x2a
push edi
jne 0x401375
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x20], eax
call ebp
mov edi, eax
jmp 0x40139c
call fcn.0041f53b
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x401394
movzx eax, ax
push eax
call fcn.004204d3
pop ecx
test eax, eax
je 0x40139c
push edi
call ebp
mov edi, eax
movzx eax, word [edi]
test ax, ax
jne 0x401381
movzx eax, word [edi]
and dword [esp + 0x18], 0
cmp ax, 0x49
jne 0x4013c5
cmp word [edi + 2], 0x36
jne 0x4013c5
cmp word [edi + 4], 0x34
jne 0x4013c5
add edi, 6
mov dword [esp + 0x18], 0x40000
jmp 0x4013f7
movzx eax, ax
sub eax, 0x46
je 0x4013f2
sub eax, 6
je 0x4013f2
dec eax
dec eax
je 0x4013f2
sub eax, 0x1a
je 0x4013ea
sub eax, 4
jne 0x4013f7
mov dword [esp + 0x18], 0x20000
jmp 0x4013f2
mov dword [esp + 0x18], 0x10000
push edi
call ebp
mov edi, eax
movzx eax, word [edi]
or eax, dword [esp + 0x18]
mov ecx, 0x10063
cmp eax, ecx
jg 0x4014ab
je 0x4014a3
sub eax, 0x43
je 0x4014a3
push 0x10
pop ecx
sub eax, ecx
je 0x4014e8
sub eax, ecx
je 0x4014a3
sub eax, ecx
je 0x40148c
sub eax, 0xffd0
je 0x4014a3
sub eax, ecx
je 0x4014e8
movzx eax, word [edi]
cmp eax, 0x69
jg 0x401520
je 0x401535
cmp eax, 0x45
je 0x401476
cmp eax, 0x47
je 0x401476
cmp eax, 0x58
je 0x401535
cmp eax, 0x64
je 0x401535
add eax, 0xffffff9b
cmp eax, 2
ja 0x40155f
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 0x40155f
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x40149a
push 6
pop esi
jmp 0x40150a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4014f8
push 2
pop esi
add ebx, 4
jmp 0x40150a
sub eax, 0x10073
je 0x4014e8
sub eax, 0xffd0
je 0x4014a3
sub eax, 0x10
je 0x4014cc
sub eax, 0x10
je 0x4014a3
sub eax, 0x10
jne 0x40143c
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x401495
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4014d8
sub eax, edx
sar eax, 1
jmp 0x4014f8
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x401495
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, 1
jge 0x401502
xor esi, esi
inc esi
test esi, esi
je 0x40143c
cmp esi, dword [esp + 0x10]
jg 0x401514
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40155f
cmp esi, eax
jmp 0x401556
sub eax, 0x6e
je 0x40155c
dec eax
je 0x401535
dec eax
je 0x401544
sub eax, 5
je 0x401535
sub eax, 3
jne 0x40155f
test dword [esp + 0x18], 0x40000
je 0x401544
add ebx, 8
jmp 0x401547
add ebx, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x20
pop esi
add eax, ecx
cmp eax, esi
jl 0x40155f
mov esi, eax
jmp 0x40155f
add ebx, 4
add dword [esp + 0x14], esi
jmp 0x401570
push edi
call ebp
sub eax, edi
sar eax, 1
add dword [esp + 0x14], eax
push edi
call ebp
mov edi, eax
cmp word [edi], 0
jne 0x4012b6
pop ebp
push dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
call fcn.00401695
test eax, eax
je 0x4015b6
push dword [esp + 0x1c]
mov esi, ebx
mov eax, dword [esi]
mov ecx, dword [eax - 4]
push dword [esp + 0x2c]
inc ecx
push ecx
push eax
call fcn.0041f8d1
add esp, 0x10
or eax, 0xffffffff
call fcn.00401706
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8