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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bde0b
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x7c]
mov al, byte [esi + 0x3324]
test al, al
je 0x521d8c
push ebp
push edi
push ebx
call fcn.0051da80
cmp ebx, 0x92d
ja 0x5236ec
cmp ebx, 0x8fc
jae case.0x523715.2386
lea eax, [ebx - 0x7d1]
cmp eax, 0x122
ja case.0x523715.2423
jmp dword [eax*4 + 0x523ff4]
test ebp, ebp
jne 0x521dd4
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052c940
inc eax
jmp 0x523fdd
test edi, edi
je 0x523fdb
push ebp
call fcn.00524630
add esp, 4
xor ebx, ebx
dec edi
mov ebp, eax
test edi, edi
jbe 0x521e05
mov eax, dword [esi + 0x3378]
push ebx
lea ecx, [eax + 8]
call fcn.0052c660
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jb 0x521dee
mov byte [ebx + ebp], 0
mov eax, ebx
jmp 0x523fdd
test ebp, ebp
je 0x523fdb
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf10
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052c940
mov ecx, dword [esi + 0x3378]
push eax
push 0
call fcn.00528e20
push 0
mov ecx, esi
call fcn.00516ac0
push ebp
call fcn.00524630
mov ecx, dword [esi + 0x3378]
add esp, 4
push eax
push 0
call fcn.005295b0
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf20
mov eax, 1
jmp 0x523fdd
mov ecx, esi
call fcn.0051c950
mov ecx, esi
call fcn.00517000
jmp 0x523fdb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
jmp 0x523fdb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov al, byte [esi + 0x31ea]
test al, al
jne 0x521eb1
mov ecx, esi
call fcn.00517000
push 1
push 1
push 1
mov ecx, esi
call fcn.00517320
jmp 0x523fdb
mov ecx, esi
call fcn.0051cba0
mov ecx, esi
call fcn.00517000
push 1
push 1
push 1
mov ecx, esi
call fcn.00517320
jmp 0x523fdb
mov ecx, esi
call fcn.0051cc30
mov ecx, esi
call fcn.00517000
jmp 0x523fdb
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052cf40
jmp 0x522852
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf30
jmp 0x523fdb
mov eax, dword [esi + 0x32a0]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005287f0
mov ecx, dword [esi + 0x3378]
inc edi
push edi
mov ebx, eax
call fcn.005287f0
test ebp, ebp
mov dword [esp + 0x80], eax
jne 0x521f54
sub eax, ebx
jmp 0x523fdd
push ebp
call fcn.00524630
mov ebp, dword [esp + 0x84]
add esp, 4
xor ecx, ecx
cmp ebx, ebp
mov edi, ebx
jge 0x521fa0
sub eax, ebx
mov dword [esp + 0x80], eax
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x3378]
push edi
lea ecx, [eax + 8]
call fcn.0052c660
mov ecx, dword [esp + 0x80]
inc edi
cmp edi, ebp
mov byte [ecx + edi - 1], al
jl 0x521f7d
mov ecx, dword [esp + 0x7c]
mov eax, ecx
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
call fcn.0052a900
test eax, eax
je 0x522870
mov ecx, dword [esi + 0x3378]
call fcn.0052a900
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052ca30
neg al
sbb eax, eax
inc eax
jmp 0x523fdd
test ebp, ebp
mov eax, ebp
jge 0x521ff6
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052c940
test edi, edi
jge 0x521ffc
mov edi, eax
push edi
push eax
mov ecx, esi
mov dword [esi + 0x32f4], 1
call fcn.00516a00
push 1
push 1
push 1
mov ecx, esi
call fcn.00517320
jmp 0x523fdb
xor edi, edi
cmp ebp, edi
jne 0x52215f
mov eax, dword [esi + 0x32f4]
cmp eax, 1
jne 0x522052
mov ecx, esi
call fcn.00516920
mov edi, 1
mov ecx, esi
sub edi, eax
call fcn.00516940
add eax, edi
jmp 0x523fdd
xor ebx, ebx
cmp eax, 3
je 0x52206c
mov edx, dword [esi + 0x3378]
mov ebx, dword [edx + 0x4a0]
neg ebx
sbb ebx, ebx
add ebx, 2
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x44], 1
call fcn.00516920
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
call fcn.00516940
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [ecx + 0x3378]
push eax
call fcn.00528860
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
push edx
mov ecx, dword [eax + 0x3378]
call fcn.00528860
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x3300]
mov edx, dword [eax + 0x32fc]
push ecx
push edx
call fcn.00527a10
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x3300]
mov edx, dword [eax + 0x32fc]
push ecx
push edx
call fcn.00527a20
mov dword [esp + 0x64], eax
mov al, byte [esp + 0x54]
add esp, 0x10
test al, al
je 0x522114
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
jmp 0x52211c
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x70], edi
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x3c]
push edx
call fcn.0051c7b0
mov al, byte [esp + 0x44]
test al, al
mov eax, dword [esp + 0x40]
je 0x52213d
inc eax
jmp 0x52213e
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
je 0x522157
mov ecx, dword [esp + 0x64]
sub ecx, eax
add ecx, ebx
add edi, ecx
jmp 0x522120
lea eax, [edi + 1]
jmp 0x523fdd
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea edx, [esp + 0x28]
mov ecx, esi
push edx
mov dword [esp + 0x74], 1
call fcn.0051f930
push ebp
call fcn.00524630
mov ecx, dword [esp + 0x30]
add esp, 4
xor esi, esi
cmp ecx, edi
je 0x5221b4
jle 0x5221b7
mov ecx, dword [esp + 0x28]
inc esi
mov dl, byte [esi + ecx - 1]
mov byte [esi + eax - 1], dl
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
jl 0x52219d
jmp 0x5221b7
mov byte [eax], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
push eax
call fcn.005a399e
add esp, 4
mov eax, esi
jmp 0x523fdd
test edi, edi
jl 0x523fdb
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00528860
jmp 0x523fdd
test edi, edi
jge 0x522207
mov ecx, esi
call fcn.00516920
mov ecx, dword [esi + 0x3378]
push eax
call fcn.00528860
mov edi, eax
test edi, edi
je 0x523fdb
mov ecx, dword [esi + 0x3378]
call fcn.0052a900
cmp edi, eax
jle 0x523e69
or eax, 0xffffffff
jmp 0x523fdd
test ebp, ebp
je 0x523fdb
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf10
mov ecx, esi
call fcn.0051c5f0
push ebp
call fcn.00524630
mov ecx, dword [esi + 0x328c]
add esp, 4
mov edi, eax
push edi
push ecx
mov ecx, dword [esi + 0x3378]
call fcn.005295b0
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf20
push edi
call fcn.00518750
mov ebx, dword [esi + 0x328c]
add esp, 4
add eax, ebx
mov ecx, esi
push eax
call fcn.00516ac0
push 1
push 1
push 1
mov ecx, esi
call fcn.00517320
jmp 0x523fdb
mov dword [esi + 0x3294], edi
jmp 0x523fdb
mov eax, dword [esi + 0x3294]
jmp 0x523fdd
mov dword [esi + 0x3298], edi
jmp 0x523fdb
mov eax, dword [esi + 0x3298]
jmp 0x523fdd
mov eax, dword [esi + 0x328c]
mov ecx, dword [esi + 0x3290]
cmp eax, ecx
jge 0x5222ef
mov dword [esi + 0x3294], eax
mov edx, dword [esi + 0x3290]
mov dword [esi + 0x3298], edx
jmp 0x523fdb
mov dword [esi + 0x3294], ecx
mov eax, dword [esi + 0x328c]
mov dword [esi + 0x3298], eax
jmp 0x523fdb
push edi
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
push 0
call fcn.00521b30
jmp 0x523fdd
push edi
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
push 1
call fcn.00521b30
jmp 0x523fdd
push edi
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
call fcn.0051f770
jmp 0x523fdd
mov dword [esi + 0x329c], edi
jmp 0x523fdb
mov eax, dword [esi + 0x329c]
jmp 0x523fdd
mov ecx, dword [esi + 0x32a0]
push 1
add ecx, ebp
push ecx
mov ecx, esi
call fcn.00517030
mov edx, dword [esi + 0x2d88]
mov ecx, dword [esi + 0x31d8]
imul edx, edi
add edx, ecx
mov ecx, esi
push edx
call fcn.005170b0
mov eax, 1
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
test edi, edi
setne al
push eax
add ecx, 8
call fcn.0052ca10
mov eax, 1
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052ca00
and eax, 0xff
jmp 0x523fdd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
and eax, 0xff
jmp 0x523fdd
test ebp, ebp
jl 0x523fdb
lea eax, [esp + 0x18]
push ebp
push eax
mov ecx, esi
call fcn.00515b20
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
jmp 0x523fdd
test ebp, ebp
jl 0x523fdb
lea eax, [esp + 0x20]
push ebp
push eax
mov ecx, esi
call fcn.00515b20
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 4]
jmp 0x523fdd
push ebp
push edi
mov ecx, esi
call fcn.0051f610
jmp 0x523fdd
test ebp, ebp
je 0x523fdb
mov eax, dword [ebp + 4]
cmp eax, 0xffffffff
jne 0x522455
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052c940
mov ecx, dword [ebp]
mov edx, dword [ebp + 8]
sub eax, ecx
mov edi, eax
push edi
push ecx
mov ecx, dword [esi + 0x3378]
push edx
add ecx, 8
call fcn.0052c6a0
mov eax, dword [ebp + 8]
mov byte [edi + eax], 0
mov eax, edi
jmp 0x523fdd
test edi, edi
setne cl
mov byte [esi + 0x31cd], cl
mov ecx, esi
call fcn.005166f0
jmp 0x523fdb
test edi, edi
setne dl
push ebp
push edx
mov ecx, esi
call fcn.0051b910
jmp 0x523fdd
mov eax, dword [esi + 0x2e08]
jmp 0x523fdd
mov eax, dword [esi + 0x2e0c]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x2e08], ebp
call fcn.00515740
jmp 0x523fdb
mov ecx, esi
mov dword [esi + 0x2e0c], ebp
call fcn.00515740
jmp 0x523fdb
test ebp, ebp
je 0x523fdb
push edi
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
call fcn.005168f0
mov ecx, dword [esi + 0x3378]
push eax
call fcn.005295e0
mov eax, dword [esi + 0x328c]
mov ecx, esi
add eax, edi
push eax
call fcn.00516ac0
jmp 0x523fdb
test ebp, ebp
je 0x523fdb
push edi
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
call fcn.005168f0
mov ecx, dword [esi + 0x3378]
shl eax, 1
push eax
call fcn.00528fb0
mov ecx, dword [esi + 0x328c]
shr edi, 1
add edi, ecx
mov ecx, esi
push edi
call fcn.00516ac0
jmp 0x523fdb
test ebp, ebp
je 0x523fdb
cmp edi, 0xffffffff
mov ebx, edi
jne 0x522574
mov ecx, esi
call fcn.005168f0
mov ebx, eax
mov ecx, esi
call fcn.005168f0
push ebp
mov edi, eax
call fcn.00524630
mov ecx, dword [esi + 0x3378]
add esp, 4
mov ebp, eax
push ebp
push ebx
call fcn.005295b0
cmp edi, ebx
jle 0x5225a4
push ebp
call fcn.00518750
add esp, 4
add edi, eax
push edi
mov ecx, esi
call fcn.00516ac0
jmp 0x523fdb
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052c940
push edi
push ebp
mov ebx, eax
call fcn.00524630
mov ecx, dword [esi + 0x3378]
add esp, 4
push eax
push ebx
call fcn.005295e0
jmp 0x523fdb
mov ecx, esi
call fcn.0051c860
jmp 0x523fdb
mov ecx, esi
call fcn.0051c900
jmp 0x523fdb
test edi, edi
setne cl
push ecx
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cee0
jmp 0x523fdb
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052cf00
and eax, 0xff
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf10
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052cf20
jmp 0x523fdb
mov eax, dword [esi + 0x322c]
jmp 0x523fdd
mov dword [esi + 0x322c], edi
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push 0
call fcn.0052a9d0
test ebp, ebp
je 0x523fdb
mov ecx, dword [esi + 0x3378]
push 2
push ebp
call fcn.0052aa40
jmp 0x523fdb
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052c940
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
push edi
lea ecx, [esi + 8]
call fcn.0052c660
movsx eax, al
jmp 0x523fdd
mov edx, dword [esi + 0x3290]
mov ecx, esi
push edx
push edi
call fcn.00516a00
jmp 0x523fdb
mov eax, dword [esi + 0x328c]
jmp 0x523fdd
mov eax, dword [esi + 0x328c]
push edi
push eax
mov ecx, esi
call fcn.00516a00
jmp 0x523fdb
mov eax, dword [esi + 0x3290]
jmp 0x523fdd
mov ecx, dword [esi + 0x328c]
push edi
push edi
push ecx
call fcn.00527a20
add esp, 8
mov ecx, esi
push eax
call fcn.00516a00
jmp 0x523fdb
mov edx, dword [esi + 0x328c]
mov eax, dword [esi + 0x3290]
push edx
push eax
call fcn.00527a10
add esp, 8
jmp 0x523fdd
mov ecx, dword [esi + 0x3290]
push edi
push ecx
call fcn.00527a10
add esp, 8
mov ecx, esi
push eax
push edi
call fcn.00516a00
jmp 0x523fdb
mov edx, dword [esi + 0x328c]
mov eax, dword [esi + 0x3290]
push edx
push eax
call fcn.00527a20
add esp, 8
jmp 0x523fdd
mov dword [esi + 0x31b8], edi
jmp 0x523fdb
mov eax, dword [esi + 0x31b8]
jmp 0x523fdd
mov dword [esi + 0x31bc], edi
jmp 0x523fdb
mov eax, dword [esi + 0x31bc]
jmp 0x523fdd
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052c940
cmp edi, eax
jge 0x523fdb
mov esi, dword [esi + 0x3378]
push edi
lea ecx, [esi + 8]
call fcn.0052c710
movsx eax, al
jmp 0x523fdd
mov ecx, esi
call fcn.0051cc80
jmp 0x523fdb
mov ecx, esi
call fcn.0051cc00
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
call fcn.00528630
jmp 0x523fdb
test ebp, ebp
je 0x523fdb
mov ebx, dword [ebp]
mov eax, dword [ebp + 4]
xor edi, edi
cmp ebx, eax
jge 0x52282e
mov eax, dword [esi + 0x3378]
push ebx
lea ecx, [eax + 8]
call fcn.0052c660
mov ecx, dword [ebp + 8]
push ebx
mov byte [edi + ecx], al
mov eax, dword [esi + 0x3378]
inc edi
lea ecx, [eax + 8]
call fcn.0052c710
mov edx, dword [ebp + 8]
inc edi
inc ebx
mov byte [edi + edx - 1], al
mov eax, dword [ebp + 4]
cmp ebx, eax
jl 0x5227f9
mov eax, dword [ebp + 8]
mov byte [edi + eax], 0
mov ecx, dword [ebp + 8]
mov eax, edi
mov byte [edi + ecx + 1], 0
jmp 0x523fdd
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052d000
test al, al
je 0x523fdb
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052ca00
test al, al
jne 0x523fdb
mov eax, 1
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
push edi
lea ecx, [esi + 8]
call fcn.0052cb00
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00528730
jmp 0x523fdb
mov eax, dword [esi + 0x2e50]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x2e50], edi
call fcn.005166f0
jmp 0x523fdb
push ebp
push edi
mov ecx, esi
call fcn.00515f00
jmp 0x523fdd
push ebp
push edi
mov ecx, esi
call fcn.005161b0
jmp 0x523fdd
push edi
mov ecx, esi
call fcn.0051f7f0
jmp 0x523fdb
push edi
mov ecx, esi
call fcn.00516ac0
push 1
push 1
push 1
mov ecx, esi
call fcn.00517320
mov ecx, esi
call fcn.005166f0
jmp 0x523fdb
mov edx, dword [esi + 0x328c]
mov ecx, dword [esi + 0x3378]
push edx
call fcn.00528860
mov ecx, dword [esi + 0x3378]
push eax
mov dword [esp + 0x84], eax
call fcn.005287f0
mov ecx, dword [esi + 0x3378]
mov ebx, eax
mov eax, dword [esp + 0x80]
inc eax
push eax
call fcn.005287f0
test ebp, ebp
mov dword [esp + 0x80], eax
jne 0x522954
sub eax, ebx
inc eax
jmp 0x523fdd
push ebp
call fcn.00524630
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
add esp, 4
xor ebp, ebp
cmp ebx, eax
jae 0x5229ab
mov eax, dword [esp + 0x7c]
dec edi
sub eax, ebx
mov dword [esp + 0x78], edi
mov edi, ebx
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x78]
jae 0x5229ab
mov eax, dword [esi + 0x3378]
push edi
lea ecx, [eax + 8]
call fcn.0052c660
mov ecx, dword [esp + 0x10]
inc ebp
mov byte [ecx + edi], al
mov eax, dword [esp + 0x80]
inc edi
cmp edi, eax
jb 0x522982
mov edx, dword [esp + 0x7c]
mov byte [edx + ebp], 0
mov eax, dword [esi + 0x328c]
sub eax, ebx
jmp 0x523fdd
mov eax, dword [esi + 0x3378]
mov eax, dword [eax + 0x474]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
mov eax, dword [ecx + 0x4a0]
jmp 0x523fdd
mov edx, dword [esi + 0x3378]
mov dword [edx + 0x4a0], edi
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.0052aaa0
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.0052aac0
jmp 0x523fdb
test ebp, ebp
je 0x523fdb
push ebp
call fcn.00524630
mov ecx, dword [esi + 0x3378]
add esp, 4
push eax
push edi
call fcn.0052ab80
jmp 0x523fdb
test edi, edi
setne al
mov byte [esi + 0x31d5], al
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31d5]
jmp 0x523fdd
xor eax, eax
mov al, byte [esi + 0x31d6]
jmp 0x523fdd
test edi, edi
setne cl
mov byte [esi + 0x31d6], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
test edi, edi
jbe 0x523fcb
mov edx, dword [esi + 0x3378]
mov dword [edx + 0x4a8], edi
mov eax, dword [esi + 0x3378]
mov ecx, dword [eax + 0x4ac]
test ecx, ecx
jne 0x523fcb
mov ecx, dword [eax + 0x4a8]
mov dword [eax + 0x4b0], ecx
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov edx, dword [esi + 0x3378]
mov eax, dword [edx + 0x4a8]
jmp 0x523fdd
mov eax, dword [esi + 0x3378]
mov dword [eax + 0x4ac], edi
mov eax, dword [esi + 0x3378]
mov ecx, dword [eax + 0x4ac]
test ecx, ecx
jne 0x522aee
mov ecx, dword [eax + 0x4a8]
mov dword [eax + 0x4b0], ecx
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov edx, dword [esi + 0x3378]
mov eax, dword [edx + 0x4ac]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
test edi, edi
setne al
mov byte [ecx + 0x4b4], al
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov edx, dword [esi + 0x3378]
xor eax, eax
mov al, byte [edx + 0x4b4]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.005297b0
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00529720
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005298a0
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
test edi, edi
setne al
mov byte [ecx + 0x4b5], al
jmp 0x523fdb
mov edx, dword [esi + 0x3378]
xor eax, eax
mov al, byte [edx + 0x4b5]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
test edi, edi
setne al
mov byte [ecx + 0x4b6], al
jmp 0x523fdb
mov edx, dword [esi + 0x3378]
xor eax, eax
mov al, byte [edx + 0x4b6]
jmp 0x523fdd
mov dword [esi + 0x325c], edi
mov dword [esi + 0x3260], edi
jmp 0x523fdb
mov eax, dword [esi + 0x325c]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
test ebp, ebp
setne al
push eax
push 0xffffffffffffffff
push edi
call fcn.00529c90
jmp 0x523fdd
test ebp, ebp
setne cl
push ecx
mov ecx, dword [esi + 0x3378]
push 1
push edi
call fcn.00529c90
jmp 0x523fdd
dec edi
je 0x522c33
dec edi
je 0x522c27
mov dword [esi + 0x3354], 0
jmp 0x522c3d
mov dword [esi + 0x3354], 2
jmp 0x522c3d
mov dword [esi + 0x3354], 1
mov ecx, esi
mov dword [esi + 0x31d8], 0
call fcn.00515740
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
jmp 0x523fdb
mov eax, dword [esi + 0x3354]
jmp 0x523fdd
push edi
lea ecx, [esi + 0x3200]
call fcn.00514ff0
jmp 0x523fdb
mov eax, dword [esi + 0x3204]
jmp 0x523fdd
test edi, edi
jbe 0x523fdb
cmp edi, dword [esi + 0x31e4]
je 0x523fdb
mov ecx, esi
mov dword [esi + 0x31e4], edi
call fcn.0051c1f0
jmp 0x523fdb
mov eax, dword [esi + 0x31e4]
jmp 0x523fdd
mov ecx, esi
call fcn.00517da0
jmp 0x523fdb
push edi
mov ecx, esi
call fcn.00517e90
jmp 0x523fdb
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0051c100
jmp 0x523fdd
mov eax, dword [esi + 0x2d78]
jmp 0x523fdd
xor eax, eax
test edi, edi
setne al
xor ecx, ecx
mov cl, byte [esi + 0x31e9]
cmp ecx, eax
je 0x523fdb
test edi, edi
setne dl
mov ecx, esi
mov byte [esi + 0x31e9], dl
call fcn.0051c1f0
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31e9]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005298f0
jmp 0x523fdd
xor eax, eax
test edi, edi
setne al
xor ecx, ecx
mov cl, byte [esi + 0x31e0]
cmp ecx, eax
je 0x523fdb
test edi, edi
setne dl
mov ecx, esi
mov byte [esi + 0x31e0], dl
call fcn.0051c1f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31e0]
jmp 0x523fdd
xor ecx, ecx
test edi, edi
setne cl
xor edx, edx
mov dl, byte [esi + 0x31e8]
cmp edx, ecx
je 0x523fdb
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x31e8], al
call fcn.0051c1f0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31e8]
jmp 0x523fdd
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x2e54], al
call fcn.005166f0
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x2e54]
jmp 0x523fdd
cmp dword [esi + 0x32bc], edi
jne 0x522df1
test edi, edi
jbe 0x523fdb
mov ecx, esi
mov dword [esi + 0x32bc], edi
call fcn.005166f0
jmp 0x523fdb
mov eax, dword [esi + 0x32bc]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00528800
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
mov dword [ecx + 0x4a4], edi
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov edx, dword [esi + 0x3378]
mov eax, dword [edx + 0x4a4]
jmp 0x523fdd
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x31b4], al
call fcn.00515740
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31b4]
jmp 0x523fdd
cmp edi, 0x1f
ja 0x522e7b
lea ecx, [edi + edi*2 + 0x543]
mov dword [esi + ecx*8], ebp
mov ecx, esi
call fcn.005156e0
mov ecx, esi
call fcn.00516730
jmp 0x523fdb
cmp edi, 0x1f
ja 0x522e9d
lea edx, [edi + edi*2]
mov dword [esi + edx*8 + 0x2a1c], ebp
mov ecx, esi
call fcn.005156e0
mov ecx, esi
call fcn.00516730
jmp 0x523fdb
cmp edi, 0x1f
ja 0x522ebf
lea eax, [edi + edi*2]
mov dword [esi + eax*8 + 0x2a24], ebp
mov ecx, esi
call fcn.005156e0
mov ecx, esi
call fcn.00516730
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.00528650
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.005286c0
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00528790
jmp 0x523fdb
mov esi, dword [esi + 0x3378]
push edi
lea ecx, [esi + 8]
call fcn.0052caa0
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
call fcn.0052a900
mov ebx, eax
cmp edi, ebx
jge 0x522220
mov eax, dword [esi + 0x3378]
push edi
lea ecx, [eax + 8]
call fcn.0052caa0
test ebp, eax
jne 0x5233cc
inc edi
cmp edi, ebx
jl 0x522f30
or eax, 0xffffffff
jmp 0x523fdd
test edi, edi
jl 0x522220
mov eax, dword [esi + 0x3378]
push edi
lea ecx, [eax + 8]
call fcn.0052caa0
test ebp, eax
jne 0x5233cc
dec edi
jns 0x522f5c
or eax, 0xffffffff
jmp 0x523fdd
cmp edi, 0x1f
ja 0x522f9c
push ebp
call fcn.00524630
add esp, 4
lea ecx, [edi + edi*2 + 0x543]
push eax
lea ecx, [esi + ecx*8]
call fcn.0056ec00
mov ecx, esi
call fcn.005156e0
mov ecx, esi
call fcn.00516730
jmp 0x523fdb
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
test ebp, ebp
sete dl
shl edi, 4
mov ecx, esi
mov byte [edi + esi + 0x2e18], dl
call fcn.00515740
jmp 0x523fdb
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
shl edi, 4
xor eax, eax
mov cl, byte [edi + esi + 0x2e18]
test cl, cl
sete al
jmp 0x523fdd
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
shl edi, 4
mov ecx, dword [edi + esi + 0x2e1c]
lea eax, [edi + esi + 0x2e1c]
cmp ecx, ebp
je 0x523fdb
mov ecx, esi
mov dword [eax], ebp
call fcn.00515740
jmp 0x523fdb
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
shl edi, 4
mov eax, dword [edi + esi + 0x2e1c]
jmp 0x523fdd
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
add edi, 0x2e2
mov ecx, esi
shl edi, 4
mov dword [edi + esi], ebp
call fcn.00515740
jmp 0x523fdb
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
add edi, 0x2e2
shl edi, 4
mov eax, dword [edi + esi]
jmp 0x523fdd
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
test ebp, ebp
setne al
shl edi, 4
mov ecx, esi
mov byte [edi + esi + 0x2e24], al
call fcn.00515740
jmp 0x523fdb
push edi
call fcn.00524620
add esp, 4
test al, al
je 0x523fdb
shl edi, 4
xor eax, eax
mov cl, byte [edi + esi + 0x2e24]
test cl, cl
setne al
jmp 0x523fdd
lea ecx, [esi + 0x14]
call fcn.0056eb30
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
lea ecx, [edi + edi*4]
shl ecx, 4
mov dword [ecx + esi + 0x218], ebp
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
lea edx, [edi + edi*4]
mov ecx, esi
shl edx, 4
mov dword [edx + esi + 0x220], ebp
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea ecx, [edi + edi*4]
setne al
shl ecx, 4
mov byte [ecx + esi + 0x229], al
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea eax, [edi + edi*4]
mov ecx, esi
setne dl
shl eax, 4
mov byte [eax + esi + 0x22a], dl
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea edx, [edi + edi*4]
setne cl
shl edx, 4
mov byte [edx + esi + 0x238], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
lea eax, [edi + edi*4]
mov ecx, esi
shl eax, 4
mov dword [eax + esi + 0x22c], ebp
call fcn.00515740
jmp 0x523fdb
test ebp, ebp
je 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
push ebp
call fcn.00524630
add esp, 4
lea ecx, [esi + 0x14]
push eax
push edi
call fcn.0056eb80
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea edx, [edi + edi*4]
setne cl
shl edx, 4
mov byte [edx + esi + 0x239], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
lea eax, [edi + edi*4]
mov ecx, esi
shl eax, 4
mov dword [eax + esi + 0x23c], ebp
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
lea ecx, [edi + edi*4]
shl ecx, 4
mov dword [ecx + esi + 0x234], ebp
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea eax, [edi + edi*4]
mov ecx, esi
setne dl
shl eax, 4
mov byte [eax + esi + 0x240], dl
call fcn.00515740
jmp 0x523fdb
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea edx, [edi + edi*4]
setne cl
shl edx, 4
mov byte [edx + esi + 0x241], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
lea ecx, [esi + 0x14]
call fcn.0056eaf0
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push edi
call fcn.0052aa70
jmp 0x523fdb
mov eax, dword [esi + 0x3378]
mov eax, dword [eax + 0x498]
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
push ebp
push edi
lea ecx, [esi + 8]
call fcn.0052d0d0
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
push edi
lea ecx, [esi + 8]
call fcn.0052d220
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
lea ecx, [esi + 8]
call fcn.0052d2f0
jmp 0x523fdd
xor eax, eax
mov al, byte [esi + 0x2e60]
jmp 0x523fdd
test edi, edi
setne cl
mov byte [esi + 0x2e60], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x2e64]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x2e64], edi
call fcn.00515740
jmp 0x523fdb
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d480
jmp 0x523fdd
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d4c0
jmp 0x523fdd
push edi
mov ecx, esi
call fcn.00521c30
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.00528900
mov edi, eax
cmp edi, ebp
je 0x5233cc
mov ecx, esi
call fcn.00516730
mov eax, edi
jmp 0x523fdd
mov esi, dword [esi + 0x3378]
push edi
lea ecx, [esi + 8]
call fcn.0052d340
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.00528980
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00528a60
jmp 0x523fdd
push 1
push ebp
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d860
mov ecx, esi
call fcn.0051c1f0
mov ecx, esi
call fcn.005166f0
jmp 0x523fdb
push 0
push ebp
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d860
mov ecx, esi
call fcn.0051c1f0
mov ecx, esi
call fcn.005166f0
jmp 0x523fdb
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d830
and eax, 0xff
jmp 0x523fdd
test ebp, ebp
setne dl
push edx
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d930
test al, al
je 0x523fdb
mov ecx, esi
call fcn.00516730
jmp 0x523fdb
push edi
lea ecx, [esi + 0x332c]
call fcn.0056d900
and eax, 0xff
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x3328], edi
call fcn.005166f0
jmp 0x523fdb
push edi
mov ecx, esi
call fcn.00521830
jmp 0x523fdb
push 0
push edi
mov ecx, esi
call fcn.00521960
jmp 0x523fdb
push 1
push edi
mov ecx, esi
call fcn.00521960
jmp 0x523fdb
test edi, edi
setne al
mov byte [esi + 0x2d8c], al
mov ecx, esi
mov dword [esi + 0x2d90], ebp
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne cl
mov byte [esi + 0x2d98], cl
mov ecx, esi
mov dword [esi + 0x2d9c], ebp
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne dl
mov ecx, esi
mov byte [esi + 0x2dac], dl
mov dword [esi + 0x2db0], ebp
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x2db8], al
mov dword [esi + 0x2dbc], ebp
call fcn.00515740
jmp 0x523fdb
mov ecx, esi
mov dword [esi + 0x2e58], edi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x2e58]
jmp 0x523fdd
test edi, edi
ja 0x523588
mov ecx, esi
mov dword [esi + 0x2e78], 0
call fcn.00515740
jmp 0x523fdb
mov ecx, 3
cmp edi, ecx
jb 0x5235a3
mov dword [esi + 0x2e78], ecx
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov ecx, esi
mov dword [esi + 0x2e78], edi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x2e78]
jmp 0x523fdd
push ebp
jmp 0x5235c8
push 0x87c
mov ecx, edi
sar ecx, 0x10
movsx edx, cx
movsx eax, di
push edx
push eax
lea ecx, [esi + 0x321c]
call fcn.0056dac0
jmp 0x523fdb
lea ecx, [esi + 0x321c]
call fcn.0056daa0
jmp 0x523fdb
cmp edi, 7
ja 0x523fdb
lea ecx, [edi + edi*2 + 0xb46]
mov dword [esi + ecx*4], ebp
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
cmp edi, 7
ja 0x523fdb
lea edx, [edi + edi*2 + 0xb46]
mov eax, dword [esi + edx*4]
jmp 0x523fdd
cmp edi, 7
ja 0x523fdb
lea eax, [edi + edi*2]
mov ecx, esi
mov dword [esi + eax*4 + 0x2d1c], ebp
call fcn.00515740
jmp 0x523fdb
cmp edi, 7
ja 0x523fdb
lea ecx, [edi + edi*2]
mov eax, dword [esi + ecx*4 + 0x2d1c]
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push edi
call fcn.00529a50
mov edx, dword [esi + 0x3290]
mov eax, dword [esi + 0x328c]
push edx
push eax
mov ecx, esi
call fcn.00516a00
mov ecx, esi
call fcn.005166f0
jmp 0x523fdb
test edi, edi
setne cl
mov byte [esi + 0x31ce], cl
jmp 0x523fdb
mov cl, byte [esi + 0x31ce]
xor eax, eax
test cl, cl
setne al
jmp 0x523fdd
test edi, edi
setne dl
mov ecx, esi
mov byte [esi + 0x2dd4], dl
mov dword [esi + 0x2dd8], ebp
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x2de0], al
mov dword [esi + 0x2de4], ebp
call fcn.00515740
jmp 0x523fdb
cmp ebx, 0xbb9
ja 0x523fa0
je 0x523f97
lea eax, [ebx - 0x92e]
cmp eax, 0x73
ja case.0x523715.2423
xor ecx, ecx
mov cl, byte [eax + 0x5245a8]
jmp dword [ecx*4 + 0x524480]
push ebp
push edi
mov ecx, esi
call fcn.0051fbd0
jmp 0x523fdb
push ebp
call fcn.00524630
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0051fcd0
jmp 0x523fdb
test edi, edi
jl 0x523fdb
mov eax, dword [esi + 0x3378]
lea ecx, [eax + 8]
call fcn.0052c940
mov ecx, dword [esi + 0x3378]
push eax
call fcn.00528860
cmp edi, eax
jg 0x523fdb
mov ecx, dword [esi + 0x3378]
lea edx, [edi + 1]
push edx
call fcn.005287f0
mov ecx, dword [esi + 0x3378]
push edi
mov ebx, eax
call fcn.005287f0
sub ebx, eax
mov eax, ebx
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push 1
dec edi
push 0xffffffffffffffff
push edi
call fcn.00528c50
jmp 0x523fdd
mov ecx, dword [esi + 0x3378]
push 1
inc edi
push 1
push edi
call fcn.00528c50
jmp 0x523fdd
mov dword [esi + 0x31d8], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, esi
call fcn.005166f0
jmp 0x523fdb
mov eax, dword [esi + 0x31d8]
jmp 0x523fdd
test ebp, ebp
je 0x523fdb
mov ecx, dword [esi + 0x3378]
push 0
push ebp
call fcn.0052aa40
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push 1
call fcn.0052a9d0
jmp 0x523fdb
lea ecx, [edi + edi]
push ecx
mov ecx, dword [esi + 0x3378]
add ecx, 8
call fcn.0052c950
jmp 0x523fdb
xor edx, edx
cmp edi, 1
sete dl
mov dword [esi + 0x31c0], edx
jmp 0x523fdb
mov eax, dword [esi + 0x31c0]
jmp 0x523fdd
mov dword [esi + 0x3368], edi
mov eax, dword [esi + 0x3370]
mov dword [esi + 0x3374], eax
mov cl, byte [esi + 0x3368]
test cl, 2
je 0x52386e
test eax, eax
jne 0x52386e
mov dword [esi + 0x3374], 1
mov ecx, esi
call fcn.00515740
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
jmp 0x523fdb
mov eax, dword [esi + 0x3368]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x336c], edi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x336c]
jmp 0x523fdd
mov dword [esi + 0x3370], edi
mov dword [esi + 0x3374], edi
test byte [esi + 0x3368], 2
je 0x5238cc
test edi, edi
jne 0x5238cc
mov dword [esi + 0x3374], 1
mov ecx, esi
call fcn.00515740
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
jmp 0x523fdb
mov eax, dword [esi + 0x3370]
jmp 0x523fdd
xor eax, eax
test edi, edi
setne al
xor ecx, ecx
mov cl, byte [esi + 0x31ea]
cmp ecx, eax
je 0x523fdb
test edi, edi
setne dl
mov byte [esi + 0x31ea], dl
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31ea]
jmp 0x523fdd
mov al, byte [esi + 0x31ea]
test al, al
sete al
mov byte [esi + 0x31ea], al
jmp 0x523fdb
mov ecx, dword [esi + 0x3378]
push ebp
push edi
call fcn.00529970
jmp 0x523fdd
cmp edi, 0x7f
ja 0x523fdb
test ebp, ebp
lea edx, [edi + edi*4]
setne cl
shl edx, 4
mov byte [edx + esi + 0x242], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov ecx, esi
call fcn.0051f690
jmp 0x523fdb
push ebp
push edi
push ebx
mov ecx, esi
call fcn.0051f6a0
jmp 0x523fdd
mov dword [esi + 0x3310], edi
mov dword [esi + 0x3308], edi
mov dword [esi + 0x3314], ebp
mov dword [esi + 0x330c], ebp
jmp 0x523fdb
mov dword [esi + 0x3308], edi
mov dword [esi + 0x330c], ebp
jmp 0x523fdb
mov dword [esi + 0x3310], edi
mov dword [esi + 0x3314], ebp
jmp 0x523fdb
mov dword [esi + 0x3318], edi
mov dword [esi + 0x331c], ebp
jmp 0x523fdb
mov ecx, esi
call fcn.00515900
jmp 0x523fdd
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x70]
jmp 0x523fdd
push 0x22
push ebp
push edi
mov ecx, esi
call fcn.005215e0
jmp 0x523fdb
push 0x23
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.005215e0
jmp 0x523fdb
push ebp
push edi
mov ecx, esi
call fcn.005214d0
jmp 0x523fdd
xor eax, eax
mov al, byte [esi + 0x2e55]
jmp 0x523fdd
test edi, edi
setne cl
mov byte [esi + 0x2e55], cl
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov ecx, esi
mov dword [esi + 0x2e4c], edi
call fcn.00515740
mov ecx, esi
call fcn.0051d420
jmp 0x523fdb
mov eax, dword [esi + 0x2e4c]
jmp 0x523fdd
mov eax, dword [esi + 0x32c0]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x32c0], edi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x2e74]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x2e74], edi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x2e6c]
jmp 0x523fdd
mov ecx, esi
mov dword [esi + 0x2e6c], edi
call fcn.00515740
jmp 0x523fdb
mov eax, dword [esi + 0x3378]
jmp 0x523fdd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x6c]
push ebp
mov ecx, esi
call fcn.00521680
jmp 0x523fdb
push 0x4b8
call fcn.005a3975
add esp, 4
mov dword [esp + 0x80], eax
test eax, eax
mov dword [esp + 0x70], 2
je 0x523b09
mov ecx, eax
call fcn.00528430
mov esi, eax
jmp 0x523b0b
xor esi, esi
test esi, esi
mov dword [esp + 0x70], 0xffffffff
je 0x523b1e
mov ecx, esi
call fcn.00528600
mov eax, esi
jmp 0x523fdd
mov ecx, ebp
call fcn.00528600
jmp 0x523fdd
mov ecx, ebp
call fcn.00528610
jmp 0x523fdd
mov dword [esi + 0x32dc], edi
jmp 0x523fdb
mov eax, dword [esi + 0x32dc]
jmp 0x523fdd
mov dword [esi + 0x32a8], edi
jmp 0x523fdb
mov ecx, dword [esi + 0x32f4]
xor eax, eax
cmp ecx, 2
sete al
jmp 0x523fdd
sub edi, 0
je 0x523b7c
dec edi
je 0x523bcd
dec edi
je 0x523b93
mov al, byte [esi + 0x32f8]
test al, al
je 0x523bfb
cmp dword [esi + 0x32f4], 1
jne 0x523bfb
xor eax, eax
jmp 0x523c00
mov al, byte [esi + 0x32f8]
mov ecx, 3
test al, al
je 0x523bba
cmp dword [esi + 0x32f4], ecx
jne 0x523bba
xor eax, eax
mov dword [esi + 0x32f4], ecx
mov byte [esi + 0x32f8], al
jmp 0x523c10
mov eax, 1
mov dword [esi + 0x32f4], ecx
mov byte [esi + 0x32f8], al
jmp 0x523c10
mov al, byte [esi + 0x32f8]
test al, al
je 0x523be4
cmp dword [esi + 0x32f4], 2
jne 0x523be4
xor eax, eax
jmp 0x523be9
mov eax, 1
mov byte [esi + 0x32f8], al
mov dword [esi + 0x32f4], 2
jmp 0x523c10
mov eax, 1
mov byte [esi + 0x32f8], al
mov dword [esi + 0x32f4], 1
mov eax, dword [esi + 0x3290]
mov ecx, dword [esi + 0x328c]
push eax
push ecx
mov ecx, esi
call fcn.005169a0
mov esi, dword [esi + 0x32f4]
dec esi
je 0x523fdb
dec esi
je 0x522870
dec esi
jne 0x523fdb
mov eax, 2
jmp 0x523fdd
xor eax, eax
mov ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], esi
mov byte [esp + 0x44], 1
call fcn.00516920
mov ebx, eax
mov ecx, esi
mov dword [esp + 0x48], ebx
call fcn.00516940
mov ecx, dword [esi + 0x3378]
mov ebp, eax
push ebx
mov dword [esp + 0x50], ebp
call fcn.00528860
mov ecx, dword [esi + 0x3378]
mov ebx, eax
push ebp
mov dword [esp + 0x5c], ebx
call fcn.00528860
mov edx, dword [esi + 0x3300]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x32fc]
push edx
push eax
call fcn.00527a10
mov ecx, dword [esi + 0x3300]
mov edx, dword [esi + 0x32fc]
mov ebp, eax
push ecx
push edx
mov dword [esp + 0x60], ebp
call fcn.00527a20
add esp, 0x10
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ebx
mov ecx, 3
cmp edi, ebx
mov dword [esp + 0x70], ecx
jl 0x523d7b
cmp edi, dword [esp + 0x5c]
jg 0x523d7b
mov eax, dword [esi + 0x32f4]
cmp eax, 2
jne 0x523d19
push ebp
push edi
mov ecx, esi
call fcn.00516460
mov ebx, eax
mov eax, dword [esp + 0x54]
push eax
push edi
mov ecx, esi
mov dword [esp + 0x68], ebx
call fcn.00516460
mov eax, ebx
jmp 0x523fdd
cmp eax, ecx
jne 0x523d43
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005287f0
mov ecx, dword [esi + 0x3378]
inc edi
mov ebx, eax
push edi
mov dword [esp + 0x64], ebx
call fcn.005287f0
mov eax, ebx
jmp 0x523fdd
cmp edi, ebx
jne 0x523d4d
mov ebx, dword [esp + 0x48]
jmp 0x523d5b
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005287f0
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp edi, eax
je 0x523d7e
mov ecx, dword [esi + 0x3378]
inc edi
push edi
call fcn.005287f0
mov eax, ebx
jmp 0x523fdd
or ebx, 0xffffffff
mov eax, ebx
jmp 0x523fdd
xor eax, eax
mov ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], esi
mov byte [esp + 0x44], 1
call fcn.00516920
mov ebp, eax
mov ecx, esi
mov dword [esp + 0x48], ebp
call fcn.00516940
mov ecx, dword [esi + 0x3378]
push ebp
mov dword [esp + 0x50], eax
call fcn.00528860
mov ecx, dword [esp + 0x4c]
mov ebx, eax
push ecx
mov ecx, dword [esi + 0x3378]
mov dword [esp + 0x5c], ebx
call fcn.00528860
mov edx, dword [esi + 0x3300]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x32fc]
push edx
push eax
call fcn.00527a10
mov ecx, dword [esi + 0x3300]
mov edx, dword [esi + 0x32fc]
push ecx
push edx
mov dword [esp + 0x60], eax
call fcn.00527a20
add esp, 0x10
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ebx
cmp edi, ebx
mov dword [esp + 0x70], 4
jl 0x522220
cmp edi, dword [esp + 0x5c]
jg 0x522220
mov eax, dword [esi + 0x32f4]
cmp eax, 2
jne 0x523e53
mov eax, dword [esp + 0x50]
mov ecx, esi
push eax
push edi
call fcn.00516460
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x60], eax
push ecx
push edi
mov ecx, esi
call fcn.00516460
jmp 0x523fdd
cmp eax, 3
jne 0x523e7a
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005287f0
mov dword [esp + 0x60], eax
inc edi
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005287f0
jmp 0x523fdd
cmp edi, ebx
jne 0x523e84
mov dword [esp + 0x60], ebp
jmp 0x523e94
mov ecx, dword [esi + 0x3378]
push edi
call fcn.005287f0
mov dword [esp + 0x60], eax
cmp edi, dword [esp + 0x5c]
jne 0x523e68
mov eax, dword [esp + 0x4c]
jmp 0x523fdd
test edi, edi
setne dl
push edx
mov ecx, esi
call fcn.005211f0
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31cc]
jmp 0x523fdd
mov dword [esi + 0x31d0], edi
jmp 0x523fdb
mov eax, dword [esi + 0x31d0]
jmp 0x523fdd
test edi, edi
setne al
mov byte [esi + 0x31d4], al
jmp 0x523fdb
xor eax, eax
mov al, byte [esi + 0x31d4]
jmp 0x523fdd
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esi + 0x31c4], edi
call dword [edx + 0x7c]
jmp 0x523fdb
mov eax, dword [esi + 0x31c4]
jmp 0x523fdd
mov dword [esi + 0x31c8], edi
jmp 0x523fdb
mov eax, dword [esi + 0x31c8]
jmp 0x523fdd
push 1
mov ecx, esi
call fcn.00517120
jmp 0x523fdb
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x2dec], al
mov dword [esi + 0x2df0], ebp
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne cl
mov byte [esi + 0x2df8], cl
mov ecx, esi
mov dword [esi + 0x2dfc], ebp
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne dl
mov ecx, esi
mov byte [esi + 0x2e04], dl
call fcn.00515740
jmp 0x523fdb
test edi, edi
setne al
mov ecx, esi
mov byte [esi + 0x2e05], al
call fcn.00515740
jmp 0x523fdb
mov byte [esi + 0x3324], 1
jmp 0x523fdb
cmp ebx, 0xbba
je 0x523fd4
cmp ebx, 0x1a0a
je 0x523fbf
mov edx, dword [esi]
push ebp
push edi
push ebx
mov ecx, esi
call dword [edx + 0x98]
jmp 0x523fdd
mov dword [esi + 0x2e80], edi
mov dword [esi + 0x2e84], ebp
mov ecx, esi
call fcn.00515740
jmp 0x523fdb
mov byte [esi + 0x3324], 0
xor eax, eax
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc