Function at 0x414f10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddf07
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414f64
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004033b0
cmp dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
mov ebx, 2
mov dword [ebp - 4], 0
mov dword [ebp - 0xc0], ebx
push eax
jne 0x414fd4
lea ecx, [ebp - 0x40]
call fcn.00413820
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ecx
jmp 0x4155a0
lea ecx, [ebp - 0x70]
call fcn.00413820
push 0x2f
push 0x5c
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00450640
add esp, 0x10
lea ecx, [ebp - 0x70]
push eax
call fcn.00405210
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x415042
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415038
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415038
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
xor ecx, ecx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xac], eax
mul ebx
mov dword [ebp - 0x8c], 7
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bee3b
mov ecx, dword [ebp - 0xac]
lea ebx, [ebp - 0x70]
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0x5c], 8
cmovae ebx, dword [ebp - 0x70]
xor esi, esi
xor edx, edx
mov dword [ebp - 0xa8], ebx
or edi, 0xffffffff
mov dword [ebp - 0xa4], esi
test ecx, ecx
jle 0x41537b
lea ebx, [ebx]
movzx eax, word [ebx + edx*2]
cmp eax, 0x2f
jne 0x4152d9
mov ecx, dword [ebp - 0xac]
dec ecx
cmp edx, ecx
jge 0x4150f2
lea eax, [edx + 1]
lea eax, [ebx + eax*2]
mov edi, edi
cmp word [eax], 0x2f
jne 0x4150f2
test edx, edx
je 0x4150f2
inc edx
add eax, 2
cmp edx, ecx
jl 0x4150e0
xor bl, bl
cmp edx, ecx
jge 0x41526b
mov eax, dword [ebp - 0xa8]
cmp word [eax + edx*2 + 2], 0x2e
jne 0x41526b
mov eax, dword [ebp - 0xac]
mov esi, 1
mov ecx, dword [ebp - 0xa8]
add eax, 0xfffffffe
cmp edx, eax
jge 0x415134
cmp word [ecx + edx*2 + 4], 0x2e
mov eax, 2
cmove esi, eax
mov eax, dword [ebp - 0xac]
sub eax, esi
dec eax
cmp edx, eax
jne 0x415162
cmp esi, 1
je 0x415375
cmp dword [ebp - 0xb8], 0
jne 0x415338
mov esi, dword [ebp - 0xa4]
jmp 0x4152b4
lea eax, [esi + edx]
cmp word [ecx + eax*2 + 2], 0x2f
jne 0x415263
cmp esi, 2
jne 0x415243
cmp dword [ebp - 0xb8], 0
je 0x415208
mov ecx, dword [ebp - 0xa4]
cmp edi, 0xffffffff
je 0x41519b
mov eax, ecx
sub eax, edi
cmp eax, 1
jne 0x4151db
cmp edi, 0xffffffff
mov eax, ecx
cmovne eax, edi
sub eax, 1
js 0x415251
lea esp, [esp]
mov ecx, dword [ebp - 0xb0]
cmp word [ecx + eax*2], 0x2f
mov ecx, dword [ebp - 0xa4]
je 0x4151d9
sub eax, 1
jns 0x4151b0
lea eax, [esi + edx]
test bl, bl
mov esi, ecx
cmove eax, edx
mov edx, eax
jmp 0x415282
mov edi, eax
dec dword [ebp - 0xb8]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0xa4], edi
add dword [ebp - 0xb4], eax
mov bl, 1
or edi, 0xffffffff
lea eax, [esi + edx]
mov esi, dword [ebp - 0xa4]
test bl, bl
cmove eax, edx
mov edx, eax
jmp 0x415282
test edx, edx
jle 0x415251
cmp word [ecx + edx*2 - 2], 0x2e
je 0x415251
xor ecx, ecx
mov bl, 1
test edi, edi
cmovg ecx, edi
inc edx
mov eax, ecx
or edi, 0xffffffff
sub eax, dword [ebp - 0xa4]
add dword [ebp - 0xb4], eax
test bl, bl
lea eax, [esi + edx]
mov dword [ebp - 0xa4], ecx
cmove eax, edx
mov esi, ecx
mov edx, eax
jmp 0x415282
cmp esi, 1
movzx ebx, bl
mov eax, 1
cmove ebx, eax
lea eax, [esi + edx]
test bl, bl
mov esi, dword [ebp - 0xa4]
cmove eax, edx
mov edx, eax
jmp 0x415282
mov esi, dword [ebp - 0xa4]
jmp 0x4152ae
cmp edi, 0xffffffff
je 0x4152ae
mov eax, esi
sub eax, edi
cmp eax, 1
jne 0x4152aa
cmp esi, 2
setg bl
or edi, 0xffffffff
test bl, bl
je 0x4152b4
mov ebx, dword [ebp - 0xa8]
inc edx
cmp edx, dword [ebp - 0xac]
jge 0x415375
mov esi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
jmp 0x4150c0
cmp edx, ecx
je 0x415286
inc dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xa8]
mov edi, esi
mov ecx, dword [ebp - 0xb0]
mov ax, word [ebx + edx*2]
mov word [ecx + esi*2], ax
inc esi
inc dword [ebp - 0xb4]
mov dword [ebp - 0xa4], esi
jmp 0x41528c
test edx, edx
jne 0x4152bc
cmp eax, 0x2e
jne 0x4152bc
cmp word [ebx + 2], 0x2e
mov eax, 1
cmove eax, dword [ebp - 0xc0]
cmp ecx, eax
jl 0x4152bc
cmp word [ebx + eax*2], 0x2f
jne 0x4152bc
cmp eax, 1
jne 0x4152bc
lea esi, [ecx - 1]
mov edx, eax
cmp esi, 2
jle 0x41528c
lea ecx, [eax + 1]
lea eax, [ebx + 4]
jmp 0x415320
cmp word [eax], 0x2f
jne 0x41528c
inc ecx
inc edx
add eax, 2
cmp ecx, esi
jl 0x415320
jmp 0x41528c
cmp edi, 0xffffffff
jne 0x415360
mov eax, dword [ebp - 0xa4]
add eax, edi
js 0x415360
mov ecx, dword [ebp - 0xb0]
lea ecx, [ecx]
cmp word [ecx + eax*2], 0x2f
je 0x41535e
sub eax, 1
jns 0x415350
jmp 0x415360
mov edi, eax
mov eax, dword [ebp - 0xb4]
sub edi, dword [ebp - 0xa4]
inc eax
add eax, edi
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [ebp - 0xac]
jne 0x41539e
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00413820
mov ecx, eax
mov edx, 2
jmp 0x4153cd
push ecx
xor edx, edx
mov dword [ebp - 0x78], 0
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], dx
call fcn.004033b0
lea ecx, [ebp - 0x88]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 3
test dl, 4
je 0x415461
and edx, 0xfffffffb
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x41545b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415451
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415590
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 4
test dl, 2
je 0x4154c1
and edx, 0xfffffffd
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4154ad
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4154a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415590
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp esi, 1
jbe 0x415530
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x415abf
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, ebx
cmp word [eax + ecx*2], 0x2f
jne 0x415530
cmp esi, 3
jne 0x4154f8
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, ebx
cmp word [eax + 2], 0x3a
je 0x415530
jmp 0x4154fd
cmp esi, 1
jb 0x415515
cmp edi, 8
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x40]
cmovae eax, ebx
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x415527
mov eax, 1
lea ecx, [ebp - 0x40]
push 0
sub eax, esi
push eax
call fcn.0041a950
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0xb0]
call fcn.004bee44
mov eax, dword [ebp - 0x3c]
add esp, 4
or dword [ebp - 0xa4], 1
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4155a0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415596
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415596
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4155da
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4155d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a91
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xac]
push 0x5c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push 0x2f
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x28], ebx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.00450640
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4156a3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x415659
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41564f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4156cf
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4156df
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4156d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4156d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00417450
mov esi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x415788
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41573e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415734
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4157b4
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4157c4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4157ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4157ba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 7
or edi, 0xffffffff
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x18], 2
lea eax, [ebp - 0x28]
mov esi, 2
cmovb esi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], eax
cmp esi, 7
ja 0x415819
mov dword [ebp - 0x30], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
jmp 0x41587e
cmp esi, 0x7ffffffe
ja 0x415ac4
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x415839
mov ebx, 0x7ffffffe
jmp 0x415843
mov eax, 0xa
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.004031d0
mov dword [ebp - 0x30], esi
add esi, esi
push esi
push dword [ebp - 0xc0]
mov dword [ebp - 0xa8], eax
push eax
mov dword [ebp - 0x2c], ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xa8]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov esi, eax
mov dword [ebp - 0x40], esi
or dword [ebp - 0xa4], 8
lea eax, [ebp - 0x40]
push 0x4f4870
push eax
call fcn.0040e720
add esp, 8
mov byte [ebp - 0xb9], al
cmp ebx, 8
jb 0x4158d6
lea ebx, [ebx*2 + 2]
mov eax, esi
cmp ebx, 0x1000
jb 0x4158c6
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a91
push ebx
push esi
call fcn.004bee2d
mov al, byte [ebp - 0xb9]
add esp, 8
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
test al, al
je 0x415920
xor ecx, ecx
test esi, esi
je 0x41590a
mov edx, dword [ebp - 0x14]
cmp esi, ecx
jbe 0x415abf
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
cmp word [eax + ecx*2], 0x5c
jne 0x415908
inc ecx
cmp esi, ecx
ja 0x4158f1
jmp 0x41590a
mov edi, ecx
push edi
push 0x4f0efc
lea ecx, [ebp - 0x28]
call fcn.004148a0
mov edi, eax
lea ebx, [ebx]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
inc edi
cmp edx, 8
cmovae ecx, ebx
cmp edi, esi
jae 0x415952
mov eax, esi
sub eax, edi
lea edi, [ecx + edi*2]
je 0x415952
lea ebx, [ebx]
cmp word [edi], 0x5c
je 0x415a07
add edi, 2
sub eax, 1
jne 0x415940
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x415a69
xor eax, eax
mov dword [ebp - 0x30], 0
cmp esi, edi
mov word [ebp - 0x40], ax
mov ecx, edi
mov dword [ebp - 0x2c], 7
cmovb ecx, esi
lea eax, [ebp - 0x28]
cmp edx, 8
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x40]
push eax
call fcn.004033b0
or dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4159ae
test al, 0x10
jne 0x4159c6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x415a10
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4159fc
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4159f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a51
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
jmp 0x415920
sub edi, ecx
sar edi, 1
jmp 0x415955
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x415a25
movzx esi, si
or esi, 0x80070000
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x415a61
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415a57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415a57
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
jmp 0x415a6b
xor esi, esi
cmp edx, 8
jb 0x415aa1
lea edx, [edx*2 + 2]
mov eax, ebx
cmp edx, 0x1000
jb 0x415a97
mov ebx, dword [ebx - 4]
add edx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415a97
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ebx
call fcn.004bee2d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
call fcn.004067d0
call fcn.004031b0
int3