Function at 0x40c670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x423926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2fc
mov eax, dword [esp + 0x310]
push ebx
push ebp
push esi
lea ecx, [esp + 0x83]
push edi
push ecx
lea ecx, [esp + 0x14]
xor edi, edi
mov byte [eax], 0
call fcn.0040da20
lea edx, [esp + 0x86]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0x318], edi
call fcn.0040da20
mov eax, dword [esp + 0x31c]
mov byte [esp + 0x314], 1
mov ebx, 4
cmp word [eax], di
je 0x40cabf
mov ecx, dword [esp + 0x31c]
mov si, word [ecx + edi*2]
lea ebx, [ecx + edi*2]
mov ebp, esi
and ebp, 0xffff
push ebp
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
jne 0x40caa7
push ebp
call dword [sym.imp.MSVCRT.dll_isdigit]
add esp, 4
test eax, eax
je 0x40c791
lea edx, [esp + 0xd8]
xor ebp, ebp
mov dword [esp + 0x40], edx
cmp ebp, 0x18
jg 0x40c738
mov eax, dword [esp + 0x40]
inc ebp
mov word [eax], si
add eax, 2
mov dword [esp + 0x40], eax
mov si, word [ebx + 2]
add ebx, 2
mov eax, esi
inc edi
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
add esp, 4
test eax, eax
jne 0x40c724
cmp si, 0x2e
je 0x40c724
lea ecx, [esp + 0xd8]
mov word [esp + ebp*2 + 0xd8], ax
push ecx
dec edi
call fcn.0040d160
add esp, 4
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x44]
mov dword [esp + 0xb0], eax
push edx
call fcn.0040dae0
jmp 0x40caa7
push ebp
call dword [sym.imp.MSVCRT.dll_isalpha]
add esp, 4
test eax, eax
je 0x40c879
mov ebp, ebx
mov dword [esp + 0x40], 0
lea ebx, [esp + 0x10c]
mov eax, dword [esp + 0x40]
cmp eax, 0xff
jg 0x40c7cc
mov ecx, eax
mov word [ebx], si
inc ecx
add ebx, 2
mov dword [esp + 0x40], ecx
mov si, word [ebp + 2]
add ebp, 2
mov eax, esi
inc edi
and eax, 0xffff
push eax
call dword [sym.imp.MSVCRT.dll_isalpha]
add esp, 4
test eax, eax
jne 0x40c7b4
mov ecx, dword [esp + 0x40]
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea edx, [esp + 0x10c]
push str.false
push edx
mov word [esp + ecx*2 + 0x114], ax
dec edi
call esi
add esp, 8
test eax, eax
jne 0x40c838
push eax
call fcn.0040d1d0
add esp, 4
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x44]
push eax
call fcn.0040dae0
jmp 0x40caa7
lea ecx, [esp + 0x10c]
push str.true
push ecx
call esi
add esp, 8
test eax, eax
jne 0x40caa7
push 1
call fcn.0040d1d0
add esp, 4
lea edx, [esp + 0xac]
lea ecx, [esp + 0x44]
mov dword [esp + 0xac], eax
push edx
call fcn.0040dae0
jmp 0x40caa7
lea eax, [ebp - 0x21]
cmp eax, 0x5b
ja case.0x40c88d.41
xor ecx, ecx
mov cl, byte [eax + 0x40d0fc]
jmp dword [ecx*4 + 0x40d0d8]
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0xb8], 1
call fcn.0040dae0
jmp 0x40caa7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40caa7
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x30]
push 1
push ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
call fcn.0040e050
mov eax, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
je 0x40c9b3
cmp eax, 1
je 0x40c9b3
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xb8]
mov dword [esp + 0x90], ecx
push 1
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x9c], edx
call fcn.0040e050
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
mov esi, dword [eax]
call fcn.0040d8e0
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.0040d230
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
call fcn.0040e190
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
test eax, eax
jne 0x40c910
lea ecx, [esp + 0x10]
call fcn.0040d8e0
jmp 0x40caa7
mov ecx, dword [esp + 0x31c]
cmp word [ecx + edi*2 + 2], 0x3d
jne 0x40c9d8
mov eax, 5
inc edi
jmp 0x40c9dd
mov eax, 3
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
push ecx
push eax
jmp 0x40ca9f
mov edx, dword [esp + 0x31c]
cmp word [edx + edi*2 + 2], 0x3d
jne 0x40ca04
mov eax, 6
inc edi
jmp 0x40ca09
mov eax, 4
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
jmp 0x40ca9f
mov eax, dword [esp + 0x31c]
cmp word [eax + edi*2 + 2], 0x3d
jne 0x40ccea
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
inc edi
push 7
jmp 0x40ca9f
mov eax, dword [esp + 0x31c]
cmp word [eax + edi*2 + 2], 0x3d
jne 0x40cd45
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
inc edi
push 8
jmp 0x40ca9f
mov eax, dword [esp + 0x31c]
cmp word [eax + edi*2 + 2], 0x26
jne 0x40cda0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
inc edi
push 9
jmp 0x40ca9f
mov eax, dword [esp + 0x31c]
cmp word [eax + edi*2 + 2], 0x7c
jne 0x40cdfb
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
inc edi
push 0xa
call fcn.0040d5f0
add esp, 0xc
mov eax, dword [esp + 0x31c]
inc edi
cmp word [eax + edi*2], 0
jne 0x40c6e1
mov ebx, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40cb51
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call fcn.0040e190
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov esi, dword [edx]
cmp eax, ecx
jne 0x40cb17
lea ecx, [esp + 0x10]
call fcn.0040dfc0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40cb23
sub dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x40cb37
lea ecx, [esp + 0x10]
call fcn.0040dfc0
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.0040d230
mov eax, dword [esp + 0x44]
add esp, 8
test eax, eax
jne 0x40cacb
cmp dword [esp + 0x70], 1
jne 0x40cf2f
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x7c], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
call fcn.0040e190
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
test esi, esi
je 0x40cf3c
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x40cbad
lea ecx, [esp + 0x44]
call fcn.0040dfc0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40cbb9
sub dword [esp + 0x60], ebx
mov eax, dword [esp + 0x70]
dec eax
mov dword [esp + 0x70], eax
jne 0x40cbcd
lea ecx, [esp + 0x44]
call fcn.0040dfc0
cmp dword [esi], 1
jne 0x40cf1f
mov eax, dword [esp + 0x320]
mov dl, byte [esi + 8]
lea ecx, [esi + 4]
mov byte [eax], dl
call sub.MFC42u.DLL_CString::CString
push esi
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
mov byte [esp + 0x314], 0
je 0x40cc2f
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, ebx
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x40cc1e
cmp ecx, dword [esp + 0x4c]
jne 0x40cc27
lea ecx, [esp + 0x44]
call fcn.0040dde0
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40cc03
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x314], 0xffffffff
test eax, eax
je 0x40cf15
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
add ecx, ebx
dec edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
je 0x40cc69
cmp ecx, dword [esp + 0x18]
jne 0x40cf09
mov ecx, eax
add eax, ebx
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
push edx
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
jne 0x40ced1
lea ecx, [esp + 0x88]
call fcn.0040e150
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 4
jmp 0x40cf09
lea ecx, [esp + 0x44]
push ecx
call fcn.0040c470
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
mov byte [esp + 0x314], 0
je 0x40cd18
lea ecx, [esp + 0x44]
call fcn.0040da50
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40cd07
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x314], 0xffffffff
test eax, eax
je 0x40d0ba
lea ecx, [esp + 0x10]
call fcn.0040da50
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40cd2f
jmp 0x40d0ba
lea edx, [esp + 0x44]
push edx
call fcn.0040c470
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
mov byte [esp + 0x314], 0
je 0x40cd73
lea ecx, [esp + 0x44]
call fcn.0040da50
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40cd62
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x314], 0xffffffff
test eax, eax
je 0x40d0ba
lea ecx, [esp + 0x10]
call fcn.0040da50
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40cd8a
jmp 0x40d0ba
lea eax, [esp + 0x44]
push eax
call fcn.0040c470
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
mov byte [esp + 0x314], 0
je 0x40cdce
lea ecx, [esp + 0x44]
call fcn.0040da50
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40cdbd
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x314], 0xffffffff
test eax, eax
je 0x40d0ba
lea ecx, [esp + 0x10]
call fcn.0040da50
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40cde5
jmp 0x40d0ba
lea ecx, [esp + 0x44]
push ecx
call fcn.0040c470
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
mov byte [esp + 0x314], 0
je 0x40ce29
lea ecx, [esp + 0x44]
call fcn.0040da50
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40ce18
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x314], 0xffffffff
test eax, eax
je 0x40d0ba
lea ecx, [esp + 0x10]
call fcn.0040da50
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40ce40
jmp 0x40d0ba
lea edx, [esp + 0x44]
push edx
call fcn.0040c470
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
mov byte [esp + 0x314], 0
je 0x40ce84
lea ecx, [esp + 0x44]
call fcn.0040da50
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40ce73
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x314], 0xffffffff
test eax, eax
je 0x40d0ba
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
add ecx, 4
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
je 0x40cebb
mov eax, ecx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x40cec4
lea ecx, [esp + 0x10]
call fcn.0040dde0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40ce9b
jmp 0x40d0ba
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xa0]
call fcn.0040e160
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x40cc4e
mov eax, 1
jmp 0x40d0bc
lea ecx, [esi + 4]
call sub.MFC42u.DLL_CString::CString
push esi
call sub.MFC42u.DLL_operatordelete
jmp 0x40cf39
lea ecx, [esp + 0x44]
push ecx
call fcn.0040c470
add esp, 4
mov eax, dword [esp + 0x70]
mov byte [esp + 0x314], 0
test eax, eax
je 0x40d013
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, ebx
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x40cf73
mov eax, dword [esp + 0x4c]
mov edx, ecx
cmp edx, eax
jne 0x40d007
mov ecx, dword [esp + 0x54]
mov eax, ecx
add ecx, ebx
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
push eax
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
jne 0x40cfe9
lea ecx, [esp + 0x88]
call fcn.0040e150
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], eax
push ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
jmp 0x40d007
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [esp + 0x54], eax
mov esi, ecx
mov dword [esp + 0x48], ecx
lea edx, [ecx + 0x1000]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40cf50
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40d0ba
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
add esi, ebx
dec ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], ecx
je 0x40d03e
cmp esi, dword [esp + 0x18]
jne 0x40d0ae
mov ecx, eax
add eax, ebx
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
push edx
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
jne 0x40d098
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
xor edx, edx
xor esi, esi
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call sub.MFC42u.DLL_operatordelete
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 4
jmp 0x40d0ae
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov esi, ecx
mov dword [esp + 0x14], ecx
lea edx, [ecx + 0x1000]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x40d027
xor eax, eax
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x308
ret