Function at 0x403d47
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
cmp word [esi], 0
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], 0
je 0x403f2c
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop
cmp word [esi], 0x25
jne 0x403f11
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x403f11
xor edi, edi
mov dword [esp + 0x10], edi
cmp ax, di
je 0x403c72
cmp ax, 0x23
jne 0x403c34
add dword [esp + 0x28], 2
jmp 0x403c5e
cmp ax, 0x2a
jne 0x403c46
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], eax
jmp 0x403c5e
cmp ax, 0x2d
je 0x403c5e
cmp ax, 0x2b
je 0x403c5e
cmp ax, 0x30
je 0x403c5e
cmp ax, 0x20
jne 0x403c6b
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403c27
cmp dword [esp + 0x10], 0
jne 0x403ca4
push esi
call fcn.0040cbad
mov dword [esp + 0x14], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x403ca4
movzx eax, ax
push eax
call fcn.0040d40a
add esp, 4
test eax, eax
je 0x403ca4
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403c87
cmp word [esi], 0x2e
mov dword [esp + 0x14], 0
jne 0x403cff
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x403cce
mov ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x18], ecx
call ebx
mov esi, eax
jmp 0x403cff
call fcn.0040cbad
mov dword [esp + 0x18], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x403cff
movzx eax, ax
push eax
call fcn.0040d40a
add esp, 4
test eax, eax
je 0x403cff
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x403ce2
movzx eax, word [esi]
xor ebx, ebx
cmp ax, 0x49
jne 0x403d22
cmp word [esi + 2], 0x36
jne 0x403d22
cmp word [esi + 4], 0x34
jne 0x403d22
add esi, 6
mov ebx, 0x40000
jmp case.0x403d34.71
movzx eax, ax
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x403d34.71
movzx edx, byte [eax + 0x403ff8]
jmp dword [edx*4 + 0x403fe8]
mov ebx, 0x10000
jmp case.0x403d34.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x403df3
je 0x403dc3
cmp eax, 0x73
jg 0x403de5
je 0x403dcd
cmp eax, 0x43
je 0x403dc3
cmp eax, 0x53
je 0x403d95
cmp eax, 0x63
je 0x403dc3
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x403d8e.70
movzx eax, byte [eax + 0x404034]
jmp dword [eax*4 + 0x404020]
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x403da7
lea edi, [eax + 6]
jmp 0x403e4c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x403e44
mov edi, 1
jmp 0x403e4c
mov edi, 2
add ebp, 4
jmp 0x403e4c
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x403ddc
lea edi, [eax + 6]
jmp 0x403e4c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x403dae
sub eax, 0x10043
je 0x403dc3
sub eax, 0x10
je 0x403d95
jmp 0x403d78
cmp eax, 0x20053
jg 0x403e0d
je 0x403e1d
cmp eax, 0x10073
je 0x403d95
cmp eax, 0x20043
jmp 0x403d76
sub eax, 0x20063
je 0x403dc3
sub eax, 0x10
jne 0x403d78
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x403e2c
lea edi, [eax + 6]
jmp 0x403e4c
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403e30
sub eax, edx
sar eax, 1
jmp 0x403dae
test edi, edi
je 0x403d78
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x403e56
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x403d8e.70
cmp edi, eax
jl case.0x403d8e.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
jmp 0x403f1c
test ebx, 0x40000
je 0x403e8c
add ebp, 8
jmp 0x403e8f
add ebp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, 0x20
lea eax, [ecx + edx]
cmp eax, edi
jl case.0x403d8e.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
jmp 0x403f1c
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]
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x403f1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 0x20
add eax, ecx
add ebp, 4
cmp eax, edi
jl case.0x403d8e.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
jmp 0x403f1c
add ebp, 4
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x403f1c
push esi
call ebx
sub eax, esi
sar eax, 1
add dword [esp + 0x28], eax
push esi
call ebx
mov esi, eax
cmp word [esi], 0
jne 0x403c00
pop ebx
mov eax, dword [esp + 0x24]
push edi
call fcn.00403ad0
test eax, eax
jne 0x403f43
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0xc
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax - 4]
push ecx
inc edx
push edx
push eax
call fcn.0040d3a2
mov eax, dword [edi]
lea esi, [eax - 0xc]
add esp, 0x10
cmp dword [esi], 1
jle 0x403fc5
add eax, 0xfffffff4
cmp eax, 0x42462c
je 0x403f92
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403f8a
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.0040cabe
add esp, 4
mov ecx, dword [0x42463c]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov edx, edi
call fcn.004020f0
test eax, eax
je 0x403fc5
mov ecx, dword [esi + 4]
mov eax, dword [edi]
mov edx, dword [eax - 4]
lea ecx, [ecx + ecx + 2]
push ecx
add esi, 0xc
lea edx, [edx + edx + 2]
push esi
push edx
push eax
call fcn.0040cac9
push eax
call fcn.004021b0
add esp, 0x14
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
pop edi
xor ecx, ecx
pop esi
mov word [edx + eax*2], cx
lea eax, [ecx + 1]
pop ebp
add esp, 0xc
ret 0xc