Function at 0x41a460
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 + 0x10], ecx
mov dword [esp + 0x1c], ebx
mov al, byte [esi]
mov dword [esp + 0x28], 0
test al, al
je 0x41a759
mov ebp, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x41a73c
push esi
call ebp
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x41a73c
xor edi, edi
test al, al
mov dword [esp + 0x14], edi
je 0x41a4ec
cmp al, 0x23
jne 0x41a4bc
add dword [esp + 0x28], 2
jmp 0x41a4db
cmp al, 0x2a
jne 0x41a4cb
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x14], eax
jmp 0x41a4db
cmp al, 0x2d
je 0x41a4db
cmp al, 0x2b
je 0x41a4db
cmp al, 0x30
je 0x41a4db
cmp al, 0x20
jne 0x41a4e6
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x41a4b1
cmp dword [esp + 0x14], edi
jne 0x41a51c
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 0x41a51c
movsx ecx, al
push ecx
call dword [sym.imp.MSVCRT.dll__ismbcdigit]
add esp, 4
test eax, eax
je 0x41a51c
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x41a500
mov al, byte [esi]
mov dword [esp + 0x18], 0
cmp al, 0x2e
jne 0x41a574
push esi
call ebp
mov esi, eax
cmp byte [esi], 0x2a
jne 0x41a544
mov edx, dword [ebx]
add ebx, 4
push esi
mov dword [esp + 0x1c], edx
call ebp
mov esi, eax
jmp 0x41a574
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x1c], eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x41a574
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll__ismbcdigit]
add esp, 4
test eax, eax
je 0x41a574
push esi
call ebp
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x41a558
mov al, byte [esi]
xor ebp, ebp
cmp al, 0x49
jne 0x41a592
cmp byte [esi + 1], 0x36
jne 0x41a592
cmp byte [esi + 2], 0x34
jne 0x41a592
add esi, 3
mov ebp, 0x40000
jmp case.0x41a5a5.73
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x41a5a5.73
xor ecx, ecx
mov cl, byte [eax + 0x41a8fc]
jmp dword [ecx*4 + 0x41a8ec]
mov ebp, 0x10000
jmp case.0x41a5a5.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 0x41a655
je 0x41a6b4
cmp eax, 0x73
jg 0x41a647
je 0x41a62b
cmp eax, 0x43
je 0x41a6b4
cmp eax, 0x53
je 0x41a68c
cmp eax, 0x63
je 0x41a6b4
movsx eax, byte [esi]
add eax, 0xffffffbb
cmp eax, 0x33
ja case.0x41a610.73
xor edx, edx
mov dl, byte [eax + 0x41a938]
jmp dword [edx*4 + 0x41a924]
test ebp, 0x40000
je 0x41a6e0
add ebx, 8
jmp 0x41a6e3
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x41a63e
mov edi, 6
jmp 0x41a6c6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x41a6a6
sub eax, 0x10043
je 0x41a6b4
sub eax, 0x10
je 0x41a66c
jmp 0x41a5f9
cmp eax, 0x20053
jg 0x41a67c
je 0x41a68c
cmp eax, 0x10073
je 0x41a66c
cmp eax, 0x20043
jmp 0x41a5f3
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x41a63e
mov edi, 6
jmp 0x41a6c6
sub eax, 0x20063
je 0x41a6b4
sub eax, 0x10
jne 0x41a5f9
mov eax, dword [ebx]
add ebx, 4
test eax, eax
jne 0x41a69c
mov edi, 6
jmp 0x41a6c6
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x41a6be
mov edi, 1
jmp 0x41a6c6
mov edi, 2
add ebx, 4
jmp 0x41a6c6
test edi, edi
je 0x41a5f9
mov eax, dword [esp + 0x14]
cmp edi, eax
jg 0x41a6d0
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je case.0x41a610.73
cmp edi, eax
jl case.0x41a610.73
mov edi, eax
jmp case.0x41a610.73
add ebx, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, 0x20
add eax, ecx
cmp eax, edi
jl case.0x41a610.73
mov edi, eax
jmp case.0x41a610.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.0x41a610.73
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, 0x20
add eax, edx
add ebx, 4
cmp eax, edi
jl case.0x41a610.73
mov edi, eax
jmp case.0x41a610.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 0x41a74b
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 0x41a48f
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
lea ebp, [eax - 0xc]
jg 0x41a777
cmp esi, dword [eax - 4]
jle 0x41a805
mov ebx, dword [eax - 8]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jge 0x41a784
mov esi, ebx
test esi, esi
jne 0x41a796
mov edi, dword [esp + 0x10]
mov edx, dword [0x444020]
mov dword [edi], edx
jmp 0x41a7c0
lea eax, [esi + 0xd]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x41a80f
mov edi, dword [esp + 0x10]
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 [edi], eax
lea ecx, [ebx + 1]
inc esi
cmp esi, ecx
jb 0x41a7e1
mov edx, dword [esp + 0x10]
mov eax, ecx
lea esi, [ebp + 0xc]
mov edi, dword [edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov ecx, dword [edi]
mov dword [ecx - 8], ebx
mov eax, dword [0x444024]
cmp ebp, eax
je 0x41a809
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a809
push ebp
call fcn.0043a372
add esp, 4
jmp 0x41a809
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, eax
jne 0x41a81b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jle 0x41a8c4
mov ecx, dword [0x444024]
add eax, 0xfffffff4
cmp eax, ecx
je 0x41a86a
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41a863
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.0043a372
add esp, 4
mov eax, dword [0x444020]
mov dword [edi], eax
mov esi, dword [ebp + 4]
test esi, esi
jne 0x41a87b
mov ecx, dword [0x444020]
mov dword [edi], ecx
jmp 0x41a8a1
lea edx, [esi + 0xd]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x41a8c4
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 [edi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
inc ecx
mov edi, dword [eax]
mov edx, dword [edi - 4]
inc edx
cmp edx, ecx
jb 0x41a8c4
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esi]
pop edi
mov dword [edx - 8], eax
mov ecx, dword [esi]
pop esi
pop ebp
mov byte [ecx + eax], 0
mov eax, 1
pop ebx
add esp, 0x10
ret 8