Function at 0x41ad80
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0x18], ecx
cmp word [esi], di
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], edi
je 0x41b0ae
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x25
jne 0x41b09a
push esi
call ebx
mov esi, eax
mov ax, word [esi]
cmp ax, 0x25
je 0x41b09a
cmp ax, di
mov dword [esp + 0x10], edi
je 0x41ae1b
cmp ax, 0x23
jne 0x41adde
add dword [esp + 0x28], 2
jmp 0x41ae08
cmp ax, 0x2a
jne 0x41adf0
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], eax
jmp 0x41ae08
cmp ax, 0x2d
je 0x41ae08
cmp ax, 0x2b
je 0x41ae08
cmp ax, 0x30
je 0x41ae08
cmp ax, 0x20
jne 0x41ae15
push esi
call ebx
mov esi, eax
mov ax, word [esi]
cmp ax, di
jne 0x41add1
cmp dword [esp + 0x10], edi
jne 0x41ae4c
push esi
call dword [sym.imp.MSVCRT.dll__wtoi]
mov dword [esp + 0x14], eax
mov ax, word [esi]
add esp, 4
test ax, ax
je 0x41ae4c
push eax
call dword [sym.imp.MSVCRT.dll_iswdigit]
add esp, 4
test eax, eax
je 0x41ae4c
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x41ae31
cmp word [esi], 0x2e
mov dword [esp + 0x14], 0
jne 0x41aea7
push esi
call ebx
mov esi, eax
cmp word [esi], 0x2a
jne 0x41ae76
mov ecx, dword [ebp]
add ebp, 4
push esi
mov dword [esp + 0x18], ecx
call ebx
mov esi, eax
jmp 0x41aea7
push esi
call dword [sym.imp.MSVCRT.dll__wtoi]
mov dword [esp + 0x18], eax
mov ax, word [esi]
add esp, 4
test ax, ax
je 0x41aea7
push eax
call dword [sym.imp.MSVCRT.dll_iswdigit]
add esp, 4
test eax, eax
je 0x41aea7
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x41ae8c
mov ax, word [esi]
xor ebx, ebx
cmp ax, 0x49
jne 0x41aeca
cmp word [esi + 2], 0x36
jne 0x41aeca
cmp word [esi + 4], 0x34
jne 0x41aeca
add esi, 6
mov ebx, 0x40000
jmp case.0x41aedf.73
and eax, 0xffff
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x41aedf.73
xor edx, edx
mov dl, byte [eax + 0x41b244]
jmp dword [edx*4 + 0x41b234]
mov ebx, 0x10000
jmp case.0x41aedf.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
xor eax, eax
mov ax, word [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x41afa4
je 0x41b011
cmp eax, 0x73
jg 0x41af96
je 0x41af79
cmp eax, 0x43
je 0x41b011
cmp eax, 0x53
je 0x41af65
cmp eax, 0x63
je 0x41b011
xor eax, eax
mov ax, word [esi]
add eax, 0xffffffb9
cmp eax, 0x31
ja case.0x41af4a.75
xor ecx, ecx
mov cl, byte [eax + 0x41b280]
jmp dword [ecx*4 + 0x41b26c]
test ebx, 0x40000
je 0x41b03d
add ebp, 8
jmp 0x41b040
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x41afcf
mov edi, 6
jmp 0x41b023
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x41af8d
mov edi, 6
jmp 0x41b023
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x41b003
sub eax, 0x10043
je 0x41b011
sub eax, 0x10
je 0x41afbe
jmp 0x41af31
cmp eax, 0x20053
jg 0x41afd8
je 0x41afe8
cmp eax, 0x10073
je 0x41afbe
cmp eax, 0x20043
jmp 0x41af2b
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x41afcf
mov edi, 6
jmp 0x41b023
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x41b003
sub eax, 0x20063
je 0x41b011
sub eax, 0x10
jne 0x41af31
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x41aff9
mov edi, 6
jmp 0x41b023
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x41b01b
mov edi, 1
jmp 0x41b023
mov edi, 2
add ebp, 4
jmp 0x41b023
test edi, edi
je 0x41af31
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x41b02d
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x41af4a.75
cmp edi, eax
jl case.0x41af4a.75
mov edi, eax
jmp case.0x41af4a.75
add ebp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, 0x20
add eax, edx
cmp eax, edi
jl case.0x41af4a.75
mov edi, eax
jmp case.0x41af4a.75
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]
jmp case.0x41af4a.75
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, 0x20
add ebp, 4
lea eax, [ecx + edx]
cmp eax, edi
jl case.0x41af4a.75
mov edi, eax
jmp case.0x41af4a.75
add ebp, 4
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add eax, edi
mov dword [esp + 0x28], eax
jmp 0x41b09e
inc dword [esp + 0x28]
push esi
call ebx
mov esi, eax
xor edi, edi
cmp word [esi], di
jne 0x41adac
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
jg 0x41b0cc
cmp esi, dword [eax - 4]
jle 0x41b155
mov ebp, dword [eax - 8]
mov eax, dword [esp + 0x28]
cmp eax, ebp
jge 0x41b0d9
mov esi, ebp
test esi, esi
jne 0x41b0eb
mov edx, dword [esp + 0x18]
mov ecx, dword [0x527174]
mov dword [edx], ecx
jmp 0x41b118
lea eax, [esi + esi + 0xe]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x41b15f
mov ecx, dword [esp + 0x18]
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
lea esi, [ebx + 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], ebp
mov eax, dword [0x527100]
cmp ebx, eax
je 0x41b155
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b155
push ebx
call fcn.0050c98e
add esp, 4
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x41b16b
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_wvsprintfW]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jle 0x41b20f
mov ecx, dword [0x527100]
add eax, 0xfffffff4
cmp eax, ecx
je 0x41b1bb
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b1b3
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.0050c98e
add esp, 4
mov ecx, dword [0x527174]
mov dword [ebx], ecx
mov esi, dword [edi + 4]
test esi, esi
jne 0x41b1cc
mov edx, dword [0x527174]
mov dword [ebx], edx
jmp 0x41b1f5
lea eax, [esi + esi + 0xe]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x41b20f
mov dword [eax], 1
mov word [eax + esi*2 + 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]
lea ecx, [ecx + ecx + 2]
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_lstrlenW]
mov ecx, dword [ebx]
pop edi
pop esi
pop ebp
mov dword [ecx - 8], eax
mov edx, dword [ebx]
pop ebx
mov word [edx + eax*2], 0
mov eax, 1
add esp, 0x10
ret 8