Function at 0x413b70
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov al, byte [esi]
mov dword [esp + 0x28], 0
test al, al
je 0x413e69
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x413e4c
push esi
call ebp
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x413e4c
xor edi, edi
test al, al
mov dword [esp + 0x10], edi
je 0x413bfc
cmp al, 0x23
jne 0x413bcc
add dword [esp + 0x28], 2
jmp 0x413beb
cmp al, 0x2a
jne 0x413bdb
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x10], eax
jmp 0x413beb
cmp al, 0x2d
je 0x413beb
cmp al, 0x2b
je 0x413beb
cmp al, 0x30
je 0x413beb
cmp al, 0x20
jne 0x413bf6
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x413bc1
cmp dword [esp + 0x10], edi
jne 0x413c2c
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x14], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x413c2c
movsx ecx, al
push ecx
call dword [sym.imp.MSVCRT.dll__ismbcdigit]
add esp, 4
test eax, eax
je 0x413c2c
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x413c10
mov al, byte [esi]
mov dword [esp + 0x14], 0
cmp al, 0x2e
jne 0x413c84
push esi
call ebp
mov esi, eax
cmp byte [esi], 0x2a
jne 0x413c54
mov edx, dword [ebx]
add ebx, 4
push esi
mov dword [esp + 0x18], edx
call ebp
mov esi, eax
jmp 0x413c84
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x18], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x413c84
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll__ismbcdigit]
add esp, 4
test eax, eax
je 0x413c84
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x413c68
mov al, byte [esi]
xor ebp, ebp
cmp al, 0x49
jne 0x413ca2
cmp byte [esi + 1], 0x36
jne 0x413ca2
cmp byte [esi + 2], 0x34
jne 0x413ca2
add esi, 3
mov ebp, 0x40000
jmp case.0x413cb5.73
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x413cb5.73
xor ecx, ecx
mov cl, byte [eax + 0x413ff0]
jmp dword [ecx*4 + 0x413fe0]
mov ebp, 0x10000
jmp case.0x413cb5.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 0x413d65
je 0x413dc4
cmp eax, 0x73
jg 0x413d57
je 0x413d3b
cmp eax, 0x43
je 0x413dc4
cmp eax, 0x53
je 0x413d9c
cmp eax, 0x63
je 0x413dc4
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x413d20.73
xor edx, edx
mov dl, byte [eax + 0x41402c]
jmp dword [edx*4 + 0x414018]
test ebp, 0x40000
je 0x413df0
add ebx, 8
jmp 0x413df3
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x413d4e
mov edi, 6
jmp 0x413dd6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x413db6
sub eax, 0x10043
je 0x413dc4
sub eax, 0x10
je 0x413d7c
jmp 0x413d09
cmp eax, 0x20053
jg 0x413d8c
je 0x413d9c
cmp eax, 0x10073
je 0x413d7c
cmp eax, 0x20043
jmp 0x413d03
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x413d4e
mov edi, 6
jmp 0x413dd6
sub eax, 0x20063
je 0x413dc4
sub eax, 0x10
jne 0x413d09
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x413dac
mov edi, 6
jmp 0x413dd6
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x413dce
mov edi, 1
jmp 0x413dd6
mov edi, 2
add ebx, 4
jmp 0x413dd6
test edi, edi
je 0x413d09
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x413de0
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x413d20.73
cmp edi, eax
jl case.0x413d20.73
mov edi, eax
jmp case.0x413d20.73
add ebx, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 0x20
add eax, ecx
cmp eax, edi
jl case.0x413d20.73
mov edi, eax
jmp case.0x413d20.73
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.0x413d20.73
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, 0x20
add eax, edx
add ebx, 4
cmp eax, edi
jl case.0x413d20.73
mov edi, eax
jmp case.0x413d20.73
add ebx, 4
mov eax, dword [esp + 0x28]
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
add eax, edi
mov dword [esp + 0x28], eax
jmp 0x413e5b
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 0x413b9f
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
lea ebp, [eax - 0xc]
jg 0x413e87
cmp esi, dword [eax - 4]
jle 0x413f0c
mov ebx, dword [eax - 8]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jge 0x413e94
mov esi, ebx
test esi, esi
jne 0x413ea6
mov eax, dword [esp + 0x18]
mov edx, dword [0x424038]
mov dword [eax], edx
jmp 0x413ed0
lea ecx, [esi + 0xd]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x413f16
mov edx, dword [esp + 0x18]
mov dword [eax], 1
mov byte [eax + esi + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [edx], eax
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 1]
mov edx, ecx
lea esi, [ebp + 0xc]
mov edi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax]
mov dword [eax - 8], ebx
mov eax, dword [0x42403c]
cmp ebp, eax
je 0x413f0c
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413f0c
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x413f22
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jle 0x413fbc
mov ecx, dword [0x42403c]
add eax, 0xfffffff4
cmp eax, ecx
je 0x413f6e
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x413f66
mov eax, dword [ebx]
sub eax, 0xc
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [0x424038]
mov dword [ebx], ecx
mov esi, dword [edi + 4]
test esi, esi
jne 0x413f7f
mov edx, dword [0x424038]
mov dword [ebx], edx
jmp 0x413fa5
lea eax, [esi + 0xd]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x413fbc
mov dword [eax], 1
mov byte [eax + esi + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx], eax
mov ecx, dword [edi + 4]
lea esi, [edi + 0xc]
mov edi, dword [ebx]
inc ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebx]
pop edi
pop esi
pop ebp
mov dword [ecx - 8], eax
mov edx, dword [ebx]
pop ebx
mov byte [edx + eax], 0
mov eax, 1
add esp, 0x10
ret 8