Function at 0x53b570
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552726
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
push ebx
push esi
push edi
mov eax, dword [0x5b1700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x38]
mov esi, dword [ebp + 0x3c]
cmp eax, esi
mov ebx, eax
jbe 0x53b5c7
call fcn.004f6492
mov esi, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x38]
cmp eax, esi
lea ecx, [ebp + 0x34]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ebx
jbe 0x53b5d9
call fcn.004f6492
lea eax, [ebp + 0x34]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], esi
mov bl, 1
lea ebx, [ebx]
test bl, bl
je 0x53c59e
lea ebx, [ebp - 0x5c]
mov esi, dword [ebx]
cmp esi, edi
je 0x53b60b
lea eax, [ebp - 0xa8]
cmp esi, dword [eax]
je 0x53b610
call fcn.004f6492
mov edi, dword [ebx + 4]
lea eax, [ebp - 0xa8]
cmp edi, dword [eax + 4]
je 0x53c59e
xor bl, bl
test esi, esi
jne 0x53b62d
call fcn.004f6492
cmp edi, dword [esi + 8]
jb 0x53b637
call fcn.004f6492
lea eax, [ebp - 0x48]
push eax
call fcn.0043dd30
mov byte [ebp - 4], 3
test bl, bl
jne 0x53c4e3
mov eax, dword [ebp - 0x48]
cmp eax, 2
jne 0x53bc1e
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x24], esp
push ecx
lea edi, [ebp - 0x48]
call fcn.0043dd30
lea edx, [ebp - 0xd8]
push edx
call fcn.004d27f0
add esp, 0x14
mov ecx, eax
lea esi, [ebp - 0x38]
mov dword [ebp - 4], 9
call fcn.004d4e50
mov eax, dword [ebp - 0xd4]
xor esi, esi
cmp eax, esi
je 0x53b6af
mov edi, dword [ebp - 0xd0]
call fcn.004032b0
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004f5f70
add esp, 4
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], esi
mov ebx, dword [ebp - 0x18]
test bl, 0x10
je 0x53b6da
and ebx, 0xffffffef
lea esi, [ebp - 0x564]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, 8
je 0x53b6f0
and ebx, 0xfffffff7
lea esi, [ebp - 0x484]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, 4
je 0x53b706
and ebx, 0xfffffffb
lea esi, [ebp - 0x164]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, 2
je 0x53b71c
and ebx, 0xfffffffd
lea esi, [ebp - 0x384]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, 1
je 0x53b732
and ebx, 0xfffffffe
lea esi, [ebp - 0x184]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x30]
jbe 0x53b73f
call fcn.004f6492
test ebx, 0x800
lea eax, [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
je 0x53b764
and ebx, 0xfffff7ff
lea esi, [ebp - 0x584]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x400
je 0x53b780
and ebx, 0xfffffbff
lea esi, [ebp - 0x1a4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x200
je 0x53b79c
and ebx, 0xfffffdff
lea esi, [ebp - 0x3a4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x100
je 0x53b7b8
and ebx, 0xfffffeff
lea esi, [ebp - 0x1c4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, bl
jns 0x53b7d0
and ebx, 0xffffff7f
lea esi, [ebp - 0x4a4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, 0x40
je 0x53b7e6
and ebx, 0xffffffbf
lea esi, [ebp - 0x1e4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test bl, 0x20
je 0x53b7fc
and ebx, 0xffffffdf
lea esi, [ebp - 0x3c4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x34], esi
jbe 0x53b809
call fcn.004f6492
test ebx, 0x40000
lea eax, [ebp - 0x38]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], esi
je 0x53b834
and ebx, 0xfffbffff
lea esi, [ebp - 0x204]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x20000
je 0x53b850
and ebx, 0xfffdffff
lea esi, [ebp - 0x524]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x10000
je 0x53b86c
and ebx, 0xfffeffff
lea esi, [ebp - 0x224]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x8000
je 0x53b888
and ebx, 0xffff7fff
lea esi, [ebp - 0x3e4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x4000
je 0x53b8a4
and ebx, 0xffffbfff
lea esi, [ebp - 0x244]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x2000
je 0x53b8c0
and ebx, 0xffffdfff
lea esi, [ebp - 0x4c4]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
test ebx, 0x1000
je 0x53b8dc
and ebx, 0xffffefff
lea esi, [ebp - 0x264]
mov dword [ebp - 0x18], ebx
call fcn.004d2a10
mov byte [ebp - 0x11], 1
xor ebx, ebx
cmp byte [ebp - 0x11], 0
je 0x53b912
lea esi, [ebp - 0x54]
mov eax, dword [esi]
cmp eax, ebx
je 0x53b8fb
lea ecx, [ebp - 0xa0]
cmp eax, dword [ecx]
je 0x53b900
call fcn.004f6492
mov ecx, dword [esi + 4]
lea eax, [ebp - 0xa0]
cmp ecx, dword [eax + 4]
mov byte [ebp - 0x11], 1
jne 0x53b916
mov byte [ebp - 0x11], 0
mov esi, dword [ebp - 0x18]
test esi, 0x400000
je 0x53b960
mov eax, dword [ebp - 0xe4]
and esi, 0xffbfffff
cmp eax, ebx
mov dword [ebp - 0x18], esi
je 0x53b94e
mov edi, dword [ebp - 0xe0]
call fcn.004032b0
mov edx, dword [ebp - 0xe4]
push edx
call fcn.004f5f70
add esp, 4
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
test esi, 0x200000
mov dword [ebp - 4], 0x10
je 0x53b9ae
mov eax, dword [ebp - 0xf4]
and esi, 0xffdfffff
cmp eax, ebx
mov dword [ebp - 0x18], esi
je 0x53b99c
mov edi, dword [ebp - 0xf0]
call fcn.004032b0
mov eax, dword [ebp - 0xf4]
push eax
call fcn.004f5f70
add esp, 4
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
cmp byte [ebp - 0x11], 0
je 0x53bbef
lea esi, [ebp - 0x54]
mov edi, dword [esi]
cmp edi, ebx
mov byte [ebp - 0x11], 0
jne 0x53b9ca
call fcn.004f6492
mov esi, dword [esi + 4]
cmp esi, dword [edi + 8]
jb 0x53b9d7
call fcn.004f6492
mov eax, dword [esi]
sub eax, 0x10
call fcn.00406b50
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x21
test dword [ebp - 0x18], 0x1000000
je 0x53ba09
and dword [ebp - 0x18], 0xfeffffff
lea esi, [ebp - 0x404]
call fcn.004d2a10
mov byte [ebp - 4], 0x23
test dword [ebp - 0x18], 0x800000
je 0x53ba30
and dword [ebp - 0x18], 0xff7fffff
lea esi, [ebp - 0x284]
call fcn.004d2a10
jmp 0x53ba30
cmp byte [ebp - 0x11], 0
jne 0x53bb11
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x4c], esp
mov esi, esp
call fcn.00406b50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x24
mov ebx, dword [ebp + 8]
push ecx
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.00406b50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x23
call fcn.00540e60
add esp, 8
test al, al
je 0x53bb03
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53ba9c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x53bab7
mov edi, dword [ebp - 0x30]
call fcn.004032b0
mov eax, dword [ebp - 0x34]
push eax
call fcn.004f5f70
add esp, 4
xor eax, eax
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00434880
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53bae7
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea esi, [ebp + 0x10]
call fcn.00435580
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0x11], 1
xor ebx, ebx
jmp 0x53ba30
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53bb31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x54]
cmp dword [esi], ebx
jne 0x53bb3d
call fcn.004f6492
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp edi, dword [eax + 8]
jb 0x53bb4c
call fcn.004f6492
add edi, 4
test dword [ebp - 0x18], 0x100000
mov dword [esi + 4], edi
je 0x53bb9c
and dword [ebp - 0x18], 0xffefffff
cmp dword [ebp - 0xb4], ebx
je 0x53bb8a
mov edi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
call fcn.004032b0
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.004f5f70
add esp, 4
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
test dword [ebp - 0x18], 0x80000
je 0x53b8e2
and dword [ebp - 0x18], 0xfff7ffff
cmp dword [ebp - 0xc4], ebx
je 0x53bbd8
mov edi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc4]
call fcn.004032b0
mov edx, dword [ebp - 0xc4]
push edx
call fcn.004f5f70
add esp, 4
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
jmp 0x53b8e2
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x53bc0e
mov edi, dword [ebp - 0x30]
call fcn.004032b0
mov eax, dword [ebp - 0x34]
push eax
call fcn.004f5f70
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov bl, 1
jmp 0x53b644
cmp eax, 1
jne 0x53bc82
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.004f6b50
add esp, 8
test eax, eax
jne 0x53c4dc
lea esi, [ebp - 0x48]
call fcn.00434880
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53bc66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x10]
call fcn.00435580
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x53c4dc
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x57ed78
call fcn.00402e90
test eax, eax
jne 0x53bcb0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp + 8]
push edx
call fcn.00402e90
test eax, eax
je 0x53c04e
sub esp, 0x10
cmp byte [ebp - 0x3c], 0
lea edi, [ebp - 0x48]
mov dword [ebp - 0x28], esp
je 0x53c0ea
mov eax, esp
push eax
call fcn.0043dd30
lea ecx, [ebp - 0x114]
push ecx
call fcn.004d27f0
add esp, 0x14
mov ecx, eax
lea esi, [ebp - 0x98]
mov dword [ebp - 4], 0x2a
call fcn.004d4e50
lea esi, [ebp - 0x114]
call fcn.004d2a10
mov edi, dword [ebp - 0x18]
test edi, 0x20000000
je 0x53bd18
and edi, 0xdfffffff
lea esi, [ebp - 0x134]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
test edi, 0x10000000
je 0x53bd34
and edi, 0xefffffff
lea esi, [ebp - 0x2a4]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
test edi, 0x8000000
je 0x53bd50
and edi, 0xf7ffffff
lea esi, [ebp - 0x424]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
test edi, 0x4000000
je 0x53bd6c
and edi, 0xfbffffff
lea esi, [ebp - 0x2c4]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
test edi, 0x2000000
je 0x53bd88
and edi, 0xfdffffff
lea esi, [ebp - 0x4e4]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
mov esi, dword [ebp - 0x94]
cmp esi, dword [ebp - 0x90]
jbe 0x53bd9b
call fcn.004f6492
mov ebx, dword [ebp - 0x1c]
test bl, 0x10
lea eax, [ebp - 0x98]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
je 0x53bdc0
and ebx, 0xffffffef
lea esi, [ebp - 0x2e4]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, 8
je 0x53bdd6
and ebx, 0xfffffff7
lea esi, [ebp - 0x444]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, 4
je 0x53bdec
and ebx, 0xfffffffb
lea esi, [ebp - 0x304]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, 2
je 0x53be02
and ebx, 0xfffffffd
lea esi, [ebp - 0x544]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, 1
je 0x53be18
and ebx, 0xfffffffe
lea esi, [ebp - 0x324]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test edi, edi
jns 0x53be30
and edi, 0x7fffffff
lea esi, [ebp - 0x464]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
test edi, 0x40000000
je 0x53be4c
and edi, 0xbfffffff
lea esi, [ebp - 0x344]
mov dword [ebp - 0x18], edi
call fcn.004d2a10
mov esi, dword [ebp - 0x90]
cmp dword [ebp - 0x94], esi
jbe 0x53be5f
call fcn.004f6492
test ebx, 0x800
lea eax, [ebp - 0x98]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], esi
je 0x53be8d
and ebx, 0xfffff7ff
lea esi, [ebp - 0x504]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test ebx, 0x400
je 0x53bea9
and ebx, 0xfffffbff
lea esi, [ebp - 0x364]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test ebx, 0x200
je 0x53bec5
and ebx, 0xfffffdff
lea esi, [ebp - 0x144]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test ebx, 0x100
je 0x53bee1
and ebx, 0xfffffeff
lea esi, [ebp - 0x154]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, bl
jns 0x53bef9
and ebx, 0xffffff7f
lea esi, [ebp - 0x174]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, 0x40
je 0x53bf0f
and ebx, 0xffffffbf
lea esi, [ebp - 0x194]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test bl, 0x20
je 0x53bf25
and ebx, 0xffffffdf
lea esi, [ebp - 0x1b4]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
mov byte [ebp - 0x11], 1
cmp byte [ebp - 0x11], 0
je 0x53bf45
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x6c]
call fcn.004aede0
test al, al
mov byte [ebp - 0x11], 1
je 0x53bf49
mov byte [ebp - 0x11], 0
test ebx, 0x8000
je 0x53bf65
and ebx, 0xffff7fff
lea esi, [ebp - 0x1d4]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test ebx, 0x4000
mov dword [ebp - 4], 0x31
je 0x53bf88
and ebx, 0xffffbfff
lea esi, [ebp - 0x1f4]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
cmp byte [ebp - 0x11], 0
je 0x53c0d4
lea esi, [ebp - 0x6c]
mov byte [ebp - 0x11], 0
call fcn.004d4e90
mov eax, dword [eax]
sub eax, 0x10
call fcn.00406b50
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x42
test ebx, 0x20000
je 0x53bfd1
and ebx, 0xfffdffff
lea esi, [ebp - 0x214]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test ebx, 0x10000
mov byte [ebp - 4], 0x44
je 0x53bff1
and ebx, 0xfffeffff
lea esi, [ebp - 0x234]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
mov edi, dword [ebp + 8]
cmp byte [ebp - 0x11], 0
jne 0x53c083
mov eax, dword [ebp - 0x24]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.00406b50
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x45
lea eax, [edi - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
call fcn.00406b50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x44
call fcn.00540e60
add esp, 8
test al, al
je 0x53c07a
lea ecx, [ebp - 0x24]
call fcn.0040e390
lea esi, [ebp - 0x98]
call fcn.004d2a10
lea esi, [ebp - 0x48]
call fcn.00434880
lea ecx, [ebp + 8]
call fcn.0040e390
lea esi, [ebp + 0x10]
call fcn.00435580
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x11], 1
jmp 0x53bff4
lea ecx, [ebp - 0x24]
call fcn.0040e390
lea esi, [ebp - 0x6c]
call fcn.004d4e70
test ebx, 0x2000
je 0x53c0af
and ebx, 0xffffdfff
lea esi, [ebp - 0x254]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
test ebx, 0x1000
je 0x53bf29
and ebx, 0xffffefff
lea esi, [ebp - 0x274]
mov dword [ebp - 0x1c], ebx
call fcn.004d2a10
jmp 0x53bf29
lea esi, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004d2a10
mov bl, 1
jmp 0x53b644
mov edx, esp
push edx
call fcn.0043dd30
lea eax, [ebp - 0x124]
push eax
call fcn.004d27f0
add esp, 0x14
mov ecx, eax
lea esi, [ebp - 0x88]
mov dword [ebp - 4], 0x4b
call fcn.004d4e50
lea esi, [ebp - 0x124]
call fcn.004d2a10
mov edi, dword [ebp - 0x1c]
test edi, 0x400000
je 0x53c13f
and edi, 0xffbfffff
lea esi, [ebp - 0x294]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x200000
je 0x53c15b
and edi, 0xffdfffff
lea esi, [ebp - 0x2b4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x100000
je 0x53c177
and edi, 0xffefffff
lea esi, [ebp - 0x2d4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x80000
je 0x53c193
and edi, 0xfff7ffff
lea esi, [ebp - 0x2f4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x40000
je 0x53c1af
and edi, 0xfffbffff
lea esi, [ebp - 0x314]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
mov esi, dword [ebp - 0x84]
cmp esi, dword [ebp - 0x80]
jbe 0x53c1bf
call fcn.004f6492
test edi, 0x20000000
lea eax, [ebp - 0x88]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
je 0x53c1e7
and edi, 0xdfffffff
lea esi, [ebp - 0x334]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x10000000
je 0x53c203
and edi, 0xefffffff
lea esi, [ebp - 0x354]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x8000000
je 0x53c21f
and edi, 0xf7ffffff
lea esi, [ebp - 0x374]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x4000000
je 0x53c23b
and edi, 0xfbffffff
lea esi, [ebp - 0x394]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x2000000
je 0x53c257
and edi, 0xfdffffff
lea esi, [ebp - 0x3b4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x1000000
je 0x53c273
and edi, 0xfeffffff
lea esi, [ebp - 0x3d4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x800000
je 0x53c28f
and edi, 0xff7fffff
lea esi, [ebp - 0x3f4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
mov esi, dword [ebp - 0x80]
cmp dword [ebp - 0x84], esi
jbe 0x53c29f
call fcn.004f6492
mov ebx, dword [ebp - 0x20]
test bl, 0x10
lea eax, [ebp - 0x88]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
je 0x53c2c4
and ebx, 0xffffffef
lea esi, [ebp - 0x414]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
test bl, 8
je 0x53c2da
and ebx, 0xfffffff7
lea esi, [ebp - 0x434]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
test bl, 4
je 0x53c2f0
and ebx, 0xfffffffb
lea esi, [ebp - 0x454]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
test bl, 2
je 0x53c306
and ebx, 0xfffffffd
lea esi, [ebp - 0x474]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
test bl, 1
je 0x53c31c
and ebx, 0xfffffffe
lea esi, [ebp - 0x494]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
test edi, edi
jns 0x53c334
and edi, 0x7fffffff
lea esi, [ebp - 0x4b4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
test edi, 0x40000000
je 0x53c350
and edi, 0xbfffffff
lea esi, [ebp - 0x4d4]
mov dword [ebp - 0x1c], edi
call fcn.004d2a10
mov bl, 1
test bl, bl
je 0x53c369
lea esi, [ebp - 0x74]
lea edi, [ebp - 0x64]
call fcn.004aede0
test al, al
mov byte [ebp - 0x11], 1
je 0x53c36d
mov byte [ebp - 0x11], 0
mov ebx, dword [ebp - 0x20]
test ebx, 0x100
je 0x53c38c
and ebx, 0xfffffeff
lea esi, [ebp - 0x4f4]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
test bl, bl
mov dword [ebp - 4], 0x52
jns 0x53c3ab
and ebx, 0xffffff7f
lea esi, [ebp - 0x514]
mov dword [ebp - 0x20], ebx
call fcn.004d2a10
cmp byte [ebp - 0x11], 0
je 0x53c4cd
lea esi, [ebp - 0x64]
xor bl, bl
call fcn.004d4e90
mov eax, dword [eax]
sub eax, 0x10
call fcn.00406b50
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x63
test dword [ebp - 0x20], 0x400
je 0x53c3f1
and dword [ebp - 0x20], 0xfffffbff
lea esi, [ebp - 0x534]
call fcn.004d2a10
mov byte [ebp - 4], 0x65
test dword [ebp - 0x20], 0x200
je 0x53c410
and dword [ebp - 0x20], 0xfffffdff
lea esi, [ebp - 0x554]
call fcn.004d2a10
mov edi, dword [ebp + 8]
test bl, bl
jne 0x53c48a
mov eax, dword [ebp - 0x24]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
call fcn.00406b50
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x66
lea eax, [edi - 0x10]
mov dword [ebp - 0x4c], esp
mov esi, esp
call fcn.00406b50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x65
call fcn.00540e60
add esp, 8
test al, al
je 0x53c486
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 0xc]
lea ecx, [eax + 1]
mov edx, 0x57ed7c
lea esi, [ebp + 8]
call fcn.004072d0
test eax, eax
jge 0x53c486
cmp byte [ebp + 0xc], bl
jne 0x53c486
lea ecx, [ebp - 0x24]
call fcn.0040e390
lea esi, [ebp - 0x88]
jmp 0x53c049
mov bl, 1
jmp 0x53c413
lea ecx, [ebp - 0x24]
call fcn.0040e390
lea esi, [ebp - 0x64]
call fcn.004d4e70
test byte [ebp - 0x20], 0x40
je 0x53c4af
and dword [ebp - 0x20], 0xffffffbf
lea esi, [ebp - 0x574]
call fcn.004d2a10
test byte [ebp - 0x20], 0x20
je 0x53c352
and dword [ebp - 0x20], 0xffffffdf
lea esi, [ebp - 0x594]
call fcn.004d2a10
jmp 0x53c352
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.004d2a10
mov bl, 1
jmp 0x53b644
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53c506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53c525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [ebp - 0x5c]
mov esi, dword [edi]
test esi, esi
jne 0x53c533
call fcn.004f6492
mov edi, dword [edi + 4]
cmp edi, dword [esi + 8]
jb 0x53c540
call fcn.004f6492
add edi, 0x10
lea eax, [ebp - 0x5c]
mov dword [eax + 4], edi
xor edi, edi
jmp 0x53b5f0
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53c5c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x10]
call fcn.00435580
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret