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

Disassembly:
push 0xffffffffffffffff
push 0x41fd0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [0x4289d4]
push esi
push edi
mov dword [esp + 8], eax
mov esi, dword [esp + 0xc8]
xor edi, edi
mov dword [esp + 0xc0], edi
mov eax, dword [esi]
cmp dword [eax - 8], edi
jle 0x40cdfa
push ebx
push ebp
mov ebp, 2
mov dword [esp + 0x18], 5
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], ebp
mov cl, byte [eax + edi]
cmp cl, 0x5c
jne 0x40cda6
mov al, byte [eax + edi + 1]
movsx ecx, al
add ecx, 0xffffffd9
cmp ecx, 0x4b
ja case.0x40c793.43
xor edx, edx
mov dl, byte [ecx + 0x40ce3c]
jmp dword [edx*4 + 0x40ce28]
lea eax, [esp + 0x30]
push ebp
push eax
mov ecx, esi
call fcn.004164c6
mov ebx, eax
lea ecx, [esp + 0x98]
push edi
push ecx
mov ecx, esi
mov byte [esp + 0xd0], 1
call fcn.0041657f
push 0xa
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0xd4], 2
call fcn.00416402
push ebx
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0xd0], 3
push eax
call fcn.00417313
push eax
mov ecx, esi
mov byte [esp + 0xcc], 4
call fcn.0041721d
lea ecx, [esp + 0x68]
mov byte [esp + 0xc8], 3
call fcn.00417130
lea ecx, [esp + 0x28]
mov byte [esp + 0xc8], 2
call fcn.00417130
lea ecx, [esp + 0x98]
mov byte [esp + 0xc8], 1
call fcn.00417130
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 0
call fcn.00417130
jmp 0x40cdd3
lea ecx, [esp + 0x40]
push ebp
push ecx
mov ecx, esi
call fcn.004164c6
mov ebx, eax
lea edx, [esp + 0xb8]
push edi
push edx
mov ecx, esi
mov byte [esp + 0xd0], 5
call fcn.0041657f
push 0xd
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0xd0], 6
push eax
call fcn.00416402
push ebx
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0xd4], 7
call fcn.00417313
push eax
mov ecx, esi
mov byte [esp + 0xcc], 8
call fcn.0041721d
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], 7
call fcn.00417130
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 6
call fcn.00417130
lea ecx, [esp + 0xb8]
mov byte [esp + 0xc8], 5
call fcn.00417130
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 0
call fcn.00417130
jmp 0x40cdd3
lea edx, [esp + 0x50]
push ebp
push edx
mov ecx, esi
call fcn.004164c6
mov ebx, eax
lea eax, [esp + 0xa0]
push edi
push eax
mov ecx, esi
mov byte [esp + 0xd0], 9
call fcn.0041657f
push 0x27
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0xd4], 0xa
call fcn.00416402
push ebx
lea edx, [esp + 0x84]
push eax
push edx
mov byte [esp + 0xd4], 0xb
call fcn.00417313
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xc
call fcn.0041721d
lea ecx, [esp + 0x80]
mov byte [esp + 0xc8], 0xb
call fcn.00417130
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0xa
call fcn.00417130
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 9
call fcn.00417130
lea ecx, [esp + 0x50]
mov byte [esp + 0xc8], 0
call fcn.00417130
jmp 0x40cdd3
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, esi
call fcn.004164c6
mov ebx, eax
lea ecx, [esp + 0xb0]
push edi
push ecx
mov ecx, esi
mov byte [esp + 0xd0], 0xd
call fcn.0041657f
push 0x2c
lea edx, [esp + 0x5c]
push eax
push edx
mov byte [esp + 0xd4], 0xe
call fcn.00416402
push ebx
push eax
lea eax, [esp + 0x90]
mov byte [esp + 0xd0], 0xf
push eax
call fcn.00417313
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x10
call fcn.0041721d
lea ecx, [esp + 0x88]
mov byte [esp + 0xc8], 0xf
call fcn.00417130
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 0xe
call fcn.00417130
lea ecx, [esp + 0xb0]
mov byte [esp + 0xc8], 0xd
call fcn.00417130
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 0
call fcn.00417130
jmp 0x40cdd3
mov ebx, dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov byte [esp + 0x90], al
mov ecx, dword [esp + 0x90]
push ecx
call ebx
test eax, eax
je 0x40cc13
mov edx, dword [esi]
mov al, byte [edx + edi + 1]
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
jne 0x40cc13
mov edx, dword [esi]
mov al, byte [edx + edi + 2]
mov byte [esp + 0xa8], al
mov ecx, dword [esp + 0xa8]
push ecx
call ebx
test eax, eax
je 0x40cc13
mov edx, dword [esi]
mov al, byte [edx + edi + 2]
mov byte [esp + 0x70], al
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
jne 0x40cc13
mov edx, dword [esi]
mov al, byte [edx + edi + 3]
mov byte [esp + 0x24], al
mov ecx, dword [esp + 0x24]
push ecx
call ebx
test eax, eax
je 0x40cc13
mov edx, dword [esi]
mov al, byte [edx + edi + 3]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
jne 0x40cc13
push 0x4289cc
lea ecx, [esp + 0x14]
call fcn.0041726d
mov edx, dword [esi]
mov al, byte [edx + edi + 1]
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.004173ff
mov edx, dword [esi]
mov al, byte [edx + edi + 2]
mov byte [esp + 0x3c], al
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004173ff
mov edx, dword [esi]
mov al, byte [edx + edi + 3]
mov byte [esp + 0x44], al
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.004173ff
lea eax, [esp + 0x64]
mov ecx, esi
mov edx, dword [esp + 0x14]
push edx
push eax
call fcn.004164c6
mov ebx, eax
lea ecx, [esp + 0x5c]
push edi
push ecx
mov ecx, esi
mov byte [esp + 0xd0], 0x11
call fcn.0041657f
mov ebp, eax
mov edx, dword [esp + 0x10]
mov byte [esp + 0xc8], 0x12
push edx
call fcn.0040c620
push eax
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.00416402
push ebx
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0xd4], 0x13
call fcn.00417313
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x14
call fcn.0041721d
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc8], 0x13
call fcn.00417130
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 0x12
call fcn.00417130
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc8], 0x11
call fcn.00417130
lea ecx, [esp + 0x64]
mov byte [esp + 0xc8], 0
call fcn.00417130
mov ebp, dword [esp + 0x1c]
jmp 0x40cdd3
mov edx, dword [esi]
mov al, byte [edx + edi + 1]
lea ecx, [edx + edi]
cmp al, 0x58
je 0x40cc28
cmp al, 0x78
jne 0x40cdd3
mov al, byte [ecx + 2]
mov byte [esp + 0x6c], al
mov ecx, dword [esp + 0x6c]
push ecx
call ebx
test eax, eax
je 0x40cdd3
mov edx, dword [esi]
mov al, byte [edx + edi + 3]
mov byte [esp + 0x74], al
mov ecx, dword [esp + 0x74]
push ecx
call ebx
test eax, eax
je 0x40cdd3
mov edx, dword [esi]
mov al, byte [edx + edi + 4]
mov byte [esp + 0x7c], al
mov ecx, dword [esp + 0x7c]
push ecx
call ebx
test eax, eax
je 0x40cdd3
push 0x4289c8
lea ecx, [esp + 0x14]
call fcn.0041726d
mov edx, dword [esi]
mov al, byte [edx + edi + 2]
mov byte [esp + 0x84], al
mov ecx, dword [esp + 0x84]
push ecx
lea ecx, [esp + 0x14]
call fcn.004173ff
mov edx, dword [esi]
mov al, byte [edx + edi + 3]
mov byte [esp + 0x8c], al
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004173ff
mov edx, dword [esi]
mov al, byte [edx + edi + 4]
mov byte [esp + 0x94], al
mov ecx, dword [esp + 0x94]
push ecx
lea ecx, [esp + 0x14]
call fcn.004173ff
lea eax, [esp + 0xb4]
mov ecx, esi
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.004164c6
mov ebp, eax
lea ecx, [esp + 0xac]
push edi
push ecx
mov ecx, esi
mov byte [esp + 0xd0], 0x15
call fcn.0041657f
mov ebx, eax
mov edx, dword [esp + 0x10]
mov byte [esp + 0xc8], 0x16
push edx
call fcn.0040c620
push eax
lea eax, [esp + 0xa8]
push ebx
push eax
call fcn.00416402
push ebp
lea ecx, [esp + 0xa0]
push eax
push ecx
mov byte [esp + 0xd4], 0x17
call fcn.00417313
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0x18
call fcn.0041721d
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 0x17
call fcn.00417130
lea ecx, [esp + 0xa4]
mov byte [esp + 0xc8], 0x16
call fcn.00417130
lea ecx, [esp + 0xac]
mov byte [esp + 0xc8], 0x15
call fcn.00417130
lea ecx, [esp + 0xb4]
mov byte [esp + 0xc8], 0
call fcn.00417130
mov ebp, dword [esp + 0x1c]
jmp 0x40cdd3
mov byte [esp + 0xbc], cl
mov edx, dword [esp + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x40cdd3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc edi
inc ebp
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc edi
mov ecx, dword [eax - 8]
inc ebp
inc ebx
inc edx
cmp edi, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
jl 0x40c76c
pop ebp
pop ebx
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00417130
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xbc
ret 4