Function at 0x480ea0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
cmp word [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], 0
je 0x481210
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x4811f5
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x25
je 0x4811f5
xor edi, edi
cmp ax, di
mov dword [esp + 0x10], edi
je 0x480f43
cmp ax, 0x23
jne 0x480f05
add dword [esp + 0x28], 2
jmp 0x480f2f
cmp ax, 0x2a
jne 0x480f17
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], eax
jmp 0x480f2f
cmp ax, 0x2d
je 0x480f2f
cmp ax, 0x2b
je 0x480f2f
cmp ax, 0x30
je 0x480f2f
cmp ax, 0x20
jne 0x480f3c
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x480ef8
cmp dword [esp + 0x10], 0
jne 0x480f7d
push esi
call fcn.00554eb9
mov dword [esp + 0x14], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x480f7d
jmp 0x480f60
movzx eax, ax
push eax
call fcn.005563ab
add esp, 4
test eax, eax
je 0x480f7d
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x480f60
cmp word [esi], 0x2e
mov dword [esp + 0x14], 0
jne 0x480fdd
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
push esi
jne 0x480fa7
mov ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x18], ecx
call ebx
mov esi, eax
jmp 0x480fdd
call fcn.00554eb9
mov dword [esp + 0x18], eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x480fdd
jmp 0x480fc0
movzx eax, ax
push eax
call fcn.005563ab
add esp, 4
test eax, eax
je 0x480fdd
push esi
call ebx
mov esi, eax
movzx eax, word [esi]
test ax, ax
jne 0x480fc0
movzx eax, word [esi]
xor ebx, ebx
cmp ax, 0x49
jne 0x481000
cmp word [esi + 2], 0x36
jne 0x481000
cmp word [esi + 4], 0x34
jne 0x481000
add esi, 6
mov ebx, 0x40000
jmp case.0x481012.71
movzx eax, ax
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x481012.71
movzx edx, byte [eax + 0x481280]
jmp dword [edx*4 + 0x481270]
mov ebx, 0x10000
jmp case.0x481012.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 0x4810d8
je 0x4810a5
cmp eax, 0x73
jg 0x4810ca
je 0x4810b2
cmp eax, 0x43
je 0x4810a5
cmp eax, 0x53
je 0x481077
cmp eax, 0x63
je 0x4810a5
movzx eax, word [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x481070.70
movzx eax, byte [eax + 0x4812bc]
jmp dword [eax*4 + 0x4812a8]
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x481089
lea edi, [eax + 6]
jmp 0x481130
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, 1
jge 0x481128
mov edi, 1
jmp 0x481130
mov edi, 2
add ebp, 4
jmp 0x481130
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x4810c1
lea edi, [eax + 6]
jmp 0x481130
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x481090
sub eax, 0x10043
je 0x4810a5
sub eax, 0x10
je 0x481077
jmp 0x48105a
cmp eax, 0x20053
jg 0x4810f2
je 0x481102
cmp eax, 0x10073
je 0x481077
cmp eax, 0x20043
jmp 0x481058
sub eax, 0x20063
je 0x4810a5
sub eax, 0x10
jne 0x48105a
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x481111
lea edi, [eax + 6]
jmp 0x481130
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481114
sub eax, edx
sar eax, 1
jmp 0x481090
test edi, edi
je 0x48105a
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x48113a
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x481070.70
cmp edi, eax
jl case.0x481070.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
jmp 0x481200
test ebx, 0x40000
je 0x481170
add ebp, 8
jmp 0x481173
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.0x481070.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
jmp 0x481200
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 + 0x18]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x481200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 0x20
add eax, ecx
add ebp, 4
cmp eax, edi
jl case.0x481070.70
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
jmp 0x481200
add ebp, 4
add dword [esp + 0x28], edi
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x481200
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 0x480ed1
pop ebx
mov edx, dword [esp + 0x24]
push edx
mov ecx, edi
call fcn.00406250
test eax, eax
jne 0x481229
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [eax - 4]
push edx
add ecx, 1
push ecx
push eax
call fcn.005534c3
add esp, 0x10
mov ecx, edi
call fcn.004062d0
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
pop esi
mov word [edx + eax*2], 0
mov eax, 1
pop ebp
add esp, 0x10
ret 8