Function at 0x5320a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x5320a8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53360f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x3e], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x48], 1
mov byte [ebp - 0x51], 0
xor edx, edx
push ebp
push 0x5335e2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050b900
test al, al
je 0x53214e
mov eax, dword [0x548a98]
mov eax, dword [eax]
xor edx, edx
call fcn.0050b8e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [eax + 4], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [0x5489f0]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
call fcn.00403ce8
jmp 0x5335e9
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050a7d0
mov eax, dword [ebp - 8]
call fcn.005448bc
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x532173
mov dword [ebp - 0xc], 0x7d6
mov eax, dword [ebp - 0x3c]
test eax, eax
jl 0x53341b
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00544894
mov ebx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov edx, ebx
call fcn.0050fea8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x532200
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
je 0x532200
cmp dword [ebx + 0xc4], 1
jne 0x5321c8
mov dword [ebp - 0x48], 1
jmp 0x5321db
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x38]
mov eax, 1
call fcn.0042fc24
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0xc4]
cmp eax, dword [ebp - 0x48]
jl 0x53340f
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 1
jle 0x532200
cmp dword [ebx + 0xc4], 1
je 0x53340f
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0xbc]
lea eax, [ebp - 0x70]
call fcn.00404558
mov eax, dword [ebp - 0x70]
call fcn.004a0f90
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x53222e
mov dword [ebp - 0xc], 0x7d1
jmp 0x533376
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406c6c
lea edx, [ebp - 0x78]
mov eax, dword [ebx + 0x58]
call fcn.00409edc
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.00408f48
mov eax, dword [ebp - 0x74]
mov edx, 0x533628
call fcn.00404658
je 0x5322b2
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x58]
call fcn.00409edc
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00408f48
mov eax, dword [ebp - 0x7c]
mov edx, 0x533638
call fcn.00404658
je 0x5322b2
lea edx, [ebp - 0x88]
mov eax, dword [ebx + 0x58]
call fcn.00409edc
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00408f48
mov eax, dword [ebp - 0x84]
mov edx, 0x533648
call fcn.00404658
jne 0x5322e2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00404558
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x5c]
xor ecx, ecx
call fcn.004e8910
mov dword [ebp - 0xc], eax
jmp 0x53230c
push ebx
push 0
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0xbc]
lea eax, [ebp - 0x90]
call fcn.00404558
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x14]
xor edx, edx
call fcn.004e819c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x532375
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bcd4
mov ebx, eax
mov eax, ebx
call fcn.00538cbc
test al, al
je 0x53236c
mov eax, ebx
call fcn.00403470
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bbc4
mov byte [ebp - 0x51], 1
jmp 0x53340f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb8]
mov edx, 0x533658
call fcn.00404658
sete byte [ebp - 0x3e]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc4]
mov edx, 0x533664
call fcn.00404658
jne 0x5323ae
mov eax, dword [0x548590]
mov dword [eax], 0x898
jmp 0x5323b9
mov eax, dword [0x548590]
mov dword [eax], 0x8fc
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x6c], 1
jbe 0x53245b
mov eax, dword [ebp - 0x14]
fld qword [eax + 0x128]
fcomp dword [0x533680]
fnstsw ax
sahf
jne 0x5323ec
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x130], 0
je 0x532415
mov eax, dword [ebp - 0x14]
push dword [eax + 0x12c]
push dword [eax + 0x128]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x130]
mov dl, 1
mov eax, dword [0x538718]
call fcn.0053bd80
mov dword [ebp - 0x2c], eax
jmp 0x532424
mov dl, 1
mov eax, dword [0x538718]
call fcn.0053bd28
mov dword [ebp - 0x2c], eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
cmp dword [eax + 0x30], 0
je 0x532442
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050a7d0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x5324bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053422c
jmp 0x5324bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 4], 0xffffffff
jne 0x532494
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x53247d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00533fe4
jmp 0x5324bd
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050a7d0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov dword [edx + 4], eax
jmp 0x5324bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bcd4
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510690
cmp byte [ebx + 0x10], 5
je 0x53256e
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x6c], 1
jbe 0x5324de
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x6c]
jmp 0x5324e3
mov eax, 1
mov edx, dword [ebp - 4]
cmp byte [edx + 0x34], 0
jne 0x532505
lea edx, [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x7c]
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.00534c54
mov byte [ebp - 0x3d], al
jmp 0x53250d
mov eax, dword [0x54b450]
mov dword [ebp - 0x44], eax
mov eax, dword [0x548534]
mov eax, dword [eax]
call fcn.004ccd44
test al, al
je 0x53256e
cmp byte [ebp - 0x3d], 0
jne 0x532551
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00516b74
mov byte [ebp - 0x3d], al
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
cmp dword [eax + 8], 0
jne 0x532551
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050a7d0
cmp byte [ebp - 0x3d], 1
je 0x53256e
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
cmp dword [eax + 8], 0
jne 0x5324cb
cmp byte [ebx + 0x10], 5
jne 0x532596
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x214]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, 0x12
cdq
idiv ecx
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x2c]
jmp 0x5325c9
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x5325bf
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
je 0x5325bf
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x6c]
call fcn.0042fb8c
mov dword [ebp - 0x4c], eax
jmp 0x5325c9
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x6c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x5325dd
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00410240
mov dl, 1
mov eax, dword [0x419ac8]
call fcn.00403440
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00534d9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jge 0x53262c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x532622
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00410240
call fcn.00403ce8
jmp 0x5335e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x533140
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x50]
jne 0x5326a5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x5326a5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 0
je 0x53267f
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov edx, 0x2718
call fcn.004febb0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [0x548a98]
mov eax, dword [eax]
xor edx, edx
call fcn.00506c0c
call fcn.00403ce8
jmp 0x5335e9
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x50]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x94]
call fcn.0040976c
mov esi, eax
mov eax, dword [0x5486f0]
inc dword [eax]
cmp byte [ebx + 0x10], 5
je 0x532a28
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050b900
test al, al
jne 0x53272c
mov eax, dword [0x5486f0]
mov eax, dword [eax]
mov edx, dword [0x548590]
cmp eax, dword [edx]
jg 0x53272c
cmp byte [ebp - 0x3d], 0
jne 0x532a28
mov eax, dword [0x5486f0]
mov eax, dword [eax]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x532724
cmp eax, dword [esp]
pop edx
pop eax
ja 0x532a28
jmp 0x53272c
pop edx
pop eax
jg 0x532a28
mov eax, dword [0x548a98]
mov eax, dword [eax]
xor edx, edx
call fcn.0050b8e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [eax + 4], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [0x5486f0]
mov eax, dword [eax]
mov edx, dword [0x548590]
cmp eax, dword [edx]
jle 0x53276b
xor edx, edx
mov eax, 0x2719
call fcn.004a058c
cmp byte [ebp - 0x3d], 0
jne 0x5327af
mov eax, dword [0x5486f0]
mov eax, dword [eax]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x53278f
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5327af
jmp 0x532793
pop edx
pop eax
jg 0x5327af
mov eax, dword [0x548a98]
mov eax, dword [eax]
cmp byte [eax + 0x8b1], 0
jne 0x5327af
xor edx, edx
mov eax, 0x2719
call fcn.004a058c
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
cmp dword [eax + 8], 0
jle 0x53285e
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bcd4
mov ebx, eax
mov eax, ebx
call fcn.00538cbc
test al, al
je 0x532820
mov eax, ebx
call fcn.00403470
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bbc4
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
test eax, eax
je 0x53285e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
call fcn.00538cbc
test al, al
je 0x53285e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004d1110
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510690
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x6c], 1
jbe 0x532895
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
test eax, eax
je 0x53288b
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
call fcn.0053c37c
jmp 0x532895
call fcn.00403ce8
jmp 0x5335e9
cmp dword [ebp - 0x24], 0
je 0x5328bb
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
je 0x5328bb
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x1f0], 3
je 0x5328bb
mov eax, dword [ebp - 0x24]
call fcn.00530864
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xb8]
mov edx, 0x53368c
call fcn.00404658
je 0x53292b
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xb8]
mov edx, 0x533698
call fcn.00404658
je 0x53292b
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xb8]
mov edx, 0x5336a4
call fcn.00404658
jne 0x532a1e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
pop ecx
call fcn.005183bc
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00504470
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
fld qword [eax + 0x68]
fcomp dword [0x5336a8]
fnstsw ax
sahf
jne 0x5329b3
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
xor edx, edx
mov dword [eax + 0x240], edx
mov dword [eax + 0x244], 0x40790000
jmp 0x5329e6
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
add eax, 0x240
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
pop edx
mov ecx, dword [eax + 0x68]
mov dword [edx], ecx
mov ecx, dword [eax + 0x6c]
mov dword [edx + 4], ecx
push 0xffffffffffffffff
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
add eax, 0x3e
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, dword [0x548a98]
mov edx, dword [edx]
mov edx, dword [edx + 0x364]
mov edx, dword [edx + 0x208]
pop ecx
call fcn.00539060
call fcn.00403ce8
jmp 0x5335e9
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x532a75
push esi
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x6c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x610]
call fcn.00446058
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x610]
call fcn.00446090
mov edx, eax
inc edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
pop ecx
call fcn.005082e4
jmp 0x532ab6
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x610]
call fcn.00446058
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x610]
call fcn.00446090
mov edx, eax
inc edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
pop ecx
call fcn.005082e4
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.00506e88
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x53869c]
call fcn.00539828
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x532aee
call fcn.00403ce8
jmp 0x5335e9
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x68]
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + 0x6a]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x5c]
call fcn.004bb3b4
mov eax, dword [0x5489ac]
cmp dword [eax], 0
jne 0x532b21
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00501354
cmp byte [ebx + 0x10], 5
je 0x532b40
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004e84cc
mov dword [ebp - 0xc], eax
jmp 0x532b6f
push 0x200
push 0x200
lea ecx, [ebp - 0x18]
mov eax, esi
dec eax
mov edx, eax
add edx, edx
lea edx, [edx + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x214]
call fcn.004e85f8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x61], 1
mov edx, esi
mov eax, dword [ebp - 0x24]
call fcn.0053baac
mov eax, dword [0x5489ac]
cmp dword [eax], 0
jne 0x532b91
mov eax, dword [0x548a98]
mov eax, dword [eax]
xor edx, edx
call fcn.00501354
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x6c], 1
jbe 0x532bc5
cmp esi, dword [ebp - 0x48]
jne 0x532bc5
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bd30
mov dword [ebp - 0x38], eax
jmp 0x532c22
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x6c], 1
jbe 0x532c22
cmp esi, 1
jle 0x532c22
cmp dword [ebp - 0x38], 0xffffffff
je 0x532c22
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bd30
cmp eax, dword [ebp - 0x38]
je 0x532c22
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [ebp - 0x38]
call fcn.0041bcd4
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510690
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
test eax, eax
jne 0x532c3c
call fcn.00403ce8
jmp 0x5335e9
cmp dword [ebp - 0xc], 0
jne 0x532fcb
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x190]
call fcn.00405810
push eax
mov eax, dword [ebp - 0x24]
add eax, 0x78
mov ecx, 1
mov edx, dword [0x4069e8]
call fcn.004059cc
add esp, 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x194]
call fcn.00405810
push eax
mov eax, dword [ebp - 0x24]
add eax, 0x7c
mov ecx, 1
mov edx, dword [0x4069e8]
call fcn.004059cc
add esp, 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x248]
call fcn.00405810
push eax
mov eax, dword [ebp - 0x24]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x406a14]
call fcn.004059cc
add esp, 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
call fcn.00405810
test eax, eax
jle 0x532d0c
xor eax, eax
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x78]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x190]
mov edi, dword [ecx + eax*8]
mov dword [edx + eax*8], edi
mov edi, dword [ecx + eax*8 + 4]
mov dword [edx + eax*8 + 4], edi
inc eax
cmp eax, 3
jne 0x532ce9
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x7c]
call fcn.00405810
test eax, eax
jle 0x532d40
xor eax, eax
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x7c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x194]
mov edi, dword [ecx + eax*8]
mov dword [edx + eax*8], edi
mov edi, dword [ecx + eax*8 + 4]
mov dword [edx + eax*8 + 4], edi
inc eax
cmp eax, 3
jne 0x532d1d
mov eax, dword [ebp - 0x24]
add eax, 0x80
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x248]
mov ecx, dword [0x406a14]
call fcn.00405b28
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 0
jle 0x532d8a
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
call fcn.0041bcd4
mov edx, eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.005336ec
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x24]
call fcn.0041bb78
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 1
jne 0x532e7f
mov eax, dword [0x548a98]
mov eax, dword [eax]
cmp byte [eax + 0x8a8], 0
jne 0x532e7f
mov eax, dword [0x548a98]
mov eax, dword [eax]
cmp byte [eax + 0x79c], 1
je 0x532e7f
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0041bcd4
mov edx, eax
mov eax, dword [ebp - 0x6c]
call fcn.0053d958
mov eax, dword [0x548534]
mov eax, dword [eax]
cmp byte [eax + 0x70], 0
jne 0x532e7f
mov eax, dword [0x548534]
mov eax, dword [eax]
cmp byte [eax + 0x71], 0
jne 0x532e7f
mov eax, dword [ebp - 0x6c]
call fcn.00538d38
test al, al
jne 0x532e7f
mov eax, dword [0x548534]
cmp dword [eax], 0
je 0x532e49
mov eax, dword [0x548534]
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
je 0x532e49
mov eax, dword [0x548534]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x57], 0
je 0x532e49
mov eax, dword [0x548534]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.004cfe68
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x7a0]
call fcn.004d2214
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x7a0]
xor ecx, ecx
call fcn.004d2b58
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
cmp edi, dword [eax + 8]
jge 0x532eab
test edi, edi
jl 0x532eab
mov edx, edi
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
call fcn.0041bcd4
mov edx, eax
mov eax, dword [ebp - 0x6c]
call fcn.0053d958
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0xffffffff
je 0x532edc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004d10e0
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x20]
je 0x532edc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor ecx, ecx
call fcn.004d1e70
jmp 0x532f08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004d10e0
inc eax
jne 0x532f08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004d1130
test al, al
jne 0x532f08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor ecx, ecx
xor edx, edx
call fcn.004d1e70
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0041bcd4
cmp byte [eax + 0x58], 0
je 0x532f22
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x58], 1
cmp esi, dword [ebp - 0x48]
jne 0x532f2e
mov eax, dword [0x5489ac]
inc dword [eax]
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edi, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bd30
mov edx, eax
lea ecx, [ebp - 0xa4]
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x7a0]
call fcn.004d2638
push esi
lea esi, [ebp - 0xa4]
add edi, 0x3e
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.005010e4
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 2
jne 0x533038
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510364
jmp 0x533038
mov eax, dword [ebp - 0x24]
call fcn.00403470
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov ebx, dword [eax + 0x88c]
mov edx, dword [ebx + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, ebx
call fcn.0041bcd4
mov ebx, eax
mov eax, ebx
call fcn.00538cbc
test al, al
je 0x53302f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x3c]
jne 0x53302f
mov eax, ebx
call fcn.00403470
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bbc4
mov byte [ebp - 0x51], 1
jmp 0x533140
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x24]
call fcn.004caf24
cmp esi, 1
jne 0x533061
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
xor edx, edx
call fcn.00539014
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x7c], 0x493e0
jb 0x533079
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050b664
mov eax, dword [0x548a98]
mov eax, dword [eax]
cmp byte [eax + 0x820], 0
je 0x533095
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00506e4c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x533134
cmp byte [ebp - 0x3d], 0
jne 0x533134
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.0050b900
test al, al
jne 0x533134
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c0]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0x10]
push esi
mov ecx, edi
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.005353e0
test al, al
jne 0x533134
mov eax, dword [0x5489f0]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], fcn.00534eb4
mov eax, dword [0x548724]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], fcn.005357bc
mov eax, dword [0x548534]
mov eax, dword [eax]
xor edx, edx
call fcn.004cc16c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 0
je 0x533140
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov edx, 0x2718
call fcn.004febb0
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
jmp 0x533140
inc dword [ebp - 0x50]
dec dword [ebp - 0x68]
jne 0x53264b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x50]
jle 0x533185
mov eax, dword [0x548534]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x57], 0
jne 0x533185
mov eax, dword [0x548a98]
mov eax, dword [eax]
xor edx, edx
call fcn.00506c0c
mov eax, dword [0x5489f0]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
call fcn.00403ce8
jmp 0x5335e9
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
test eax, eax
jne 0x53319f
call fcn.00403ce8
jmp 0x5335e9
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
cmp dword [eax + 0x38], 0
je 0x53340f
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 0
je 0x53340f
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xb8]
mov edx, 0x53368c
call fcn.00404658
je 0x53323e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xb8]
mov edx, 0x533698
call fcn.00404658
je 0x53323e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xb8]
mov edx, 0x5336a4
call fcn.00404658
jne 0x533331
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
pop ecx
call fcn.005183bc
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00504470
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
fld qword [eax + 0x68]
fcomp dword [0x5336a8]
fnstsw ax
sahf
jne 0x5332c6
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
xor edx, edx
mov dword [eax + 0x240], edx
mov dword [eax + 0x244], 0x40790000
jmp 0x5332f9
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x44]
add eax, 0x240
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x30]
pop edx
mov ecx, dword [eax + 0x68]
mov dword [edx], ecx
mov ecx, dword [eax + 0x6c]
mov dword [edx + 4], ecx
push 0xffffffffffffffff
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
add eax, 0x3e
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, dword [0x548a98]
mov edx, dword [edx]
mov edx, dword [edx + 0x364]
mov edx, dword [edx + 0x208]
pop ecx
call fcn.00539060
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
movzx edx, word [edx + 0x6c]
cmp eax, edx
jge 0x53335f
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
call fcn.0053c37c
cmp dword [ebp - 0x14], 0
je 0x533376
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x533376
mov eax, dword [ebp - 0x14]
call fcn.005431cc
cmp dword [ebp - 0x20], 0xffffffff
je 0x533388
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00506e4c
xor eax, eax
push ebp
push 0x5333d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov ebx, eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 8], 0
jle 0x5333cf
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x38]
cmp esi, dword [eax + 8]
jge 0x5333cf
test esi, esi
jl 0x5333cf
mov edx, esi
mov eax, dword [ebx + 0x38]
call fcn.0041bcd4
mov edx, eax
mov eax, ebx
call fcn.0053d958
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5333e3
cmp dword [ebp - 0xc], 0
jne 0x53340f
cmp dword [ebp - 0x24], 0
je 0x53340f
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
je 0x53340f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x1f0], 3
je 0x53340f
mov eax, dword [ebp - 0x24]
call fcn.00530864
inc dword [ebp - 0x10]
dec dword [ebp - 0x64]
jne 0x532189
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
cmp dword [eax + 8], 0
jle 0x533488
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bcd4
mov ebx, eax
mov eax, ebx
call fcn.00538cbc
test al, al
je 0x533488
mov eax, ebx
call fcn.00403470
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov eax, dword [eax + 0x88c]
call fcn.0041bbc4
cmp byte [ebp - 0x3e], 0
je 0x53359e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
test eax, eax
je 0x53359e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
cmp dword [eax + 0x38], 0
je 0x53359e
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x38]
cmp dword [eax + 8], 1
jle 0x53359e
mov eax, dword [0x548a98]
mov eax, dword [eax]
mov edx, 0xb8d
call fcn.004febb0
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0041bcd4
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc0]
mov eax, 0x5336b4
call fcn.00404850
test eax, eax
jg 0x533575
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc0]
mov eax, 0x5336c4
call fcn.00404850
test eax, eax
jg 0x533575
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc0]
mov eax, 0x5336d4
call fcn.00404850
test eax, eax
jg 0x533575
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc0]
mov eax, 0x5336e4
call fcn.00404850
test eax, eax
jg 0x533575
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
call fcn.00534798
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0041bcd4
push eax
mov eax, dword [0x548a98]
mov eax, dword [eax]
call fcn.00510660
pop edx
call fcn.0053d958
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5335e9
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5335c0
cmp byte [ebp - 0x51], 0
je 0x5335e1
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], 1
jmp 0x5335e1
cmp byte [ebp - 0x51], 0
je 0x5335d4
mov dword [ebp - 0xc], 0x7d2
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [eax + 4], 0xffffffff
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533616
lea eax, [ebp - 0x94]
mov edx, 0xa
call fcn.00404260
lea eax, [ebp - 0x28]
call fcn.00404958
ret