Function at 0x418490
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4518e4
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x468254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
sub esp, 0x10
mov dword [ebp - 0x370], edi
mov dword [ebp - 0x308], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, esp
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x30]
push 8
push str..
mov dword [eax], 0xe
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x328], edi
call fcn.0040e580
add esp, 0x1c
mov dword [ebp - 4], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x32c], 0
mov esi, 3
push eax
mov dword [ebp - 0x308], esi
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push 2
test eax, eax
lea ecx, [ebp - 0x300]
push 0
push 1
setne byte [ebp - 0x319]
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
push ecx
cmovae eax, dword [ebp - 0xb0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x304], eax
cmp eax, 0xffffffff
je 0x418b39
nop word [eax + eax]
test byte [ebp - 0x300], 0x10
je 0x4189cc
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x60], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4185d1
sub ecx, edx
lea eax, [ebp - 0x2d4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00417700
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 2
push eax
call fcn.00418340
add esp, 0xc
mov ecx, dword [ebp - 0x318]
mov byte [ebp - 4], 3
cmp ecx, dword [ebp - 0x314]
jne 0x4186ca
mov byte [ebp - 4], 2
test ecx, ecx
je 0x418683
mov eax, dword [ebp - 0x310]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x41865b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4189c6
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4186bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
jmp 0x4189c6
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
sub esp, 0x10
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, esp
push 9
push 0x454b48
mov dword [eax], 0x1ce
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x48]
push eax
call fcn.0040e580
or esi, 8
mov dword [ebp - 0x308], esi
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, esp
push 9
push str..exe
mov dword [eax], 0x1ce
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0040e580
or esi, 0x10
add esp, 0x1c
mov dword [ebp - 0x308], esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4189ed
test al, 0x10
jne 0x4189ed
mov esi, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
cmp esi, dword [edi + 8]
je 0x41885e
mov ecx, esi
mov dword [ebp - 0x324], esi
call fcn.00414720
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x18]
push eax
call fcn.00414720
lea edi, [esi + 0x30]
mov byte [ebp - 4], 7
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x320], edi
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x30c], eax
cmp ecx, eax
je 0x418852
mov esi, eax
sub esi, ecx
mov ecx, edi
sar esi, 1
push esi
call fcn.00416b90
mov ecx, dword [ebp - 0x320]
mov dword [edi], eax
mov dword [edi + 4], eax
lea edi, [esi + esi]
add eax, edi
mov dword [ecx + 8], eax
mov esi, dword [ecx]
mov eax, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x30c]
sub ecx, eax
push ecx
push eax
push esi
call fcn.00434670
mov ecx, dword [ebp - 0x320]
lea eax, [esi + edi]
add esp, 0xc
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x318]
mov edi, dword [ebp - 0x328]
add dword [edi + 4], 0x3c
jmp 0x418877
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x318]
push eax
push esi
call fcn.004034b0
mov ecx, dword [ebp - 0x318]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4188bb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4188ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
mov ecx, dword [ebp - 0x318]
add esp, 8
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x418913
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418903
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
mov ecx, dword [ebp - 0x318]
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
test ecx, ecx
je 0x418982
mov eax, dword [ebp - 0x310]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x41895a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4189c0
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4189b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov esi, dword [ebp - 0x308]
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x300]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x418b39
mov eax, dword [ebp - 0x304]
jmp 0x4185a0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x418a2b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418a21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x418a7d
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418a73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov ecx, dword [ebp - 0x318]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
test ecx, ecx
je 0x418af2
mov eax, dword [ebp - 0x310]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x418aca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4189c6
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
jmp 0x4189c6
push dword [ebp - 0x304]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x319], 0
je 0x418b5a
push dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esi, dword [edi + 4]
mov eax, 0x88888889
mov edi, dword [edi]
mov ecx, esi
push dword [ebp - 0x324]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
push edi
call fcn.00404ec0
xor eax, eax
xor edi, edi
add esp, 0x10
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edi
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x328]
mov byte [ebp - 4], 8
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30c], eax
cmp esi, eax
je 0x418db3
mov eax, dword [esi + 0x34]
sub esp, 0x10
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov eax, esp
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], 0x454b28
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x2c], 0x406560
push 2
mov dword [eax], 0x10
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x48]
push 0x454b2c
push eax
call fcn.0040e580
or dword [ebp - 0x308], 0x60
add esp, 0x1c
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 9
mov ecx, esi
cmovae eax, dword [ebp - 0x48]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x7c], eax
jb 0x418c41
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
sub esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, esp
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x80]
push 0x1b
mov dword [eax], 0x1ce
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x28]
push str.version:__execuatable:_
push eax
call fcn.0040e580
or dword [ebp - 0x308], 0x80
add esp, 0x1c
mov byte [ebp - 4], 0xa
cmp edi, dword [ebp - 0x304]
je 0x418cd0
mov dword [edi], 0
xor ecx, ecx
mov dword [edi + 0x10], 0
mov eax, 7
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov word [ebp - 0x28], cx
mov dword [ebp - 0x314], edi
jmp 0x418cf5
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x318]
call fcn.004039e0
mov eax, dword [ebp - 0x310]
mov edi, dword [ebp - 0x314]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x418d30
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418d26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x418d82
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418d78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
add esi, 0x3c
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp esi, dword [ebp - 0x30c]
jne 0x418bc6
mov esi, dword [ebp - 0x318]
mov dword [ebp - 0x320], esi
jmp 0x418db5
xor esi, esi
xor eax, eax
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0x80
mov dword [ebp - 0x360], str.D:gitlablauncher_srclaunchermain.cpp
mov dword [ebp - 0x35c], 0xc3
mov dword [ebp - 0x358], str.class_std::vector_class_std::tuple_class_version_info_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t______class_std::allocator_class_std::tuple_class_version_info_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t____________cdecl_get_available_executable_list_class_std::basic_string_view_wchar_t_struct_std::char_traits_wchar_t____class_std::basic_string_view_wchar_t_struct_std::char_traits_wchar_t____
mov word [ebp - 0x354], ax
mov dword [ebp - 0x350], eax
mov byte [ebp - 0x34c], al
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], 0x4548c0
mov dword [ebp - 0x340], 2
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x334], eax
push dword [section..data]
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 0xb
push 1
push eax
call fcn.00428b10
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x70]
push ecx
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0x454e88
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x2c], 0x406640
push 0x16
mov dword [eax], 0x10
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x60]
push 0x454e8c
push eax
call fcn.0040e580
or dword [ebp - 0x308], 0x100
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041b020
add esp, 0x24
mov esi, dword [ebp - 0x30c]
mov byte [ebp - 4], 0xd
cmp byte [esi + 0x20], 0
je 0x418f02
cmp dword [eax + 0x14], 0x10
jb 0x418ed0
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x24]
add eax, 0x68
push eax
call fcn.00401400
mov eax, dword [0x46a180]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x418f02
mov eax, dword [esi + 0x24]
add eax, 0x68
push 0x454a60
push eax
call fcn.00401400
add esp, 8
mov edx, dword [ebp - 0x84]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x418f40
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418f36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x418f99
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418f8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push edx
push ecx
call fcn.0043304f
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0xe
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
call fcn.0042c7e0
mov esi, dword [ebp - 0x33c]
test esi, esi
je 0x419082
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x30c], eax
cmp esi, eax
je 0x41903b
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x41901d
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41900d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
mov eax, edx
push ecx
push eax
call fcn.0043304f
mov eax, dword [ebp - 0x30c]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, eax
jne 0x418fe4
mov esi, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0x334]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x419078
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910c
push ecx
push esi
call fcn.0043304f
add esp, 8
mov esi, dword [ebp - 0x320]
test esi, esi
je 0x4190e0
lea ecx, [ebp - 0x318]
push ecx
push edi
push esi
call fcn.00403440
mov ecx, dword [ebp - 0x304]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4190d6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419111
push ecx
push esi
call fcn.0043304f
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.004153c0
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004332ca
mov esp, ebp
pop ebp
ret
call fcn.0043774f
call fcn.0043774f
int3