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

Disassembly:
sub esp, 0x9c
push ebx
xor eax, eax
mov dword [esp + 0x4c], 0
cmp dword [esp + 0xbc], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0xb0]
setne byte [esp + 0x13]
mov dword [esp + 0x6c], 0
mov byte [esp + 0x2b], 0
mov dword [esp + 0x7c], eax
mov esi, dword [edi + 8]
mov ebp, dword [edi]
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x74], esi
test esi, esi
jne 0x49ffd5
cmp dword [edi + 0x74], eax
jne 0x49ffc6
test byte [ebp + 0x4c], 8
jne 0x49ffc6
mov byte [edi + 0x17], 1
push edi
call fcn.004b9430
add esp, 4
mov dword [esp + 0x74], eax
mov esi, eax
mov ebx, dword [esp + 0xb4]
movsx eax, word [ebx + 0x2a]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
test cl, cl
js 0x49fffd
mov dword [esp + 0x24], 0
mov dword [esp + 0x60], 1
jmp 0x4a0028
mov edx, dword [ebx + 8]
mov dword [esp + 0x24], edx
test edx, edx
je 0x4a0020
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x4a0018
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x4a0008
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
movzx edx, word [edx + 0x32]
mov dword [esp + 0x60], edx
test ecx, 0x800
je 0x4a0395
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
xor ebp, ebp
test eax, eax
jle 0x4a0338
xor ecx, ecx
mov dword [esp + 0x20], ecx
jmp 0x4a0060
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
add ecx, eax
mov dword [esp + 0x30], ecx
movzx edi, byte [ecx + 0xc]
test edi, edi
je 0x4a0311
mov eax, dword [esp + 0xb4]
movsx eax, word [eax + 0x28]
cmp ebp, eax
je 0x4a0311
movzx eax, word [ecx + 0x10]
and eax, 0x60
je 0x4a00a6
test edx, edx
jne 0x4a00a6
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x4a0311
cmp dword [esp + 0xdc], 0
mov ecx, dword [esp + 0x30]
je 0x4a00cd
mov edx, dword [esp + 0xdc]
cmp dword [edx + ebp*4], 0
mov edx, dword [esp + 0x34]
jge 0x4a00cd
test eax, eax
je 0x4a0311
cmp byte [esp + 0xd0], 0xb
mov ebx, dword [esp + 0x18]
je 0x4a00fc
movzx edi, byte [esp + 0xd0]
mov ecx, dword [esp + 0x30]
cmp edi, 5
jne 0x4a0106
test edx, edx
jne 0x4a00f5
cmp dword [ecx + 4], edx
jne 0x4a0112
mov edi, 2
jmp 0x4a0112
cmp edi, 0xb
jne 0x4a00e7
mov edi, 2
test edx, edx
je 0x4a0112
test eax, eax
je 0x4a0311
mov eax, dword [esp + 0xb4]
test byte [eax + 0x24], 0x20
je 0x4a0184
movzx eax, bp
test ax, ax
js 0x4a0184
movsx ecx, ax
xor ebx, ebx
xor edx, edx
test ecx, ecx
jle 0x4a014d
mov ebx, dword [esp + 0xb4]
mov eax, dword [ebx + 4]
mov ebx, ecx
add eax, 0x10
test byte [eax], 0x20
jne 0x4a0147
inc edx
add eax, 0x14
dec ecx
jne 0x4a0141
mov esi, dword [esp + 0xb4]
lea eax, [ebx + ebx*4]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x74]
test byte [ecx + eax*4 + 0x10], 0x20
mov ecx, dword [esp + 0x30]
je 0x4a017f
mov eax, dword [esp + 0xb4]
mov ax, word [eax + 0x2c]
sub ax, dx
add ax, bx
movzx eax, ax
jmp 0x4a0187
movzx eax, dx
jmp 0x4a0187
movzx eax, bp
mov ebx, dword [esp + 0xc4]
cwde
inc ebx
add ebx, eax
lea eax, [edi - 1]
cmp eax, 4
ja case.0x4a019e.4
jmp dword [eax*4 + 0x4a2210]
push ebx
push 0x33
push esi
call fcn.004b8980
inc dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x3c]
push ebx
push dword [eax + 4]
push dword [esp + 0xc4]
call fcn.00494800
mov edx, dword [esi + 0x6c]
add esp, 0x18
test edi, edi
jns 0x4a01d5
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a01ea
mov eax, 0x50e22c
mov dword [eax + 8], edx
jmp 0x4a030d
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4a030d
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + 0x74]
test eax, eax
jne 0x4a020c
mov eax, edx
mov byte [eax + 0x15], 1
push dword [ecx]
mov eax, dword [esp + 0xb8]
push dword [eax]
push str._s._s
push dword [esp + 0x74]
call fcn.004a73d0
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov dword [esp + 0x40], eax
cmp dword [esi + 0x70], ecx
jg 0x4a024c
push ebx
push edi
push 0x513
push 0x43
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a0277
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x40]
cmp byte [eax + 0x51], 0
je 0x4a0291
push edx
push 0xfffffffffffffff9
push eax
call fcn.00462150
add esp, 0xc
jmp 0x4a02a3
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a030d
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4a030d
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a02db
push 0
push dword [esp + 0xd8]
push ebx
push 0x32
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a030d
mov edx, dword [esp + 0xd4]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc ebp
mov eax, dword [esp + 0x1c]
add ecx, 0x14
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
cmp ebp, eax
jl 0x4a0060
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0xb0]
test ebx, ebx
jne 0x4a0340
test ecx, ecx
je 0x4a038a
test edx, edx
jne 0x4a038a
mov edx, 1
mov dword [esp + 0x34], edx
test ecx, ecx
jle 0x4a0046
mov ebp, dword [esp + 0xb4]
test byte [ebp + 0x24], 0x60
je 0x4a0046
mov eax, dword [esp + 0xc4]
push ebp
inc eax
push eax
push edi
call fcn.00490480
mov edx, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
jmp 0x4a0046
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x68]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4a0652
mov eax, dword [ebp + 0x20]
and eax, 0x200
or eax, 0
jne 0x4a0652
or eax, 0xffffffff
sub eax, dword [esp + 0xc4]
mov dword [edi + 0x34], eax
mov al, byte [esp + 0xd0]
movzx ebp, al
cmp al, 0xb
jne 0x4a03d5
mov ebp, 2
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edx], ecx
jle 0x4a064b
mov ebx, dword [esp + 0xdc]
lea eax, [edx + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0xfffd
lea esp, [esp]
mov edi, dword [eax - 4]
test ebx, ebx
je 0x4a0495
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov word [esp + 0x9c], ax
mov dword [esp + 0x8c], 0x455d20
mov dword [esp + 0xa0], ebx
test edi, edi
je 0x4a047d
lea eax, [esp + 0x88]
push edi
push eax
call fcn.004d6ac0
mov ax, word [esp + 0xa4]
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
cmp byte [esp + 0xcc], 0
jne 0x4a048c
and ax, word [esp + 0x20]
test ax, ax
je 0x4a0625
mov eax, dword [esp + 0xb0]
push 0x10
dec dword [eax + 0x38]
mov ebx, dword [eax + 0x38]
push ebx
push edi
push eax
call fcn.00497a60
add esp, 0x10
cmp ebp, 4
jne 0x4a0512
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a04d7
push 0
push dword [esp + 0xd8]
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a05f3
mov edx, dword [esp + 0xd4]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a05f3
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4a052d
mov eax, dword [esp + 0xb4]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
cmp ebp, 5
jne 0x4a0537
mov ebp, 2
mov ecx, dword [esp + 0xb0]
mov edi, dword [ecx + 8]
test edi, edi
jne 0x4a0568
cmp dword [ecx + 0x74], edi
jne 0x4a0556
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4a0556
mov byte [ecx + 0x17], 1
push ecx
call fcn.004b9430
mov ecx, dword [esp + 0xb4]
add esp, 4
mov edi, eax
cmp ebp, 2
jne 0x4a057a
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x4a0576
mov eax, ecx
mov byte [eax + 0x15], 1
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4a0599
push 0
push ebp
push 0x113
push 0x44
push edi
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4a05cc
mov esi, dword [esp + 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], 0x44
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x44]
push edx
push edi
call fcn.004b8f30
mov eax, dword [edi + 0x6c]
add esp, 0x10
test eax, eax
jle 0x4a05f3
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a060d
push ebx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a0616
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ebx, dword [esp + 0xdc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
inc ecx
add eax, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
cmp ecx, dword [edx]
jl 0x4a0400
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [edi + 0x34], 0
mov edx, dword [esp + 0xe0]
test edx, edx
je 0x4a06d8
cmp dword [edx], 0
jne 0x4a0677
mov byte [esp + 0xd0], 4
mov dword [esp + 0xe0], 0
jmp 0x4a06d8
mov eax, dword [edx + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4a06d8
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [esi + 0x70], edx
jg 0x4a06a5
push 0
push 0
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x70], eax
jmp 0x4a06d8
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x68]
xor edx, edx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xa8], eax
mov eax, ecx
and eax, 0x6000
or eax, edx
jne 0x4a0703
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edx
jmp 0x4a083b
mov eax, dword [edi]
and ecx, 0x2000
or ecx, 0
mov eax, dword [eax + 0x20]
je 0x4a078e
xor ebp, ebp
and eax, 0x40000
or eax, ebp
je 0x4a072a
push ebx
push edi
call fcn.004b5050
add esp, 8
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4a0743
cmp byte [ecx + 8], 0x7e
jne 0x4a073c
movzx eax, byte [ecx + 9]
or ebp, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4a0730
neg ebp
sbb ebp, ebp
and ebp, edx
mov dword [esp + 0x30], ebp
jne 0x4a07da
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4a0781
mov eax, dword [ebx + 0x48]
push 0
push dword [ebx]
add eax, 0x38
push eax
call fcn.00460240
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x4a07da
cmp dword [ebx + 0x10], 0
jne 0x4a07da
mov dword [esp + 0x48], 0
jmp 0x4a083b
and eax, 0x4000
mov dword [esp + 0x30], 0
or eax, 0
mov dword [esp + 0x48], edx
je 0x4a07d6
mov eax, dword [ebx + 0x48]
push 0
push dword [ebx]
add eax, 0x38
push eax
call fcn.00460240
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x4a07cd
cmp dword [ebx + 0x10], 0
jne 0x4a07cd
mov dword [esp + 0x48], 0
jmp 0x4a083b
mov edx, 1
mov dword [esp + 0x48], edx
test edx, edx
je 0x4a083b
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x48], edx
cmp dword [esi + 0x70], ecx
jg 0x4a07fe
push 0
push edx
push 0
push 0x45
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a082d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 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
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
cmp byte [esp + 0xcc], 0
je 0x4a0ceb
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4a0ceb
dec dword [edi + 0x38]
mov cl, byte [esp + 0xd0]
mov ebp, dword [edi + 0x38]
movzx ebx, byte [ebx + 0x32]
mov dword [esp + 0x40], ebp
cmp cl, 0xb
je 0x4a0874
movzx ebx, cl
jmp 0x4a087e
cmp ebx, 0xb
jne 0x4a087e
mov ebx, 2
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x4a08a0
cmp dword [eax + 0x10], 0
jne 0x4a08a0
xor ebx, ebx
cmp dword [eax + 8], ebx
setne bl
lea ebx, [ebx*2 + 4]
jmp 0x4a0917
cmp ebx, 5
jne 0x4a0917
cmp cl, bl
je 0x4a0917
mov eax, dword [esp + 0xb4]
cmp dword [eax + 8], 0
je 0x4a0917
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4a08d3
push 0
push 0
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4a090d
mov edi, dword [esp + 0xb0]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edx + 1]
mov dword [esp + 0x84], eax
cmp byte [esp + 0x13], 0
je 0x4a098e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a0942
push dword [esp + 0xc8]
push ebp
push dword [esp + 0xcc]
push 0x35
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a0977
mov edx, dword [esp + 0xc4]
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 [esp + 0xc8]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a098e
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a09b9
push dword [esp + 0xc4]
push ebp
push dword [esp + 0xc4]
push 0x20
push esi
call fcn.004752f0
mov edx, dword [esp + 0xd0]
add esp, 0x14
jmp 0x4a09f2
mov edx, dword [esp + 0xbc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0xc4]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x4a09fe
jmp dword [eax*4 + 0x4a2224]
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4a0a67
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4a0a16
mov eax, edi
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [esp + 0xd8]
mov byte [eax + 0x14], 1
push dword [esp + 0xd8]
push edx
push dword [esp + 0x50]
push dword [esp + 0xd8]
push edi
call fcn.004a24c0
push 1
push ebx
push 0x52
push esi
call fcn.004b89e0
add esp, 0x3c
mov dword [esp + 0x78], 1
mov dword [esp + 0x58], 1
jmp 0x4a0c35
mov ecx, dword [esp + 0xb4]
cmp dword [ecx + 8], 0
je 0x4a0a97
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4a0a7d
mov eax, edi
push 0xffffffffffffffff
push 0
push dword [esp + 0xc8]
mov byte [eax + 0x14], 1
push edx
push ecx
push edi
call fcn.004a28e0
add esp, 0x18
mov dword [esp + 0x58], 1
jmp 0x4a0c35
push edx
push 0
push dword [esp + 0xbc]
push dword [esp + 0xec]
push edi
call fcn.004b7da0
add esp, 0x14
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a0ae1
push 0
push dword [esp + 0xd8]
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a0c35
mov edx, dword [esp + 0xd4]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a0c35
mov ebx, 2
mov edx, dword [esp + 0xb4]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x4a0b56
cwde
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str._s._s
push dword [edi]
call fcn.004a73d0
add esp, 0x10
mov dword [esp + 0x1c], 0x613
jmp 0x4a0b6f
push dword [edx]
push str._s.rowid
push dword [edi]
call fcn.004a73d0
add esp, 0xc
mov dword [esp + 0x1c], 0xa13
mov edi, dword [edi + 8]
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4a0b9d
mov ecx, dword [esp + 0xb0]
cmp dword [ecx + 0x74], edi
jne 0x4a0b92
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4a0b92
mov byte [ecx + 0x17], 1
push ecx
call fcn.004b9430
add esp, 4
mov edi, eax
cmp ebx, 2
jne 0x4a0bb6
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x4a0bb2
mov eax, ecx
mov byte [eax + 0x15], 1
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4a0bd4
push 0
push ebx
push dword [esp + 0x24]
push 0x44
push edi
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4a0c07
mov ebp, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff9
push dword [esp + 0x24]
push edx
push edi
call fcn.004b8f30
mov eax, dword [edi + 0x6c]
add esp, 0x10
test eax, eax
jle 0x4a0c2e
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0xb0]
mov ecx, dword [esi + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a0c4f
push ebp
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a0c58
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebp*4], eax
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x4a0ceb
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x80], ebx
cmp dword [esi + 0x70], ebx
jg 0x4a0c90
push 0
push 0
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x80], eax
jmp 0x4a0cc3
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
lea ecx, [ebp - 1]
test ecx, ecx
jns 0x4a0cd0
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a0cdf
mov eax, 0x50e22c
jmp 0x4a0ce8
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0xb4]
xor ebp, ebp
mov dword [esp + 0x50], ebp
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a1e0e
mov ecx, dword [esp + 0xb8]
jmp 0x4a0d17
mov edi, dword [esp + 0xb0]
cmp dword [ecx + ebp*4], 0
je 0x4a1df1
mov edx, dword [esp + 0x6c]
cmp edx, eax
jne 0x4a0ddb
mov ebp, dword [esp + 0x70]
inc ebp
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0x6c]
mov dword [esp + 0x7c], ebp
cmp dword [esi + 0x70], ebp
jg 0x4a0d59
push 0
push 0
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x7c], eax
jmp 0x4a0d92
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov dword [eax + ecx*4], 0xb
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 [esp + 0x70]
mov ecx, eax
mov edx, dword [esi + 0x6c]
test eax, eax
jns 0x4a0da2
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a0dc0
mov ebp, dword [esp + 0x50]
mov eax, 0x50e22c
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
jmp 0x4a0de5
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov ebp, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x6c]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x14]
jmp 0x4a0de5
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x2b], 0
jne 0x4a0e0c
test edx, edx
je 0x4a0df4
cmp edx, eax
jne 0x4a0e0c
mov eax, dword [esp + 0xc4]
inc eax
push eax
push ebx
push esi
call fcn.004b4910
add esp, 0xc
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0x14]
add ebp, dword [esp + 0xc0]
mov dword [esp + 0x34], ebp
cmp dword [eax + 0x24], 0
je 0x4a0ee6
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a0e4d
push 0
push edx
push 0
push 0x48
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a0e7c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 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
mov ebx, dword [edi]
or eax, 0xffffffff
sub eax, dword [esp + 0xc4]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4a0ea8
push 0
push 0
push eax
push ebx
call fcn.0045e990
add esp, 0x10
mov edi, eax
jmp 0x4a0eaa
xor edi, edi
cmp byte [ebx + 0x51], 0
jne 0x4a0ec6
push 0x10
push dword [esp + 0x40]
push edi
push dword [esp + 0xbc]
call fcn.00497630
add esp, 0x10
test edi, edi
je 0x4a0ed4
push edi
push ebx
call fcn.00497330
add esp, 8
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], 0
mov ecx, dword [esp + 0xb8]
xor edx, edx
mov ebx, dword [esp + 0x50]
mov ebx, dword [ecx + ebx*4]
xor ecx, ecx
inc ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
cmp dx, word [eax + 0x34]
jae 0x4a115d
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov eax, dword [eax + 4]
movsx ecx, word [eax + ecx*2]
cmp ecx, 0xfffffffe
jne 0x4a1011
or eax, 0xffffffff
sub eax, dword [esp + 0xc4]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ebp + 4]
mov ebp, dword [edi]
test eax, eax
je 0x4a0f55
push 0
push 0
push eax
push ebp
call fcn.0045e990
add esp, 0x10
mov edi, eax
jmp 0x4a0f57
xor edi, edi
cmp byte [ebp + 0x51], 0
jne 0x4a0fb8
push ebx
push edi
push dword [esp + 0xb8]
call fcn.00495e40
mov ebx, eax
add esp, 0xc
cmp ebx, dword [esp + 0x18]
je 0x4a0fb4
mov eax, dword [esp + 0xb0]
mov edx, dword [eax + 8]
test edx, edx
je 0x4a0fb4
mov ecx, dword [edi + 4]
and ecx, 0x200000
neg ecx
sbb cl, cl
add cl, 0x4e
movzx eax, cl
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x20], eax
cmp dword [edx + 0x70], ecx
jg 0x4a0fdd
push 0
push dword [esp + 0x1c]
push ebx
push eax
push edx
call fcn.004752f0
add esp, 0x14
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x4a0fc6
push edi
push ebp
call fcn.00497330
add esp, 8
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x34], 0
jmp 0x4a112c
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x20]
mov byte [eax + ecx*4], dl
xor edx, edx
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x4a0fb8
cmp ecx, 0xffffffff
je 0x4a10db
mov eax, dword [esp + 0xb4]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x4a10db
mov eax, dword [esp + 0xb4]
test byte [eax + 0x24], 0x20
je 0x4a109b
test cx, cx
js 0x4a109b
movsx ecx, cx
xor edi, edi
xor edx, edx
test ecx, ecx
jle 0x4a1065
mov eax, dword [eax + 4]
mov edi, ecx
add eax, 0x10
test byte [eax], 0x20
jne 0x4a1058
inc edx
add eax, 0x14
dec ecx
jne 0x4a1052
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
lea ecx, [edi + edi*4]
test byte [eax + ecx*4 + 0x10], 0x20
je 0x4a108f
mov eax, dword [esp + 0xb4]
mov ax, word [eax + 0x2c]
sub ax, dx
add ax, di
mov edi, dword [esp + 0xb0]
movzx eax, ax
jmp 0x4a109e
mov edi, dword [esp + 0xb0]
movzx eax, dx
jmp 0x4a109e
movzx eax, cx
mov edx, dword [esp + 0xc4]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x4a10c2
push 0
push ebx
push edx
push 0x4e
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a112c
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
jmp 0x4a1114
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a10fa
push 0
push ebx
push dword [esp + 0xcc]
push 0x4f
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a112c
mov edx, dword [esp + 0xc4]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esp + 0x14]
add ebp, 0x14
mov ecx, dword [esp + 0x40]
inc ebx
inc ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ecx
movzx eax, word [eax + 0x34]
cmp ecx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
jl 0x4a0f15
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xb8]
movzx edi, word [eax + 0x34]
mov edx, dword [edx + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1187
push edx
push edi
push ebx
push 0x5b
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a11b2
mov ebp, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
je 0x4a11fe
cmp edx, ecx
jne 0x4a11fe
cmp byte [esp + 0xcc], 0
jne 0x4a11fe
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a11f0
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a1de3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4a1de3
movzx ebx, byte [ecx + 0x36]
mov dword [esp + 0x38], ebx
test ebx, ebx
jne 0x4a122b
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a11f0
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a1de3
mov al, byte [esp + 0xd0]
cmp al, 0xb
je 0x4a123b
movzx ebx, al
jmp 0x4a1245
cmp ebx, 0xb
jne 0x4a1249
mov ebx, 2
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x6c], ecx
jne 0x4a1269
mov eax, dword [esp + 0xe0]
xor ebx, ebx
cmp dword [eax + 8], ebx
setne bl
lea ebx, [ebx*2 + 4]
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x50], 0
jne 0x4a1360
cmp dword [ecx + 0x14], 0
jne 0x4a1360
cmp edx, ecx
jne 0x4a1360
cmp ebx, 5
jne 0x4a1360
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x40], eax
lea eax, [ebx - 5]
jne 0x4a12a8
test eax, eax
je 0x4a12fb
mov ecx, dword [esp + 0xb0]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4a12d3
push dword [esp + 0xb4]
push ecx
call fcn.004b5050
add esp, 8
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4a12f3
lea esp, [esp]
cmp byte [ecx + 8], 0x7e
jne 0x4a12ec
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4a12e0
neg edi
sbb edi, edi
test edx, edi
jne 0x4a1360
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x40], eax
mov eax, 0
jne 0x4a1316
test eax, eax
je 0x4a133b
mov ecx, dword [esp + 0xb4]
cmp dword [ecx + 0x10], eax
jne 0x4a1360
mov eax, dword [ecx + 0x48]
push 0
push dword [ecx]
add eax, 0x38
push eax
call fcn.00460240
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x4a1360
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a11f0
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a1de3
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x2c], edx
movzx edi, word [eax + 0x32]
cmp dword [esi + 0x70], edx
jg 0x4a1390
push dword [esp + 0x54]
push dword [esp + 0x40]
push ebp
push 0x1c
push esi
call fcn.004752f0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
jmp 0x4a13c3
mov ebx, dword [esp + 0x3c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4a13da
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x24]
jne 0x4a13ee
mov edx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
jmp 0x4a144f
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0xb0]
cmp eax, 1
jne 0x4a141e
mov al, byte [edi + 0x13]
test al, al
jne 0x4a140d
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4a1447
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x94]
jmp 0x4a1447
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x18], edx
cmp eax, ecx
jg 0x4a143a
add eax, edx
sub ecx, dword [esp + 0x60]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], ecx
jmp 0x4a144b
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x60]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
jne 0x4a145f
cmp ebx, 5
jne 0x4a1816
mov eax, dword [esp + 0xb4]
test byte [eax + 0x24], 0x80
jne 0x4a1539
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1490
push 0
push edx
push ebp
push 0x86
push esi
call fcn.004752f0
mov edx, dword [esp + 0x2c]
add esp, 0x14
jmp 0x4a14bb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x13], 0
je 0x4a1816
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a14e7
push dword [esp + 0xc8]
push dword [esp + 0x40]
push edx
push 0x35
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1519
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 [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc8]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a1816
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4a1816
mov eax, dword [esp + 0x24]
cmp edi, eax
je 0x4a15e6
xor ecx, ecx
xor ebp, ebp
cmp cx, word [eax + 0x32]
jae 0x4a15e6
mov ebx, edx
movzx edx, word [edi + 0x34]
xor ecx, ecx
test edx, edx
jle 0x4a157d
mov eax, dword [eax + 4]
movzx edi, word [eax + ebp*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
lea ecx, [ecx]
cmp di, word [eax]
je 0x4a159e
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4a1570
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
cmp dword [esi + 0x70], ecx
jg 0x4a15a3
push ebx
push edx
push dword [esp + 0x3c]
push 0x59
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a15ce
movzx eax, cx
jmp 0x4a1580
mov edi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x24]
inc ebp
mov edi, dword [esp + 0x14]
inc ebx
movzx eax, word [ecx + 0x32]
cmp ebp, eax
mov eax, ecx
jl 0x4a1555
cmp byte [esp + 0x13], 0
je 0x4a1816
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x5c], 0x34
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x54]
je 0x4a1617
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebx
test ecx, ecx
jle 0x4a1816
mov ecx, dword [esp + 0x24]
lea ecx, [ecx]
mov edx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x20]
mov ecx, dword [edx]
mov edi, dword [eax + ebx*4]
mov bh, byte [ecx + 0x4e]
mov bl, byte [ecx + 0xa5]
mov byte [esp + 0xa4], bh
test edi, edi
je 0x4a166c
movzx eax, bl
push eax
push edi
push ecx
call fcn.004600d0
mov edx, dword [esp + 0xbc]
add esp, 0xc
mov ebp, eax
jmp 0x4a166f
mov ebp, dword [ecx + 8]
test ebp, ebp
je 0x4a1680
movzx eax, bh
lea eax, [eax + eax*4]
lea ebp, [ebp + eax*4]
add ebp, 0xffffffec
test bl, bl
jne 0x4a16a2
test ebp, ebp
je 0x4a168e
cmp dword [ebp + 0xc], 0
jne 0x4a16a2
push edi
push ebp
push dword [esp + 0xac]
push edx
call fcn.004a2a60
add esp, 0x10
mov ebp, eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
movsx edi, word [ecx + ebx*2]
movzx ecx, word [eax + 0x32]
dec ecx
cmp ebx, ecx
jne 0x4a16ca
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 0x35
mov eax, dword [esp + 0xb4]
test byte [eax + 0x24], 0x20
je 0x4a1733
test di, di
js 0x4a1733
movsx ecx, di
xor ebx, ebx
xor edx, edx
test ecx, ecx
jle 0x4a1703
mov eax, dword [eax + 4]
mov ebx, ecx
add eax, 0x10
nop
test byte [eax], 0x20
jne 0x4a16f6
inc edx
add eax, 0x14
dec ecx
jne 0x4a16f0
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
lea ecx, [ebx + ebx*4]
test byte [eax + ecx*4 + 0x10], 0x20
je 0x4a172a
mov eax, dword [esp + 0xb4]
mov ax, word [eax + 0x2c]
sub ax, dx
add ax, bx
mov ebx, dword [esp + 0x1c]
movzx eax, ax
jmp 0x4a1736
mov ebx, dword [esp + 0x1c]
movzx eax, dx
jmp 0x4a1736
movzx eax, di
mov edi, dword [esp + 0xc8]
mov edx, dword [esi + 0x6c]
inc edi
cwde
add edi, eax
cmp dword [esi + 0x70], edx
jg 0x4a1766
mov eax, dword [esp + 0x40]
add eax, ebx
push eax
push dword [esp + 0x24]
push edi
push dword [esp + 0x68]
push esi
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4a17a2
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 dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x40]
add eax, ebx
mov dword [ecx + 0xc], eax
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a17b8
push ebp
push 0xfffffffffffffffe
push eax
call fcn.00462150
add esp, 0xc
jmp 0x4a17ea
test edx, edx
jns 0x4a17c0
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a17df
push 0xfffffffffffffffe
push ebp
push eax
push esi
call fcn.004d0560
add esp, 0x10
jmp 0x4a17ea
test ebp, ebp
je 0x4a17ea
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a1801
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x24]
inc ebx
mov dword [esp + 0x1c], ebx
movzx eax, word [ecx + 0x32]
cmp ebx, eax
jl 0x4a1630
mov ecx, dword [esp + 0x38]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4a1826.5
jmp dword [eax*4 + 0x4a223c]
push dword [esp + 0x14]
mov ebx, dword [esp + 0xb4]
push ecx
push ebx
call fcn.004b5360
add esp, 0xc
jmp 0x4a1cf7
push dword [esp + 0x34]
mov ebx, dword [esp + 0xb4]
push dword [esp + 0x18]
push dword [esp + 0xbc]
push dword [esp + 0xec]
push ebx
call fcn.004b7da0
add esp, 0x14
jmp 0x4a1876
mov ebx, dword [esp + 0xb0]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1899
push 0
push dword [esp + 0xd8]
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1cf7
mov edx, dword [esp + 0xd4]
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a1cf7
mov ebp, dword [esi + 0x6c]
mov edi, dword [esp + 0x2c]
sub ebp, edi
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x40], ebp
test edx, edx
je 0x4a1901
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x4a18f9
mov eax, ebx
inc dword [esp + 0x78]
mov byte [eax + 0x14], 1
cmp dword [esp + 0x30], 0
je 0x4a1968
cmp byte [esp + 0x13], 0
je 0x4a1968
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1932
push 0
push 0
push dword [esp + 0xc4]
push 0x9f
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1968
mov edx, dword [esp + 0xbc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9f
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
push dword [esp + 0x34]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x70]
push dword [esp + 0x2c]
push dword [esp + 0xd8]
push dword [esp + 0xd8]
push dword [esp + 0x50]
push dword [esp + 0xd8]
push ebx
call fcn.004a24c0
add esp, 0x2c
cmp dword [esp + 0x30], 0
je 0x4a1a10
cmp byte [esp + 0x13], 0
je 0x4a1a10
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a19da
push 0
push 0
push dword [esp + 0xc4]
push 0xa0
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1a10
mov edx, dword [esp + 0xbc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa0
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 edx, dword [esp + 0x48]
test edx, edx
je 0x4a1cef
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1a36
push 0
push 1
push edx
push 0x52
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1a69
mov edi, dword [esp + 0x2c]
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 edx, dword [esi + 0x6c]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x70], edx
jg 0x4a1a8c
push 0
push 0
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x4a1abf
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*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], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a1add
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a1ae6
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
je 0x4a1b4e
mov edx, dword [esp + 0x54]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4a1b1b
push 0
push dword [esp + 0x50]
push edx
push 0x32
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1b4e
mov ebp, dword [esp + 0x40]
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 [esp + 0x4c]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test ebp, ebp
jle 0x4a1cb7
mov ecx, edi
test edi, edi
jns 0x4a1b60
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a1b6f
mov eax, 0x50e22c
jmp 0x4a1b78
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x5c], edx
cmp cl, 0x86
je 0x4a1c96
movzx eax, cl
mov dword [esp + 0x58], eax
test byte [eax + 0x4e9ca0], 1
je 0x4a1bb2
mov ebp, dword [esp + 0x4c]
mov edx, dword [esi + 0x6c]
shr ecx, 8
movsx ebx, cl
mov dword [esp + 0x38], ebx
cmp dword [esi + 0x70], edx
jg 0x4a1bdb
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x28]
push eax
push esi
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4a1c1a
mov ebx, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a1c34
cmp ebx, 0xfffffff4
je 0x4a1c7c
push edi
push ebx
push eax
call fcn.00462150
add esp, 0xc
jmp 0x4a1c7c
test edx, edx
jns 0x4a1c3c
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
test ebx, ebx
jns 0x4a1c70
cmp byte [eax + 1], 0
jne 0x4a1c70
cmp ebx, 0xfffffffd
jne 0x4a1c5c
mov dword [eax + 0x10], edi
mov byte [eax + 1], bl
jmp 0x4a1c7c
test edi, edi
je 0x4a1c7c
mov dword [eax + 0x10], edi
mov byte [eax + 1], bl
cmp ebx, 0xfffffff4
jne 0x4a1c7c
inc dword [edi + 0xc]
jmp 0x4a1c7c
push ebx
push edi
push eax
push esi
call fcn.004d0560
add esp, 0x10
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a1c96
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
mov ax, word [esp + 0x8a]
mov word [ecx + edx*4 - 0x12], ax
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x2c]
dec ebp
inc edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], edi
test ebp, ebp
jg 0x4a1b56
mov ebx, dword [esp + 0xb0]
push dword [esp + 0x14]
push 2
push ebx
call fcn.004b5360
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4a1cd4
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a1ce3
mov eax, 0x50e22c
jmp 0x4a1cec
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x14]
jne 0x4a1d84
mov edx, dword [esp + 0x70]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4a1d24
push 0
push edx
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1d53
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
mov ecx, eax
mov edx, dword [esi + 0x6c]
test eax, eax
jns 0x4a1d63
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a1d75
mov eax, 0x50e22c
mov dword [eax + 8], edx
jmp 0x4a1dab
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4a1dab
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a1da2
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a1dab
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x54]
je 0x4a1de3
mov eax, dword [esp + 0x60]
cmp eax, 1
jne 0x4a1dd8
test ecx, ecx
je 0x4a1de3
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4a1de3
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
jmp 0x4a1de3
cmp eax, dword [ebx + 0x1c]
jle 0x4a1de3
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0x14]
inc dword [esp + 0x50]
mov ebp, dword [esp + 0x50]
mov edi, dword [edi + 0x14]
mov eax, edi
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4a0d10
mov edx, dword [esp + 0x84]
test edx, edx
je 0x4a1e92
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1e37
push 0
push edx
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1e66
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x80]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4a1e77
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4a1e86
mov eax, 0x50e22c
jmp 0x4a1e8f
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x78], 0
je 0x4a217e
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x48]
cmp dword [esi + 0x70], ecx
jg 0x4a1ebd
push 0
push dword [esp + 0x50]
push edx
push 0x14
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1eec
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 [esp + 0x4c]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0x64]
jne 0x4a210e
cmp byte [esp + 0x13], 0
je 0x4a1f76
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1f2a
push dword [esp + 0xc8]
push edi
push dword [esp + 0xcc]
push 0x35
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1f5f
mov edx, dword [esp + 0xc4]
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 [esp + 0xc8]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a1f76
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a1f9a
push dword [esp + 0xc4]
push edi
push dword [esp + 0xc4]
push 0x20
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a1fcf
mov edx, dword [esp + 0xbc]
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 [esp + 0xc4]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
movzx eax, word [ebx + 0x28]
test ax, ax
js 0x4a2001
cwde
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
push dword [eax + ecx*4]
mov eax, dword [esp + 0xb4]
push dword [ebx]
push str._s._s
push dword [eax]
call fcn.004a73d0
add esp, 0x10
mov ebp, 0x613
jmp 0x4a201e
push dword [ebx]
mov eax, dword [esp + 0xb4]
push str._s.rowid
push dword [eax]
call fcn.004a73d0
add esp, 0xc
mov ebp, 0xa13
mov ecx, dword [esp + 0xb0]
mov ebx, eax
mov edi, dword [ecx + 8]
test edi, edi
jne 0x4a2051
cmp dword [ecx + 0x74], edi
jne 0x4a203f
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4a203f
mov byte [ecx + 0x17], 1
push ecx
call fcn.004b9430
mov ecx, dword [esp + 0xb4]
add esp, 4
mov edi, eax
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x4a205a
mov eax, ecx
mov byte [eax + 0x15], 1
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4a207a
push 0
push 2
push ebp
push 0x44
push edi
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4a20ad
mov esi, dword [esp + 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], 0x44
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4a20c3
push ebx
push 0xfffffffffffffff9
push eax
call fcn.00462150
add esp, 0xc
jmp 0x4a20f5
test edx, edx
jns 0x4a20cb
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
jne 0x4a20e8
test ebx, ebx
je 0x4a20f5
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xf9
jmp 0x4a20f5
push 0xfffffffffffffff9
push ebx
push eax
push edi
call fcn.004d0560
add esp, 0x10
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4a2157
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4a2157
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a2128
push 0
push edi
push 0
push 0xb
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a2157
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], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a2175
push edx
push esi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a217e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0xb4]
test byte [ebp + 0x24], 0x80
jne 0x4a21f7
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0xc4]
movsx edi, word [ebp + 0x2c]
inc ebx
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a21bd
push edx
push edi
push ebx
push 0x5b
push esi
call fcn.004752f0
add esp, 0x14
jmp 0x4a21e4
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x2b], 0
jne 0x4a21f7
push 0
push ebp
push esi
call fcn.004b4910
add esp, 0xc
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x9c
ret