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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x54], 0xafa055
mov dword [esp + 0x58], 0xafa059
mov dword [esp + 0x5c], 0xafa05e
mov dword [esp + 0x60], 0xafa064
mov dword [esp + 0x64], 0xafa068
mov dword [esp + 0x68], 0xafa06c
mov dword [esp + 0x6c], 0xafa070
mov dword [esp + 0x70], 0xafa073
mov dword [esp + 0x74], 0xafa077
mov dword [esp + 0x78], 0xafa07b
mov dword [esp + 0x7c], 0xafa07f
mov dword [esp + 0x80], 0xafa083
mov dword [esp + 0x84], 0xafa086
mov dword [esp + 0x88], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
cmp eax, 0x100
mov ebx, eax
jae 0x41cc80
mov ebx, 0x100
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x100
jae 0x41cc9b
mov eax, 0x100
lea ebx, [ebx + eax + 2]
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov dword [esp + 0x24], eax
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov dword [esp + 0x20], eax
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov ebp, eax
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov dword [esp + 0x18], eax
call sub.msvcrt.dll_malloc
mov dword [esp], ebx
mov edi, eax
call sub.msvcrt.dll_malloc
mov dword [esp], 0x400
mov dword [esp + 0x14], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0
mov dword [esp + 0x2c], eax
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [esp + 4], 0x2f
mov dword [esp], esi
call sub.msvcrt.dll_strrchr
test eax, eax
mov ebx, eax
je 0x41d2c4
mov edx, dword [esp + 0x24]
lea eax, [ebx + 1]
sub ebx, esi
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strcpy
mov ecx, dword [esp + 0x28]
lea eax, [ebx + 1]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
call sub.msvcrt.dll_strncpy
mov eax, dword [esp + 0x28]
mov byte [ebx + eax + 1], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x41d300
mov ebx, eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub ebx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncpy
mov ecx, dword [esp + 0x20]
mov byte [ecx + ebx], 0
movzx eax, byte [ecx]
test al, al
je 0x41cdd4
mov ebx, ecx
movsx eax, al
mov dword [esp], eax
call sub.msvcrt.dll_tolower
mov byte [ebx], al
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x41cdbd
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
call fcn.0041c9a0
mov edx, dword [0xc10020]
test edx, edx
je 0x41ce61
movzx eax, byte [edx]
test al, al
je 0x41ce61
mov esi, dword [sym.imp.msvcrt.dll___mb_cur_max]
mov ebx, edx
jmp 0x41ce1c
mov ecx, dword [sym.imp.msvcrt.dll__pctype]
mov eax, dword [ecx]
movzx eax, word [eax + edx*2]
and eax, 0x107
test eax, eax
jne 0x41ce38
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x41ce61
cmp dword [esi], 1
movsx edx, al
je 0x41cdfc
mov dword [esp + 4], 0x107
mov dword [esp], edx
call sub.msvcrt.dll__isctype
test eax, eax
je 0x41ce11
mov eax, dword [0xc10020]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, dword [0xc10020]
mov dword [esp + 0x38], eax
call fcn.0041c9a0
jmp 0x41ce69
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test ecx, ecx
mov dword [esp + 0x30], eax
setne byte [esp + 0x37]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
test edx, edx
jne 0x41ce9f
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00aa2770
test eax, eax
mov dword [esp + 0x44], eax
je 0x41d091
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00aa29b0
test eax, eax
je 0x41d085
lea esi, [eax + 8]
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x41d1cb
mov ebx, eax
sub ebx, esi
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], ebp
call sub.msvcrt.dll_strncpy
mov byte [ebp + ebx], 0
movzx eax, byte [ebp]
test al, al
je 0x41cf1c
mov ebx, ebp
movsx eax, al
mov dword [esp], eax
call sub.msvcrt.dll_tolower
mov byte [ebx], al
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x41cf05
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call sub.msvcrt.dll_strrchr
test eax, eax
je 0x41d1c3
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_strcpy
mov eax, dword [esp + 0x18]
mov edx, ebp
call fcn.0041c9a0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41d07a
mov eax, dword [esp + 0x30]
lea ebx, [esp + 0x54]
jmp 0x41cf72
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
je 0x41d07a
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x41cf64
cmp byte [esp + 0x37], 0
je 0x41d19b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 4], 0xafa08a
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov edx, dword [esp + 0x14]
mov dword [esp + 8], 0xafa090
mov dword [esp + 4], 4
mov dword [esp], 0x24
mov dword [esp + 0xc], edx
call fcn.00405fb0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x41d19b
mov eax, dword [0xc106b4]
mov dword [esp + 0x48], 0xa
test eax, eax
jle 0x41d19b
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
test edx, edx
jne 0x41d019
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0xaf9e2b
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov edx, dword [esp + 0x14]
mov dword [esp + 4], 0xafa070
mov dword [esp], edx
call sub.msvcrt.dll_fopen
test eax, eax
je 0x41d07a
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
lea ebx, [eax + ecx*8]
mov ecx, dword [esp + 0x14]
mov dword [ebx], edx
mov dword [esp], ecx
call sub.msvcrt.dll__strdup
add dword [esp + 0x40], 1
mov dword [ebx + 4], eax
cmp dword [esp + 0x40], 0x7f
jle 0x41ceb3
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.00aa2b00
add dword [esp + 0x3c], 1
cmp dword [esp + 0x3c], 2
jne 0x41ce8c
cmp byte [esp + 0x37], 0
je 0x41d0b4
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x24]
mov dword [esp], edx
call sub.msvcrt.dll_free
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x18]
mov dword [esp], edx
call sub.msvcrt.dll_free
mov dword [esp], edi
call sub.msvcrt.dll_free
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], 0x41cba0
mov dword [esp + 8], 8
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_qsort
mov ecx, dword [esp + 0x40]
lea ebx, [ecx*4 + 4]
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov esi, eax
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edi, dword [esp + 0x40]
test edi, edi
jle 0x41d177
xor edx, edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*8 + 4]
mov dword [esi + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x40]
jne 0x41d163
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [esi + eax*4], 0
mov dword [esp], edx
call sub.msvcrt.dll_free
add esp, 0x8c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.msvcrt.dll_strcmp
mov edx, 4
test eax, eax
jne 0x41d1dc
add edx, edx
mov dword [esp + 0x48], edx
jmp 0x41d006
mov byte [edi], 0
jmp 0x41cf43
mov dword [esp + 4], esi
mov dword [esp], ebp
call sub.msvcrt.dll_strcpy
jmp 0x41cf1c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strstr
test eax, eax
mov ebx, eax
je 0x41d294
mov eax, dword [0xc106b4]
test eax, eax
jle 0x41d294
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
lea ebx, [eax + ebx]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41d237
mov eax, dword [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strstr
mov edx, 3
test eax, eax
jne 0x41d1b8
cmp byte [esp + 0x37], 0
jne 0x41d2ba
movzx eax, byte [ebx]
test al, al
jne 0x41d274
jmp 0x41d319
mov ecx, dword [sym.imp.msvcrt.dll__pctype]
mov eax, dword [ecx]
movzx eax, word [eax + edx*2]
and eax, 0x107
test eax, eax
jne 0x41d2ba
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x41d319
mov ecx, dword [sym.imp.msvcrt.dll___mb_cur_max]
movsx edx, al
cmp dword [ecx], 1
je 0x41d250
mov dword [esp + 4], 0x107
mov dword [esp], edx
call sub.msvcrt.dll__isctype
jmp 0x41d261
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x41d07a
cmp dword [0xc106b4], 1
mov dword [esp + 0x48], 2
jg 0x41d015
jmp 0x41d07a
mov edx, 2
jmp 0x41d1b8
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call sub.msvcrt.dll_strrchr
test eax, eax
mov ebx, eax
jne 0x41cd3d
mov edx, dword [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp], edx
call sub.msvcrt.dll_strcpy
mov ecx, dword [esp + 0x28]
mov word [ecx], 0x2f2e
mov byte [ecx + 2], 0
jmp 0x41cd72
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.msvcrt.dll_strcpy
jmp 0x41cdd4
mov edx, 3
jmp 0x41d1b8