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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
lea eax, [ecx + 1]
test byte [ecx], 1
mov dword [esp + 0x20], eax
je 0x411811
mov eax, dword [ecx + 8]
push eax
call fcn.00476580
add esp, 4
test eax, eax
mov dword [esp + 0x44], eax
je 0x411cdd
mov edi, eax
push eax
call fcn.004765f0
add esp, 4
test eax, eax
je 0x411c28
mov esi, eax
jmp 0x411853
push edi
call fcn.004765f0
add esp, 4
mov esi, eax
test eax, eax
je 0x411c28
cmp byte [esi + 8], 0x2e
jne 0x411870
movzx eax, byte [esi + 9]
test eax, eax
je 0x411840
cmp eax, 0x2e
jne 0x411870
cmp byte [esi + 0xa], 0
je 0x411840
nop dword [eax]
add esi, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov edi, dword [ebp + 0xc]
movzx ebx, byte [edi]
test bl, 1
je 0x4118a0
mov eax, dword [edi + 4]
jmp 0x4118a4
mov eax, ebx
shr eax, 1
mov dword [esp + 0xc], eax
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, eax
mov edx, dword [esp + 0x20]
test bl, 1
je 0x4118bf
mov edx, dword [edi + 8]
mov eax, dword [esp + 0xc]
lea ebx, [eax + ecx]
cmp ebx, 0xfffffff0
jae 0x411d35
cmp ebx, 0xa
mov dword [esp + 0x4c], ecx
ja 0x4118f0
mov ebx, dword [esp + 0xc]
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
test ebx, ebx
jne 0x41191c
jmp 0x411927
or ebx, 0xf
lea eax, [ebx + 1]
push eax
mov edi, edx
call fcn.0051c3d0
mov edx, edi
add esp, 4
mov edi, eax
mov dword [esp + 0x18], eax
add ebx, 2
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x411927
push ebx
push edx
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
lea ecx, [esp + 0x10]
push dword [esp + 0x4c]
push esi
call fcn.00520110
xorps xmm0, xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
test byte [esp + 0x10], 1
lea eax, [esp + 0x11]
je 0x411963
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x90]
push ecx
push eax
call fcn.004796c0
add esp, 8
cmp eax, 0xffffffff
mov edi, dword [esp + 0x44]
je 0x4119f0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x411d3e
mov ebx, eax
cmp eax, 0xb
jae 0x411a40
mov eax, ebx
add al, bl
mov byte [esp + 0x38], al
lea eax, [esp + 0x39]
test ebx, ebx
jne 0x411a64
jmp 0x411a73
test byte [esp + 0x10], 1
lea esi, [esp + 0x11]
je 0x4119ff
mov esi, dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call fcn.00479500
add esp, 4
push eax
push esi
push str.cannot_lstat__s:__s
push dword [esp + 0x30]
call fcn.00413060
add esp, 0x10
test byte [esp + 0x10], 1
je 0x411840
jmp 0x411c17
mov edi, ebx
or edi, 0xf
lea eax, [edi + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov dword [esp + 0x40], eax
add edi, 2
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
push ebx
push esi
push eax
mov esi, eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, esi
add esp, 0xc
mov byte [eax + ebx], 0
movzx eax, word [esp + 0x96]
lea ecx, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00414350
test byte [esp + 0x38], 1
je 0x411aa7
push dword [esp + 0x40]
call fcn.0051c570
add esp, 4
movzx eax, word [esp + 0x96]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x4000
jne 0x411b10
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x30]
je 0x411bbc
mov ecx, esi
lea eax, [esp + 0x50]
push eax
call fcn.0051f860
lea ecx, [esi + 0xc]
lea eax, [esp + 0x5c]
push eax
call fcn.0051f860
lea eax, [esp + 0x68]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 9]
movups xmmword [esi + 0x21], xmm1
movups xmmword [esi + 0x18], xmm0
add dword [esp + 0x2c], 0x38
test byte [esp + 0x5c], 1
jne 0x411bd5
jmp 0x411be1
mov ecx, eax
and ecx, 0xd000
cmp ecx, 0x8000
je 0x411b4d
mov ecx, dword [ebp + 0xc]
test byte [ecx], 1
mov ecx, dword [esp + 0x20]
je 0x411b32
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
push eax
push ecx
push str.skipping_special_file__s__mode__0o_o_
push dword [esp + 0x30]
call fcn.00413100
add esp, 0x10
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
sar eax, 0x1f
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x411bc2
mov ecx, esi
lea edx, [esp + 0x50]
push edx
mov ebx, eax
call fcn.0051f860
lea ecx, [esi + 0xc]
lea eax, [esp + 0x5c]
push eax
call fcn.0051f860
lea eax, [esp + 0x68]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 9]
movups xmmword [esi + 0x21], xmm1
movups xmmword [esi + 0x18], xmm0
add dword [ebx + 4], 0x38
test byte [esp + 0x5c], 1
jne 0x411bd5
jmp 0x411be1
lea ecx, [esp + 0x28]
jmp 0x411bc4
mov ecx, eax
lea eax, [esp + 0x50]
push eax
call fcn.004144b0
test byte [esp + 0x5c], 1
je 0x411be1
push dword [esp + 0x64]
call fcn.0051c570
add esp, 4
test byte [esp + 0x50], 1
jne 0x411c00
test byte [esp + 0x10], 1
je 0x411840
jmp 0x411c17
push dword [esp + 0x58]
call fcn.0051c570
add esp, 4
test byte [esp + 0x10], 1
je 0x411840
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
jmp 0x411840
push edi
call fcn.004766b0
add esp, 4
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x411c8f
mov esi, dword [ebp + 8]
jmp 0x411c74
mov ecx, esi
push ebx
call fcn.00404870
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
push ebx
push edi
push esi
call fcn.004117d0
add esp, 0xc
add edi, 0x38
cmp edi, dword [esp + 0xc]
je 0x411c8b
lea ebx, [edi + 0xc]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x411c50
push ebx
call fcn.0051f860
add dword [esi + 4], 0xc
jmp 0x411c58
mov edi, dword [esp + 0x28]
test edi, edi
je 0x411d25
mov esi, dword [esp + 0x2c]
mov eax, edi
cmp esi, edi
jne 0x411cb6
jmp 0x411d18
mov esi, ebx
cmp ebx, edi
je 0x411d14
test byte [esi - 0x2c], 1
je 0x411cc7
push dword [esi - 0x24]
call fcn.0051c570
add esp, 4
lea ebx, [esi - 0x38]
test byte [esi - 0x38], 1
je 0x411cb0
push dword [esi - 0x30]
call fcn.0051c570
add esp, 4
jmp 0x411cb0
mov eax, dword [ebp + 0xc]
test byte [eax], 1
je 0x411cec
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call fcn.00479500
add esp, 4
push eax
push dword [esp + 0x24]
push str.cannot_open__s:__s
push dword [esp + 0x30]
call fcn.00413060
add esp, 0x10
jmp 0x411d25
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
push eax
call fcn.0051c570
add esp, 4
cmp dword [esp + 0x44], 0
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.0051f6b0
lea ecx, [esp + 0x38]
call fcn.0051f6b0
nop word [eax + eax]