Function at 0x403947
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp + 4], 0
push ebx
push esi
mov esi, dword [esp + 0x24]
cmp word [esi], 0
mov ebx, eax
mov dword [esp + 0x18], ebx
je 0x403c2e
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
push edi
cmp word [esi], 0x25
jne 0x403c12
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x403c12
xor edi, edi
mov dword [esp + 0x10], edi
cmp ax, di
je 0x4039de
cmp ax, 0x23
jne 0x4039a1
add dword [esp + 0x14], 2
jmp 0x4039ca
cmp ax, 0x2a
jne 0x4039b2
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x10], eax
jmp 0x4039ca
cmp ax, 0x2d
je 0x4039ca
cmp ax, 0x2b
je 0x4039ca
cmp ax, 0x30
je 0x4039ca
cmp ax, 0x20
jne 0x4039d7
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403994
cmp dword [esp + 0x10], 0
jne 0x403a06
push esi
call fcn.0040e11a
pop ecx
mov dword [esp + 0x10], eax
jmp 0x4039fe
movzx eax, ax
push eax
call fcn.0040e0f1
pop ecx
test eax, eax
je 0x403a06
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x4039eb
and dword [esp + 0x1c], 0
cmp word [esi], 0x2e
jne 0x403a53
push esi
call ebp
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x403a2c
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x20], eax
call ebp
mov esi, eax
jmp 0x403a53
call fcn.0040e11a
pop ecx
mov dword [esp + 0x1c], eax
jmp 0x403a4b
movzx eax, ax
push eax
call fcn.0040e0f1
pop ecx
test eax, eax
je 0x403a53
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403a38
movzx eax, word [esi]
and dword [esp + 0x18], 0
cmp ax, 0x49
jne 0x403a7c
cmp word [esi + 2], 0x36
jne 0x403a7c
cmp word [esi + 4], 0x34
jne 0x403a7c
add esi, 6
mov dword [esp + 0x18], 0x40000
jmp 0x403aae
movzx eax, ax
sub eax, 0x46
je 0x403aa9
sub eax, 6
je 0x403aa9
dec eax
dec eax
je 0x403aa9
sub eax, 0x1a
je 0x403aa1
sub eax, 4
jne 0x403aae
mov dword [esp + 0x18], 0x20000
jmp 0x403aa9
mov dword [esp + 0x18], 0x10000
push esi
call ebp
mov esi, eax
movzx eax, word [esi]
or eax, dword [esp + 0x18]
mov ecx, 0x10063
cmp eax, ecx
jg 0x403b62
je 0x403b5a
sub eax, 0x43
je 0x403b5a
push 0x10
pop ecx
sub eax, ecx
je 0x403b95
sub eax, ecx
je 0x403b5a
sub eax, ecx
je 0x403b43
sub eax, 0xffd0
je 0x403b5a
sub eax, ecx
je 0x403b95
movzx eax, word [esi]
cmp eax, 0x69
jg 0x403bcd
je 0x403be2
cmp eax, 0x45
je 0x403b2d
cmp eax, 0x47
je 0x403b2d
cmp eax, 0x58
je 0x403be2
cmp eax, 0x64
je 0x403be2
add eax, 0xffffff9b
cmp eax, 2
ja 0x403c0c
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 0x403c0c
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x403b51
push 6
pop edi
jmp 0x403bb7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x403ba5
push 2
pop edi
add ebx, 4
jmp 0x403bb7
sub eax, 0x10073
je 0x403b95
sub eax, 0xffd0
je 0x403b5a
sub eax, 0x10
je 0x403b83
sub eax, 0x10
je 0x403b5a
sub eax, 0x10
jne 0x403af3
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x403b4c
push eax
call fcn.0040e005
pop ecx
jmp 0x403ba5
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x403b4c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x403baf
xor edi, edi
inc edi
test edi, edi
je 0x403af3
cmp edi, dword [esp + 0x10]
jg 0x403bc1
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x403c0c
cmp edi, eax
jmp 0x403c03
sub eax, 0x6e
je 0x403c09
dec eax
je 0x403be2
dec eax
je 0x403bf1
sub eax, 5
je 0x403be2
sub eax, 3
jne 0x403c0c
test dword [esp + 0x18], 0x40000
je 0x403bf1
add ebx, 8
jmp 0x403bf4
add ebx, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0x20
pop edi
add eax, ecx
cmp eax, edi
jl 0x403c0c
mov edi, eax
jmp 0x403c0c
add ebx, 4
add dword [esp + 0x14], edi
jmp 0x403c1d
push esi
call ebp
sub eax, esi
sar eax, 1
add dword [esp + 0x14], eax
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x40396d
pop edi
pop ebp
push dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
call fcn.0040387e
test eax, eax
je 0x403c59
push dword [esp + 0x18]
push dword [esp + 0x28]
push dword [ebx]
call dword [sym.imp.USER32.dll_wvsprintfW]
mov eax, ebx
call fcn.004038f2
xor eax, eax
inc eax
pop esi
pop ebx
add esp, 0x14
ret 8