Function at 0x41a010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x51c240]
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 - 0x1f0], 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 0x41a051
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 0x41a2b2
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1d8], eax
lea eax, [edx*4]
mov dword [ebp - 0x1e4], 0
push 0x4f1f68
push dword [eax + ecx]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f8], 0
call fcn.004b936e
mov esi, eax
add esp, 8
test esi, esi
je 0x41a28c
push 2
push 0
push esi
call fcn.004b9abd
push esi
call fcn.004ba1e8
push 0
push 0
push esi
mov edi, eax
call fcn.004b9abd
push edi
call fcn.0044d763
push esi
push edi
mov ebx, eax
push 1
push ebx
mov dword [ebp - 0x204], ebx
call fcn.004b9641
add esp, 0x30
cmp eax, edi
jne 0x41a12f
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x1f8], 1
jmp 0x41a144
push 1
push ebx
call fcn.0044d755
add esp, 8
mov dword [ebp - 0x204], 0
push esi
call fcn.004b8ce8
add esp, 4
cmp dword [ebp - 0x1f8], 0
je 0x41a28c
call fcn.00402e80
mov ecx, eax
test ecx, ecx
je 0x41af76
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1f8], eax
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x1f8]
mov dword [ebp - 4], 0
push str.file_d
push eax
call fcn.00402d80
mov esi, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1e0]
add esp, 0xc
push esi
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 1
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x200], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x200]
call fcn.00487860
add esp, 0x1c
mov byte [ebp - 4], 0
test edi, edi
je 0x41a1f5
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1d8]
mov ecx, 1
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebx - 4], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebx], 3
mov edi, dword [eax + 0x10]
add edi, dword [ebp - 0x1ec]
mov edx, dword [edi]
sub ecx, dword [edx - 4]
mov eax, dword [edx - 8]
or eax, ecx
jge 0x41a249
push 0
mov ecx, edi
call fcn.00403c60
mov edx, dword [edi]
mov eax, dword [ebp - 0x204]
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 - 0x1d8], ebx
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a28c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1f0]
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 0x41a0a7
call fcn.00402e80
mov ecx, eax
test ecx, ecx
je 0x41af76
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4f1f80
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x41a2f3
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41a2ff
push 3
push 0x4f1f80
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov dword [ebp - 4], 3
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 4
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41a35f
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41a39d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x1c]
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov dword [ebp - 4], 5
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41a40e
push 1
push esi
call fcn.0044d755
add esp, 8
mov eax, dword [ebp - 0x1f0]
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.00402e80
mov ecx, eax
test ecx, ecx
je 0x41af80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4eeccc
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x41a47d
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41a489
push 3
push 0x4eeccc
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov dword [ebp - 4], 7
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 8
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41a4e9
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41a527
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x20]
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov dword [ebp - 4], 9
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41a598
push 1
push esi
call fcn.0044d755
add esp, 8
mov eax, dword [ebp - 0x1f0]
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.00402e80
mov ecx, eax
test ecx, ecx
je 0x41af8a
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 0x41a607
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41a613
push 4
push str.mid2
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov dword [ebp - 4], 0xb
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0xc
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41a673
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41a6b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x24]
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov dword [ebp - 4], 0xd
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41a722
push 1
push esi
call fcn.0044d755
add esp, 8
mov eax, dword [ebp - 0x1f0]
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.00402e80
mov ecx, eax
test ecx, ecx
je 0x41af94
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 0x41a791
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41a79d
push 7
push str.contact
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov dword [ebp - 4], 0xf
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x10
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41a7fd
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41a83b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x28]
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov dword [ebp - 4], 0x11
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41a8ac
push 1
push esi
call fcn.0044d755
add esp, 8
mov eax, dword [ebp - 0x1f0]
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.00402e80
mov ecx, eax
test ecx, ecx
je 0x41af9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4f1fa4
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x41a91b
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41a927
push 3
push 0x4f1fa4
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov dword [ebp - 4], 0x13
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x14
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41a987
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41a9c5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
push dword [eax + 0x2c]
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov dword [ebp - 4], 0x15
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41aa36
push 1
push esi
call fcn.0044d755
add esp, 8
mov ecx, dword [ebp - 0x1f0]
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 - 0x1fc]
push eax
call fcn.004197c0
mov dword [ebp - 4], 0x16
call fcn.00402e80
mov ecx, eax
test ecx, ecx
je 0x41afa8
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 0x41aab5
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41aac1
push 6
push str.verify
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov byte [ebp - 4], 0x18
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x19
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41ab1e
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41ab59
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1fc]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x1a
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov byte [ebp - 4], 0x16
test esi, esi
je 0x41abc1
push 1
push esi
call fcn.0044d755
add esp, 8
mov ecx, dword [ebp - 0x1e4]
inc ebx
mov eax, dword [ebp - 0x1fc]
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.0040b860
push 0
lea ecx, [ebp - 0x1b8]
push ecx
mov ecx, eax
call fcn.004528a0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1b
jb 0x41ac0d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00402560
mov edx, dword [ebp - 0x1a4]
mov byte [ebp - 4], 0x1d
cmp edx, 8
jb 0x41ac5d
mov ecx, dword [ebp - 0x1b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41afb2
push edx
push ecx
call fcn.0044d755
add esp, 8
xor eax, eax
mov dword [ebp - 0x1a8], 0
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1a4], 7
cmp dword [eax - 0xc], 0
jne 0x41ac98
push 6
push str.unkown
lea ecx, [ebp - 0x1f4]
call fcn.00403da0
call fcn.00402e80
mov ecx, eax
test ecx, ecx
je 0x41afb7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1d4], eax
mov eax, 0x4f1fcc
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1d4]
test eax, 0xffff0000
jne 0x41acd6
movzx eax, ax
push eax
call fcn.00403ab0
jmp 0x41ace2
push 3
push 0x4f1fcc
call fcn.00403da0
mov esi, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1e0]
push esi
mov byte [ebp - 4], 0x1f
call fcn.00419170
mov ebx, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x20
lea edi, [ebx + 1]
push edi
call fcn.0044d763
push edi
push 0
push eax
mov dword [ebp - 0x1d8], eax
call fcn.00488360
mov edi, dword [ebp - 0x1e0]
push ebx
push edi
push dword [ebp - 0x1d8]
call fcn.00487860
add esp, 0x1c
test edi, edi
je 0x41ad3f
push 1
push edi
call fcn.0044d755
add esp, 8
mov ebx, dword [ebp - 0x1e8]
add esi, 0xfffffff0
mov eax, dword [ebp - 0x1d8]
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 0x41ad7a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1e0]
mov dword [ebp + edi - 0x19c], 1
call fcn.00419170
mov edi, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x21
lea esi, [edi + 1]
push esi
call fcn.0044d763
push esi
push 0
push eax
mov dword [ebp - 0x1ec], eax
call fcn.00488360
mov esi, dword [ebp - 0x1e0]
push edi
mov edi, dword [ebp - 0x1ec]
push esi
push edi
call fcn.00487860
add esp, 0x1c
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x41ade2
push 1
push esi
call fcn.0044d755
add esp, 8
mov ecx, dword [ebp - 0x1e4]
inc ebx
mov eax, dword [ebp - 0x1f4]
mov dword [ebp + ecx - 0x194], edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x210], ebx
lea eax, [eax*2 + 2]
mov dword [ebp + ecx - 0x198], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x20c], eax
call fcn.0040b860
push 0
lea ecx, [ebp - 0x1d0]
push ecx
mov ecx, eax
call fcn.004529f0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x22
jb 0x41ae3a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x208]
call fcn.00402560
mov edx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0x24
cmp edx, 8
jb 0x41ae8a
mov ecx, dword [ebp - 0x1d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ae80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41afc1
push edx
push ecx
call fcn.0044d755
add esp, 8
push dword [ebp - 0x1f0]
xor eax, eax
mov dword [ebp - 0x1c0], 0
mov word [ebp - 0x1d0], ax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x208]
mov dword [ebp - 0x1bc], 7
call fcn.0041b830
mov ecx, eax
call fcn.0041bab0
test ebx, ebx
jle 0x41aeee
lea esi, [ebp - 0x194]
push 1
push dword [esi - 0xc]
call fcn.0044d755
push 1
push dword [esi]
call fcn.0044d755
add esp, 0x10
lea esi, [esi + 0x14]
sub ebx, 1
jne 0x41aed0
mov edx, dword [ebp - 0x208]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x1d
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41af12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1f4]
mov eax, ebx
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41af33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41af55
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.0044db73
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402bc0
push 0x80004005
call fcn.00402bc0
push 0x80004005
call fcn.00402bc0
push 0x80004005
call fcn.00402bc0
push 0x80004005
call fcn.00402bc0
push 0x80004005
call fcn.00402bc0
call fcn.004928c6
push 0x80004005
call fcn.00402bc0
call fcn.004928c6
int3