Function at 0x402850
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
cmp byte [esi], 0
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0
je 0x402b20
push ebp
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x402b02
push esi
call ebp
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x402b02
xor edi, edi
test al, al
mov dword [esp + 0x10], edi
je 0x4028df
cmp al, 0x23
jne 0x4028ad
add dword [esp + 0x28], 2
jmp 0x4028cc
cmp al, 0x2a
jne 0x4028bc
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x10], eax
jmp 0x4028cc
cmp al, 0x2d
je 0x4028cc
cmp al, 0x2b
je 0x4028cc
cmp al, 0x30
je 0x4028cc
cmp al, 0x20
jne 0x4028d7
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4028a2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40290d
push esi
call fcn.0042a336
mov dword [esp + 0x14], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x40290d
movsx ecx, al
push ecx
call fcn.0042a1a6
add esp, 4
test eax, eax
je 0x40290d
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x4028f2
cmp byte [esi], 0x2e
mov dword [esp + 0x14], 0
jne 0x402961
push esi
call ebp
mov esi, eax
cmp byte [esi], 0x2a
push esi
jne 0x402934
mov edx, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], edx
call ebp
mov esi, eax
jmp 0x402961
call fcn.0042a336
mov dword [esp + 0x18], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x402961
movsx eax, al
push eax
call fcn.0042a1a6
add esp, 4
test eax, eax
je 0x402961
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x402946
mov al, byte [esi]
xor ebp, ebp
cmp al, 0x49
jne 0x40297f
cmp byte [esi + 1], 0x36
jne 0x40297f
cmp byte [esi + 2], 0x34
jne 0x40297f
add esi, 3
mov ebp, 0x40000
jmp case.0x402991.71
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x402991.71
movzx ecx, byte [eax + 0x402b88]
jmp dword [ecx*4 + 0x402b78]
mov ebp, 0x10000
jmp case.0x402991.70
mov ebp, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
movsx eax, byte [esi]
or eax, ebp
cmp eax, 0x10063
jg 0x402a1f
je 0x402a69
cmp eax, 0x73
jg 0x402a03
je 0x402a0f
cmp eax, 0x43
je 0x402a69
cmp eax, 0x53
je 0x402a42
cmp eax, 0x63
je 0x402a69
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x4029f3.70
movzx edx, byte [eax + 0x402bc4]
jmp dword [edx*4 + 0x402bb0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402a5b
sub eax, 0x10043
je 0x402a69
sub eax, 0x10
jne 0x4029dd
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x4029fa
mov edi, 6
jmp 0x402a7b
cmp eax, 0x20053
jg 0x402a36
je 0x402a42
cmp eax, 0x10073
je 0x402a0f
cmp eax, 0x20043
jmp 0x4029d7
sub eax, 0x20063
je 0x402a69
sub eax, 0x10
jne 0x4029dd
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x402a52
mov edi, 6
jmp 0x402a7b
push eax
call fcn.0042a3e2
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x402a73
mov edi, 1
jmp 0x402a7b
mov edi, 2
add ebx, 4
jmp 0x402a7b
test edi, edi
je 0x4029dd
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x402a85
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x4029f3.70
cmp edi, eax
jl case.0x4029f3.70
mov edi, eax
jmp case.0x4029f3.70
test ebp, 0x40000
je 0x402aa2
add ebx, 8
jmp 0x402aa5
add ebx, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 0x20
add eax, ecx
cmp eax, edi
jl case.0x4029f3.70
mov edi, eax
jmp case.0x4029f3.70
push str.Floating_point____e____f____g__and___G__is_not_supported_by_the_WTL::CString_class.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp case.0x4029f3.70
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, 0x20
add eax, edx
add ebx, 4
cmp eax, edi
jl case.0x4029f3.70
mov edi, eax
jmp case.0x4029f3.70
add ebx, 4
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jmp 0x402b11
push esi
call ebp
mov ecx, dword [esp + 0x28]
sub eax, esi
add ecx, eax
mov dword [esp + 0x28], ecx
push esi
call ebp
mov esi, eax
cmp byte [esi], 0
jne 0x402880
pop ebp
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00402720
test eax, eax
jne 0x402b39
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov ecx, edi
call fcn.00402350
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
pop edi
pop esi
mov byte [eax + edx], 0
mov eax, 1
pop ebx
add esp, 0x10
ret 8