Function at 0x404480
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a425
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x477010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x118], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x40508c
mov eax, dword [eax + 8]
test eax, eax
je 0x40508c
cmp eax, 0xffffffff
je 0x40508c
mov ecx, dword [edi + 0x40]
mov eax, 0x3e0f83e1
mov esi, dword [edi + 0x3c]
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40463e
push 9
push str._ERROR_:
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
call fcn.0040bcc0
push str.The_setup_file_is_incomplete_or_corrupted._Ensure_it_was_fully_downloaded.
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 6
call fcn.0040aa60
mov dword [ebp - 0x90], 0
xor ecx, ecx
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
call fcn.00401b50
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4045de
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4045d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bf
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xfc]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x40539d
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053c4
jmp 0x405393
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x2c]
add ecx, 0xc
add edx, ecx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xac], eax
nop dword [eax]
lea ecx, [esi + eax]
movzx eax, byte [ecx]
add eax, 8
mov dword [ebp - 0xb0], ecx
add edx, eax
lea eax, [ecx + 8]
mov dword [ebp - 0xa4], edx
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x114]
push eax
call fcn.0040a7e0
add esp, 4
mov dword [ebp - 4], 8
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x190]
push str.Creating_output_file__s
push eax
call fcn.0041ec00
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
push 8
xor eax, eax
mov dword [ebp - 0x90], 0
push str._INFO_:
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.0040bcc0
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x8c]
mov eax, edi
mov ecx, dword [ebp - 0x90]
sub eax, ecx
mov edx, dword [esi + 0x10]
cmp edx, eax
jbe 0x404728
mov eax, dword [esi + 0x14]
sub eax, edx
cmp eax, ecx
jb 0x404728
cmp edi, 8
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
push eax
push ecx
mov ecx, esi
call fcn.0040ace0
jmp 0x404734
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040aae0
mov dword [ebp - 0xb8], 0
xor ecx, ecx
mov dword [ebp - 0xb4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
push eax
call fcn.00401b50
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x4047c6
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4047bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bf
push edx
push ecx
call fcn.00420a59
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
cmp edx, 8
jb 0x404827
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40481d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bf
push edx
push ecx
call fcn.00420a59
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x404888
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40487e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053bf
push edx
push ecx
call fcn.00420a59
add esp, 8
push 0x38
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00424990
add esp, 0xc
mov dword [ebp - 0x88], vtable.CFile.0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x7c]
push eax
call fcn.0040a2b0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push 0
cmovae eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
movlpd qword [ebp - 0x60], xmm0
mov word [ebp - 0x58], 0x100
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
je 0x40491a
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 0xc
test eax, eax
je 0x40492b
cmp eax, 0xffffffff
je 0x40492b
mov al, 1
jmp 0x40492d
xor al, al
test al, al
je 0x404d24
mov esi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x34], xmm0
mov eax, dword [esi + 4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x88]
movq qword [ebp - 0x24], xmm0
push eax
call fcn.00411a50
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x404981
cmp eax, 0xffffffff
je 0x404981
mov al, 1
jmp 0x404983
xor al, al
test al, al
je 0x404a2c
push dword [esi + 4]
mov edi, dword [ebp - 0x118]
lea eax, [ebp - 0x34]
push dword [ebp - 0xa4]
push eax
mov ecx, dword [edi + 0x24]
call fcn.00412050
test al, al
je 0x404d17
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x57], 0
add eax, dword [esi + 4]
mov dword [ebp - 0xa4], eax
call fcn.00411b10
lea ecx, [ebp - 0x88]
call fcn.0040c8a0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bed0
mov ecx, dword [edi + 0x40]
mov eax, 0x3e0f83e1
mov esi, dword [edi + 0x3c]
sub ecx, esi
inc dword [ebp - 0xa8]
add dword [ebp - 0xac], 0x210
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xa8], eax
jae 0x404a25
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xac]
jmp 0x404660
mov al, 1
jmp 0x40539f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x1b0]
call fcn.0041eab0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xf8]
push 9
xor eax, eax
mov dword [ebp - 0xe8], 0
push str._failed:
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.0040bcc0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe0]
push 9
xor eax, eax
mov dword [ebp - 0xd0], 0
push str._ERROR_:
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call fcn.0040bcc0
push str.CreateFileMapping
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x16
call fcn.0040aa60
mov dword [ebp - 0xb8], 0
xor ecx, ecx
mov dword [ebp - 0xb4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x17
push eax
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0x148]
call fcn.0040a950
add esp, 4
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x18
push ecx
mov edx, eax
lea ecx, [ebp - 0x130]
call fcn.0040a950
add esp, 4
push eax
mov byte [ebp - 4], 0x19
call fcn.00401b50
mov edx, dword [ebp - 0x11c]
cmp edx, 8
jb 0x404b7b
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404b71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053c9
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x134]
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
cmp edx, 8
jb 0x404bd8
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404bce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053ce
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
cmp edx, 8
jb 0x404c35
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404c2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053d3
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xcc]
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
cmp edx, 8
jb 0x404c92
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404c88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053d8
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
cmp edx, 8
jb 0x404cef
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ce5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053dd
push edx
push ecx
call fcn.00420a59
add esp, 8
xor eax, eax
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.0040bed0
lea ecx, [ebp - 0x34]
call fcn.00411b10
jmp 0x405044
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x178]
call fcn.0041eab0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
push 9
xor eax, eax
mov dword [ebp - 0x90], 0
push str._failed:
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.0040bcc0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe0]
push 9
xor eax, eax
mov dword [ebp - 0xd0], 0
push str._ERROR_:
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call fcn.0040bcc0
push str.CreateFile
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
call fcn.0040aa60
mov dword [ebp - 0xe8], 0
xor ecx, ecx
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x130]
call fcn.0040a950
add esp, 4
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x148]
call fcn.0040a950
add esp, 4
push eax
mov byte [ebp - 4], 0x12
call fcn.00401b50
mov edx, dword [ebp - 0x134]
cmp edx, 8
jb 0x404e73
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404e69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053e2
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
cmp edx, 8
jb 0x404ed0
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ec6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053e7
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
cmp edx, 8
jb 0x404f2d
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053ec
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xcc]
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
cmp edx, 8
jb 0x404f8a
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053f1
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
cmp edx, 8
jb 0x404fe7
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404fdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053f6
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x405044
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40503a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053fb
push edx
push ecx
call fcn.00420a59
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.0040c8a0
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x40539d
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405400
jmp 0x405393
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x190]
call fcn.0041eab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x110]
push 9
xor eax, eax
mov dword [ebp - 0x100], 0
push str._failed:
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
call fcn.0040bcc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
push 9
xor eax, eax
mov dword [ebp - 0x150], 0
push str._ERROR_:
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
call fcn.0040bcc0
push str.CreateFileMapping
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
call fcn.0040aa60
mov dword [ebp - 0x90], 0
xor ecx, ecx
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x178]
call fcn.0040a950
add esp, 4
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040a950
add esp, 4
push eax
mov byte [ebp - 4], 5
call fcn.00401b50
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4051d5
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4051cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405405
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 8
jb 0x405229
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40521f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40540a
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
cmp edx, 8
jb 0x405286
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40527c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40540f
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x14c]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x4052e3
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4052d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405414
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0xfc]
xor eax, eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
cmp edx, 8
jb 0x405340
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405419
push edx
push ecx
call fcn.00420a59
add esp, 8
mov edx, dword [ebp - 0x17c]
xor eax, eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
cmp edx, 8
jb 0x40539d
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40541e
push edx
push ecx
call fcn.00420a59
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420a25
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
call fcn.0042848b
int3