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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd4], eax
xor eax, eax
mov ebx, dword [esi]
push edi
xor edi, edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x90], eax
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x88], ebx
cmp dword [esi + 0x24], eax
jne 0x53b25f
cmp byte [ebx + 0x51], al
jne 0x53b25f
push ecx
push esi
call fcn.005379b0
mov ebx, eax
add esp, 8
mov dword [ebp - 0x70], ebx
test ebx, ebx
je 0x53b259
push dword [ebx + 0x48]
push dword [esi]
call fcn.00534090
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x78]
push 0x7f
push ebx
push esi
call fcn.00538ca0
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0xc]
push ebx
push esi
mov dword [ebp - 0xfc], eax
call fcn.00548210
add esp, 0x24
test eax, eax
jne 0x53b259
push dword [ebp - 0x114]
push ebx
push esi
call fcn.00529fa0
add esp, 0xc
test eax, eax
jne 0x53b259
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xf8], ecx
lea edx, [ecx + 1]
mov dword [esi + 0x28], edx
test byte [ebx + 0x24], 0x80
mov dword [ebp - 0xe0], edx
jne 0x5393e9
mov dword [ebp - 0x98], edi
jmp 0x5393fb
push ebx
call fcn.00531a00
mov ecx, dword [ebp - 0x74]
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0xf4], edi
test eax, eax
je 0x53942e
nop word [eax + eax]
cmp dword [ebp - 0x98], eax
cmove ecx, edx
inc edx
mov dword [esi + 0x28], edx
inc edi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x539410
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x539450
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x74], ecx
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xd8]
push 0
mov dword [eax + 0x34], ecx
movsx eax, word [ebx + 0x2a]
add eax, edi
lea eax, [eax*4 + 6]
add eax, edi
push eax
push dword [ebp - 0x88]
call fcn.0051ba10
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x7c], edi
test edi, edi
je 0x53b259
movsx eax, word [ebx + 0x2a]
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xd0], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [ebp - 0xc4], ecx
call fcn.00607c70
mov eax, dword [ebp - 0xf4]
add esp, 0xc
mov ecx, dword [ebp - 0xc4]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [ebx + 0x2a]
jge 0x5394e0
nop dword [eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x5394d0
mov eax, dword [ebp - 0xd8]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xd4]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0x200
test eax, eax
jne 0x539536
cmp dword [esi + 0x74], eax
jne 0x539522
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x539522
mov byte [esi + 0x17], 1
push esi
call fcn.0053ca40
add esp, 4
mov dword [ebp - 0x68], eax
test eax, eax
je 0x53b259
mov ecx, dword [ebp - 0x78]
xor ebx, ebx
xor al, al
mov byte [ebp - 0x81], 0
mov byte [ebp - 0x69], al
mov dword [ebp - 0xb8], ebx
cmp dword [ecx], ebx
jle 0x53974d
lea esi, [ecx + 4]
mov dword [ebp - 0x8c], esi
nop
push dword [esi]
lea eax, [ebp - 0x60]
push eax
call fcn.005328b0
add esp, 8
test eax, eax
jne 0x53b256
mov edx, dword [ebp - 0x70]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x53960e
mov eax, dword [edx + 4]
mov ebx, eax
mov dword [ebp - 0xec], eax
mov esi, dword [esi + 4]
mov edx, dword [ebx]
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x5395de
test ecx, ecx
jne 0x5395f0
mov edx, dword [ebp - 0x70]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x539680
mov esi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0xb8]
mov byte [ebp - 0x69], 1
mov eax, dword [esi]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + edi*4], ebx
jmp 0x53960e
movzx eax, byte [eax + 0x6e6550]
movzx ecx, byte [ecx + 0x6e6550]
sub ecx, eax
jne 0x5395f3
inc edx
jmp 0x5395a0
mov edx, dword [ebp - 0x70]
inc edi
mov esi, dword [ebp - 0x8c]
add ebx, 0x14
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x539592
mov ebx, dword [ebp - 0xb8]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x5396dc
cmp dword [ebp - 0x98], 0
jne 0x539844
mov esi, dword [esi + 4]
push str._ROWID_
push esi
call fcn.00538260
add esp, 8
test eax, eax
je 0x539664
push str.ROWID
push esi
call fcn.00538260
add esp, 8
test eax, eax
je 0x539664
push 0x6ecc7c
push esi
call fcn.00538260
add esp, 8
test eax, eax
jne 0x539844
mov esi, dword [ebp - 0x8c]
or edi, 0xffffffff
mov byte [ebp - 0x69], 1
mov edx, str.ROWID
mov eax, dword [esi]
mov dword [ebp - 0x100], eax
jmp 0x5396f0
cmp dword [ebp - 0x98], 0
mov ecx, dword [ebp - 0xec]
je 0x5396b7
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x5396b7
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0x8c]
mov byte [ebp - 0x81], 1
mov dword [eax + edi*4], ebx
jmp 0x53960e
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x539826
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0x8c]
mov dword [eax + edi*4], ebx
jmp 0x53960e
test edi, edi
jns 0x5396e7
mov edx, str.ROWID
jmp 0x5396f0
mov eax, dword [edx + 4]
lea ecx, [edi + edi*4]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xa0]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov eax, dword [ebp - 0x70]
push edx
push dword [eax]
push 0x17
push dword [ebp - 0x64]
call fcn.00513dc0
add esp, 0x14
cmp eax, 1
je 0x53b256
cmp eax, 2
jne 0x53972f
mov eax, dword [ebp - 0x7c]
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [ebp - 0x78]
inc ebx
add esi, 0x14
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0x8c], esi
cmp ebx, dword [ecx]
jl 0x539560
mov al, byte [ebp - 0x69]
mov edx, dword [ebp - 0x70]
mov bl, byte [ebp - 0x81]
add bl, al
mov byte [ebp - 0xc8], bl
test byte [edx + 0x24], 0x60
je 0x539818
xor eax, eax
xor ebx, ebx
xor esi, esi
cmp ax, word [edx + 0x2a]
jge 0x539812
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + esi*4], 0
jge 0x5397fa
mov eax, dword [edx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x5397fa
mov ecx, dword [eax + edi + 4]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0xc], 0
movq qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x70]
mov word [ebp - 0x10], ax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x20], 0x4f26b0
test ecx, ecx
je 0x5397d8
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0055a5f0
mov ax, word [ebp - 0x10]
add esp, 8
mov edx, dword [ebp - 0x70]
cmp byte [ebp - 0x69], 0
jne 0x5397e6
mov ecx, 0xfffd
and ax, cx
test ax, ax
je 0x5397fa
mov eax, dword [ebp - 0x7c]
mov ebx, 1
mov dword [eax + esi*4], 0x1869f
movsx eax, word [edx + 0x2a]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x539780
test ebx, ebx
jne 0x539768
mov bl, byte [ebp - 0xc8]
cmp dword [edx + 0x38], 0
je 0x539871
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x539888
mov eax, dword [edx + 4]
lea ecx, [edi + edi*4]
push dword [eax + ecx*4]
push str.cannot_UPDATE_generated_column___s_
push dword [ebp - 0x64]
call fcn.0051d890
add esp, 0xc
jmp 0x53b256
mov esi, dword [ebp - 0x78]
lea eax, [ebx + ebx*4]
mov ebx, dword [ebp - 0x64]
push dword [esi + eax*4 + 8]
push str.no_such_column:__s
push ebx
call fcn.0051d890
mov edi, dword [ebp - 0x7c]
add esp, 0xc
mov byte [ebx + 0x11], 1
mov ebx, dword [ebp - 0x88]
jmp 0x53b262
xorps xmm0, xmm0
movlpd qword [ebp - 0xf0], xmm0
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xd8]
mov dword [esi + 0x40], eax
movzx eax, bl
push eax
push dword [ebp - 0x7c]
mov dword [esi + 0x44], ecx
push edx
push dword [ebp - 0x64]
mov dword [ebp - 0x10c], eax
call fcn.00524890
mov edi, eax
add esp, 0x10
cmp dword [ebp + 0x18], 5
mov ecx, 1
mov eax, dword [ebp - 8]
cmove eax, ecx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc0], ebx
mov esi, dword [eax + 8]
test esi, esi
je 0x539a79
nop dword [eax]
cmp byte [ebp - 0xc8], 0
jne 0x539a37
cmp edi, 1
jg 0x539a37
cmp esi, dword [ebp - 0x98]
je 0x539a37
mov eax, dword [esi + 0x24]
test eax, eax
je 0x53995e
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
xor ecx, ecx
movq qword [ebp - 0x14], xmm0
push eax
lea eax, [ebp - 0x24]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x7c]
movups xmmword [ebp - 0x24], xmm0
push eax
mov dword [ebp - 0x20], 0x4f26b0
mov dword [ebp - 0xc], ecx
call fcn.0055a5f0
mov cx, word [ebp - 0x10]
add esp, 8
cmp byte [ebp - 0x69], 0
jne 0x53994e
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x539a37
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0xec], ecx
cmp ax, word [esi + 0x32]
jae 0x539a4d
xor ebx, ebx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x539990
mov ecx, dword [ebp - 0x7c]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x5399e8
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x7c]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x28], 0
mov eax, dword [eax + ebx + 4]
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x3c], 0x4f26b0
mov dword [ebp - 0x28], edx
test eax, eax
je 0x5399d2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0055a5f0
mov cx, word [ebp - 0x2c]
add esp, 8
cmp byte [ebp - 0x69], 0
jne 0x5399e0
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x539a0a
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x539976
mov ecx, dword [ebp - 0xec]
mov ebx, dword [ebp - 0xc0]
jmp 0x539a4d
mov edx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0xc0]
inc dword [edx + 0x2c]
movzx eax, word [esi + 0x34]
mov ecx, dword [edx + 0x2c]
add eax, ecx
cmp dword [ebp + 0x18], 0xb
mov dword [edx + 0x2c], eax
jne 0x539a49
cmp byte [esi + 0x36], 5
jne 0x539a49
mov dword [ebp - 8], 1
jmp 0x539a49
mov edx, dword [ebp - 0x64]
inc dword [edx + 0x2c]
movzx eax, word [esi + 0x34]
mov ecx, dword [edx + 0x2c]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x539a58
mov eax, dword [ebp - 0xc4]
mov byte [ebx + eax + 1], 0
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x8c]
mov dword [eax + ebx*4], ecx
inc ebx
mov esi, dword [esi + 0x14]
mov dword [ebp - 0xc0], ebx
test esi, esi
jne 0x5398e0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xd0]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [edx + ebx*4], eax
cmp dword [ebp - 8], 0
je 0x539aac
mov eax, dword [ebp - 0xf4]
inc eax
push eax
push 1
push dword [ebp - 0xc4]
call fcn.00607c70
mov ecx, dword [ebp - 0x64]
add esp, 0xc
cmp byte [ecx + 0x12], 0
jne 0x539abc
mov eax, dword [ebp - 0x68]
or dword [eax + 0x98], 0x20
cmp dword [ebp - 0x94], 0
jne 0x539acd
test edi, edi
jne 0x539acd
xor ebx, ebx
jmp 0x539ad2
mov ebx, 1
mov eax, dword [ecx + 0x74]
mov edx, ecx
test eax, eax
mov esi, ecx
mov ecx, dword [ebp - 0xa0]
cmovne edx, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x54]
test edi, eax
jne 0x539b0f
bts edi, ecx
mov dword [edx + 0x54], edi
cmp ecx, 1
jne 0x539b0f
push edx
call fcn.0052c2c0
mov ecx, dword [ebp - 0xa0]
add esp, 4
mov eax, dword [esi + 0x50]
or byte [esi + 0x14], bl
bts eax, ecx
mov ebx, dword [ebp - 0x64]
mov dword [esi + 0x50], eax
mov esi, dword [ebp - 0x70]
cmp dword [esi + 0x38], 0
jne 0x539bb2
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xc0]
mov eax, dword [ecx + eax*4]
inc dword [ebx + 0x2c]
cmp byte [ebp - 0x81], 0
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x80], edx
jne 0x539b6c
test ecx, ecx
jne 0x539b6c
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x539b84
lea eax, [edx + 1]
mov dword [ebp - 0x110], eax
movsx eax, word [esi + 0x2a]
add eax, edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x8c]
cmp byte [ebp - 0xc8], 0
jne 0x539b95
test ecx, ecx
jne 0x539b95
test eax, eax
je 0x539ba1
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [ebp - 0xdc], eax
movsx eax, word [esi + 0x2a]
add dword [ebx + 0x2c], eax
mov ecx, dword [ebp - 0xfc]
mov edi, dword [ebp - 0xe4]
test ecx, ecx
je 0x539bf6
push dword [ebp - 0x74]
mov eax, dword [ebx + 0xf0]
push dword [ebp - 0xe8]
mov dword [ebp - 0x124], eax
push dword [ebp - 0xbc]
mov eax, dword [esi]
push edi
push esi
push ebx
mov dword [ebp - 0x120], ebx
mov dword [ebx + 0xf0], eax
call fcn.0052b7d0
add esp, 0x18
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.005328b0
add esp, 8
test eax, eax
jne 0x53b256
cmp dword [esi + 0x38], eax
je 0x539c36
push dword [ebp + 0x18]
push edi
mov edi, dword [ebp - 0x7c]
push edi
push dword [ebp - 0x100]
push dword [ebp - 0x78]
push esi
push dword [ebp - 0xd8]
push ebx
call fcn.00553600
add esp, 0x20
jmp 0x53b259
mov eax, dword [ebp - 0x88]
dec dword [ebx + 0x38]
mov edi, dword [ebx + 0x38]
mov dword [ebp - 0xa0], edi
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
mov dword [ebp - 0xac], edi
or eax, ecx
je 0x539ccf
cmp dword [ebx + 0x78], 0
jne 0x539ccf
cmp byte [ebx + 0x12], 0
jne 0x539ccf
cmp dword [ebp - 0xd4], 0
jne 0x539ccf
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x11c], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x539c98
push 0
push edx
push 0
push 0x45
push ebx
call fcn.00500b30
add esp, 0x14
jmp 0x539cd2
mov edi, dword [ebp - 0xa0]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x539cd2
mov ebx, dword [ebp - 0x68]
test byte [esi + 0x24], 0x80
jne 0x539dbe
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x539cfc
push dword [ebp - 0x80]
push dword [ebp - 0x9c]
push 0
push 0x48
push ebx
call fcn.00500b30
add esp, 0x14
jmp 0x539d30
mov edx, dword [ebp - 0x9c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp - 0xd4], 0
je 0x539ef6
mov ecx, dword [ebp - 0x64]
push 0x10
push edi
push dword [ebp - 0xe4]
mov esi, 1
mov dword [ebp - 0xec], 0
push ecx
mov dword [ebp - 0xa8], esi
call fcn.005210e0
mov edi, dword [ebp - 0x120]
add esp, 0x10
mov eax, dword [ebp - 0x124]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x70]
test byte [ecx + 0x24], 0x80
jne 0x53a092
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x539fdc
push 0
push dword [ebp - 0x80]
push edx
push 0x7f
push ebx
call fcn.00500b30
mov edx, dword [ebp - 0x80]
add esp, 0x14
jmp 0x53a010
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x64]
movzx eax, word [eax + 0x32]
mov edx, dword [ecx + 0x2c]
movsx esi, ax
inc edx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xb4], edx
lea eax, [esi + 1]
add dword [ecx + 0x2c], eax
cmp dword [ebp - 0xd4], 0
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x90], eax
jne 0x539d40
mov edi, dword [ecx + 0x28]
dec edx
add edx, esi
mov dword [ebp - 0xb0], edi
lea eax, [edi + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x539e2a
push edx
push dword [ebp - 0xb4]
push 0
push 0x48
push ebx
call fcn.00500b30
add esp, 0x14
jmp 0x539e61
mov edi, dword [ebp - 0xb4]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0xb0]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x118], ecx
cmp dword [ebx + 0x70], ecx
jg 0x539e86
push 0
push esi
push edi
push 0x64
push ebx
call fcn.00500b30
add esp, 0x14
mov dword [ebp - 0x118], eax
jmp 0x539eb1
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp - 0x64]
push dword [ebp - 0x98]
push edi
mov esi, dword [edi + 8]
call fcn.0052a330
mov edx, eax
add esp, 8
test edx, edx
je 0x539ef9
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x539ee2
push edx
push 0xfffffffffffffff7
push eax
call fcn.004fe2e0
add esp, 0xc
jmp 0x539ef9
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
jmp 0x539ef9
mov edi, dword [ebp - 0x64]
cmp byte [edi + 0x12], 0
mov eax, 0x1004
jne 0x539f2b
cmp dword [ebp - 0x94], 0
jne 0x539f2b
cmp dword [ebp - 0x8c], 0
jne 0x539f2b
cmp byte [ebp - 0xc8], 0
jne 0x539f2b
cmp dword [ebp - 8], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [ebp - 0xe0]
push eax
push 0
push 0
push dword [ebp - 0xe4]
push dword [ebp - 0xd8]
push edi
call fcn.0054a5b0
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0xec], ecx
test ecx, ecx
je 0x53b256
movzx esi, byte [ecx + 0x2e]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ebp - 0x74]
and ecx, 1
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xe8], ecx
cmp esi, 1
je 0x539d8c
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x539d8c
test edi, edi
js 0x539d8c
cmp edi, edx
je 0x539d8c
mov ecx, dword [ebp - 0xc4]
mov eax, edi
sub eax, dword [ebp - 0xf8]
cmp byte [eax + ecx], 0
mov eax, 0
cmovne esi, eax
mov dword [ebp - 0xa8], esi
jmp 0x539d8c
mov esi, dword [ebp - 0xa8]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x53a2af
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xd0]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [edi + ecx*4], eax
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ebp - 0xb8]
cmp dword [ebx + 0x70], ecx
jg 0x53a059
push esi
push edx
push dword [ebp - 0x9c]
push 0x93
push ebx
call fcn.00500b30
add esp, 0x14
jmp 0x53a2af
mov edx, dword [ebp - 0x9c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53a2af
mov eax, dword [ebp - 0xcc]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x53a0d7
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0xb4]
add eax, esi
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push edx
push ecx
push edi
call fcn.0051e6f0
mov ecx, dword [ebp - 0x70]
inc esi
mov edx, dword [ebp - 0x74]
add esp, 0x14
cmp esi, ebx
jl 0x53a0a4
mov edi, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x53a13a
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x53a123
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
cmp byte [edx + 0x51], 0
jne 0x53a123
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.004fe2e0
mov word [esi], 0xad
add esp, 0xc
mov dword [esi + 0x10], 0
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x90], eax
jmp 0x53a2ac
push dword [ebp - 0x98]
push dword [ebp - 0x88]
call fcn.00528600
mov ecx, dword [ebp - 0x68]
add esp, 8
mov esi, eax
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x53a177
push dword [ebp - 0x90]
push ebx
push dword [ebp - 0xb4]
push 0x5b
push ecx
call fcn.00500b30
add esp, 0x14
mov edx, eax
jmp 0x53a1b3
mov edi, dword [ebp - 0xb4]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp - 0x90]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [ebp - 0xb8]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
cmp byte [eax + 0x51], 0
je 0x53a1d0
cmp ebx, 0xfffffff4
je 0x53a21b
push esi
push ebx
push eax
call fcn.004fe2e0
add esp, 0xc
jmp 0x53a21b
test edx, edx
jns 0x53a1d8
mov edx, dword [ecx + 0x6c]
dec edx
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x68]
lea eax, [eax + ecx*4]
test ebx, ebx
jns 0x53a20f
cmp byte [eax + 1], 0
jne 0x53a20f
cmp ebx, 0xfffffffd
jne 0x53a1fb
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
jmp 0x53a21b
test esi, esi
je 0x53a21b
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
cmp ebx, 0xfffffff4
jne 0x53a21b
inc dword [esi + 0xc]
jmp 0x53a21b
push ebx
push esi
push eax
push edx
call fcn.00554280
add esp, 0x10
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0x6c]
cmp dword [eax + 0x70], edx
jg 0x53a24d
push dword [ebp - 0xb4]
push dword [ebp - 0x90]
push dword [ebp - 0xb0]
push 0x83
push eax
call fcn.00500b30
mov esi, dword [ebp - 0x68]
add esp, 0x14
mov edx, eax
jmp 0x53a28f
mov esi, dword [ebp - 0x68]
lea eax, [edx + 1]
mov edi, dword [ebp - 0xb0]
lea ecx, [edx + edx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp - 0x90]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0xb4]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [ebp - 0xb8]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x53a2a6
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0x68]
cmp dword [ebp - 0xd4], 0
jne 0x53a68f
cmp esi, 2
je 0x53a2cf
push dword [ebp - 0xec]
call fcn.0054d440
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
jne 0x53a3d1
mov ecx, dword [ebp - 0xa8]
xor esi, esi
test ecx, ecx
je 0x53a313
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc4]
test eax, eax
js 0x53a303
sub eax, dword [ebp - 0xf8]
mov byte [eax + edx], 0
test edi, edi
js 0x53a313
mov eax, edi
sub eax, dword [ebp - 0xf8]
mov byte [eax + edx], 0
cmp ecx, 2
jne 0x53a37b
mov ecx, dword [ebp - 0xf4]
xor eax, eax
test edi, edi
setns al
sub ecx, eax
test ecx, ecx
jle 0x53a37b
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x53a348
push 0
push 0
push 0
push 0x11
push ebx
call fcn.00500b30
add esp, 0x14
mov esi, eax
jmp 0x53a37b
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x70]
push 0
push 0
push dword [ebp - 0xc4]
push dword [ebp - 0xf8]
push 0
push 0x61
push eax
push dword [ebp - 0x64]
call fcn.0052c0b0
add esp, 0x20
test esi, esi
je 0x53a3c5
mov edx, dword [ebx + 0x6c]
jns 0x53a3aa
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x53a3b9
mov eax, 0x7ae90c
jmp 0x53a3c2
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x53a48a
test eax, eax
jne 0x53a410
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xbc], eax
je 0x53a410
mov ebx, dword [ebp - 0xa0]
cmp edi, eax
mov edi, dword [ebp - 0x68]
je 0x53a419
push dword [ebp - 0x104]
push dword [ebp - 0x90]
push ebx
push eax
push 0x1d
push edi
call fcn.0053c240
add esp, 0x18
jmp 0x53a419
mov ebx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x68]
cmp esi, 1
je 0x53a42d
mov eax, dword [ebp - 0x64]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x80]
cmovne edx, dword [ebp - 0x90]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x53a45a
push 0
push ebx
push edx
push 0x32
push edi
call fcn.00500b30
add esp, 0x14
jmp 0x53a692
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53a692
cmp dword [ebp - 0x98], 0
mov edi, dword [ebp - 0x68]
je 0x53a5e2
mov esi, dword [ebp - 0x64]
dec dword [esi + 0x38]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [esi + 0x38]
mov dword [ebp - 0xac], ebx
cmp dword [edi + 0x70], ecx
jg 0x53a4cd
mov edx, dword [ebp - 0xa0]
push 0
push edx
push dword [ebp - 0xb0]
push 0x25
push edi
call fcn.00500b30
add esp, 0x14
jmp 0x53a504
mov edx, dword [ebp - 0xb0]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0xa0]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x108], ecx
cmp dword [edi + 0x70], ecx
jg 0x53a533
push 0
push dword [ebp - 0x90]
push dword [ebp - 0xb0]
push 0x7e
push edi
call fcn.00500b30
add esp, 0x14
mov dword [ebp - 0x108], eax
jmp 0x53a56a
mov edx, dword [ebp - 0xb0]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x90]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x53a58b
push dword [ebp - 0x90]
push ebx
push dword [ebp - 0x74]
push 0x1d
push edi
call fcn.00500b30
add esp, 0x14
mov edx, eax
jmp 0x53a5be
mov esi, dword [ebp - 0x74]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp - 0x90]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x64]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x53a695
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53a695
mov ebx, dword [edi + 0x6c]
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0xac], ebx
cmp dword [edi + 0x70], ebx
jg 0x53a616
mov edx, dword [ebp - 0xa0]
push esi
push edx
push dword [ebp - 0x9c]
push 0x2a
push edi
call fcn.00500b30
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0xac], ebx
jmp 0x53a649
mov edx, dword [ebp - 0x9c]
lea eax, [ebx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0xa0]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x53a663
push esi
push ebx
push dword [ebp - 0x74]
push 0x20
push edi
call fcn.00500b30
add esp, 0x14
jmp 0x53a692
mov edx, dword [ebp - 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53a692
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
cmp byte [ebp - 0x69], 0
je 0x53a784
push dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x100]
push ebx
push esi
call fcn.0051f880
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0xa4]
cmp edi, eax
je 0x53a732
mov esi, dword [esi + 8]
test esi, esi
je 0x53a72f
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0x6c]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
cmp dword [esi + 0x70], ecx
jg 0x53a6f0
push 0
push eax
push edi
push edx
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53a729
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp - 0xa4]
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x53a74f
push 0
push 0
push eax
push 0xf
push edi
call fcn.00500b30
add esp, 0x14
jmp 0x53a784
mov edx, dword [ebp - 0xa4]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp - 0x81], 0
jne 0x53a842
cmp dword [ebp - 0x8c], 0
jne 0x53a84f
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x53a925
xor ebx, ebx
push dword [ebp + 0x18]
push dword [ebp - 0x70]
push 3
push 0
push dword [ebp - 0x78]
push dword [ebp - 0x94]
push esi
call fcn.005388b0
mov ecx, dword [ebp - 0x70]
or ebx, eax
xor eax, eax
mov dword [ebp - 0xcc], ebx
add esp, 0x1c
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x53a8bc
xor edi, edi
mov eax, dword [ecx + 4]
push esi
push ecx
movzx ebx, word [eax + edi + 0x10]
call fcn.00538480
movsx edx, ax
add esp, 8
add edx, dword [ebp - 0x110]
cmp dword [ebp - 0xcc], 0xffffffff
je 0x53a893
cmp esi, 0x20
jge 0x53a823
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [ebp - 0xcc], eax
jne 0x53a893
test bl, 1
jne 0x53a893
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x53a862
push 0
push edx
push 0
push 0x48
push ebx
call fcn.00500b30
jmp 0x53a8a3
cmp dword [ebp - 0x8c], 0
je 0x53a7ac
push dword [ebp - 0x70]
push esi
call fcn.005247b0
add esp, 8
mov ebx, eax
jmp 0x53a7ae
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53a8a6
push edx
push esi
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call fcn.0051e6f0
add esp, 0x14
mov ecx, dword [ebp - 0x70]
inc esi
add edi, 0x14
movsx eax, word [ecx + 0x2a]
cmp esi, eax
jl 0x53a7e5
mov edi, dword [ebp - 0x68]
cmp byte [ebp - 0x69], 0
jne 0x53a91f
cmp dword [ebp - 0x98], 0
jne 0x53a91f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x53a8eb
push 0
push dword [ebp - 0xa4]
push dword [ebp - 0x80]
push 0x4d
push edi
call fcn.00500b30
add esp, 0x14
jmp 0x53a91f
mov edx, dword [ebp - 0x80]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0xa4]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x94]
push dword [ebp + 0x18]
push dword [ebp - 0x70]
push 1
push 1
push dword [ebp - 0x78]
push eax
push dword [ebp - 0x64]
call fcn.005388b0
mov ecx, dword [ebp - 0xdc]
mov edx, eax
mov eax, dword [ebp - 0x70]
xor edi, edi
add esp, 0x1c
mov dword [ebp - 0x9c], edx
xor ebx, ebx
mov esi, ecx
cmp di, word [eax + 0x2a]
mov edi, dword [ebp - 0x68]
jge 0x53ab08
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
nop word [eax + eax]
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x53a996
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x53aa8c
push 0
push esi
push 0
push 0x48
push edi
call fcn.00500b30
jmp 0x53aad5
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x53a9b4
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x53aade
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x53aa62
mov ecx, dword [ebp - 0x78]
lea eax, [eax + eax*4]
mov edi, dword [ebp - 0x64]
push esi
mov eax, dword [ecx + eax*4 + 4]
push eax
push edi
mov dword [ebp - 0x110], eax
call fcn.0051f880
add esp, 0xc
mov dword [ebp - 0xcc], eax
cmp eax, esi
je 0x53aad8
mov edi, dword [edi + 8]
test edi, edi
je 0x53aad8
mov edx, dword [ebp - 0x110]
mov ecx, dword [edi + 0x6c]
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
cmp dword [edi + 0x70], ecx
jg 0x53aa27
push 0
push esi
push eax
push edx
push edi
call fcn.00500b30
jmp 0x53aad5
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [ebp - 0xcc]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
jmp 0x53aad8
test dword [ebp - 0x114], 1
je 0x53aabd
cmp ebx, 0x1f
jg 0x53aabd
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x53aabd
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x53a984
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53aade
push esi
push ebx
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push edi
call fcn.0051e6f0
mov dword [ebp - 0xe8], 0
add esp, 0x14
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x70]
inc ebx
add dword [ebp - 0xbc], 0x14
inc esi
mov ecx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0x68]
movsx eax, word [eax + 0x2a]
cmp ebx, eax
mov eax, dword [ebp - 0x70]
jl 0x53a970
mov ecx, dword [ebp - 0xdc]
test byte [eax + 0x24], 0x60
je 0x53ab1e
push eax
push ecx
push dword [ebp - 0x64]
call fcn.0051a1f0
mov eax, dword [ebp - 0x70]
add esp, 0xc
test byte [ebp - 0x114], 1
je 0x53acdc
push dword [ebp - 0xdc]
mov ebx, dword [ebp - 0x68]
push eax
push ebx
call fcn.00538370
mov eax, dword [ebp - 0x94]
add esp, 0xc
mov edi, dword [ebp - 0xac]
mov esi, eax
test eax, eax
je 0x53ab8f
mov ebx, dword [ebp - 0x70]
cmp byte [esi + 8], 0x7f
jne 0x53ab85
cmp byte [esi + 9], 1
jne 0x53ab85
push dword [ebp - 0x78]
push dword [esi + 0x10]
call fcn.004f25e0
add esp, 8
test eax, eax
je 0x53ab85
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x80]
push ebx
push esi
push dword [ebp - 0x64]
call fcn.00519480
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x53ab53
mov ebx, dword [ebp - 0x68]
cmp dword [ebp - 0x98], 0
je 0x53ac3e
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x53abbd
push dword [ebp - 0x90]
push edi
push dword [ebp - 0x74]
push 0x1d
push ebx
call fcn.00500b30
add esp, 0x14
mov edx, eax
jmp 0x53abed
mov esi, dword [ebp - 0x74]
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x90]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
jne 0x53ac0a
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x104]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
xor ebx, ebx
mov eax, dword [ebp - 0xdc]
xor esi, esi
mov edi, eax
cmp bx, word [ecx + 0x2a]
jge 0x53acc6
mov eax, dword [ecx + 4]
movzx eax, word [ebx + eax + 0x10]
test al, 0x60
je 0x53ac89
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x53acac
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x53ac5a
push dword [ebp - 0x80]
push edi
push dword [ebp - 0x74]
push 0x20
push ebx
call fcn.00500b30
add esp, 0x14
jmp 0x53ac0a
mov edx, dword [ebp - 0x74]
lea eax, [ecx + 1]
mov esi, dword [ebp - 0x80]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53ac0d
mov eax, dword [ebp - 0x7c]
cmp dword [eax + esi*4], 0
jge 0x53acac
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x53acac
push edi
push esi
push edx
push ecx
push dword [ebp - 0x68]
call fcn.0051e6f0
mov ecx, dword [ebp - 0x70]
add esp, 0x14
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [ebp - 0x74]
add ebx, 0x14
inc edi
cmp esi, eax
jl 0x53ac26
mov eax, dword [ebp - 0xdc]
test byte [ecx + 0x24], 0x60
mov esi, dword [ebp - 0x64]
je 0x53ace2
push ecx
push eax
push esi
call fcn.0051a1f0
add esp, 0xc
jmp 0x53acdf
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0xfc], 0
mov ebx, dword [ebp - 0xac]
jne 0x53af83
push 0
push dword [ebp - 0x7c]
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0xc8]
push dword [ebp - 0x80]
push dword [ebp - 0xa4]
push dword [ebp - 0xe0]
push edi
push dword [ebp - 0xd0]
push ecx
push esi
call fcn.00524b10
add esp, 0x34
cmp dword [ebp - 8], 0
jne 0x53ad3e
cmp byte [ebp - 0xc8], 0
je 0x53ae01
cmp dword [ebp - 0x98], 0
mov esi, dword [ebp - 0x68]
je 0x53adbb
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x53ad69
push dword [ebp - 0x90]
push ebx
push edi
push 0x1d
push esi
call fcn.00500b30
add esp, 0x14
mov edx, eax
jmp 0x53ad9c
mov ebx, dword [ebp - 0xac]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp - 0x90]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x53ae04
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x104]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x53ae04
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53add5
push dword [ebp - 0x80]
push ebx
push edi
push 0x20
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53ae04
mov edx, dword [ebp - 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53ae07
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x8c]
test edi, edi
je 0x53ae2b
push dword [ebp - 0x10c]
push dword [ebp - 0x7c]
push 0
push edx
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call fcn.00523b10
add esp, 0x18
push 0xffffffffffffffff
push dword [ebp - 0xd0]
push dword [ebp - 0xe0]
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call fcn.00527180
add esp, 0x18
cmp dword [ebp - 0xe8], 0
je 0x53ae70
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53ae9b
push 0
push 0
push dword [ebp - 0x74]
push 0x87
push esi
call fcn.00500b30
add esp, 0x14
mov edx, dword [ebp - 0x74]
cmp edi, 1
jg 0x53ae81
cmp byte [ebp - 0xc8], 0
je 0x53aefe
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53aecf
push 0
push 0
push edx
push 0x7a
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53aefe
mov edx, dword [ebp - 0x74]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x53ae73
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebp - 0x70]
test edi, edi
je 0x53af22
push dword [ebp - 0x10c]
push dword [ebp - 0x7c]
push dword [ebp - 0xa4]
push 0
push esi
push dword [ebp - 0x64]
call fcn.00523b10
add esp, 0x18
mov edi, dword [ebp - 0xa8]
xor eax, eax
push 0
cmp edi, 2
push 0
sete al
lea eax, [eax*2 + 4]
push eax
push dword [ebp - 0xd0]
push dword [ebp - 0xa4]
push dword [ebp - 0xe0]
push dword [ebp - 0x74]
push esi
push dword [ebp - 0x64]
call fcn.00519fd0
add esp, 0x24
cmp dword [ebp - 0x8c], 0
je 0x53af89
push dword [ebp - 0x10c]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x78]
push esi
push dword [ebp - 0x64]
call fcn.00523a80
add esp, 0x18
jmp 0x53af89
mov edi, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x68]
test edx, edx
je 0x53afe5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53afb0
push 0
push 1
push edx
push 0x52
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53afe5
mov ebx, dword [ebp - 0xac]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x53b046
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x64]
cmp byte [eax + 8], 0x7f
jne 0x53b030
cmp byte [eax + 9], 2
jne 0x53b030
push dword [ebp - 0x78]
push dword [eax + 0x10]
call fcn.004f25e0
add esp, 8
test eax, eax
je 0x53b02a
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x80]
push edi
push dword [ebp - 0x94]
push esi
call fcn.00519480
add esp, 0x18
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x53aff5
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0xa8]
cmp edi, 1
je 0x53b15d
cmp edi, 2
jne 0x53b09b
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x53b07f
push ebx
push esi
push ecx
call fcn.0050ddc0
add esp, 0xc
push dword [ebp - 0xec]
call fcn.0054d440
add esp, 4
jmp 0x53b15d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
push dword [ebp - 0xec]
mov dword [ecx + ebx*4], eax
call fcn.0054d440
add esp, 4
jmp 0x53b15d
cmp dword [ebp - 0x98], 0
je 0x53b114
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x53b0be
push ebx
push esi
push ecx
call fcn.0050ddc0
add esp, 0xc
jmp 0x53b0c7
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53b0eb
mov edx, dword [ebp - 0x108]
push 0
push edx
push dword [ebp - 0xb0]
push 5
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53b15d
mov edx, dword [ebp - 0xb0]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x108]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x53b14d
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53b12e
push 0
push ebx
push 0
push 0xb
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53b15d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xa0]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x53b17d
push edx
push esi
push ecx
call fcn.0050ddc0
add esp, 0xc
jmp 0x53b186
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x12], 0
jne 0x53b1ad
cmp dword [eax + 0x78], 0
jne 0x53b1ad
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
jne 0x53b1ad
cmp dword [eax + 0x70], ecx
je 0x53b1ad
push eax
call fcn.004ee330
add esp, 4
mov edx, dword [ebp - 0x11c]
test edx, edx
je 0x53b256
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x53b1d5
push 0
push 1
push edx
push 0x50
push esi
call fcn.00500b30
add esp, 0x14
jmp 0x53b204
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 1
push esi
call fcn.005475f0
mov eax, dword [esi]
add esp, 8
cmp byte [eax + 0x51], 0
jne 0x53b256
mov esi, dword [esi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x53b22b
cmp dword [esi + 0x18], 0
je 0x53b234
push esi
call fcn.00555450
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_updated
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xc
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x120]
test ecx, ecx
je 0x53b278
mov eax, dword [ebp - 0x124]
mov dword [ecx + 0xf0], eax
test edi, edi
je 0x53b329
test ebx, ebx
je 0x53b2d4
cmp dword [ebx + 0x1f8], 0
je 0x53b29c
push edi
push ebx
call fcn.00503aa0
add esp, 8
jmp 0x53b329
cmp edi, dword [ebx + 0x14c]
jae 0x53b2d4
cmp edi, dword [ebx + 0x144]
jb 0x53b2bc
mov eax, dword [ebx + 0x140]
mov dword [edi], eax
mov dword [ebx + 0x140], edi
jmp 0x53b329
cmp edi, dword [ebx + 0x148]
jb 0x53b2d4
mov eax, dword [ebx + 0x138]
mov dword [edi], eax
mov dword [ebx + 0x138], edi
jmp 0x53b329
cmp dword [0x786c30], 0
je 0x53b31f
mov eax, dword [0x7ae5b0]
test eax, eax
je 0x53b2f0
push eax
call dword [0x786c80]
add esp, 4
push edi
call dword [0x786c5c]
sub dword [0x7ae640], eax
dec dword [0x7ae664]
push edi
call dword [0x786c54]
mov eax, dword [0x7ae5b0]
add esp, 8
test eax, eax
je 0x53b329
push eax
call dword [0x786c88]
jmp 0x53b326
push edi
call dword [0x786c54]
add esp, 4
push dword [ebp - 0xd8]
push ebx
call fcn.005373a0
add esp, 8
test esi, esi
je 0x53b346
push esi
push ebx
call fcn.004fb630
add esp, 8
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x53b35a
push eax
push ebx
call fcn.00520de0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret