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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x9c
mov esi, dword [ebp + 8]
mov byte [ebp - 0x7c], 1
mov eax, dword [esi + 0xd0]
cmp dword [ecx + 0x118], eax
jne 0x52481e
mov eax, dword [esi + 0xd8]
cmp dword [ecx + 0x120], eax
jne 0x52481e
mov al, byte [esi + 0x174]
cmp byte [ecx + 0x1bc], al
jne 0x52481e
mov eax, dword [esi + 0x178]
cmp dword [ecx + 0x1c0], eax
jne 0x52481e
mov eax, dword [esi + 0x17c]
cmp dword [ecx + 0x1c4], eax
jne 0x52481e
mov eax, dword [esi + 0x180]
cmp dword [ecx + 0x1c8], eax
jne 0x52481e
mov eax, dword [esi + 0x184]
cmp dword [ecx + 0x1cc], eax
jne 0x52481e
mov eax, dword [esi + 0xec]
cmp word [ecx + 0x134], ax
jne 0x52481e
mov eax, dword [esi + 0xa8]
cmp dword [ecx + 0xf0], eax
jne 0x52481e
mov eax, dword [esi + 0xac]
cmp dword [ecx + 0xf4], eax
jne 0x52481e
mov al, byte [esi + 0x18c]
cmp byte [ecx + 0x1d4], al
jne 0x52481e
mov al, byte [esi + 0xdd]
cmp byte [ecx + 0x125], al
jne 0x52481e
mov al, byte [esi + 0x164]
cmp byte [ecx + 0x1ac], al
jne 0x52481e
mov al, byte [esi + 0xdc]
cmp byte [ecx + 0x124], al
jne 0x52481e
mov eax, dword [esi + 0xe4]
cmp dword [ecx + 0x12c], eax
jne 0x52481e
mov eax, dword [esi + 0xe8]
cmp dword [ecx + 0x130], eax
jne 0x52481e
mov al, byte [esi + 0x18d]
cmp byte [ecx + 0x1d5], al
jne 0x52481e
mov eax, dword [esi + 0x54]
cmp dword [ecx + 0x9c], eax
jne 0x52481e
mov al, byte [esi + 0x1a4]
cmp byte [ecx + 0x1ec], al
jne 0x52481e
mov al, byte [esi + 0x1b0]
cmp byte [ecx + 0x1f8], al
jne 0x52481e
mov eax, dword [esi + 0x1cc]
cmp word [ecx + 0x214], ax
jne 0x52481e
mov al, byte [esi + 0x195]
cmp byte [ecx + 0x1dd], al
jne 0x52481e
mov al, byte [esi + 0x24d]
cmp byte [ecx + 0x295], al
jne 0x52481e
mov al, byte [esi + 0x27c]
cmp byte [ecx + 0x2c4], al
setne byte [ebp - 0x7c]
mov eax, dword [ebx + 0x240]
cmp byte [ebx + 0x1ec], 0
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x1f8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0x238]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x1f0]
mov dword [ebp - 0x8c], eax
je 0x52486d
cmp dword [ebx + 0xec], 1
je 0x524866
cmp byte [ebx + 0x125], 0
je 0x52486d
mov byte [ebx + 0x1ec], 0
mov eax, dword [esi + 0xc4]
cmp dword [ebx + 0x10c], eax
je 0x524885
mov dword [ebx + 0xbb0], 0
mov eax, dword [esi + 0x19c]
cmp dword [ebx + 0x1e4], eax
je 0x52491c
lea edi, [ebp - 0x6c]
mov ecx, edi
call fcn.0062d0c8
cmp dword [ebx + 0xa10], 0
mov ecx, 1
mov eax, ecx
cmovg eax, dword [ebx + 0xa10]
mov edx, eax
mov eax, dword [esi + 0x19c]
mov dword [ebp - 0x90], edx
cdq
idiv dword [ebp - 0x90]
test eax, eax
cmovle eax, ecx
cdq
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005555f6
mov dword [esp + 4], edi
mov dword [ebp - 0x50], eax
lea edi, [ebp - 0x50]
lea eax, [ebx + 0xd38]
mov dword [ebp - 0x4c], edx
mov dword [esp], edi
mov ecx, eax
call fcn.0061196c
push eax
push eax
lea ecx, [ebx + 0xd38]
mov dword [ebp - 0x50], 0x51efbc
mov dword [ebp - 0x4c], 0
mov dword [esp], edi
mov dword [ebp - 0x48], ebx
call fcn.00610fc4
push eax
mov eax, dword [esi + 0x198]
cmp dword [ebx + 0x1e0], eax
je 0x5249b3
lea edi, [ebp - 0x6c]
mov ecx, edi
call fcn.0062d0c8
cmp dword [ebx + 0xa10], 0
mov ecx, 1
mov eax, ecx
cmovg eax, dword [ebx + 0xa10]
mov edx, eax
mov eax, dword [esi + 0x198]
mov dword [ebp - 0x90], edx
cdq
idiv dword [ebp - 0x90]
test eax, eax
cmovle eax, ecx
cdq
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005555f6
mov dword [esp + 4], edi
mov dword [ebp - 0x50], eax
lea edi, [ebp - 0x50]
lea eax, [ebx + 0x19a0]
mov dword [ebp - 0x4c], edx
mov dword [esp], edi
mov ecx, eax
call fcn.0061196c
push eax
push eax
lea ecx, [ebx + 0x19a0]
mov dword [ebp - 0x50], 0x51f1c8
mov dword [ebp - 0x4c], 0
mov dword [esp], edi
mov dword [ebp - 0x48], ebx
call fcn.00610fc4
push eax
mov eax, dword [esi + 0xfc]
cmp dword [ebx + 0x144], eax
jne 0x5249dd
mov eax, dword [esi + 0x100]
cmp dword [ebx + 0x148], eax
jne 0x5249dd
mov eax, dword [esi + 0x110]
cmp dword [ebx + 0x158], eax
je 0x5249e7
mov dword [ebx + 0xbb4], 2
mov al, byte [esi + 0x1d4]
cmp byte [ebx + 0x21c], al
je 0x524a43
mov eax, dword [ebx + 0xa4c]
lea edi, [ebx + 0xa44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp edi, eax
je 0x524a43
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
dec eax
cmp eax, 1
ja 0x524a39
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x10]
mov al, byte [esi + 0x1d4]
mov cl, byte [edx + 0xb]
xor eax, 1
and eax, 1
shl eax, 4
and ecx, 0xffffffef
or eax, ecx
mov byte [edx + 0xb], al
lea ecx, [ebp - 0x50]
call fcn.006a7bd0
jmp 0x524a04
mov eax, dword [esi + 0x23c]
cmp dword [ebx + 0x284], eax
je 0x524a60
lea ecx, [ebx + 0x358]
mov dword [esp], eax
call fcn.00589200
push ecx
mov eax, dword [esi + 0x1ec]
cmp dword [ebx + 0x234], eax
je 0x524a74
mov dword [ebx + 0x17f0], eax
mov al, byte [esi + 0xf8]
cmp byte [ebx + 0x140], al
je 0x524ab1
test al, al
je 0x524ab1
lea edi, [ebp - 0x50]
mov ecx, edi
call fcn.0062d0c8
movsx eax, byte [esi + 0xf8]
lea ecx, [ebx + 0xd68]
mov dword [esp + 4], edi
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.005f6324
push edx
push edx
lea ecx, [ebp - 0x74]
call fcn.0062d0c8
lea edx, [ebx + 0x48]
lea eax, [ebx + 0xd68]
lea ecx, [ebp - 0x74]
call fcn.0051b00d
cmp dword [ebp - 0x74], 0
je 0x524b29
lea eax, [ebx + 0x358]
mov ecx, eax
mov dword [ebp - 0x90], eax
call fcn.0063ad68
test al, al
je 0x524b29
lea eax, [ebp - 0x6c]
lea edi, [ebp - 0x50]
mov ecx, eax
mov dword [ebp - 0x90], eax
call fcn.00504692
lea eax, [ebp - 0x74]
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.00587946
push eax
push eax
lea ecx, [ebx + 0x358]
mov dword [esp], edi
call fcn.005896bc
push eax
mov ecx, edi
call fcn.005fa3e4
mov eax, dword [ebx + 0x298]
lea ecx, [ebx + 0x4c]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x250]
mov dword [ebp - 0x94], eax
mov eax, dword [esi]
mov dword [ebx + 0x48], eax
lea eax, [esi + 4]
mov dword [esp], eax
call fcn.006beee0
push eax
mov eax, dword [esi + 0x1c]
lea ecx, [ebx + 0xc8]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x84], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x94], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x98], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x9c], eax
mov al, byte [esi + 0x58]
mov byte [ebx + 0xa0], al
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0xa4], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0xa8], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0xac], eax
mov al, byte [esi + 0x68]
mov byte [ebx + 0xb0], al
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0xb4], eax
mov al, byte [esi + 0x70]
mov byte [ebx + 0xb8], al
mov al, byte [esi + 0x71]
mov byte [ebx + 0xb9], al
mov eax, dword [esi + 0x74]
mov dword [ebx + 0xbc], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xc0], eax
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0xc4], eax
lea eax, [esi + 0x80]
mov dword [esp], eax
call fcn.006beee0
push eax
mov eax, dword [esi + 0x98]
lea ecx, [ebx + 0x2ac]
mov dword [ebx + 0xe0], eax
mov eax, dword [esi + 0x9c]
mov dword [ebx + 0xe4], eax
mov eax, dword [esi + 0xa0]
mov dword [ebx + 0xe8], eax
mov eax, dword [esi + 0xa4]
mov dword [ebx + 0xec], eax
mov eax, dword [esi + 0xa8]
mov dword [ebx + 0xf0], eax
mov eax, dword [esi + 0xac]
mov dword [ebx + 0xf4], eax
mov eax, dword [esi + 0xb0]
mov dword [ebx + 0xf8], eax
mov al, byte [esi + 0xb4]
mov byte [ebx + 0xfc], al
mov al, byte [esi + 0xb5]
mov byte [ebx + 0xfd], al
mov al, byte [esi + 0xb6]
mov byte [ebx + 0xfe], al
mov eax, dword [esi + 0xb8]
mov dword [ebx + 0x100], eax
mov eax, dword [esi + 0xbc]
mov dword [ebx + 0x104], eax
mov eax, dword [esi + 0xc0]
mov dword [ebx + 0x108], eax
mov eax, dword [esi + 0xc4]
mov dword [ebx + 0x10c], eax
mov eax, dword [esi + 0xc8]
mov dword [ebx + 0x110], eax
mov al, byte [esi + 0xcc]
mov byte [ebx + 0x114], al
mov eax, dword [esi + 0xd0]
mov dword [ebx + 0x118], eax
mov eax, dword [esi + 0xd4]
mov dword [ebx + 0x11c], eax
mov eax, dword [esi + 0xd8]
mov dword [ebx + 0x120], eax
mov al, byte [esi + 0xdc]
mov byte [ebx + 0x124], al
mov al, byte [esi + 0xdd]
mov byte [ebx + 0x125], al
mov eax, dword [esi + 0xe0]
mov dword [ebx + 0x128], eax
mov eax, dword [esi + 0xe4]
mov dword [ebx + 0x12c], eax
mov eax, dword [esi + 0xe8]
mov dword [ebx + 0x130], eax
mov al, byte [esi + 0xec]
mov byte [ebx + 0x134], al
mov al, byte [esi + 0xed]
mov byte [ebx + 0x135], al
mov eax, dword [esi + 0xf0]
mov dword [ebx + 0x138], eax
mov eax, dword [esi + 0xf4]
mov dword [ebx + 0x13c], eax
mov al, byte [esi + 0xf8]
mov byte [ebx + 0x140], al
mov eax, dword [esi + 0xfc]
mov dword [ebx + 0x144], eax
mov eax, dword [esi + 0x100]
mov dword [ebx + 0x148], eax
mov eax, dword [esi + 0x104]
mov dword [ebx + 0x14c], eax
mov eax, dword [esi + 0x108]
mov dword [ebx + 0x150], eax
mov eax, dword [esi + 0x10c]
mov dword [ebx + 0x154], eax
mov eax, dword [esi + 0x110]
mov dword [ebx + 0x158], eax
mov al, byte [esi + 0x114]
mov byte [ebx + 0x15c], al
mov al, byte [esi + 0x115]
mov byte [ebx + 0x15d], al
mov eax, dword [esi + 0x118]
mov dword [ebx + 0x160], eax
fld dword [esi + 0x11c]
fstp dword [ebx + 0x164]
fld dword [esi + 0x120]
fstp dword [ebx + 0x168]
mov eax, dword [esi + 0x124]
mov dword [ebx + 0x16c], eax
mov eax, dword [esi + 0x128]
mov dword [ebx + 0x170], eax
fld dword [esi + 0x12c]
fstp dword [ebx + 0x174]
fld dword [esi + 0x130]
fstp dword [ebx + 0x178]
mov al, byte [esi + 0x134]
mov byte [ebx + 0x17c], al
mov eax, dword [esi + 0x138]
mov dword [ebx + 0x180], eax
mov eax, dword [esi + 0x13c]
mov dword [ebx + 0x184], eax
mov eax, dword [esi + 0x140]
mov dword [ebx + 0x188], eax
mov eax, dword [esi + 0x144]
mov dword [ebx + 0x18c], eax
mov eax, dword [esi + 0x148]
mov dword [ebx + 0x190], eax
mov al, byte [esi + 0x14c]
mov byte [ebx + 0x194], al
mov eax, dword [esi + 0x150]
mov dword [ebx + 0x198], eax
mov al, byte [esi + 0x154]
mov byte [ebx + 0x19c], al
mov al, byte [esi + 0x155]
mov byte [ebx + 0x19d], al
mov al, byte [esi + 0x156]
mov byte [ebx + 0x19e], al
mov al, byte [esi + 0x157]
mov byte [ebx + 0x19f], al
mov al, byte [esi + 0x158]
mov byte [ebx + 0x1a0], al
mov eax, dword [esi + 0x15c]
mov dword [ebx + 0x1a4], eax
mov eax, dword [esi + 0x160]
mov dword [ebx + 0x1a8], eax
mov al, byte [esi + 0x164]
mov byte [ebx + 0x1ac], al
mov eax, dword [esi + 0x168]
mov dword [ebx + 0x1b0], eax
mov eax, dword [esi + 0x16c]
mov dword [ebx + 0x1b4], eax
mov eax, dword [esi + 0x170]
mov dword [ebx + 0x1b8], eax
mov al, byte [esi + 0x174]
mov byte [ebx + 0x1bc], al
mov eax, dword [esi + 0x178]
mov dword [ebx + 0x1c0], eax
mov eax, dword [esi + 0x17c]
mov dword [ebx + 0x1c4], eax
mov eax, dword [esi + 0x180]
mov dword [ebx + 0x1c8], eax
mov eax, dword [esi + 0x184]
mov dword [ebx + 0x1cc], eax
mov eax, dword [esi + 0x188]
mov dword [ebx + 0x1d0], eax
mov al, byte [esi + 0x18c]
mov byte [ebx + 0x1d4], al
mov al, byte [esi + 0x18d]
mov byte [ebx + 0x1d5], al
mov al, byte [esi + 0x18e]
mov byte [ebx + 0x1d6], al
mov eax, dword [esi + 0x190]
mov dword [ebx + 0x1d8], eax
mov al, byte [esi + 0x194]
mov byte [ebx + 0x1dc], al
mov al, byte [esi + 0x195]
mov byte [ebx + 0x1dd], al
mov eax, dword [esi + 0x198]
mov dword [ebx + 0x1e0], eax
mov eax, dword [esi + 0x19c]
mov dword [ebx + 0x1e4], eax
mov eax, dword [esi + 0x1a0]
mov dword [ebx + 0x1e8], eax
mov al, byte [esi + 0x1a4]
mov byte [ebx + 0x1ec], al
mov al, byte [esi + 0x1a5]
mov byte [ebx + 0x1ed], al
mov eax, dword [esi + 0x1a8]
mov dword [ebx + 0x1f0], eax
mov eax, dword [esi + 0x1ac]
mov dword [ebx + 0x1f4], eax
mov al, byte [esi + 0x1b0]
mov byte [ebx + 0x1f8], al
mov eax, dword [esi + 0x1b4]
mov dword [ebx + 0x1fc], eax
mov eax, dword [esi + 0x1b8]
mov dword [ebx + 0x200], eax
mov eax, dword [esi + 0x1bc]
mov dword [ebx + 0x204], eax
mov al, byte [esi + 0x1c0]
mov byte [ebx + 0x208], al
mov al, byte [esi + 0x1c1]
mov byte [ebx + 0x209], al
mov al, byte [esi + 0x1c2]
mov byte [ebx + 0x20a], al
mov al, byte [esi + 0x1c3]
mov byte [ebx + 0x20b], al
mov al, byte [esi + 0x1c4]
mov byte [ebx + 0x20c], al
mov al, byte [esi + 0x1c5]
mov byte [ebx + 0x20d], al
mov al, byte [esi + 0x1c6]
mov byte [ebx + 0x20e], al
mov al, byte [esi + 0x1c7]
mov byte [ebx + 0x20f], al
mov eax, dword [esi + 0x1c8]
mov dword [ebx + 0x210], eax
mov al, byte [esi + 0x1cc]
mov byte [ebx + 0x214], al
mov al, byte [esi + 0x1cd]
mov byte [ebx + 0x215], al
mov al, byte [esi + 0x1ce]
mov byte [ebx + 0x216], al
mov al, byte [esi + 0x1cf]
mov byte [ebx + 0x217], al
mov eax, dword [esi + 0x1d0]
mov dword [ebx + 0x218], eax
mov al, byte [esi + 0x1d4]
mov byte [ebx + 0x21c], al
mov eax, dword [esi + 0x1d8]
mov dword [ebx + 0x220], eax
mov eax, dword [esi + 0x1dc]
mov dword [ebx + 0x224], eax
mov eax, dword [esi + 0x1e0]
mov dword [ebx + 0x228], eax
mov eax, dword [esi + 0x1e4]
mov dword [ebx + 0x22c], eax
mov eax, dword [esi + 0x1e8]
mov dword [ebx + 0x230], eax
mov eax, dword [esi + 0x1ec]
mov dword [ebx + 0x234], eax
mov eax, dword [esi + 0x1f0]
mov dword [ebx + 0x238], eax
mov eax, dword [esi + 0x1f4]
mov dword [ebx + 0x23c], eax
mov eax, dword [esi + 0x1f8]
mov dword [ebx + 0x240], eax
mov eax, dword [esi + 0x1fc]
mov dword [ebx + 0x244], eax
mov eax, dword [esi + 0x200]
mov dword [ebx + 0x248], eax
mov eax, dword [esi + 0x204]
mov dword [ebx + 0x24c], eax
mov eax, dword [esi + 0x208]
mov dword [ebx + 0x250], eax
mov eax, dword [esi + 0x20c]
mov dword [ebx + 0x254], eax
mov eax, dword [esi + 0x210]
mov dword [ebx + 0x258], eax
mov eax, dword [esi + 0x214]
mov dword [ebx + 0x25c], eax
mov eax, dword [esi + 0x218]
mov dword [ebx + 0x260], eax
mov al, byte [esi + 0x21c]
mov byte [ebx + 0x264], al
mov eax, dword [esi + 0x220]
mov dword [ebx + 0x268], eax
mov eax, dword [esi + 0x224]
mov dword [ebx + 0x26c], eax
mov al, byte [esi + 0x228]
mov byte [ebx + 0x270], al
mov eax, dword [esi + 0x22c]
mov dword [ebx + 0x274], eax
mov al, byte [esi + 0x230]
mov byte [ebx + 0x278], al
mov eax, dword [esi + 0x234]
mov dword [ebx + 0x27c], eax
mov al, byte [esi + 0x238]
mov byte [ebx + 0x280], al
mov al, byte [esi + 0x239]
mov byte [ebx + 0x281], al
mov eax, dword [esi + 0x23c]
mov dword [ebx + 0x284], eax
mov eax, dword [esi + 0x240]
mov dword [ebx + 0x288], eax
mov al, byte [esi + 0x244]
mov byte [ebx + 0x28c], al
mov al, byte [esi + 0x245]
mov byte [ebx + 0x28d], al
mov al, byte [esi + 0x246]
mov byte [ebx + 0x28e], al
mov eax, dword [esi + 0x248]
mov dword [ebx + 0x290], eax
mov al, byte [esi + 0x24c]
mov byte [ebx + 0x294], al
mov al, byte [esi + 0x24d]
mov byte [ebx + 0x295], al
mov eax, dword [esi + 0x250]
mov dword [ebx + 0x298], eax
mov eax, dword [esi + 0x254]
mov dword [ebx + 0x29c], eax
mov al, byte [esi + 0x258]
mov byte [ebx + 0x2a0], al
mov eax, dword [esi + 0x25c]
mov dword [ebx + 0x2a4], eax
mov al, byte [esi + 0x260]
mov byte [ebx + 0x2a8], al
mov al, byte [esi + 0x261]
mov byte [ebx + 0x2a9], al
mov al, byte [esi + 0x262]
mov byte [ebx + 0x2aa], al
lea eax, [esi + 0x264]
mov dword [esp], eax
call fcn.006beee0
push eax
mov al, byte [esi + 0x27c]
cmp dword [ebx + 0x11c], 0
mov byte [ebx + 0x2c4], al
mov eax, dword [esi + 0x280]
mov dword [ebx + 0x2c8], eax
mov eax, dword [esi + 0x284]
mov dword [ebx + 0x2cc], eax
jg 0x525333
mov dword [ebx + 0x11c], 1
mov ecx, ebx
call fcn.00518e4e
mov edx, dword [ebp - 0x84]
cmp dword [ebp - 0x80], edx
je 0x52534c
mov ecx, ebx
call fcn.005194da
mov edx, dword [ebp - 0x8c]
cmp dword [ebp - 0x88], edx
je 0x525361
mov ecx, ebx
call fcn.005230a8
mov al, byte [esi + 0x1ce]
cmp al, byte [ebx + 0x216]
je 0x525377
test al, al
jne 0x52559c
mov al, byte [esi + 0x1cf]
mov dl, al
xor dl, byte [ebx + 0x217]
mov byte [ebx + 0xf98], al
test dl, al
je 0x52540b
mov ecx, ebx
lea edi, [ebx + 0xb1c]
call fcn.0051904a
mov ecx, ebx
call fcn.00519082
mov ecx, ebx
call fcn.0051e952
mov ecx, ebx
call fcn.00518c6a
lea eax, [ebp - 0x50]
mov ecx, eax
mov dword [ebp - 0x84], eax
call fcn.0062d0c8
mov eax, dword [ebx + 0xb1c]
mov dword [ebp - 0x80], eax
cmp edi, dword [ebp - 0x80]
je 0x5253ee
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.00611ac8
push eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
jmp 0x5253ca
mov ecx, edi
call fcn.006bb95c
mov dword [ebx + 0xb1c], edi
mov dword [ebx + 0xb20], edi
mov dword [ebx + 0xb24], 0
cmp dword [ebx + 0xb4], 0
jns 0x52541e
mov dword [ebx + 0xb4], 0xc8
cmp byte [ebp - 0x7c], 0
je 0x52542b
mov ecx, ebx
call fcn.00519f2c
mov eax, dword [ebx + 0xba8]
mov ecx, 2
cdq
idiv ecx
cmp dword [ebx + 0x1f4], eax
jl 0x52549b
lea eax, [ebx + 0x358]
mov ecx, eax
mov dword [ebp - 0x7c], eax
call fcn.0063ae3c
test al, al
je 0x52549b
lea edi, [ebp - 0x50]
lea eax, [ebp - 0x6c]
mov dword [esp + 4], 5
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [esp], eax
mov ecx, edi
call fcn.0058709c
push ecx
push ecx
lea ecx, [ebx + 0x358]
mov dword [esp], edi
call fcn.005896bc
push edx
mov ecx, edi
call fcn.005fb0e4
lea ecx, [ebp - 0x68]
call fcn.00517bf6
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x5254ad
mov eax, dword [ebx + 0x238]
jmp 0x5254be
dec eax
jne 0x5254c4
mov eax, dword [ebx + 0x238]
cmp dword [ebx + 0xba8], eax
jge 0x5254c4
mov dword [ebx + 0xba8], eax
cmp dword [ebx + 0xba8], 0
jns 0x5254d7
mov dword [ebx + 0xba8], 0x7fffffff
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x50]
add ecx, dword [ebx + 0x4c]
mov edx, eax
mov esi, ecx
sub esi, eax
sar esi, 2
test esi, esi
mov eax, edx
jle 0x525519
cmp byte [edx], 0xa
je 0x52553d
cmp byte [edx + 1], 0xa
jne 0x5254fd
inc eax
jmp 0x52553d
cmp byte [edx + 2], 0xa
jne 0x525508
add eax, 2
jmp 0x52553d
lea edx, [edx + 4]
cmp byte [edx - 1], 0xa
jne 0x525516
add eax, 3
jmp 0x52553d
dec esi
jmp 0x5254e9
mov edx, ecx
sub edx, eax
cmp edx, 2
je 0x525532
cmp edx, 3
je 0x52552c
dec edx
jne 0x525546
jmp 0x525538
cmp byte [eax], 0xa
je 0x52553d
inc eax
cmp byte [eax], 0xa
je 0x52553d
inc eax
cmp byte [eax], 0xa
jne 0x525546
cmp eax, ecx
je 0x525546
mov byte [eax], 0x20
jmp 0x5254da
mov edx, dword [ebp - 0x94]
cmp dword [ebp - 0x90], edx
je 0x5255c6
lea esi, [ebp - 0x50]
mov ecx, esi
call fcn.0062d0c8
mov dword [esp + 4], esi
mov dword [esp], 0
mov ecx, ebx
call fcn.00520992
push eax
push eax
jmp 0x5255c6
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], 0
mov byte [eax], 0
lea eax, [ebx + 0xac0]
mov dword [esp + 4], eax
lea eax, [ebx + 0xaac]
mov dword [esp], eax
call fcn.0050de7b
jmp 0x525377
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4