Function at 0x10003bd0
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
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov al, byte [esi]
mov dword [esp + 0x28], 0
test al, al
je 0x10003ece
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [esi], 0x25
jne 0x10003eb1
push esi
call ebx
mov esi, eax
mov al, byte [esi]
cmp al, 0x25
je 0x10003eb1
xor edi, edi
test al, al
mov dword [esp + 0x10], edi
je 0x10003c5d
cmp al, 0x23
jne 0x10003c2c
add dword [esp + 0x28], 2
jmp 0x10003c4c
cmp al, 0x2a
jne 0x10003c3c
mov eax, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], eax
jmp 0x10003c4c
cmp al, 0x2d
je 0x10003c4c
cmp al, 0x2b
je 0x10003c4c
cmp al, 0x30
je 0x10003c4c
cmp al, 0x20
jne 0x10003c57
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x10003c21
cmp dword [esp + 0x10], edi
jne 0x10003c8d
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 0x10003c8d
movsx ecx, al
push ecx
call dword [sym.imp.MSVCRT.dll__ismbcdigit]
add esp, 4
test eax, eax
je 0x10003c8d
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x10003c71
mov al, byte [esi]
mov dword [esp + 0x14], 0
cmp al, 0x2e
jne 0x10003ce6
push esi
call ebx
mov esi, eax
cmp byte [esi], 0x2a
jne 0x10003cb6
mov edx, dword [ebp]
add ebp, 4
push esi
mov dword [esp + 0x18], edx
call ebx
mov esi, eax
jmp 0x10003ce6
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 0x10003ce6
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll__ismbcdigit]
add esp, 4
test eax, eax
je 0x10003ce6
push esi
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x10003cca
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x49
jne 0x10003d04
cmp byte [esi + 1], 0x36
jne 0x10003d04
cmp byte [esi + 2], 0x34
jne 0x10003d04
add esi, 3
mov ebx, 0x40000
jmp case.0x10003d17.73
movsx eax, al
add eax, 0xffffffba
cmp eax, 0x26
ja case.0x10003d17.73
xor ecx, ecx
mov cl, byte [eax + 0x10003ffc]
jmp dword [ecx*4 + 0x10003fec]
mov ebx, 0x10000
jmp case.0x10003d17.70
mov ebx, 0x20000
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
movsx eax, byte [esi]
or eax, ebx
cmp eax, 0x10063
jg 0x10003dc8
je 0x10003e29
cmp eax, 0x73
jg 0x10003dba
je 0x10003d9d
cmp eax, 0x43
je 0x10003e29
cmp eax, 0x53
je 0x10003e00
cmp eax, 0x63
je 0x10003e29
movsx eax, byte [esi]
add eax, 0xffffffb9
cmp eax, 0x31
ja case.0x10003d82.75
xor edx, edx
mov dl, byte [eax + 0x10004038]
jmp dword [edx*4 + 0x10004024]
test ebx, 0x40000
je 0x10003e55
add ebp, 8
jmp 0x10003e58
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x10003db1
mov edi, 6
jmp 0x10003e3b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x10003e1b
sub eax, 0x10043
je 0x10003e29
sub eax, 0x10
je 0x10003ddf
jmp 0x10003d6b
cmp eax, 0x20053
jg 0x10003df0
je 0x10003e00
cmp eax, 0x10073
je 0x10003ddf
cmp eax, 0x20043
jmp 0x10003d65
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x10003db1
mov edi, 6
jmp 0x10003e3b
sub eax, 0x20063
je 0x10003e29
sub eax, 0x10
jne 0x10003d6b
mov eax, dword [ebp]
add ebp, 4
test eax, eax
jne 0x10003e11
mov edi, 6
jmp 0x10003e3b
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
cmp edi, 1
jge 0x10003e33
mov edi, 1
jmp 0x10003e3b
mov edi, 2
add ebp, 4
jmp 0x10003e3b
test edi, edi
je 0x10003d6b
mov eax, dword [esp + 0x10]
cmp edi, eax
jg 0x10003e45
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je case.0x10003d82.75
cmp edi, eax
jl case.0x10003d82.75
mov edi, eax
jmp case.0x10003d82.75
add ebp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, 0x20
add eax, ecx
cmp eax, edi
jl case.0x10003d82.75
mov edi, eax
jmp case.0x10003d82.75
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.0x10003d82.75
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, 0x20
add eax, edx
add ebp, 4
cmp eax, edi
jl case.0x10003d82.75
mov edi, eax
jmp case.0x10003d82.75
add ebp, 4
mov eax, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
add eax, edi
mov dword [esp + 0x28], eax
jmp 0x10003ec0
push esi
call ebx
mov ecx, dword [esp + 0x28]
sub eax, esi
add ecx, eax
mov dword [esp + 0x28], ecx
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x10003bff
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
cmp edx, 1
lea ebx, [eax - 0xc]
jg 0x10003ee8
cmp ecx, dword [eax - 4]
jle 0x10003f3f
mov ebp, dword [eax - 8]
mov eax, dword [esp + 0x28]
cmp eax, ebp
jge 0x10003ef5
mov ecx, ebp
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.10001dc0
test eax, eax
je 0x10003f49
mov eax, dword [esp + 0x18]
lea ecx, [ebp + 1]
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 [0x1008504c]
cmp ebx, eax
je 0x10003f3f
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10003f3f
push ebx
call fcn.1003c010
add esp, 4
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x10003f55
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 esi, [eax - 0xc]
cmp ecx, 1
jle 0x10003fc7
mov ecx, dword [0x1008504c]
add eax, 0xfffffff4
cmp eax, ecx
je 0x10003fa1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10003f99
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.1003c010
add esp, 4
mov ecx, dword [0x10085048]
mov dword [ebx], ecx
mov edx, dword [esi + 4]
mov ecx, ebx
push edx
call fcn.10001dc0
test eax, eax
je 0x10003fc7
mov ecx, dword [esi + 4]
mov edi, dword [ebx]
inc ecx
add esi, 0xc
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx]
pop edi
pop esi
pop ebp
mov dword [edx - 8], eax
mov ecx, dword [ebx]
pop ebx
mov byte [ecx + eax], 0
mov eax, 1
add esp, 0x10
ret 8