Function at 0x43ee09
Capabilities:
Get file attributes

Disassembly:
push 0x314
mov eax, 0x4482d8
call fcn.00442fda
mov dword [ebp - 0x30c], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x288]
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x318], ebx
movlpd qword [ebp - 0x288], xmm0
call fcn.0043e340
and dword [ebp - 4], 0
lea edi, [ebp - 0x2ec]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x2ec]
call fcn.00440237
push esi
mov esi, dword [ebp - 0x308]
lea eax, [ebp - 0x304]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0043ca04
add esp, 0xc
cmp dword [ebp - 0x2f0], 8
lea eax, [ebp - 0x304]
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x304]
push eax
call fcn.00440311
test al, al
jne 0x43eeea
lea ecx, [ebp - 0x304]
call fcn.00403176
lea ecx, [ebp - 0x2ec]
call fcn.00440247
push dword [ebp - 0x288]
lea eax, [ebp - 0x288]
push eax
call fcn.0043e2ac
push 0x20
push dword [ebp - 0x288]
call fcn.00401f27
add esp, 0x10
xor al, al
call fcn.00442f27
ret 0x10
lea ecx, [ebp - 0x2ec]
call fcn.004402d1
mov dword [ebp - 0x314], eax
test eax, eax
je 0x43f2bf
cmp dword [eax + 0xc], 0
je 0x43f2bf
push dword [eax + 0xc]
lea ecx, [ebp - 0x2ec]
call fcn.00440431
test eax, eax
je 0x43f297
cmp byte [eax], 0
je 0x43f297
push eax
lea ecx, [ebp - 0x2d0]
call fcn.0041565f
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.004152fd
cmp dword [ebx], eax
je 0x43ef62
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 3
call fcn.00403150
jmp 0x43f297
lea eax, [ebp - 0x2d0]
mov ecx, ebx
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0043e15b
cmp dword [ebp - 0x2bc], 0x10
lea eax, [ebp - 0x2d0]
lea ecx, [ebp - 0x178]
cmovae eax, dword [ebp - 0x2d0]
push 3
mov dword [ebp - 0x17c], ecx
lea ecx, [ebp - 0x17c]
push eax
call fcn.00415b80
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 5
call fcn.00402224
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x17c], eax
je 0x43efd9
push dword [ebp - 0x17c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2b8]
push esi
push eax
call fcn.0043e0fa
add esp, 0xc
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x28c]
lea esi, [ebp - 0x2a0]
mov edx, dword [ebp - 0x2a0]
cmp ecx, 8
mov ebx, eax
cmovae esi, edx
mov dword [ebp - 0x310], ebx
test esi, esi
je 0x43f118
push esi
push 0x103
lea eax, [ebp - 0x280]
push eax
call fcn.0043e81a
lea eax, [ebp - 0x280]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
push 6
pop ecx
mov esi, str.API_MS_WIN_
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov esi, str.MSVCP140
lea edi, [ebp - 0x28]
push 6
pop ecx
push 6
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, str.VCRUNTIME140
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
pop ecx
push 0xb
push eax
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x280]
mov esi, 0x485144
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0x14
test eax, eax
je 0x43f19f
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x43f19f
push 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x43f19f
push 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x43f19f
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ebp - 0x2a0]
cmp ecx, 8
lea eax, [ebp - 0x2a0]
cmovae eax, edx
test eax, eax
je 0x43f25d
push eax
push 0x103
lea eax, [ebp - 0x280]
push eax
call fcn.0043e81a
lea eax, [ebp - 0x280]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
pop ecx
pop ecx
push 0x14
pop ebx
xor esi, esi
lea eax, [esi + ebx]
cdq
lea ecx, [ebp - 0x280]
sub eax, edx
mov edi, eax
sar edi, 1
mov edx, dword [edi*4 + 0x48f7d0]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x43f238
test ax, ax
je 0x43f198
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x43f238
add ecx, 4
add edx, 4
test ax, ax
jne 0x43f16e
xor ecx, ecx
jmp 0x43f23d
cmp ebx, 0xffffffff
jne 0x43f1ed
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push eax
call fcn.0043b3f2
pop ecx
test al, al
jne 0x43f266
lea ecx, [ebp - 0x2b8]
call fcn.00403176
lea ecx, [ebp - 0x2a0]
call fcn.00403176
lea ecx, [ebp - 0x2d0]
call fcn.00403150
jmp 0x43eea8
cmp dword [ebp + 0x14], 0
jne 0x43f266
push str.Microsoft_Corporation
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
mov ecx, dword [ebp - 0x30c]
cmovae eax, dword [ebp - 0x2b8]
push 1
push eax
call fcn.0043ea82
test al, al
je 0x43f1c7
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x288]
lea ecx, [ebp - 0x288]
call fcn.0043e1e3
jmp 0x43f266
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x43f2ab
lea eax, [edi + 1]
cmovns esi, eax
lea eax, [edi - 1]
cmovns eax, ebx
mov ebx, eax
cmp esi, ebx
jle 0x43f157
mov ebx, dword [ebp - 0x310]
cmp ebx, 0xffffffff
jne 0x43f1c7
lea ecx, [ebp - 0x2b8]
call fcn.00403176
lea ecx, [ebp - 0x2a0]
call fcn.00403176
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 3
call fcn.00403150
mov ebx, dword [ebp - 0x318]
mov esi, dword [ebp - 0x308]
mov eax, dword [ebp - 0x314]
add eax, 0x14
mov dword [ebp - 0x314], eax
jmp 0x43ef03
cmp dword [ebp - 0x310], 0xffffffff
je 0x43f1c7
push 0
jmp 0x43f1f8
lea ecx, [ebp - 0x304]
call fcn.00403176
mov eax, dword [ebp - 0x288]
mov dword [ebp - 4], 1
mov esi, dword [eax]
cmp esi, eax
je 0x43f311
mov edi, dword [ebp + 0x14]
lea eax, [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x43f2eb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30c]
push edi
push ebx
push dword [ebp - 0x308]
push eax
call fcn.0043ee09
test al, al
je 0x43eeb3
mov esi, dword [esi]
cmp esi, dword [ebp - 0x288]
jne 0x43f2e0
lea ecx, [ebp - 0x2ec]
call fcn.00440247
push dword [ebp - 0x288]
lea eax, [ebp - 0x288]
push eax
call fcn.0043e2ac
push 0x20
push dword [ebp - 0x288]
call fcn.00401f27
add esp, 0x10
mov al, 1
jmp 0x43eee2