Function at 0x421460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9612
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x525258]
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 esi, ecx
mov dword [ebp - 0x1ec], esi
mov edx, 0x14
lea eax, [ebp - 0x198]
mov dword [eax - 8], 0
lea eax, [eax + 0x14]
mov dword [eax - 0x18], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub edx, 1
jne 0x4214a1
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1d4], edx
test eax, eax
je 0x421702
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1e0], eax
lea eax, [edx*4]
mov dword [ebp - 0x1e4], 0
push 0x4fa5b8
push dword [eax + ecx]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x200], 0
call fcn.004c22aa
mov esi, eax
add esp, 8
test esi, esi
je 0x4216dc
push 2
push 0
push esi
call fcn.004c29f9
push esi
call fcn.004c3124
push 0
push 0
push esi
mov edi, eax
call fcn.004c29f9
push edi
call fcn.004560da
push esi
push edi
mov ebx, eax
push 1
push ebx
mov dword [ebp - 0x210], ebx
call fcn.004c257d
add esp, 0x30
cmp eax, edi
jne 0x42157f
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x200], 1
jmp 0x421594
push 1
push ebx
call fcn.004560cc
add esp, 8
mov dword [ebp - 0x210], 0
push esi
call fcn.004c1ca8
add esp, 4
cmp dword [ebp - 0x200], 0
je 0x4216dc
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x200], eax
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x200]
mov dword [ebp - 4], 0
push str.file_d
push eax
call fcn.00402f50
mov esi, dword [ebp - 0x200]
lea ecx, [ebp - 0x1dc]
add esp, 0xc
push esi
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 1
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x20c], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x20c]
call fcn.00490620
add esp, 0x1c
mov byte [ebp - 4], 0
test edi, edi
je 0x421645
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e0]
mov ecx, 1
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebx - 4], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebx], 3
mov edi, dword [eax + 0x10]
add edi, dword [ebp - 0x1f4]
mov edx, dword [edi]
sub ecx, dword [edx - 4]
mov eax, dword [edx - 8]
or eax, ecx
jge 0x421699
push 0
mov ecx, edi
call fcn.00403e30
mov edx, dword [edi]
mov eax, dword [ebp - 0x210]
add esi, 0xfffffff0
inc dword [ebp - 0x1e8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebx + 4], eax
or eax, 0xffffffff
mov dword [ebx + 0xc], edx
add ebx, 0x14
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4216dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x1d4]
inc edx
mov dword [ebp - 0x1d4], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4214f7
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224b8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4fa5d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x421743
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x42174f
push 3
push 0x4fa5d0
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov dword [ebp - 4], 3
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 4
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x4217af
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4217ed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x1c]
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 4], 5
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42185e
push 1
push esi
call fcn.004560cc
add esp, 8
mov eax, dword [ebp - 0x1ec]
inc ebx
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ebx
mov eax, dword [eax + 0x1c]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224c2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4f7694
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x4218cd
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x4218d9
push 3
push 0x4f7694
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov dword [ebp - 4], 7
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 8
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x421939
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421977
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x20]
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 4], 9
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4219e8
push 1
push esi
call fcn.004560cc
add esp, 8
mov eax, dword [ebp - 0x1ec]
inc ebx
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ebx
mov eax, dword [eax + 0x20]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224cc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, str.mid2
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x421a57
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x421a63
push 4
push str.mid2
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov dword [ebp - 4], 0xb
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0xc
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x421ac3
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421b01
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x24]
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 4], 0xd
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x421b72
push 1
push esi
call fcn.004560cc
add esp, 8
mov eax, dword [ebp - 0x1ec]
inc ebx
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ebx
mov eax, dword [eax + 0x24]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224d6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, str.contact
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x421be1
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x421bed
push 7
push str.contact
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov dword [ebp - 4], 0xf
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x10
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x421c4d
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421c8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x28]
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 4], 0x11
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x421cfc
push 1
push esi
call fcn.004560cc
add esp, 8
mov eax, dword [ebp - 0x1ec]
inc ebx
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ebx
mov eax, dword [eax + 0x28]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4fa5f4
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x421d6b
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x421d77
push 3
push 0x4fa5f4
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov dword [ebp - 4], 0x13
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x14
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x421dd7
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421e15
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x2c]
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 4], 0x15
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x421e86
push 1
push esi
call fcn.004560cc
add esp, 8
mov ecx, dword [ebp - 0x1ec]
inc ebx
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ebx
mov eax, dword [ecx + 0x2c]
mov dword [ebp + edx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + edx - 0x198], eax
lea eax, [ebp - 0x208]
push eax
call fcn.00420770
mov dword [ebp - 4], 0x16
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, str.verify
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x421f05
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x421f11
push 6
push str.verify
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov byte [ebp - 4], 0x18
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x19
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x421f6e
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov byte [ebp - 4], 0x16
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421fa9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x208]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x1a
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov byte [ebp - 4], 0x16
test esi, esi
je 0x422011
push 1
push esi
call fcn.004560cc
add esp, 8
mov ecx, dword [ebp - 0x1e4]
inc ebx
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x1e8], ebx
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
call fcn.0040f2b0
push 0
lea ecx, [ebp - 0x1b8]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1b
jb 0x42205d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00402730
mov edx, dword [ebp - 0x1a4]
mov byte [ebp - 4], 0x1d
cmp edx, 8
jb 0x4220ad
mov ecx, dword [ebp - 0x1b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4220a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4224f4
push edx
push ecx
call fcn.004560cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1a8], 0
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1a4], 7
cmp dword [eax - 0xc], 0
jne 0x4220e8
push 6
push str.unkown
lea ecx, [ebp - 0x1fc]
call fcn.00403f70
call fcn.00403050
mov ecx, eax
test ecx, ecx
je 0x4224f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4fa61c
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x422126
movzx eax, ax
push eax
call fcn.00403c80
jmp 0x422132
push 3
push 0x4fa61c
call fcn.00403f70
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1dc]
push esi
mov byte [ebp - 4], 0x1f
call fcn.00420120
mov ebx, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x20
lea edi, [ebx + 1]
push edi
call fcn.004560da
push edi
push 0
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00491120
mov edi, dword [ebp - 0x1dc]
push ebx
push edi
push dword [ebp - 0x1e0]
call fcn.00490620
add esp, 0x1c
test edi, edi
je 0x42218f
push 1
push edi
call fcn.004560cc
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1e0]
mov byte [ebp - 4], 0x1d
lea edi, [ebx + ebx*4]
shl edi, 2
mov dword [ebp - 0x1e4], edi
mov dword [ebp + edi - 0x1a0], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4221ca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x1dc]
mov dword [ebp + edi - 0x19c], 1
call fcn.00420120
mov edi, dword [ebp - 0x1d8]
mov byte [ebp - 4], 0x21
lea esi, [edi + 1]
push esi
call fcn.004560da
push esi
push 0
push eax
mov dword [ebp - 0x1f4], eax
call fcn.00491120
mov esi, dword [ebp - 0x1dc]
push edi
mov edi, dword [ebp - 0x1f4]
push esi
push edi
call fcn.00490620
add esp, 0x1c
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x422232
push 1
push esi
call fcn.004560cc
add esp, 8
mov ecx, dword [ebp - 0x1e4]
inc ebx
mov eax, dword [ebp - 0x1fc]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x218], ebx
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x214], eax
call fcn.0040f2b0
push 0
lea ecx, [ebp - 0x1d0]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x50]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x22
jb 0x42228a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x204]
call fcn.00402730
mov edx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0x24
cmp edx, 8
jb 0x4222da
mov ecx, dword [ebp - 0x1d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4222d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422503
push edx
push ecx
call fcn.004560cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c0], 0
mov word [ebp - 0x1d0], ax
lea eax, [ebp - 0x1dc]
push eax
mov dword [ebp - 0x1bc], 7
call fcn.004239f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x25
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, dword [ebp - 0x1d8]
mov cl, al
mov byte [ebp - 0x1ed], cl
mov byte [ebp - 4], 0x24
test edi, edi
je 0x422351
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x422351
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x42234b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov cl, byte [ebp - 0x1ed]
test cl, cl
je 0x4223e9
lea eax, [ebp - 0x1f8]
push eax
call fcn.004239f0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x26
call fcn.0040dcb0
mov esi, eax
push str.ProductDumpUrl:
push esi
mov byte [ebp - 4], 0x27
call fcn.0040e270
mov eax, dword [ebp - 0x204]
mov edx, 0x4f6970
test eax, eax
cmovne edx, eax
push edx
push esi
call fcn.00404140
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x2b0]
call fcn.00405da0
mov esi, dword [ebp - 0x1f4]
or edi, 0xffffffff
mov byte [ebp - 4], 0x24
test esi, esi
je 0x4223ec
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4223ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4223ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x4223ec
or edi, 0xffffffff
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x204]
call fcn.00422e00
mov ecx, eax
call fcn.00423170
test ebx, ebx
jle 0x422433
lea esi, [ebp - 0x194]
push 1
push dword [esi - 0xc]
call fcn.004560cc
push 1
push dword [esi]
call fcn.004560cc
add esp, 0x10
lea esi, [esi + 0x14]
sub ebx, 1
jne 0x422415
mov edx, dword [ebp - 0x204]
mov eax, edi
mov byte [ebp - 4], 0x1d
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1fc]
mov eax, edi
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x208]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x422497
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
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.004564ea
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402d90
push 0x80004005
call fcn.00402d90
push 0x80004005
call fcn.00402d90
push 0x80004005
call fcn.00402d90
push 0x80004005
call fcn.00402d90
push 0x80004005
call fcn.00402d90
call fcn.0049b686
push 0x80004005
call fcn.00402d90
call fcn.0049b686
int3